@font-face {
    font-family: "Rubik";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/rubik-v14-latin/rubik-v14-latin-300.aa1b035cff7c.eot");
    src: local(""), url("../fonts/rubik-v14-latin/rubik-v14-latin-300.aa1b035cff7c.eot?#iefix") format("embedded-opentype"), url("../fonts/rubik-v14-latin/rubik-v14-latin-300.528a497d62ed.woff2") format("woff2"), url("../fonts/rubik-v14-latin/rubik-v14-latin-300.a72320a5b709.woff") format("woff"), url("../fonts/rubik-v14-latin/rubik-v14-latin-300.0f2b545691a8.ttf") format("truetype"), url("../fonts/rubik-v14-latin/rubik-v14-latin-300.485d9480b3ce.svg#Rubik") format("svg")
}


:root {
    --primary: #033b80;
    --secondary: #042042;
    --light-gray: #ffffff;
    /* Añadido para transiciones */
    --transition-speed: 0.25s;
    --transition-easing: ease-in-out;
}


.elemento {
    background: linear-gradient(to right, var(--primary), #033b80, #042042);
    transition: background var(--transition-speed) var(--transition-easing);
}

*,
body {
    font-family: "Rubik", sans-serifa
}

body {
    background-color: #ffffff;
    /* Cambiado a blanco */
}

/* Estilo de la scrollbar */
::-webkit-scrollbar {
    width: 12px;
    /* Ancho de la scrollbar */
    height: 12px;
    /* Altura de la scrollbar */
}

/* Estilo del track (fondo de la scrollbar) */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Color de fondo más claro */
    border-radius: 10px;
    /* Bordes redondeados */
}

/* Estilo del thumb (parte que se mueve) */
::-webkit-scrollbar-thumb {
    background: #033b80b3;
    /* Más transparente */
    border: 2px solid #f1f1f1;
    /* Borde más fino */
}

/* Estilo del thumb al pasar el mouse */
::-webkit-scrollbar-thumb:hover {
    background: #033b80;
    /* Color más oscuro al pasar el mouse */
}

/* Estilo del thumb al hacer clic */
::-webkit-scrollbar-thumb:active {
    background: #033b80;
    /* Color aún más oscuro al hacer clic */
}

::-moz-selection {
    background-color: var(--primary);
    color: #000
}

::selection {
    background-color: var(--primary);
    color: #000
}

a {
    background: none;
    /* Eliminamos el degradado */
    color: #000;
    /* Cambiado a negro */
    text-decoration: none;
}

table .info {
    margin-left: -240px
}

video {
    max-width: 100%;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, .16), 0px 2px 10px 0px rgba(0, 0, 0, .12)
}

.dim {
    box-shadow: 0 0 0 10000px rgba(0, 0, 0, .5) !important;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .5) !important
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    font-size: 0.95em;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.table th {
    background-color: var(--primary);
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    border: none;
}

.table th:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.table td {
    padding: 14px 12px;
    vertical-align: middle;
    background-color: var(--light-gray);
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: background-color 0.2s ease;
    position: relative;
}

/* Efecto hover moderno para filas */
.table tbody tr:hover td {
    background-color: rgba(3, 59, 128, 0.03);
}

/* Bordes redondeados solo en primera y última celda */
.table tr td:first-child,
.table tr th:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.table tr td:last-child,
.table tr th:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Botones dentro de tablas - Mejora visual */
.table tbody>tr>td>a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85em;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.table tbody>tr>td>a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Inputs en tablas - Estilo moderno */
.table input {
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.table input:focus {
    border-color: rgba(3, 59, 128, 0.5);
    box-shadow: 0 0 0 3px rgba(3, 59, 128, 0.1);
    outline: none;
}

/* Títulos de tabla - Más modernos */
.table-title {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--primary);
    margin: 20px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(3, 59, 128, 0.1);
}

.table-responsive {
    overflow: visible !important;
}

.table-container.table-responsive {
    overflow: visible !important;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    border-radius: 8px;
}

#main {
    padding-top: 65px;
    padding-bottom: 3rem;
    padding-left: 300px;
    transition: padding-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media(max-width: 800px) {
    #main {
        padding-top: 115px
    }
}

