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

:root {
    --primary: #BA6022;
}

.elemento {
    background: linear-gradient(to right, var(--primary), #BA6022, #BA6022);
    /* Naranja oscuro, medio y claro */
}

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

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

::-webkit-scrollbar {
    width: .8vw;
    height: .8vw
}

::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: .5vw
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: .5vw
}

::-webkit-scrollbar-thumb:hover {
    background: #999
}

::-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
}

:root {
    --primary: #BA6022;
    --secondary: #BA6022;
    --light-gray: #f8f9fa;
}

.table {
    width: 100%;
    border-collapse: separate;
    /* Usamos separate para controlar mejor los bordes */
    border-spacing: 0 10px;
    /* Espaciado entre las filas */
}

.table th {
    background-color: var(--primary);
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    padding: 12px;
    text-align: left;
    border-radius: 8px 8px 0 0;
    /* Bordes redondeados solo en la parte superior */
}

.table td,
.table th {
    vertical-align: middle;
    padding: 12px;
    text-align: left;
    border: 1px solid var(--primary);
}

.table td {
    background-color: var(--light-gray);
    border-radius: 0 0 8px 8px;
    /* Bordes redondeados solo en la parte inferior */
}

.table tbody>tr>td>a {
    display: inline-block;
    color: var(--primary);
    padding: .5rem 1rem;
    border: 1px solid var(--primary);
    border-radius: 10px;
    text-decoration: none;
    transition: background-color .3s, color .3s;
}

.table tbody>tr>td>a:hover {
    background-color: var(--secondary);
    color: white;
}

.table tbody>tr>td>a:focus {
    box-shadow: 0 0 0 .3rem var(--primary);
}

.table input {
    padding: 10px;
    max-width: 130px;
    border-style: none;
    border: 1px solid #bbb;
    border-radius: .25rem;
    transition: border-color .3s, box-shadow .3s;
}

.table input:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}

.table .dropdown #dropdownMenuButton {
    color: #999999;
}

.table-title {
    text-transform: uppercase;
    font-size: 18px;
    padding: 12px;
    margin: 15px 0;
    color: var(--primary);
    font-weight: bold;
}

#main {
    min-height: 100vh;
    background: #f8f9fa;
    transition: all 0.3s ease;
    padding-top: 65px !important;
    padding-bottom: 3rem !important;
    padding-left: 280px !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

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

#top-navbar {
    position: fixed;
    top: 0;
    left: 300px;
    right: 0;
    z-index: 90;
    background: var(--primary);
    /* Usar variable de color */
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
    /* Sombra naranja suave */
    border-radius: 0 0 8px 8px;
    /* Bordes redondeados en la parte inferior */
    padding: 10px 20px;
    transition: left 0.3s ease-in-out, box-shadow 0.3s ease;
}

#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: #BA6022;
    /* 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: #BA6022;
    /* Cambio de color en hover */
    transform: translateY(-2px);
    /* Efecto de elevar el botón */
    box-shadow: 0 2px 5px rgba(186, 96, 34, 0.3);
    /* Sombra suave cálida */
}

#top-navbar .nav-wrapper .toggle-btn {
    cursor: pointer;
    padding: 0.5rem 1rem;
    background-color: rgba(186, 96, 34);
    /* Fondo suave */
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}


#top-navbar .nav-wrapper .toggle-btn:hover {
    background-color: rgba(186, 96, 34);
    /* Suave cambio en el hover */
    transform: scale(1.05);
    /* Efecto de aumentar el tamaño */
    box-shadow: 0 2px 5px rgba(186, 96, 34);
    /* Sombra cálida en el hover */
}

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

