p,
dd {
  max-width: 65em;
}

.nav-pills .nav-link,
.nav-pills .nav-label,
.sidebar-label {
    white-space: nowrap;
}

.logotipo-small {
    width: 40px;
    height: auto;
}

@media (max-width: 991px) {
    .sidebar-label {
        display: none !important;
    }

    .nav-pills .nav-link .fa,
    .nav-pills .nav-link .fas {
        display: inline-block !important;
        font-size: 1.3em !important;
        margin-right: 0.2em !important;
        color: #f8f9fa !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

.sidebar-profile-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    gap: 0px;
}

.sidebar-profile-name {
    color: #fff;
    font-size: 0.90rem;
    font-weight: 500;
    margin-right: 1.5em;
}

.sidebar-profile-role {
    color: #b0b6be;
    font-size: 0.70rem;
    font-weight: 400;
    margin-top: -13px;
    margin-right: 1.5em;
}

.profile-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #6c757d;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-left: 1em;
}

.profile-icon::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
    box-sizing: border-box;
}

.profile-icon::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 7px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50% 50% 0 0;
    border-bottom: none;
    box-sizing: border-box;
}

.sidebar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 260px;
    background: #111822;
    z-index: 1050;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
    .sidebar-fixed {
        position: fixed;
        width: 60px;
        min-width: 60px;
        padding: 0 !important;
        overflow-x: hidden;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.08);
    }

    .sidebar-fixed ul.nav {
        display: block !important;
        width: 60px;
        min-width: 60px;
        padding: 0 !important;
        overflow-x: hidden;
        background: #111822;
    }

    .sidebar-toggle {
        display: block;
        position: absolute;
        top: 10px;
        left: 10px;
        background: #20BBFF;
        color: #111822;
        border: none;
        border-radius: 4px;
        padding: 6px 10px;
        z-index: 1100;
        cursor: pointer;
    }

    .sidebar-fixed.active ul.nav {
        display: block;
        background: #111822;
        position: absolute;
        left: 60px;
        top: 0;
        width: 160px;
        height: 100vh;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.08);
    }

    .content-wrapper {
        margin-left: 60px !important;
    }
}

.content-wrapper {
    margin-left: 260px;
    transition: margin-left 0.2s;
}

.gridjs-search {
    margin-left: 2.5px !important;
    margin-bottom: 1rem;
    background: transparent !important;
    border: none !important;
    display: flex;
    align-items: center;
    position: relative;
}

.gridjs-search input {
    background: transparent !important;
    border: none !important;
    color: #f8f9fa !important;
    padding-left: 2.8rem !important;
    font-family: inherit;
    font-size: 1rem;
    border-bottom: 0.5px solid #8F99A8 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.gridjs-search input::placeholder {
    color: #8F99A8 !important;
    opacity: 1;
}

.gridjs-search::before {
    content: '\f002';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0.5rem;
    color: #adadad;
    font-size: 1.2rem;
    pointer-events: none;
}

.breadcrumb {
    background-color: #111822 !important;
    font-size: 1rem;
    padding-left: 0.5rem;
    margin-bottom: 1rem;
}

.breadcrumb-item.active {
    color: #f8faf8 !important;
}

.breadcrumb-item a {
    color: #8F99A8 !important;
    text-decoration: none !important;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    color: #8F99A8;
    padding: 0 0.5em;
}

th.gridjs-th {
    border: 0px;
}

th.gridjs-th,
td.gridjs-td {
    text-align: left;
}

body {
    font: 'Roboto';
    background-color: #111822;
}

h1 {
  font-size: 2.5rem !important;
}

p {
  font-size: 1rem !important;
}

.logotipo {
  width: 200px;
}

.uma-dropdown > button:not(.btn-outline-secondary) {
  padding: 0;
  width: 1em;
  border: none;
}

.uma-dropdown > button {
  border: none;
}

.uma-dropdown button:hover,
.uma-dropdown li a:hover {
    background-color: #202C3D !important;
    color: #20BBFF !important;
}

.uma-dropdown ul {
  z-index: 1;
  box-shadow: 0px 5px 4px rgba(0,0,0,0.8);
  color: black;
  background-color: white;
}

.nav-item a.active {
    background-color: #202C3D !important;
    color: #20BBFF !important;
    border: solid 1px #20BBFF;
}

.nav-item a:not(.active),
.sidebar-profile a:not(.active) {
    color: #f8f9fa;
}

.nav-label {
    color: #8F99A8 !important;
}

.fa-arrow-right-from-bracket {
    height: 1.5em;
}

.card-colors {
  background-color: #202C3D;
}

.card-colors,
.gridjs-tr:not(#a) {
    color: #f8f9fa;
}

.card-colors,
.btn.card-colors,
.gridjs-tr:not(#a) {
    border-width: 1px;
    border-style: solid;
    border-color: #323840;
}

.gridjs-page-size-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 2px 0.5rem;
}

.gridjs-page-size-selector label{
  color: white;
  text-wrap: nowrap;
}

/* FILTRO */
.filter-drawer{
  background:#1f2a37;
  color:#fff;
}

.filter-actions{
  margin-top:18px;
  display:flex;
  justify-content:flex-end;
  gap:12px;
}

.filter-subtitle {
  margin-top:6px;
  font-size:15px;
  color:rgba(255,255,255,.55);
}

.filter-group {
  margin-top:14px;
}

.filter-label {
  display:block;
  margin-bottom:8px;
  font-size:13px;
  color:rgba(255,255,255,.75);
}

.filter-control {
  background:#111827;
  border:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.85);
}

.filter-control:focus{
  background:#111827;
  color:rgba(255,255,255,.95);
  border-color:rgba(59,130,246,.55); /* azul suave */
  box-shadow:0 0 0 .15rem rgba(59,130,246,.18);
}

.filter-control option{
  background:#111827;
  color:rgba(255,255,255,.9);
}

.filter-icon {
    width: 30px;
    height: 30px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-actions .btn{
    width: 90px;
}

#clearFilter{
    background-color: #111827;
    border: none;
    color: rgba(255,255,255,0.85);
}

#clearFilter:hover{
    background-color: #0b1220;
    color: #fff;
}

/* Atributos de los input */
div.form-group input{
    background-color: #202C3D;
    color: #8792A1;
    border-color: #353F4D;
}

div.form-group input::placeholder{
    color: #8792A1;
}

::placeholder{
  color: #8792A1;
}

.btn-main {
  background-color: #20BBFF;
  color: black;
  border: #20BBFF;
  min-width: 5rem;
}

.btn-main:hover {
  background-color: #20BBFF;
}

.lead {
    color: #8F99A8;
}