#top-navbar {
    position: fixed;
    top: 0;
    left: 300px;
    right: 0;
    z-index: 90;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%) !important;
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(3, 59, 128, 0.08);
    /* Sombra naranja suave */
    border-radius: 0 0 8px 8px;
    /* Bordes redondeados en la parte inferior */
    padding: 10px 20px;
    transition: all var(--transition-speed) var(--transition-easing);
}

#top-navbar .nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#top-navbar .nav-wrapper .form-header {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 10px;
    /* Espaciado entre los elementos */
}

#top-navbar .nav-wrapper .form-header .au-input {
    flex-grow: 1;
    /* El input ocupa el espacio disponible */
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#top-navbar .nav-wrapper .form-header .au-input:focus {
    border-color: #80bdff;
    /* Cambio de color al enfocarse */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
    /* Sombra azul sutil */
    outline: none;
}

#top-navbar .nav-wrapper .form-header button {
    padding: 10px 15px;
    background-color: #033b80;
    /* Un tono de naranja más suave */
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

#top-navbar .nav-wrapper .form-header button:hover {
    background-color: #042042;
    /* Cambio de color en hover */
    transform: translateY(-2px);
    /* Efecto de elevar el botón */
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
    /* Sombra suave cálida */
}

/* Botón hamburguesa moderno */
#top-navbar .toggle-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(3, 59, 128, 0.10);
    transition: background 0.2s, box-shadow 0.2s;
    margin-right: 8px;
}

#top-navbar .toggle-btn i {
    color: #fff;
    font-size: 1.3rem;
}

#top-navbar .toggle-btn:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    box-shadow: 0 4px 16px rgba(3, 59, 128, 0.18);
}

/* Botón de búsqueda moderno */
#top-navbar .search-btn,
#top-navbar button[type='submit'] {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(3, 59, 128, 0.10);
    transition: background 0.2s, box-shadow 0.2s;
    margin-left: 8px;
    padding: 0;
}

#top-navbar .search-btn i,
#top-navbar button[type='submit'] i {
    color: #fff;
    font-size: 1.2rem;
}

#top-navbar .search-btn:hover,
#top-navbar button[type='submit']:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    box-shadow: 0 4px 16px rgba(3, 59, 128, 0.18);
}

#top-navbar.toggle-active {
    left: 0;
    /* Navbar se desplaza cuando se activa */
}

/* Mejoras en la responsividad */
@media (max-width: 768px) {
    #top-navbar {
        left: 0;
        /* El navbar ocupa todo el ancho en pantallas pequeñas */
    }

    #top-navbar .nav-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    #top-navbar .nav-wrapper .form-header {
        margin-bottom: 10px;
    }

    #top-navbar .nav-wrapper .toggle-btn {
        padding: 0.5rem;
    }
}


.manage-wrap {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 300px;
    padding: .5rem;
    z-index: 10;
    background-color: rgba(255, 255, 255, .8);
    border-top: 1px solid #6c757d;
    transition: .3s
}

.manage-wrap.toggle-active {
    left: 0
}

.au-input {
    display: flex;
    width: auto;
    line-height: 40px;
    border: 1px solid #e5e5e5;
    font-family: inherit;
    font-size: 13px;
    color: #666;
    padding: 0 17px;
    border-radius: 3px;
    transition: all .2s ease
}

.au-input:focus {
    border: 1px solid #343a40
}

.au-input--xl {
    min-width: 935px
}

@media(max-width: 1600px) {
    .au-input--xl {
        min-width: 500px
    }
}

@media(max-width: 1000px) {
    .au-input--xl {
        min-width: 150px
    }
}

@media(max-width: 767px) {
    .au-input--xl {
        min-width: 150px;
        max-height: 45px
    }
}

@media(max-width: 800px) {
    .nav-wrapper .form-header {
        order: 1;
        width: 100%
    }

    .nav-wrapper .form-header .au-input--xl {
        width: 100%
    }

    .nav-wrapper .toggle-btn {
        order: 2
    }

    .nav-wrapper .dropdown {
        order: 3
    }
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden
}

.avatar img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.avatar img:hover {
    filter: contrast(0.9)
}

.avatar.avatar-md {
    width: 60px;
    height: 60px
}

.avatar.avatar-lg {
    width: 80px;
    height: 80px
}