/* Mejoras en la responsividad */
@media (max-width: 768px) {
    #main {
        padding-left: 0 !important;
        padding-top: 70px !important;
        width: 100vw !important;
        margin-top: 0 !important;
    }

    #main.toggle-active {
        padding-left: 0 !important;
        width: 100vw !important;
    }

    #main-content {
        padding: 16px !important;
        margin-top: 0;
        margin-left: 0 !important;
        width: 100% !important;
    }

    /* Mejorar espaciado en móviles */
    .container-fluid {
        padding-left: 16px !important;
        padding-right: 16px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Ajustar cards y elementos */
    .card {
        margin-bottom: 16px;
        border-radius: 12px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        width: 100% !important;
    }

    .row {
        margin-left: -8px !important;
        margin-right: -8px !important;
        width: 100% !important;
    }

    .col-md-4,
    .col-md-6,
    .col-md-8,
    .col-md-12 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    /* Mejorar breadcrumb */
    .breadcrumb {
        margin-bottom: 20px !important;
        padding: 12px 16px !important;
        background: white !important;
        border-radius: 8px !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
        width: 100% !important;
    }

    /* Mejorar manage-wrap */
    .manage-wrap {
        margin-bottom: 20px !important;
        width: 100% !important;
    }

    .manage-wrap .btn {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 16px !important;
    }
}


.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
}

.dropdown-menu {
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, .3)
}

.dropdown-menu .dropdown-item {
    padding-top: 8px;
    padding-bottom: 8px
}

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

    100% {
        transform: scale(1)
    }
}

#side-nav {
    width: 300px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 100;
    overflow-y: auto;
    background-color: #fff;
    box-shadow: 4px 0px 20px rgba(0, 0, 0, 0.1);
    /* Sombra más suave y elegante */
    border-top-right-radius: 15px;
    /* Bordes más redondeados en la parte superior */
    border-bottom-right-radius: 15px;
    /* Bordes redondeados en la parte inferior */
    transition: .3s ease-in-out;
}

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

#side-nav footer {
    margin-top: 4rem;
}

#side-nav .top-side {
    background: #f5f5f5;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
    /* Sombra sutil */
    margin-bottom: 20px;
    padding: 1.5rem 2rem;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

#side-nav .top-side .desktop-hide .toggle-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #BA6022;
    color: #fff;
    padding: 0.8rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s 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-color: #e68932;
    transform: rotate(180deg);
}

#side-nav .top-side .logo img {
    width: 90%;
}

#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: 1rem 1.5rem;
    color: #666;
    font-size: 16px;
    border-radius: 30px;
    transition: background-color 0.3s ease, color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

#side-nav ul li a:hover {
    color: #000000;
    /* Mantener el texto en color negro */
    background-color: #ba5f2274;
    /* Naranja más intenso */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Sombra al pasar el ratón */
    padding-left: 1.7rem;
    /* Desplazamiento hacia la izquierda */
}

#side-nav ul li.active a {
    background: #BA6022;
    color: #fff;
    padding-left: 1.7rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

#side-nav.toggle-active {
    left: -300px;
}

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

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

#main.toggle-active {
    padding-left: 0 !important;
    width: 100vw !important;
}

#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: #BA6022;
    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: #BA6022;
    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, #BA6022, #dc4f1c);
    color: #fff;
    text-align: center;
    margin-bottom: 10px
}

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

.news {
    background: linear-gradient(40deg, #BA6022, #d35325) !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: #BA6022;
    margin-top: 40px;
    transition: .2s
}

.link:hover {
    color: #f6efec
}

.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: #f8f9fa;
    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
}

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

/* ===== ESTILOS RESPONSIVE PARA CONTENIDO PRINCIPAL ===== */

/* Contenedor principal - SOBRESCRIBIR ESTILOS ANTIGUOS */
#main {
    min-height: 100vh;
    background: #f8f9fa;
    transition: all 0.3s ease;
    padding-top: 65px !important;
    padding-bottom: 3rem !important;
    padding-left: 280px !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#main-content {
    padding: 20px;
    min-height: calc(100vh - 80px);
    transition: margin 0.3s ease;
    margin-left: 0 !important;
    margin-top: 0 !important;
    width: 100% !important;
}