/* ESTILOS CORREGIDOS PARA DROPDOWN */
.dropdown {
    position: static !important;
    /* Importante para tablas */
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1060 !important;
    position: absolute !important;
    /* Más alto que otros elementos */
    display: none;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 0.9rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
}

/* Mostrar el dropdown */
.dropdown.show .dropdown-menu {
    display: block;
    animation: fadeIn 0.2s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Items del dropdown */
.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-item:hover {
    color: #16181b;
    background-color: #f8f9fa;
}

/* Posicionamiento especial para dropdowns en tablas */
.table td .dropdown {
    position: relative;
    display: inline-block;
    /* Reset para celdas de tabla */
}

.table td .dropdown-menu {
    right: 0;
    left: auto;
}

body,
#main,
.table-container {
    overflow: visible !important;
}

/* Scroll para el dropdown */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .dropdown-menu {
        position: fixed;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%);
        width: 90vw;
        max-width: 300px;
    }
}

@keyframes grow-top {
    0% {
        transform: scale(0.8)
    }

    100% {
        transform: scale(1)
    }
}

#side-nav {
    width: 300px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.98);
    /* Fondo menos transparente */
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Removemos el backdrop-filter del contenedor principal */
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    overflow-y: auto;
    /* Aseguramos que el scroll esté habilitado */
}

#side-nav i {
    margin-right: 12px;
    transition: color 0.2s ease;
}

#side-nav footer {
    padding: 1.5rem;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

#side-nav .top-side {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 10;
}

#side-nav .top-side .desktop-hide {
    display: none;
}

#side-nav .top-side .desktop-hide .toggle-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

#side-nav .top-side .desktop-hide .toggle-btn i {
    color: #fff;
    font-size: 1.2rem;
}

#side-nav .top-side .desktop-hide .toggle-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

#side-nav .top-side .logo img {
    max-width: 80%;
    transition: all 0.3s ease;
}

#side-nav ul {
    padding: 0;
    margin: 0;
}

#side-nav ul li {
    list-style: none;
}

#side-nav ul li:last-child {
    border-bottom: none;
}

#side-nav ul li a {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.5rem;
    margin: 0.25rem 1rem;
    color: #4a5568;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}


#side-nav ul li a i {
    font-size: 1.1rem;
    margin-right: 12px;
    color: var(--primary);
    transition: all 0.3s ease;
}

#side-nav ul li a:hover {
    color: var(--primary);
    background-color: rgba(3, 59, 128, 0.05);
    transform: translateX(5px);
}

#side-nav ul li a:hover i {
    color: var(--primary);
    transform: scale(1.1);
}

#side-nav ul li.active a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: white;
    border-radius: 0 3px 3px 0;
}

#side-nav ul li.active a {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 12px rgba(3, 59, 128, 0.2);
}

#side-nav ul li.active a i {
    color: white;
}

/* Opcional: Añadir un efecto de transición al padding para suavizar el desplazamiento */
#side-nav ul li a {
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, padding-left 0.3s ease;
    /* Transiciones suaves */
}

#side-nav ul li.active a:hover {
    background: #033b80;
    color: #fff;
}

#side-nav.toggle-active {
    transform: translateX(-100%);
    box-shadow: none;
}

@media screen and (max-width: 1150px) {
    #side-nav .top-side {
        padding: 1.2rem;
    }

    #side-nav ul li a {
        padding: 0.8rem 1.2rem;
        margin: 0.2rem 0.8rem;
    }
}

#main.toggle-active {
    padding-left: 0px;
}

#input-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.5rem 1.5rem;
    /* Aumentamos el padding para dar más espacio */
    margin-bottom: 1rem;
    color: #033b80;
    font-size: 14px;
    border-radius: 50px;
    background-color: #fff !important;
    box-shadow: inset 0 0 2.5rem rgba(0, 0, 0, .15);
    transition: box-shadow 0.3s ease-in-out;
}

#input-nav a {
    color: #033b80;
    font-weight: 500;
}

#input-nav a:hover {
    text-decoration: underline;
}

#input-nav a::after {
    content: ">";
    color: #666;
    margin: 0 5px;
    vertical-align: middle;
}


.footer {
    top: 100%;
    bottom: 0;
    display: block;
    text-align: center;
    justify-content: center;
    padding: .75rem 1.25rem;
    margin-top: 4rem;
    background-color: rgba(0, 0, 0, .03);
    border-top: 1px solid rgba(0, 0, 0, .1)
}

.footer:last-child {
    border-radius: 0 0 calc(.25rem - 1px) calc(.25rem - 1px)
}

.title-1 {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-family: inherit;
    text-transform: capitalize;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 16px;
    border-radius: .2em
}

.title-1::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: -5px;
    width: 50%;
    height: 15px;
    z-index: -1;
    border-radius: 1px;
    background-color: rgba(83, 126, 226, .2);
    animation: lineAnim 1s ease-in forwards
}

.title-1 i {
    margin-right: 8px
}

@keyframes lineAnim {
    0% {
        width: 0px;
        height: 4px
    }

    60% {
        width: 50%;
        height: 4px
    }

    100% {
        width: 50%;
        height: 15px
    }
}

.form-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 17px;
    padding: 10px;
    background: linear-gradient(40deg, #033b80, #042042);
    color: #fff;
    text-align: center;
    margin-bottom: 10px
}

.form-title i {
    margin-right: 8px
}

.news {
    background: linear-gradient(40deg, #033b80, #042042) !important;
    color: #fff
}

.events {
    background: linear-gradient(40deg, #ad86f6, #572ca7) !important;
    color: #fff
}

.allocate-btn {
    text-align: center;
    width: auto;
    padding: 10px 20px;
    cursor: pointer;
    color: #5c6ac4;
    border: 1px solid #ddd;
    border-radius: 2rem;
    transition: .2s
}

.allocate-btn:hover {
    background: #ddd
}

.link {
    color: #033b8094;
    margin-top: 40px;
    transition: .2s
}

.link:hover {
    color: #033b80
}

.score-wrapper {
    position: relative;
    display: flex;
    width: 7rem;
    height: 7rem;
    overflow: hidden;
    font-size: .75rem;
    background-color: #d5dce4;
    border-radius: 50%;
    box-shadow: 0px 0px 3px 10px #f0f0f0
}

.score-wrapper>.score-wrapper-bar {
    position: absolute;
    bottom: 0;
    width: 100%;
    transition: width 6s ease
}

.score-wrapper>.score-wrapper-text {
    position: absolute;
    font-size: 20px;
    height: 100%;
    width: 100%;
    z-index: 1;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center
}

.score-wrapper .bg-success {
    background-color: #6cbd45 !important
}

.score-wrapper .bg-warning {
    background-color: #ffc107 !important
}

.score-wrapper .bg-danger {
    background-color: #f53d3d !important
}

.bg-sub-info {
    background-color: #35b6cc !important;
    color: #fff
}

.main-progress {
    animation: main-progress1 7s ease-in-out forwards
}

@keyframes main-progress1 {
    0% {
        transform: scale(0)
    }

    95% {
        transform: scale(0)
    }

    100% {
        transform: scale(1)
    }
}

#progress-card {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff
}

.loader {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 5.6;
    animation: loader-in-out 7s ease-in-out forwards
}

@keyframes loader-in-out {
    0% {
        transform: scale(0)
    }

    10% {
        transform: scale(1)
    }

    95% {
        transform: scale(1)
    }

    100% {
        transform: scale(0)
    }
}

.progress-bar {
    animation: loader-bar ease-in-out 3s forwards
}

@keyframes loader-bar {

    0%,
    10% {
        width: 0%
    }

    50%,
    70% {
        width: 50%
    }

    80%,
    95% {
        width: 97%
    }

    100% {
        width: 100%
    }
}

@media screen and (max-width: 500px) {
    .content-center {
        display: block
    }

    .mobile-hide-500 {
        display: none
    }

    .save-btn {
        font-size: 14px
    }

    .title-1 {
        font-size: 20px
    }
}

@media screen and (max-width: 450px) {
    .mobile-hide-450 {
        display: none
    }
}

.edit-btn i {
    margin-right: 10px
}

@media screen and (max-width: 450px) {
    .edit-btn i {
        margin-right: 0
    }
}

.switch.switch-text {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 48px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer
}

.switch.switch-text .switch-input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0
}