/* Responsive para contenido principal */
@media (max-width: 1024px) {
    #main {
        padding-left: 260px !important;
        width: auto !important;
    }

    #main.toggle-active {
        padding-left: 0 !important;
        width: 100vw !important;
    }

    #main-content {
        padding: 16px;
        margin-top: 0;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    #main {
        padding-left: 0 !important;
        padding-top: 70px !important;
        width: 100vw !important;
        margin-top: 0 !important;
    }

    #main.toggle-active {
        padding-left: 0 !important;
        width: 100vw !important;
    }

    #main-content {
        padding: 16px !important;
        margin-top: 0;
        margin-left: 0 !important;
        width: 100% !important;
    }

    /* Mejorar espaciado en móviles */
    .container-fluid {
        padding-left: 16px !important;
        padding-right: 16px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Ajustar cards y elementos */
    .card {
        margin-bottom: 16px;
        border-radius: 12px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        width: 100% !important;
    }

    .row {
        margin-left: -8px !important;
        margin-right: -8px !important;
        width: 100% !important;
    }

    .col-md-4,
    .col-md-6,
    .col-md-8,
    .col-md-12 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    /* Mejorar breadcrumb */
    .breadcrumb {
        margin-bottom: 20px !important;
        padding: 12px 16px !important;
        background: white !important;
        border-radius: 8px !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
        width: 100% !important;
    }

    /* Mejorar manage-wrap */
    .manage-wrap {
        margin-bottom: 20px !important;
        width: 100% !important;
    }

    .manage-wrap .btn {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 576px) {
    #main {
        padding-top: 66px !important;
        width: 100vw !important;
    }

    #main.toggle-active {
        width: 100vw !important;
    }

    #main-content {
        padding: 12px !important;
        width: 100% !important;
    }

    .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
        width: 100% !important;
    }

    .row {
        margin-left: -6px !important;
        margin-right: -6px !important;
        width: 100% !important;
    }

    .col-md-4,
    .col-md-6,
    .col-md-8,
    .col-md-12 {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    /* Mejorar legibilidad en móviles */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        word-wrap: break-word;
        margin-bottom: 16px !important;
    }

    /* Optimizar tablas para móviles */
    .table-responsive {
        font-size: 14px;
        border-radius: 8px !important;
        overflow: hidden !important;
        width: 100% !important;
    }

    /* Mejorar scroll horizontal de tablas en móviles */
    .table-responsive {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(186, 96, 34, 0.3) transparent !important;
    }

    .table-responsive::-webkit-scrollbar {
        height: 6px !important;
    }

    .table-responsive::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05) !important;
        border-radius: 3px !important;
    }

    .table-responsive::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, rgba(186, 96, 34, 0.6) 0%, rgba(186, 96, 34, 0.3) 100%) !important;
        border-radius: 3px !important;
        transition: background 0.3s ease !important;
    }

    .table-responsive::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(90deg, rgba(186, 96, 34, 0.8) 0%, rgba(186, 96, 34, 0.5) 100%) !important;
    }

    /* Asegurar que las tablas tengan ancho mínimo para scroll */
    .table-responsive .table {
        min-width: 600px !important;
        white-space: nowrap !important;
    }

    /* Mejorar legibilidad de las tablas en scroll */
    .table-responsive .table th,
    .table-responsive .table td {
        padding: 12px 8px !important;
        font-size: 13px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    }

    .table-responsive .table th {
        background: rgba(186, 96, 34, 0.05) !important;
        font-weight: 600 !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 10 !important;
    }

    /* Indicador visual de scroll */
    .table-responsive::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 20px;
        background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.8) 100%);
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .table-responsive.has-scroll::after {
        opacity: 1;
    }

    /* Mejorar formularios en móviles */
    .form-control {
        font-size: 16px;
        padding: 12px 16px !important;
        border-radius: 8px !important;
        width: 100% !important;
    }

    .btn {
        min-height: 44px;
        font-size: 16px;
        padding: 12px 16px !important;
        border-radius: 8px !important;
    }

    /* Mejorar cards de noticias */
    .bg-white.border {
        border-radius: 12px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        margin-bottom: 16px !important;
        width: 100% !important;
    }

    .card-header-ne {
        border-radius: 12px 12px 0 0 !important;
        padding: 16px !important;
    }

    .bg-white.border .p-2 {
        padding: 16px !important;
    }

    .bg-white.border .bg-light {
        border-radius: 0 0 12px 12px !important;
        padding: 12px 16px !important;
    }
}