.switch.switch-text .switch-label {
    position: relative;
    display: block;
    height: inherit;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #dc3545;
    border-radius: 2px;
    transition: opacity background-color .15s ease-out
}

.switch.switch-text .switch-label::before,
.switch.switch-text .switch-label::after {
    position: absolute;
    top: 50%;
    width: 50%;
    margin-top: -0.5em;
    line-height: 1;
    text-align: center;
    transition: inherit
}

.switch.switch-text .switch-label::before {
    right: 1px;
    color: #e9ecef;
    content: attr(data-off)
}

.switch.switch-text .switch-label::after {
    left: 1px;
    color: #fff;
    content: attr(data-on);
    opacity: 0
}

.switch.switch-text .switch-input:checked~.switch-label::before {
    opacity: 0
}

.switch.switch-text .switch-input:checked~.switch-label::after {
    opacity: 1
}

.switch.switch-text .switch-handle {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-color: #fff;
    border-radius: 1px;
    transition: left .15s ease-out
}

.switch.switch-text .switch-input:checked~.switch-handle {
    left: 26px
}

.switch.switch-text.switch-lg {
    width: 56px;
    height: 28px
}

.switch.switch-text.switch-lg .switch-label {
    font-size: 12px
}

.switch.switch-text.switch-lg .switch-handle {
    width: 24px;
    height: 24px
}

.switch.switch-text.switch-lg .switch-input:checked~.switch-handle {
    left: 30px
}

.switch.switch-text.switch-sm {
    width: 40px;
    height: 20px
}

.switch.switch-text.switch-sm .switch-label {
    font-size: 8px
}

.switch.switch-text.switch-sm .switch-handle {
    width: 16px;
    height: 16px
}

.switch.switch-text.switch-sm .switch-input:checked~.switch-handle {
    left: 22px
}

.switch.switch-text.switch-xs {
    width: 32px;
    height: 16px
}

.switch.switch-text.switch-xs .switch-label {
    font-size: 7px
}

.switch.switch-text.switch-xs .switch-handle {
    width: 12px;
    height: 12px
}

.switch.switch-text.switch-xs .switch-input:checked~.switch-handle {
    left: 18px
}

.switch-pill .switch-label,
.switch.switch-3d .switch-label,
.switch-pill .switch-handle,
.switch.switch-3d .switch-handle {
    border-radius: 50em !important
}

.switch-pill .switch-label::before,
.switch.switch-3d .switch-label::before {
    right: 2px !important
}

.switch-pill .switch-label::after,
.switch.switch-3d .switch-label::after {
    left: 2px !important
}

.switch-success>.switch-input:checked~.switch-label {
    background: #28a745 !important;
    border-color: #1e7e34
}

.switch-success>.switch-input:checked~.switch-handle {
    border-color: #1e7e34
}

.switch-success-outline>.switch-input:checked~.switch-label {
    background: #fff !important;
    border-color: #28a745
}

.switch-success-outline>.switch-input:checked~.switch-label::after {
    color: #28a745
}

.switch-success-outline>.switch-input:checked~.switch-handle {
    border-color: #28a745
}

.switch-success-outline-alt>.switch-input:checked~.switch-label {
    background: #fff !important;
    border-color: #28a745
}

.switch-success-outline-alt>.switch-input:checked~.switch-label::after {
    color: #28a745
}

.switch-success-outline-alt>.switch-input:checked~.switch-handle {
    background: #28a745 !important;
    border-color: #28a745
}

.fas,
.fa {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: rgba(0, 0, 0, .093);
    border-radius: 50%
}

.fas.unstyled,
.fa.unstyled {
    background-color: unset;
    border-radius: unset
}

.card-count .fas,
.card-count .fa {
    font-size: 24px;
    display: initial;
    align-items: initial;
    justify-content: initial;
    width: initial;
    height: initial;
    background-color: initial;
    border-radius: initial
}

.card-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.card-count .text-right {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 5px
}

.card-count .text-right h2 {
    margin: 0
}

@media(min-width: 800px) {
    .card-count {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between
    }

    .card-count .text-right {
        display: block;
        text-align: end
    }

    .card-count .text-right h2 {
        margin: 0
    }

    .card-count .fas,
    .card-count .fa {
        border-right: 1px solid #ddd
    }

    .users-count .card-count h3 {
        border-right: 1px solid #e6e6e6
    }
}

.chart-wrap {
    position: relative;
    padding: 1rem;
    transition: .5s;
    background-color: #fff;
    border-radius: 10px
}

.fa-expand-alt {
    display: none;
    position: absolute;
    top: .5rem;
    right: .5rem;
    padding: .5rem;
    cursor: pointer;
    transition: .3s
}

.fa-expand-alt:hover {
    background-color: #f1f1f1
}

.chart-wrap:hover {
    box-shadow: 0 0 0 1px inset #666
}

.chart-wrap:hover .fa-expand-alt {
    display: block
}

.expand {
    transform: translateY(100%);
    position: fixed;
    bottom: 0;
    top: 3rem;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    flex: 0 0 100%;
    background-color: #fff;
    box-shadow: 0 0 0 10000px rgba(0, 0, 0, .5) !important;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .5) !important;
    transform-origin: bottom left;
    animation: popupAnim forwards alternate .5s ease-in-out;
    overflow: auto
}

.expand .fa-expand-alt {
    display: block
}

@keyframes popupAnim {
    from {
        transform: translateY(100%)
    }

    to {
        transform: translateY(0)
    }
}

.users-count .card-count {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff
}

.users-count .card-count h2 {
    font-weight: 1000
}

.users-count .card-count h3 {
    flex: 0 0 40%
}

.users-count .card-count h3 i {
    display: inline-flex;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%
}

.bg-light-aqua {
    background-color: rgba(32, 177, 177, .8) !important;
    box-shadow: 0 0 0 10px rgba(32, 177, 177, .2) !important;
    color: #fff !important
}

.bg-light-orange {
    background-color: rgba(253, 174, 28, .8) !important;
    box-shadow: 0 0 0 10px rgba(253, 174, 28, .2) !important;
    color: #fff !important
}

.bg-light-purple {
    background-color: rgba(203, 31, 255, .8) !important;
    box-shadow: 0 0 0 10px rgba(203, 31, 255, .2) !important;
    color: #fff !important
}

.bg-light-red {
    background-color: rgba(255, 19, 157, .8) !important;
    box-shadow: 0 0 0 10px rgba(255, 19, 157, .2) !important;
    color: #fff !important
}

.activities ul {
    padding-left: .5rem
}

.activities ul li {
    list-style-type: disc
}

.top-side {
    background-size: cover;
    background-position: top center
}

.color-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px
}

.bg-purple {
    background-color: #6f42c1
}

.card-header-ne {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.card-header-ne .title {
    vertical-align: middle
}

.text-danger {
    color: red
}

.user-picture {
    width: 100px;
    height: 100px;
    border: 3px solid #fff;
    margin-top: -50px;
    -o-object-fit: cover;
    object-fit: cover
}

.dashboard-description strong {
    font-weight: 600
}

.card .h5 {
    font-size: 1.25rem;
    color: #333;
    margin-top: 15px;
    margin-bottom: 15px
}

.text-danger {
    color: red
}

.bg-light-warning {
    background-color: #fcd96f !important
}

#progress-main {
    display: none
}

.class-item {
    display: block;
    border-left: 4px solid #6cbd45;
    padding: 1rem !important;
    background: #ffffff;
    border-radius: 3px;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, .3);
    transition: .5s
}

.class-item:hover {
    transform: translateX(15px)
}

.class-item p {
    padding: 2px;
    margin: 0;
    color: #b4b4b4;
    transition: .5s
}

.class-item a {
    padding: 2px;
    color: #343a40;
    text-decoration: none;
    transition: .5s
}

#side-nav,
#main {
    overflow: visible !important;
}

/* Excepto para el scroll principal */
#side-nav {
    overflow-y: auto !important;
}