@media (max-width: 480px) {
    #main {
        width: 100vw !important;
        padding-top: 62px !important;
    }

    #main.toggle-active {
        width: 100vw !important;
    }

    #main-content {
        padding: 8px !important;
        width: 100% !important;
    }

    .container-fluid {
        padding-left: 8px !important;
        padding-right: 8px !important;
        width: 100% !important;
    }

    /* Ocultar elementos no esenciales en móviles muy pequeños */
    .d-none-mobile {
        display: none !important;
    }

    /* Ajustar tamaños de texto */
    .title-1 {
        font-size: 1.5rem;
        margin-bottom: 20px !important;
    }

    .title-2 {
        font-size: 1.25rem;
        margin-bottom: 16px !important;
    }

    /* Mejorar botones en móviles muy pequeños */
    .btn {
        min-height: 40px;
        font-size: 14px;
        padding: 10px 14px !important;
    }

    /* Mejorar formularios en móviles muy pequeños */
    .form-control {
        font-size: 14px;
        padding: 10px 14px !important;
    }
}

/* Móviles extremadamente pequeños */
@media (max-width: 360px) {
    #main {
        width: 100vw !important;
        padding-top: 58px !important;
    }

    #main.toggle-active {
        width: 100vw !important;
    }

    #main-content {
        padding: 6px !important;
        width: 100% !important;
    }

    .container-fluid {
        padding-left: 6px !important;
        padding-right: 6px !important;
        width: 100% !important;
    }

    /* Ocultar elementos no esenciales en móviles extremadamente pequeños */
    .d-none-mobile {
        display: none !important;
    }

    /* Ajustar tamaños de texto */
    .title-1 {
        font-size: 1.25rem;
        margin-bottom: 16px !important;
    }

    .title-2 {
        font-size: 1.1rem;
        margin-bottom: 12px !important;
    }

    /* Mejorar botones en móviles extremadamente pequeños */
    .btn {
        min-height: 36px;
        font-size: 12px;
        padding: 8px 12px !important;
    }

    /* Mejorar formularios en móviles extremadamente pequeños */
    .form-control {
        font-size: 12px;
        padding: 8px 12px !important;
    }
}

/* Mejoras para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {

    /* Aumentar área de toque */
    .btn,
    .nav-link,
    .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Mejorar scroll */
    * {
        -webkit-overflow-scrolling: touch;
    }

    /* Prevenir selección de texto accidental */
    .nav-link,
    .btn {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

/* Optimizaciones de rendimiento */
#main,
#main-content {
    will-change: transform, margin;
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {

    #main,
    #main-content,
    .sidebar-overlay,
    .navbar-overlay {
        transition: none !important;
        animation: none !important;
    }
}

/* Soporte para modo oscuro del sistema */
@media (prefers-color-scheme: dark) {
    #main {
        background: #1a1a1a;
        color: #ffffff;
    }

    #main-content {
        background: #1a1a1a;
    }
}

/* Mejoras para pantallas de alta densidad */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    #main,
    #main-content {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Mejorar formularios en móviles muy pequeños */
.form-control {
    font-size: 14px;
    padding: 10px 14px !important;
}

/* Mejorar scroll horizontal de tablas en móviles pequeños */
.table-responsive {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(186, 96, 34, 0.3) transparent !important;
}

.table-responsive::-webkit-scrollbar {
    height: 4px !important;
}

.table-responsive::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05) !important;
    border-radius: 2px !important;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(186, 96, 34, 0.6) 0%, rgba(186, 96, 34, 0.3) 100%) !important;
    border-radius: 2px !important;
}

.table-responsive .table {
    min-width: 500px !important;
    white-space: nowrap !important;
}

.table-responsive .table th,
.table-responsive .table td {
    padding: 10px 6px !important;
    font-size: 12px !important;
}

/* Mejorar formularios en móviles extremadamente pequeños */
.form-control {
    font-size: 12px;
    padding: 8px 12px !important;
}

/* Mejorar scroll horizontal de tablas en móviles extremadamente pequeños */
.table-responsive {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(186, 96, 34, 0.3) transparent !important;
}

.table-responsive::-webkit-scrollbar {
    height: 3px !important;
}

.table-responsive::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05) !important;
    border-radius: 1.5px !important;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(186, 96, 34, 0.6) 0%, rgba(186, 96, 34, 0.3) 100%) !important;
    border-radius: 1.5px !important;
}

.table-responsive .table {
    min-width: 400px !important;
    white-space: nowrap !important;
}

.table-responsive .table th,
.table-responsive .table td {
    padding: 8px 4px !important;
    font-size: 11px !important;
}