/* Mejora visual y responsive para el logo del sidebar */
.logo-sidebar-wrapper {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    padding: 18px 10px 18px 10px;
    margin: 18px 18px 24px 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-sidebar-img {
    max-width: 170px;
    max-height: 90px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* Responsive: logo más pequeño en sidebar colapsado o móvil */
@media (max-width: 900px) {

    html,
    body {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        border: none !important;
        box-shadow: none !important;
        height: 100% !important;
        min-height: 100vh !important;
    }

    #top-navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 0 18px 18px !important;
        background: linear-gradient(90deg, #033b80 60%, #042042 100%) !important;
        z-index: 2000 !important;
    }

    #main,
    .container,
    .container-fluid,
    .manage-wrap,
    #main-content {
        padding-top: 70px !important;
        /* Ajusta según la altura real del navbar */
    }
}

/* Navbar y botones en móvil */
@media (max-width: 900px) {
    #top-navbar .nav-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        padding: 12px 12px 8px 12px !important;
        width: 100vw !important;
    }

    #top-navbar .form-header {
        flex: 1 1 0%;
        margin: 0 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
    }

    #top-navbar .form-header input {
        width: 100% !important;
        min-width: 0 !important;
        font-size: 1em !important;
        padding: 8px 8px !important;
        border-radius: 8px !important;
    }

    #top-navbar .search-btn {
        min-width: 38px !important;
        min-height: 38px !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 8px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .avatar {
        width: 38px !important;
        height: 38px !important;
        margin-left: 8px !important;
        margin-bottom: 0 !important;
    }
}

/* Tabla desplazable en móvil */
@media (max-width: 900px) {
    .table {
        table-layout: fixed !important;
        width: 100% !important;
    }

    .table th,
    .table td {
        max-width: 90px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.92em;
        padding: 7px 2px;
        text-align: left;
    }

    .table th {
        font-size: 0.90em;
        letter-spacing: 0.01em;
    }

    /* Si hay celdas muy largas, permite wrap solo en td */
    .table td {
        white-space: normal;
    }

    #main-content,
    .container,
    .container-fluid {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .manage-wrap {
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* Botón Agregar Programa 100% móvil */
@media (max-width: 900px) {
    .btn-gpd {
        width: 100% !important;
        display: block;
        margin: 16px 0 0 0;
        font-size: 1.1em;
        padding: 14px 0;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(3, 59, 128, 0.10);
    }
}

/* Mejoras generales de alineación móvil */
@media (max-width: 900px) {
    .manage-wrap {
        padding: 8px 0 0 0;
    }

    .table td .dropdown {
        margin-left: 0;
    }
}

/*# sourceMappingURL=style.min.css.73a712327655.map */

/* Botón moderno GPD con degradado azul acorde al sidebar */
.btn-gpd {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 12px;
    padding: 0.85rem 2.2rem;
    font-size: 1.08rem;
    box-shadow: 0 4px 18px rgba(3, 59, 128, 0.10);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-sm.btn-gpd {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.btn-gpd:hover,
.btn-gpd:focus {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
    box-shadow: 0 8px 24px rgba(3, 59, 128, 0.18);
    transform: translateY(-2px) scale(1.03);
    color: #fff;
}

.btn-gpd:active {
    transform: scale(0.98);
}

.btn-gpd .fa-plus {
    font-size: 1.1em;
    background: #fff2;
    border-radius: 50%;
    padding: 0.3em;
    transition: background 0.2s;
}

.btn-gpd:hover .fa-plus {
    background: #fff4;
}

/* --- Forzar alineación izquierda y ancho completo en móvil --- */
@media (max-width: 900px) {

    #main,
    .container,
    .container-fluid,
    .manage-wrap,
    #main-content {
        margin-left: 0 !important;
        padding-left: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        left: 0 !important;
        right: 0 !important;
        position: relative !important;
    }

    #main.toggle-active,
    .container.toggle-active,
    .container-fluid.toggle-active,
    .manage-wrap.toggle-active,
    #main-content.toggle-active {
        margin-left: 0 !important;
        padding-left: 0 !important;
        left: 0 !important;
    }
}

/* --- Fin de alineación izquierda móvil --- */

/* --- Breadcrumb siempre visible y con scroll horizontal en móvil --- */
@media (max-width: 900px) {

    .breadcrumb,
    .breadcrumbs,
    .ruta,
    .page-breadcrumb,
    nav[aria-label="breadcrumb"] {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        position: relative !important;
        background: none !important;
        margin: 0 0 8px 0 !important;
        padding: 0 8px !important;
        z-index: 10 !important;
        box-sizing: border-box !important;
        scrollbar-width: thin;
    }

    .breadcrumb::-webkit-scrollbar,
    .breadcrumbs::-webkit-scrollbar {
        height: 4px;
        background: #eee;
    }

    .breadcrumb::-webkit-scrollbar-thumb,
    .breadcrumbs::-webkit-scrollbar-thumb {
        background: #033b80;
        border-radius: 2px;
    }

    /* Forzar que ningún padre o wrapper oculte el breadcrumb */
    .breadcrumb,
    .breadcrumbs,
    .ruta,
    .page-breadcrumb,
    nav[aria-label="breadcrumb"] {
        overflow: visible !important;
        max-width: 100vw !important;
    }

    /* Tablas desplazables horizontalmente en móvil */
    .table-responsive,
    .table-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .table {
        min-width: 600px !important;
        width: max-content !important;
        table-layout: auto !important;
    }

    .table th,
    .table td {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 0.95em;
        padding: 8px 6px;
    }

    /* Overlay del sidebar siempre encima del contenido pero debajo del sidebar */
    #sidebar-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.4) !important;
        z-index: 2050 !important;
        display: block !important;
    }

    #side-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        width: 80vw !important;
        max-width: 320px !important;
        z-index: 3000 !important;
        background: #fff !important;
        box-shadow: 2px 0 16px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(-100%);
    }

    #side-nav.toggle-active {
        transform: translateX(0);
        z-index: 3000 !important;
    }

    #sidebar-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.4) !important;
        z-index: 2500 !important;
        display: block !important;
    }
}

/* --- Fin de ajustes breadcrumb y overlay móvil --- */

/* --- Breadcrumb siempre debajo del navbar en móvil --- */
@media (max-width: 900px) {
    #top-navbar {
        position: relative !important;
        z-index: 1000 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Solo el contenido principal tiene padding-top, no el navbar */
    #main,
    .container,
    .container-fluid,
    .manage-wrap,
    #main-content {
        padding-top: 60px !important;
    }

    /* Cuando el sidebar está activo, el sidebar y overlay tienen el mayor z-index */
    #side-nav.toggle-active {
        z-index: 1200 !important;
    }

    #sidebar-overlay {
        z-index: 1199 !important;
    }

    /* Navbar y breadcrumb por debajo del sidebar y overlay */
    #top-navbar,
    .breadcrumb,
    .breadcrumbs,
    .ruta,
    .page-breadcrumb,
    nav[aria-label="breadcrumb"] {
        z-index: 100 !important;
    }
}

/* --- Fin de ajuste breadcrumb debajo del navbar --- */

/* --- Eliminar línea blanca arriba del navbar en móvil (ajuste final) --- */
@media (max-width: 900px) {

    html,
    body {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        border: none !important;
        box-shadow: none !important;
    }

    #top-navbar {
        margin: 0 !important;
        padding: 0 !important;
        width: 100vw !important;
        left: 0 !important;
        top: 0 !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
        border-bottom-left-radius: 18px !important;
        border-bottom-right-radius: 18px !important;
        background: linear-gradient(90deg, #033b80 60%, #042042 100%) !important;
        box-shadow: 0 2px 8px rgba(3, 59, 128, 0.10);
        position: relative !important;
        z-index: 1000 !important;
    }
}

/* --- Fin de ajuste línea blanca navbar móvil --- */

@media (max-width: 900px) {
    #top-navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        z-index: 1000 !important;
    }

    .toggle-btn,
    #sidebar-toggle-btn {
        position: fixed !important;
        top: 18px !important;
        right: 18px !important;
        left: auto !important;
        z-index: 4000 !important;
        background: linear-gradient(90deg, #033b80 60%, #042042 100%) !important;
        box-shadow: 0 2px 8px rgba(3, 59, 128, 0.12);
        border-radius: 50% !important;
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    #side-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        width: 80vw !important;
        max-width: 320px !important;
        z-index: 3000 !important;
        background: #fff !important;
        box-shadow: 2px 0 16px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(-100%);
    }

    #side-nav.toggle-active {
        transform: translateX(0);
        z-index: 3000 !important;
    }

    #sidebar-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.4) !important;
        z-index: 2500 !important;
        display: block !important;
    }
}