@import url(https://fonts.googleapis.com/css?family=Roboto:400,700);
@import url(https://fonts.googleapis.com/css?family=Josefin+Sans:400,700);

* {
    z-index: 1;

}

*::-webkit-scrollbar-track {
    background-color: rgba(248, 248, 248, 0.5);
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-thumb {
    background-color: #0d6efd;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #03a9f4;
}

p.copy {
    text-align: center;
    font-size: 0.85em;
    color: #64748b !important;
    margin-top: 10px !important;
    line-height: 1.6 !important;
}

a {
    z-index: 2;
}

/* Estilos globales para cuando se carga el sistema en un iframe (is-embedded) */
.is-embedded #menu-toggle,
.is-embedded #menu,
.is-embedded #reports-menu-container,
.is-embedded .top-header,
.is-embedded .dashboard-page-header,
.is-embedded .dashboard-page-footer,
.is-embedded .title_menu_base,
.is-embedded #alert,
.is-embedded .copy,
.is-embedded .foterimg2 {
    display: none !important;
}

.is-embedded body {
    width: 100% !important;
}

html.is-embedded div.container-xl.p-5,
.is-embedded .container-xl,
.is-embedded .container {
    /*padding: 0 !important;*/
    margin: 0 auto !important;
    margin-bottom: 20px !important;
    max-width: 90% !important;

}

.is-embedded div>div.row.justify-content-between.align-items-center.mb-5 {
    display: none !important;
}

.is-embedded .subtitle {
    padding: 10px !important;
}

.is-embedded iframe {
    border: 0 !important;
}

.hidden {
    display: none;
}

.buscarf {
    margin: 10px 0 30px 0;
}

body {
    background-color: #eee;
}

.excelbtn a {
    text-decoration: none;
}

.pdfbtn a {
    text-decoration: none;
}

.csvbtn a {
    text-decoration: none;
}

.modal {
    z-index: 200000
}

.center {
    text-align: center !important;
}

div.obligatorios {
    display: block;
    text-align: right;
}

div.obligatorios span,
span.obligatorios {
    color: red;
}

.foterimg {
    max-height: 65px;
    max-width: 95%;
    margin: 15px 0;
}

#inicio .foterimg {}

.foterimg2 {
    max-height: 40px;
    margin-top: 5px !important;
    margin-bottom: 15px !important;
    opacity: 0.85;
}

:root {
    --color-primary: #03dac6;
    --color-segundary: #ffa915;
    --color-accent: #068632;
    --color: #faebd7;
    --color-gris: #eee;

}

.nav,
.slider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    position: relative;
    text-align: center;
    padding: 2em 2em 1em 2em;
}

.container-xl.p-5>.subtitle {
    margin-top: -60px !important;
}

.nav h1,
.slider h1 {
    font-family: "Plus Jakarta Sans", "Inter", sans-serif !important;
    font-size: 4.2vw !important;
    margin: 0;
    padding-bottom: 0.5rem;
    letter-spacing: 0.08rem !important;
    color: #0b1536 !important;
    transition: all 0.3s ease;
    font-weight: 900 !important;
    text-shadow: none !important;
    z-index: 3;
}

/* Estilo exacto del logo DATAWAVE con degradado en WAVE */
.datawave-title {
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;
    display: inline-block;
}

.datawave-title .data-part {
    color: #0c173b !important; /* Azul marino muy oscuro / profundo tal como en la imagen */
    font-weight: 900 !important;
}

.datawave-title .wave-gradient,
.datawave-brand-text .wave-gradient {
    /* Degradado de azul eléctrico a violeta brillante tal como la imagen del usuario */
    background: linear-gradient(100deg, #0076ff 0%, #0c7aff 25%, #4f46e5 60%, #8b2cf5 85%, #9d17f5 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    display: inline-block;
    font-weight: 900 !important;
}

.datawave-brand-text .data-part {
    color: #0c173b !important;
    font-weight: 900 !important;
}

#inicio h1:hover {
    color: inherit !important;
}

#inicio h2.subtitulo {}

.loader span {
    color: #eee;
    text-shadow: 0 0 0 #eee;
    animation: loading 1s ease-in-out forwards;
}

@keyframes loading {
    to {
        text-shadow: 20px 0 70px var(--color-segundary);
        color: var(--color-segundary);
    }
}

h3.span {
    font-size: 2vw;
    letter-spacing: 0.3em;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    color: #eee;
    z-index: 4;
}

span:hover {
    /*color: var(--color-segundary);*/
    /*font-weight: 500;
    font-size: 2.2vw;*/
}

.loader span:nth-child(2) {
    animation-delay: 0.1s;
}

.loader span:nth-child(3) {
    animation-delay: 0.2s;
}

.loader span:nth-child(4) {
    animation-delay: 0.3s;
}

.loader span:nth-child(5) {
    animation-delay: 0.4s;
}

.loader span:nth-child(6) {
    animation-delay: 0.5s;
}

.loader span:nth-child(7) {
    animation-delay: 0.6s;
}

.loader span:nth-child(8) {
    animation-delay: 0.7s;
}

.loader span:nth-child(9) {
    animation-delay: 0.8s;
}

.loader span:nth-child(10) {
    animation-delay: 0.9s;
}

.loader span:nth-child(11) {
    animation-delay: 1s;
}

.loader span:nth-child(12) {
    animation-delay: 1.1s;
}

.loader span:nth-child(13) {
    animation-delay: 1.2s;
}

.loader span:nth-child(14) {
    animation-delay: 1.3s;
}

.loader span:nth-child(15) {
    animation-delay: 1.4s;
}

.loader span:nth-child(16) {
    animation-delay: 1.5s;
}

.loader span:nth-child(17) {
    animation-delay: 1.6s;
}

.loader span:nth-child(18) {
    animation-delay: 1.7s;
}

.loader span:nth-child(19) {
    animation-delay: 1.8s;
}

.loader span:nth-child(20) {
    animation-delay: 1.9s;
}

.loader span:nth-child(21) {
    animation-delay: 2s;
}

.loader span:nth-child(22) {
    animation-delay: 2.1s;
}

.loader span:nth-child(23) {
    animation-delay: 2.2s;
}

.loader span:nth-child(24) {
    animation-delay: 2.3s;
}

.loader span:nth-child(25) {
    animation-delay: 2.4s;
}

.loader span:nth-child(26) {
    animation-delay: 2.5s;
}

.loader span:nth-child(27) {
    animation-delay: 2.6s;
}

.loader span:nth-child(28) {
    animation-delay: 2.7s;
}



#procesos {}

#procesos .badge.proceso {
    background: linear-gradient(315deg, #03a9f4, #0d6efd);
    color: #fff !important;
    text-decoration: none;
    padding: 6px 10px;
}

#procesos .badge.proceso:hover {
    background: linear-gradient(315deg, #0d6efd, #03a9f4);
}

.badge.submenu {
    background: linear-gradient(315deg, #03a9f4, #0d6efd);
    color: #fff !important;
    text-decoration: none;
    padding: 6px 10px;
}

.badge.submenu:hover {
    background: linear-gradient(315deg, #0d6efd, #03a9f4);
}


@media (min-width: 800px) {

    .nav h1,
    .slider h1 {
        font-size: 5vw;
    }

    .nav h2,
    .slider h2 {
        font-size: 3vw;
    }

}

@media (max-width: 800px) {

    .row.gx-5>form,
    .dataTables_wrapper {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .container-xl.p-5.p20 {

        padding-left: 20px !important;
        padding-right: 20px !important;
    }

}

@media (min-width: 360px) {

    .nav h1,
    .slider h1 {
        font-size: 6vw;
    }

    .nav h2,
    .slider h2 {
        font-size: 2vw;
        letter-spacing: 0.2vw;
    }

}

@media (min-width: 576px) {

    .container-xl.p-5.p20 {

        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .col-form-label {
        text-align: right;
    }
}

.contenedor {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 30px 0;
    gap: 30px;
}

.contenedor .box {
    position: relative;
    width: 290px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin: 15px;
}

/* Efectos de glow/resplandor específicos para cada tarjeta */
.contenedor .box:nth-child(1) {
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.25), 0 0 15px rgba(249, 115, 22, 0.15);
}

.contenedor .box:nth-child(1):hover {
    box-shadow: 0 20px 50px rgba(249, 115, 22, 0.6), 0 0 30px rgba(249, 115, 22, 0.3);
}

.contenedor .box:nth-child(2) {
    box-shadow: 0 10px 30px rgba(217, 70, 239, 0.25), 0 0 15px rgba(217, 70, 239, 0.15);
}

.contenedor .box:nth-child(2):hover {
    box-shadow: 0 20px 50px rgba(217, 70, 239, 0.6), 0 0 30px rgba(217, 70, 239, 0.3);
}

.contenedor .box:nth-child(3) {
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.25), 0 0 15px rgba(16, 185, 129, 0.15);
}

.contenedor .box:nth-child(3):hover {
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.6), 0 0 30px rgba(16, 185, 129, 0.3);
}

.contenedor .box:nth-child(4) {
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25), 0 0 15px rgba(59, 130, 246, 0.15);
}

.contenedor .box:nth-child(4):hover {
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.6), 0 0 30px rgba(59, 130, 246, 0.3);
}

.contenedor .box:hover {
    transform: translateY(-8px);
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.9);
}

/* Deshabilitar estilos obsoletos de antes/después del diseño anterior */
.contenedor .box::before,
.contenedor .box::after {
    content: none !important;
}

.contenedor .box span:not(.badge) {
    display: none !important;
}

.contenedor .box .content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 35px 25px;
    text-align: center;
    color: #1e293b;
    z-index: 2;
}

.contenedor .box .content h2 {
    font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.contenedor .box .content p {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 0.98rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 25px;
    font-weight: 400;
}

/* Estilos de botones tipo píldora moderna */
.contenedor .box .content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 90%;
    margin-top: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contenedor .box:nth-child(1) .content a {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #ffffff !important;
}

.contenedor .box:nth-child(1) .content a:hover {
    box-shadow: 0 6px 15px rgba(234, 88, 12, 0.4);
    transform: translateY(-2px);
}

.contenedor .box:nth-child(2) .content a {
    background: linear-gradient(135deg, #d946ef, #a21caf);
    color: #ffffff !important;
}

.contenedor .box:nth-child(2) .content a:hover {
    box-shadow: 0 6px 15px rgba(162, 28, 175, 0.4);
    transform: translateY(-2px);
}

.contenedor .box:nth-child(3) .content a {
    background: linear-gradient(135deg, #10b981, #047857);
    color: #ffffff !important;
}

.contenedor .box:nth-child(3) .content a:hover {
    box-shadow: 0 6px 15px rgba(4, 120, 87, 0.4);
    transform: translateY(-2px);
}

.contenedor .box:nth-child(4) .content a {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff !important;
}

.contenedor .box:nth-child(4) .content a:hover {
    box-shadow: 0 6px 15px rgba(29, 78, 216, 0.4);
    transform: translateY(-2px);
}

.contenedor .box .content a .badge {
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    padding: 3px 8px;
    margin-left: 8px;
}

/* Ajustes de iconos modernos en caja contenedora */
.contenedor .box .content i {
    font-size: 1.8rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contenedor .box:nth-child(1) .content i {
    color: #f97316;
    background: #fff7ed;
}

.contenedor .box:nth-child(2) .content i {
    color: #d946ef;
    background: #fdf4ff;
}

.contenedor .box:nth-child(3) .content i {
    color: #10b981;
    background: #ecfdf5;
}

.contenedor .box:nth-child(4) .content i {
    color: #3b82f6;
    background: #eff6ff;
}

@media (max-width: 600px) {
    .contenedor {
        padding: 10px 0;
        gap: 20px;
    }

    .contenedor .box {
        width: 100%;
        max-width: 320px;
        margin: 10px auto;
    }
}

.fas,
.far {
    font-size: 24px;
}


/**************************************/
.container-xl {
    background: white !important;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 10px 30px !important;
    border-radius: 24px !important;
    margin-top: 35px !important;
    z-index: -1 !important;
    border: 1px solid #f1f5f9;
}

.container-xl.p-5:first-child {
    margin-top: 20px !important;
}

.bg-pattern {
    background: #f8fafc;
    background-image: radial-gradient(#e2e8f0 1.2px, transparent 1.2px), radial-gradient(#e2e8f0 1.2px, #f8fafc 1.2px);
    background-size: 48px 48px;
    background-position: 0 0, 24px 24px;
}

/* Cabeceras de menú/módulos con estilo de tarjeta moderna */
.title_menu_base,
.title_menu_indicador,
.title_menu_dashboard,
.title_menu_pdf,
.title_menu_excel {
    border-radius: 23px 23px 0 0 !important;
    margin-top: -3rem !important;
    margin-left: -3rem !important;
    margin-right: -3rem !important;
    margin-bottom: 30px !important;
    padding: 35px 40px 35px 40px !important;
    color: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

@media (max-width: 575.98px) {
    .container-xl.p-5 {
        padding: 12px !important;
    }

    .title_menu_base,
    .title_menu_indicador,
    .title_menu_dashboard,
    .title_menu_pdf,
    .title_menu_excel {
        margin-top: -12px !important;
        margin-left: -12px !important;
        margin-right: -12px !important;
        padding: 20px 15px 20px 75px !important;
        border-radius: 12px 12px 0 0 !important;
    }

    .title_menu_base h1,
    .title_menu_indicador h1,
    .title_menu_dashboard h1,
    .title_menu_pdf h1,
    .title_menu_excel h1 {
        font-size: 1.35rem !important;
    }

    .container-xl.p-5>.subtitle {
        margin-top: 20px !important;
    }
}

.title_menu_base {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
}

.title_menu_indicador {
    background: linear-gradient(135deg, #0284c7, #0369a1) !important;
}

.title_menu_dashboard {
    background: linear-gradient(135deg, #f97316, #ea580c) !important;
}

.title_menu_pdf {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important;
}

.title_menu_excel {
    background: linear-gradient(135deg, #10b981, #047857) !important;
}

.title_menu_base h1,
.title_menu_indicador h1,
.title_menu_dashboard h1,
.title_menu_pdf h1,
.title_menu_excel h1 {
    font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', sans-serif !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.title_menu_base span,
.title_menu_indicador span,
.title_menu_dashboard span,
.title_menu_pdf span,
.title_menu_excel span {
    font-size: 0.85em;
    opacity: 0.85;
}

.text-subtext {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem;
    margin-top: 4px;
}

/* Buscador Moderno y Selectores de Filtro de Proceso */
.buscarf,
select.proceso-filter-select {
    height: 46px !important;
    border-radius: 10px !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 0 20px !important;
    font-size: 0.95rem !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s ease !important;
    margin: 0px 0 25px 0 !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
    box-sizing: border-box !important;
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 46px !important;
}

select.proceso-filter-select {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23475569' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1.25rem center !important;
    background-size: 16px 12px !important;
    padding-right: 2.5rem !important;
}

input#buscarf:focus,
input.buscarf:focus,
select.proceso-filter-select:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15) !important;
    outline: none !important;
}

/* Estandarización de Tarjetas de Portales y Subinterfaces */
.dashbtn .card,
.excelbtn .card,
.tablabtn .card,
.csvbtn .card,
.pdfbtn .card,
.lienzobtn .card,
.opbtn .card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.025) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

.dashbtn .card:hover,
.excelbtn .card:hover,
.tablabtn .card:hover,
.csvbtn .card:hover,
.pdfbtn .card:hover,
.lienzobtn .card:hover,
.opbtn .card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04) !important;
    border-color: #cbd5e1 !important;
}

/* Detalle interno de textos */
.dashbtn .display-5,
.excelbtn .title,
.tablabtn .title,
.csvbtn .title,
.pdfbtn .title,
.lienzobtn .title {
    font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 6px !important;
}

.dashbtn .card-text,
.excelbtn .card-text,
.tablabtn .card-text,
.csvbtn .card-text,
.pdfbtn .card-text,
.lienzobtn .card-text {
    font-family: 'Inter', 'Segoe UI', sans-serif !important;
    font-size: 0.82rem !important;
    color: #64748b !important;
}


.dashbtn img {
    border-radius: 8px !important;
    border: 1px solid #f1f5f9 !important;
    padding: 4px !important;
    background: #fafafa !important;
    transition: transform 0.2s ease !important;
}

.dashbtn:hover img {
    transform: scale(1.03) !important;
}

.btn-text-primary {
    --mdc-ripple-fg-size: 0;
    --mdc-ripple-left: 0;
    --mdc-ripple-top: 0;
    --mdc-ripple-fg-scale: 1;
    --mdc-ripple-fg-translate-end: 0;
    --mdc-ripple-fg-translate-start: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    will-change: transform, opacity;
    overflow: hidden;
    position: relative;
    border: none;
    padding: calc(0.40625rem + 1px) calc(0.5rem + 1px);
    color: #6200ea;
}

.border-start {
    border-left: 4px solid #ccc !important;
}

.border-primary {
    --bs-border-opacity: 1;
    border-color: rgba(98, 0, 234, 1) !important;
}

.card-raised {
    border: none !important;
}

.card-raised {
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
}

.display-5 {
    line-height: 2rem !important;
    font-weight: 300 !important;
}

*[class*=display-] {
    color: #212121 !important;
}


@media (max-width: 1202px) {
    .contenedor .box {
        width: 300px;
    }
}

@media (max-width: 1145px) {
    .contenedor .box {
        width: 250px;
    }
}

@media (max-width: 900px) {
    .contenedor .box {
        width: 380px;
    }

    h3.span {
        font-size: calc(1.3rem + .6vw);
    }
}



@media (min-width: 1200px) {
    .display-5 {
        font-size: 1.5rem !important;
    }
}

.icon-circle {
    height: auto;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.icon_size {
    font-size: 22px;
    color: #fff;
}

.card {
    cursor: pointer !important;
}

.card:hover {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;


}

/*************Login****************/
.contenedor_login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;

}

.contenedor_login .screen {
    background: linear-gradient(90deg, #4dff03, #00d0ff);
    position: relative;
    height: 600px;
    width: 360px;
    box-shadow: 0px 0px 24px #5C5696;
    margin-bottom: 100px;
}

.contenedor_login .screen__content {
    z-index: 1;
    position: relative;
    height: 100%;
}

.contenedor_login .login {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 30px !important;
    padding-top: 125px !important;
}

.contenedor_login .login__field {
    padding: 20px 0px;
    position: relative;
}

.contenedor_login .login__icon {
    position: absolute;
    font-size: 20px !important;
    top: 35px;
    color: var(--color-accent);
}

.contenedor_login .login__input {
    border: none !important;
    border-bottom: 2px solid #D1D1D4 !important;
    background: none !important;
    padding: 10px !important;
    padding-left: 24px !important;
    font-weight: 700 !important;
    width: 75% !important;
    transition: .2s !important;
}

.contenedor_login .login__input:active,
.contenedor_login .login__input:focus,
.contenedor_login .login__input:hover {
    outline: none !important;
    border-bottom-color: var(--color-accent) !important;
}

.contenedor_login .login__submit {
    background: #fff;
    font-size: 14px;
    margin-top: 10px;
    padding: 5px 20px;
    border-radius: 26px;
    border: 1px solid #D4D3E8;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    align-items: center;
    width: 100%;
    color: var(--color-accent);
    box-shadow: 0px 2px 2px #5C5696;
    cursor: pointer;
    transition: .2s;
    text-decoration: none;
}

.contenedor_login .login__submit.btn-lg {
    padding: 12px 20px !important;
    font-size: 0.85rem !important;
    border-radius: 30px !important;
    white-space: nowrap !important;
    justify-content: center !important;
}

.contenedor_login .login__submit.btn-lg img {
    margin-right: 8px !important;
    height: 20px !important;
    width: auto !important;
}

.contenedor_login .login__submit:active,
.contenedor_login .login__submit:focus,
.contenedor_login .login__submit:hover {
    border-color: var(--color-accent);
    outline: none;
}

.contenedor_login .button__icon {
    font-size: 24px;
    margin-left: auto;
    color: var(--color-accent);
}

.contenedor_login .screen__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
}

.contenedor_login .screen__background__shape {
    transform: rotate(45deg);
    position: absolute;
}

.contenedor_login .screen__background__shape1 {
    height: 520px;
    width: 520px;
    background: #FFF;
    top: -50px;
    right: 120px;
    border-radius: 0 72px 0 0;
}

.contenedor_login .screen__background__shape2 {
    height: 220px;
    width: 220px;
    background: #eee;
    top: -172px;
    right: 0;
    border-radius: 32px;
}

/*
.contenedor_login .screen__background__shape3 {
    height: 540px;
    width: 190px;
    background: linear-gradient(270deg,#03a9f4, #ff0058);
    top: -24px;
    right: 0;   
    border-radius: 32px;
    }*/
.contenedor_login .screen__background__shape4 {
    height: 400px;
    width: 200px;
    background: #eee;
    top: 420px;
    right: 50px;
    border-radius: 60px;
}

.contenedor_login .logo-login {
    position: absolute;
    height: 140px;
    width: 160px;
    text-align: center;
    bottom: 0px;
    right: 0px;
    color: #fff;
}

.contenedor_login .logo-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contenedor_login .logo-image img {
    margin-top: 35px;
    width: 70%;
    height: auto;
}

/*.contenedor_login .logo-image img:hover {
        transform: scale(1.5);  
    }*/


/********* Menu Sidebar Premium (Off-canvas) *********************/
#menus {
    z-index: 10000 !important;
}

#menus [type="checkbox"] {
    display: none !important;
}

/* Botón Hamburguesa Moderno de Dos Líneas */
#menus #burger {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    cursor: pointer;
    z-index: 10002 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: block !important;
}

#menus #burger:before,
#menus #burger:after {
    content: "";
    position: absolute;
    height: 2px;
    background: #334155 !important;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#menus #burger:before {
    width: 20px;
    top: 20px;
    left: 14px;
}

#menus #burger:after {
    width: 14px;
    top: 26px;
    left: 14px;
}

/* Efecto hover en botón */
#menus #burger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06) !important;
}

/* Estado Activo (Cerrar X) */
#menus #menu-toggle:checked+#trigger+#burger {
    background: #f1f5f9 !important;
    box-shadow: none !important;
    z-index: 10000 !important;
    /* Ocultar detrás del panel cuando se abre */
}

#menus #menu-toggle:checked+#trigger+#burger:before {
    transform: rotate(45deg) translate(3px, 3px);
    width: 20px;
}

#menus #menu-toggle:checked+#trigger+#burger:after {
    transform: rotate(-45deg) translate(1px, -1px);
    width: 20px;
}

/* Trigger Invisible para cerrar al hacer clic fuera */
#menus #trigger {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999 !important;
    background: none !important;
    cursor: default;
    display: none;
}

#menus #menu-toggle:checked+#trigger {
    display: block !important;
}

#menus #trigger:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
}

/* Panel del Menú (Sidebar) */
#menus #menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-right: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 20px 0 80px rgba(15, 23, 42, 0.08) !important;
    z-index: 10001 !important;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 30px 20px !important;
    margin: 0 !important;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#menus #menu-toggle:checked+#trigger+#burger+#menu {
    left: 0 !important;
}

/* Elementos de la lista */
#menus #menu li.lista {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
}

#menus #menu li.lista a {
    display: flex !important;
    align-items: center;
    padding: 12px 20px !important;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-decoration: none !important;
    border-radius: 12px;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    text-indent: 0 !important;
    border-left: 3px solid transparent;
    line-height: 1.5 !important;
}

#menus #menu li.lista a:hover {
    color: #0d6efd !important;
    background: rgba(13, 110, 253, 0.06) !important;
    border-left: 3px solid #0d6efd;
    padding-left: 24px !important;
}

#menus #menu li.lista a.current {
    color: #0d6efd !important;
    background: rgba(13, 110, 253, 0.08) !important;
    border-left: 3px solid #0d6efd;
    font-weight: 700 !important;
}

/* Submenús */
#menus #menu li.lista ul {
    margin: 4px 0 8px 16px !important;
    padding: 0 !important;
    border-left: 1px solid #e2e8f0 !important;
    display: block;
}

#menus #menu li.lista ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#menus #menu li.lista ul li a {
    padding: 8px 20px !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    color: #64748b !important;
    border-radius: 8px;
    border-left: none !important;
}

#menus #menu li.lista ul li a:hover {
    color: #0d6efd !important;
    background: rgba(13, 110, 253, 0.04) !important;
    padding-left: 24px !important;
}




/**************************************/
:root {
    --dt-row-selected: 13, 110, 253;
    --dt-row-selected-text: 255, 255, 255;
    --dt-row-selected-link: 9, 10, 11;
    --dt-row-stripe: 0, 0, 0;
    --dt-row-hover: 0, 0, 0;
    --dt-column-ordering: 0, 0, 0;
    --dt-html-background: white
}

:root.dark {
    --dt-html-background: rgb(33, 37, 41)
}

table.dataTable td.dt-control {
    text-align: center;
    cursor: pointer
}

table.dataTable td.dt-control:before {
    display: inline-block;
    color: rgba(0, 0, 0, 0.5);
    content: "►"
}

table.dataTable tr.dt-hasChild td.dt-control:before {
    content: "▼"
}

html.dark table.dataTable td.dt-control:before {
    color: rgba(255, 255, 255, 0.5)
}

html.dark table.dataTable tr.dt-hasChild td.dt-control:before {
    color: rgba(255, 255, 255, 0.5)
}

table.dataTable thead>tr>th.sorting,
table.dataTable thead>tr>th.sorting_asc,
table.dataTable thead>tr>th.sorting_desc,
table.dataTable thead>tr>th.sorting_asc_disabled,
table.dataTable thead>tr>th.sorting_desc_disabled,
table.dataTable thead>tr>td.sorting,
table.dataTable thead>tr>td.sorting_asc,
table.dataTable thead>tr>td.sorting_desc,
table.dataTable thead>tr>td.sorting_asc_disabled,
table.dataTable thead>tr>td.sorting_desc_disabled {
    cursor: pointer;
    position: relative;
    padding-right: 26px
}

table.dataTable thead>tr>th.sorting:before,
table.dataTable thead>tr>th.sorting:after,
table.dataTable thead>tr>th.sorting_asc:before,
table.dataTable thead>tr>th.sorting_asc:after,
table.dataTable thead>tr>th.sorting_desc:before,
table.dataTable thead>tr>th.sorting_desc:after,
table.dataTable thead>tr>th.sorting_asc_disabled:before,
table.dataTable thead>tr>th.sorting_asc_disabled:after,
table.dataTable thead>tr>th.sorting_desc_disabled:before,
table.dataTable thead>tr>th.sorting_desc_disabled:after,
table.dataTable thead>tr>td.sorting:before,
table.dataTable thead>tr>td.sorting:after,
table.dataTable thead>tr>td.sorting_asc:before,
table.dataTable thead>tr>td.sorting_asc:after,
table.dataTable thead>tr>td.sorting_desc:before,
table.dataTable thead>tr>td.sorting_desc:after,
table.dataTable thead>tr>td.sorting_asc_disabled:before,
table.dataTable thead>tr>td.sorting_asc_disabled:after,
table.dataTable thead>tr>td.sorting_desc_disabled:before,
table.dataTable thead>tr>td.sorting_desc_disabled:after {
    position: absolute;
    display: block;
    opacity: .125;
    right: 10px;
    line-height: 9px;
    font-size: .8em
}

table.dataTable thead>tr>th.sorting:before,
table.dataTable thead>tr>th.sorting_asc:before,
table.dataTable thead>tr>th.sorting_desc:before,
table.dataTable thead>tr>th.sorting_asc_disabled:before,
table.dataTable thead>tr>th.sorting_desc_disabled:before,
table.dataTable thead>tr>td.sorting:before,
table.dataTable thead>tr>td.sorting_asc:before,
table.dataTable thead>tr>td.sorting_desc:before,
table.dataTable thead>tr>td.sorting_asc_disabled:before,
table.dataTable thead>tr>td.sorting_desc_disabled:before {
    bottom: 50%;
    content: "▲";
    content: "▲" /""
}

table.dataTable thead>tr>th.sorting:after,
table.dataTable thead>tr>th.sorting_asc:after,
table.dataTable thead>tr>th.sorting_desc:after,
table.dataTable thead>tr>th.sorting_asc_disabled:after,
table.dataTable thead>tr>th.sorting_desc_disabled:after,
table.dataTable thead>tr>td.sorting:after,
table.dataTable thead>tr>td.sorting_asc:after,
table.dataTable thead>tr>td.sorting_desc:after,
table.dataTable thead>tr>td.sorting_asc_disabled:after,
table.dataTable thead>tr>td.sorting_desc_disabled:after {
    top: 50%;
    content: "▼";
    content: "▼" /""
}

table.dataTable thead>tr>th.sorting_asc:before,
table.dataTable thead>tr>th.sorting_desc:after,
table.dataTable thead>tr>td.sorting_asc:before,
table.dataTable thead>tr>td.sorting_desc:after {
    opacity: .6
}

table.dataTable thead>tr>th.sorting_desc_disabled:after,
table.dataTable thead>tr>th.sorting_asc_disabled:before,
table.dataTable thead>tr>td.sorting_desc_disabled:after,
table.dataTable thead>tr>td.sorting_asc_disabled:before {
    display: none
}

table.dataTable thead>tr>th:active,
table.dataTable thead>tr>td:active {
    outline: none
}

div.dataTables_scrollBody>table.dataTable>thead>tr>th:before,
div.dataTables_scrollBody>table.dataTable>thead>tr>th:after,
div.dataTables_scrollBody>table.dataTable>thead>tr>td:before,
div.dataTables_scrollBody>table.dataTable>thead>tr>td:after {
    display: none
}

div.dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    margin-left: -100px;
    margin-top: -26px;
    text-align: center;
    padding: 2px
}

div.dataTables_processing>div:last-child {
    position: relative;
    width: 80px;
    height: 15px;
    margin: 1em auto
}

div.dataTables_processing>div:last-child>div {
    position: absolute;
    top: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgb(13, 110, 253);
    background: rgb(var(--dt-row-selected));
    animation-timing-function: cubic-bezier(0, 1, 1, 0)
}

div.dataTables_processing>div:last-child>div:nth-child(1) {
    left: 8px;
    animation: datatables-loader-1 .6s infinite
}

div.dataTables_processing>div:last-child>div:nth-child(2) {
    left: 8px;
    animation: datatables-loader-2 .6s infinite
}

div.dataTables_processing>div:last-child>div:nth-child(3) {
    left: 32px;
    animation: datatables-loader-2 .6s infinite
}

div.dataTables_processing>div:last-child>div:nth-child(4) {
    left: 56px;
    animation: datatables-loader-3 .6s infinite
}

@keyframes datatables-loader-1 {
    0% {
        transform: scale(0)
    }

    100% {
        transform: scale(1)
    }
}

@keyframes datatables-loader-3 {
    0% {
        transform: scale(1)
    }

    100% {
        transform: scale(0)
    }
}

@keyframes datatables-loader-2 {
    0% {
        transform: translate(0, 0)
    }

    100% {
        transform: translate(24px, 0)
    }
}

table.dataTable.nowrap th,
table.dataTable.nowrap td {
    white-space: nowrap
}

table.dataTable th.dt-left,
table.dataTable td.dt-left {
    text-align: left
}

table.dataTable th.dt-center,
table.dataTable td.dt-center,
table.dataTable td.dataTables_empty {
    text-align: center
}

table.dataTable th.dt-right,
table.dataTable td.dt-right {
    text-align: right
}

table.dataTable th.dt-justify,
table.dataTable td.dt-justify {
    text-align: justify
}

table.dataTable th.dt-nowrap,
table.dataTable td.dt-nowrap {
    white-space: nowrap
}

table.dataTable thead th,
table.dataTable thead td,
table.dataTable tfoot th,
table.dataTable tfoot td {
    text-align: left
}

table.dataTable thead th.dt-head-left,
table.dataTable thead td.dt-head-left,
table.dataTable tfoot th.dt-head-left,
table.dataTable tfoot td.dt-head-left {
    text-align: left
}

table.dataTable thead th.dt-head-center,
table.dataTable thead td.dt-head-center,
table.dataTable tfoot th.dt-head-center,
table.dataTable tfoot td.dt-head-center {
    text-align: center
}

table.dataTable thead th.dt-head-right,
table.dataTable thead td.dt-head-right,
table.dataTable tfoot th.dt-head-right,
table.dataTable tfoot td.dt-head-right {
    text-align: right
}

table.dataTable thead th.dt-head-justify,
table.dataTable thead td.dt-head-justify,
table.dataTable tfoot th.dt-head-justify,
table.dataTable tfoot td.dt-head-justify {
    text-align: justify
}

table.dataTable thead th.dt-head-nowrap,
table.dataTable thead td.dt-head-nowrap,
table.dataTable tfoot th.dt-head-nowrap,
table.dataTable tfoot td.dt-head-nowrap {
    white-space: nowrap
}

table.dataTable tbody th.dt-body-left,
table.dataTable tbody td.dt-body-left {
    text-align: left
}

table.dataTable tbody th.dt-body-center,
table.dataTable tbody td.dt-body-center {
    text-align: center
}

table.dataTable tbody th.dt-body-right,
table.dataTable tbody td.dt-body-right {
    text-align: right
}

table.dataTable tbody th.dt-body-justify,
table.dataTable tbody td.dt-body-justify {
    text-align: justify
}

table.dataTable tbody th.dt-body-nowrap,
table.dataTable tbody td.dt-body-nowrap {
    white-space: nowrap
}

/*! Bootstrap 5 integration for DataTables
 *
 * ©2020 SpryMedia Ltd, all rights reserved.
 * License: MIT datatables.net/license/mit
 */
table.dataTable {
    clear: both;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    max-width: none !important;
    border-collapse: separate !important;
    border-spacing: 0
}

table.dataTable td,
table.dataTable th {
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

table.dataTable td.dataTables_empty,
table.dataTable th.dataTables_empty {
    text-align: center
}

table.dataTable.nowrap th,
table.dataTable.nowrap td {
    white-space: nowrap
}

table.dataTable.table-striped>tbody>tr:nth-of-type(2n+1)>* {
    box-shadow: none
}

table.dataTable>tbody>tr {
    background-color: transparent
}

table.dataTable>tbody>tr.selected>* {
    box-shadow: inset 0 0 0 9999px rgb(13, 110, 253);
    box-shadow: inset 0 0 0 9999px rgb(var(--dt-row-selected));
    color: rgb(255, 255, 255);
    color: rgb(var(--dt-row-selected-text))
}

table.dataTable>tbody>tr.selected a {
    color: rgb(9, 10, 11);
    color: rgb(var(--dt-row-selected-link))
}

table.dataTable.table-striped>tbody>tr.odd>* {
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-stripe), 0.05)
}

table.dataTable.table-striped>tbody>tr.odd.selected>* {
    box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.95);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.95)
}

table.dataTable.table-hover>tbody>tr:hover>* {
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-hover), 0.075)
}

table.dataTable.table-hover>tbody>tr.selected:hover>* {
    box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.975);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.975)
}

div.dataTables_wrapper div.dataTables_length label {
    font-weight: normal;
    text-align: left;
    white-space: nowrap;
    display: inline-flex !important;
    align-items: center !important;
    height: 35px !important;
    vertical-align: middle !important;
}

div.dataTables_wrapper div.dataTables_length select {
    width: auto;
    display: inline-block !important;
    height: 35px !important;
    padding: 2px 30px 2px 10px !important;
    font-size: 0.9rem !important;
    border-radius: 8px !important;
    border: 1.5px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23475569' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 12px 10px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s ease !important;
    vertical-align: middle !important;
    margin: 0 5px !important;
}

div.dataTables_wrapper div.dataTables_length select:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
    outline: none !important;
}

div.dataTables_wrapper div.dataTables_filter {
    text-align: right
}

div.dataTables_wrapper div.dataTables_filter label {
    font-weight: normal;
    white-space: nowrap;
    text-align: left;
    display: inline-flex !important;
    align-items: center !important;
    height: 35px !important;
    vertical-align: middle !important;
}

div.dataTables_wrapper div.dataTables_filter input {
    margin-left: .5em !important;
    display: inline-block !important;
    width: auto !important;
    height: 35px !important;
    padding: 2px 12px !important;
    font-size: 0.9rem !important;
    border-radius: 8px !important;
    border: 1.5px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

div.dataTables_wrapper div.dataTables_filter input:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
    outline: none !important;
}

div.dataTables_wrapper div.dataTables_length {
    float: left !important;
    width: 50% !important;
    margin: 10px 0 !important;
    padding: 0 !important;
}

div.dataTables_wrapper div.dataTables_filter {
    float: right !important;
    width: 50% !important;
    text-align: right !important;
    margin: 10px 0 !important;
    padding: 0 !important;
}

@media screen and (max-width: 767px) {

    div.dataTables_wrapper div.dataTables_length,
    div.dataTables_wrapper div.dataTables_filter {
        float: none !important;
        width: 100% !important;
        text-align: center !important;
        margin: 8px 0 !important;
        display: block !important;
    }

    div.dataTables_wrapper div.dataTables_length label,
    div.dataTables_wrapper div.dataTables_filter label {
        justify-content: center !important;
        width: 100% !important;
    }
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: .85em
}

div.dataTables_wrapper div.dataTables_paginate {
    margin: 0;
    white-space: nowrap;
    text-align: right
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 2px 0;
    white-space: nowrap;
    justify-content: flex-end
}

div.dataTables_wrapper div.dt-row {
    position: relative
}

div.dataTables_scrollHead table.dataTable {
    margin-bottom: 0 !important
}

div.dataTables_scrollBody>table {
    border-top: none;
    margin-top: 0 !important;
    margin-bottom: 0 !important
}

div.dataTables_scrollBody>table>thead .sorting:before,
div.dataTables_scrollBody>table>thead .sorting_asc:before,
div.dataTables_scrollBody>table>thead .sorting_desc:before,
div.dataTables_scrollBody>table>thead .sorting:after,
div.dataTables_scrollBody>table>thead .sorting_asc:after,
div.dataTables_scrollBody>table>thead .sorting_desc:after {
    display: none
}

div.dataTables_scrollBody>table>tbody tr:first-child th,
div.dataTables_scrollBody>table>tbody tr:first-child td {
    border-top: none
}

div.dataTables_scrollFoot>.dataTables_scrollFootInner {
    box-sizing: content-box
}

div.dataTables_scrollFoot>.dataTables_scrollFootInner>table {
    margin-top: 0 !important;
    border-top: none
}

@media screen and (max-width: 767px) {

    div.dataTables_wrapper div.dataTables_length,
    div.dataTables_wrapper div.dataTables_filter,
    div.dataTables_wrapper div.dataTables_info,
    div.dataTables_wrapper div.dataTables_paginate {
        text-align: center
    }

    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        justify-content: center !important
    }
}

table.dataTable.table-sm>thead>tr>th:not(.sorting_disabled) {
    padding-right: 20px
}

table.table-bordered.dataTable {
    border-right-width: 0
}

table.table-bordered.dataTable thead tr:first-child th,
table.table-bordered.dataTable thead tr:first-child td {
    border-top-width: 1px
}

table.table-bordered.dataTable th,
table.table-bordered.dataTable td {
    border-left-width: 0
}

table.table-bordered.dataTable th:first-child,
table.table-bordered.dataTable th:first-child,
table.table-bordered.dataTable td:first-child,
table.table-bordered.dataTable td:first-child {
    border-left-width: 1px
}

table.table-bordered.dataTable th:last-child,
table.table-bordered.dataTable th:last-child,
table.table-bordered.dataTable td:last-child,
table.table-bordered.dataTable td:last-child {
    border-right-width: 1px
}

table.table-bordered.dataTable th,
table.table-bordered.dataTable td {
    border-bottom-width: 1px
}

div.dataTables_scrollHead table.table-bordered {
    border-bottom-width: 0
}

div.table-responsive>div.dataTables_wrapper>div.row {
    margin: 0
}

div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:first-child {
    padding-left: 0
}

div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:last-child {
    padding-right: 0
}

:root[data-bs-theme=dark] {
    --dt-row-hover: 255, 255, 255;
    --dt-row-stripe: 255, 255, 255;
    --dt-column-ordering: 255, 255, 255
}

.paginate_button {
    padding: 5px;
    text-decoration: none;
    color: #000;
    /*border: 2px solid;*/
}

.paginate_button:hover:not(.disabled) {
    text-decoration: underline;
    cursor: pointer;
}

.paginate_button.previous {
    border-radius: 10px 0 0 10px;
    border: 1px solid #dee2e6;
}

.paginate_button.next {
    border-radius: 0 10px 10px 0;
    border: 1px solid #dee2e6;
}

.paginate_button.disabled {
    background-color: #f2f2f2;
}

.col-form-label {
    font-weight: 700;
}

p.token {
    font-size: 1.5em;
    font-weight: 700;
    display: inline-block;
    position: absolute;
    left: 0px;
}





/*,table#dataTables thead tr,table#dataTables thead th*/
table.color thead tr,
table.color thead th {
    background-color: #0d6efd !important;
    color: #FFF;
}





pre {
    padding-bottom: 0 !important;
}


#sql pre {

    background: #f7f7f7;
    color: #000;
    outline: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    overflow: auto;
    padding: 15px;
}

#sql textarea.error-field::placeholder {
    color: red !important;
}

#sql .sqlunion {
    /*/color: #0c68f0;*/
    color: darkorange;
}

#sql .sqlkeyword {
    color: #dc3545;
    font-weight: 900;
}

#sql .sqlstring {
    color: #b78900;
}

#sql .sqlstringv {
    /*color: #198754;*/
}

#sql #inputText:focus {
    background: #f7f7f7 !important;
    outline: none;
    box-shadow: none;
    border: none;
}

#sql pre {
    font-weight: normal !important;
}

#sql .placeholder-text {
    color: #555;
}

#sql .editor-wrapper .editor .top-area .result-btn.btn {
    display: none;
}

#sql .editor-wrapper .editor .top-area .result-btn.btn {
    display: none;
}












.bootstrap-tagsinput {
    background-color: #fff;
    border: 1px solid #b5b5b5;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    display: inline-block;
    /*padding: 4px 6px;*/
    line-height: 1.42857143;
    padding: 6px 12px;
    /*margin-bottom: 10px;*/
    color: #555;
    vertical-align: middle;
    border-radius: 4px;
    width: 100%;
    line-height: 22px;
    cursor: text;
}

.bootstrap-tagsinput input {
    height: 20px;
    border: none;
    box-shadow: none;
    outline: none;
    background-color: transparent;
    padding: 0;
    margin: 0;
    line-height: 1.42857143;
    width: auto !important;
    max-width: inherit;
}

.bootstrap-tagsinput input:focus {
    border: none;
    box-shadow: none;
}

.bootstrap-tagsinput .tag {
    margin-right: 2px;
    color: white;
    background-color: #0d6efd;
    ;
    border-radius: 5px;
    color: white;
    padding: 0 8px;
}

.bootstrap-tagsinput .tag [data-role="remove"] {
    margin-left: 8px;
    cursor: pointer;
}

.bootstrap-tagsinput .tag [data-role="remove"]:after {
    content: "x";
    padding: 0px 2px;
}

.bootstrap-tagsinput .tag [data-role="remove"]:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.bootstrap-tagsinput .tag [data-role="remove"]:hover:active {
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

#particles-js {

    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
}

#particles-js canvas {
    display: block;
    vertical-align: bottom
}

.lodinnnn {
    z-index: 1000000 !important;
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /*background: rgba(238, 238, 238, 0.8)
                url('../img/loading.svg') 
                50% 50% 
                no-repeat;*/
}

/*rgba( 0, 0, 0, .5 ) */

body.loading {
    cursor: progress;
    overflow: hidden;
}

body.loading .lodinnnn {
    display: block;
}

body.loading #particles-js {
    z-index: 1000000 !important;
    ;
}

.center_div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wave {
    width: 1.8rem;
    height: 100px;
    background-color: #0d6efd;
    margin: 0 4px;
    border-radius: 0.4rem;
    animation: wave 1.5s linear infinite;
    transform-origin: center;
    transform: scale(0);


}

@keyframes wave {
    0% {
        transform: scale(0);
        filter: hue-rotate(90deg) blur(100px);
    }

    25% {
        transform: scale(0);
        filter: hue-rotate(120deg) blur(50px);
    }

    50% {
        transform: scale(1);
        filter: hue-rotate(180deg) blur(25px);
    }

    25% {
        transform: scale(0);
        filter: hue-rotate(360deg) blur(2px);
    }

    100% {
        transform: scale(0);
        filter: hue-rotate(0deg) blur(0);
    }
}

.wave:nth-child(2) {
    animation-delay: 0.1s;
}

.wave:nth-child(3) {
    animation-delay: 0.2s;
}

.wave:nth-child(4) {
    animation-delay: 0.3s;
}

.wave:nth-child(5) {
    animation-delay: 0.4s;
}

.wave:nth-child(6) {
    animation-delay: 0.5s;
}

.wave:nth-child(7) {
    animation-delay: 0.6s;
}

.wave:nth-child(8) {
    animation-delay: 0.7s;
}

.wave:nth-child(9) {
    animation-delay: 0.8s;
}

.wave:nth-child(10) {
    animation-delay: 0.9s;
}

body.fullscreen-active .ocultar-fullscreen {
    display: none !important;
}

html.is-embedded #menu,
html.is-embedded #menus,
html.is-embedded #menu-toggle,
html.is-embedded #trigger,
html.is-embedded #burger,
html.is-embedded div#alert,

body.fullscreen-active #menu,
body.fullscreen-active #menus,
body.fullscreen-active #menu-toggle,
body.fullscreen-active #trigger,
body.fullscreen-active #burger {
    display: none !important;
}

body.fullscreen-active div#alert img {
    /*max-height: 20px !important;*/
}

html.is-embedded .embedded {
    display: none !important;
}

/*html.is-embedded .copy{
                display: none !important;
            }*/

html.is-embedded div.container-xl.p-5 {
    max-width: 100% !important;
}

html.is-embedded div.justify-content-between {
    margin-bottom: 1rem !important;
}

html.is-embedded div.justify-content-between>div>h1,
body.fullscreen-active div.justify-content-between>div>h1 {
    font-size: 1.2rem !important;
}

html.is-embedded div.justify-content-between>div i,
body.fullscreen-active div.justify-content-between>div i {
    font-size: 1.5rem !important;
}

html.is-embedded div.justify-content-between>div>.text-subtext {
    font-size: 0.8rem !important;
}

html.is-embedded .ocultar-iframe {
    display: none !important;
}

html.is-embedded a.btn-lg:has(.fa-circle-left),
html.is-embedded a.btn:has(.fa-circle-left) {
    display: none !important;
    /* Oculta botones de volver */
}

html.is-embedded body {
    /*padding-top: 10px !important;*/
}

html.is-embedded .dashboard-page-header .btn-close {
    display: none;
}



.barra-fullscreen {
    display: none;
}

/* visible en fullscreen */
body.fullscreen-active .barra-fullscreen {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    text-align: center;
    padding: 5px 0;

    background: rgba(0, 0, 0, 0.7);
    color: #fff;

    font-size: 12px;
    letter-spacing: 1px;

    z-index: 1999999999999;
}


.fas.font10 {
    font-size: 10px !important;
}

.fas.fontEM {
    font-size: 1em !important;
}

.popover-auto-width {
    max-width: none !important;
}

.popover-auto-width .popover-body {
    width: auto;
    white-space: nowrap;
    padding: 8px;
}

.popover-auto-width table {
    margin: 0;
    width: auto !important;
}

.popover-auto-width td,
.popover-auto-width th {
    white-space: nowrap;
}

.popover {
    width: fit-content !important;
    max-width: 90vw !important;
}

/* Rediseño del Selector de Columnas (Multiselect) en Excel */
#ms-multiselect.ms-container {
    display: flex;
    gap: 0px;
    width: 100%;
    margin-bottom: 25px;
    position: relative;
    background: none !important;
}

#ms-multiselect.ms-container:before {
    content: "\f0ec";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif;
    font-weight: 900;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #64748b !important;
    font-size: 1rem;
    z-index: 10;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08) !important;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#ms-multiselect .ms-selectable,
#ms-multiselect .ms-selection {
    flex: 1 !important;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.025);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

#ms-multiselect .t {
    color: #ffffff !important;
    padding: 8px 12px !important;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#ms-multiselect .ms-selectable .t {
    background: #0d6efd !important;
    /* Blue for available */
}

#ms-multiselect .ms-selection .t {
    background: #10b981 !important;
    /* Green for selected */
}

#ms-multiselect .search-input {
    width: 100% !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 8px 12px !important;
    font-size: 0.9rem !important;
    outline: none !important;
    background: #f8fafc !important;
}

#ms-multiselect .ms-list {
    height: 320px !important;
    border: none !important;
    padding: 6px !important;
    background: #ffffff !important;
}

#ms-multiselect .ms-list li {
    padding: 5px 10px !important;
    border-radius: 6px !important;
    margin-bottom: 4px !important;
    font-size: 0.88rem !important;
    font-family: 'Inter', sans-serif !important;
    color: #334155 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

#ms-multiselect .ms-list li.ms-hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

#ms-multiselect .ms-selectable li.ms-hover {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}

#ms-multiselect .ms-selection li.ms-hover {
    background: #ecfdf5 !important;
    color: #047857 !important;
}

/* Acciones del pie de lista */
#ms-multiselect .footer {
    padding: 12px !important;
    background: #f8fafc !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex;
    justify-content: center;
}

#ms-multiselect .footer a {
    color: #4b5563 !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: color 0.2s ease !important;
    text-decoration: none;
}

#ms-multiselect .footer a:hover {
    color: #0d6efd !important;
}

/* Estilización Premium para Accordions */
.accordion-item {
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    margin-bottom: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02) !important;
    background: #ffffff !important;
}

.accordion-header {
    border-bottom: none !important;
}

.accordion-button {
    font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    color: #334155 !important;
    background-color: #f8fafc !important;
    padding: 16px 20px !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

.accordion-button:not(.collapsed) {
    color: #0d6efd !important;
    background-color: #eff6ff !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.accordion-button::after {
    background-size: 1rem !important;
    transition: transform 0.2s ease-in-out !important;
}

.accordion-body {
    padding: 24px 20px !important;
    background-color: #ffffff !important;
    color: #475569 !important;
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
}

/* Rediseño de la Barra de Búsqueda del Admin (Explorar Catálogo) */
.proceso-search-wrapper {
    border: 2px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    background: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.proceso-search-wrapper:hover {
    border-color: #3b82f6 !important;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.15) !important;
    transform: translateY(-2px) !important;
}

.proceso-search-wrapper button {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    padding: 10px 24px !important;
    border-radius: 30px !important;
    border: none !important;
    color: white !important;
}

.proceso-search-wrapper button:hover {
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35) !important;
}


.dataTables_wrapper .dataTables_filter input {
    border-radius: 6px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 5px 10px !important;
    transition: all 0.2s ease-in-out !important;
    outline: none !important;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

/* Rediseño de la Sección "Insertar en otro sitio web" */
.ocultar-iframe {
    margin-top: 30px !important;
    margin-bottom: 20px !important;
}

.ocultar-iframe .card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

.ocultar-iframe .card-header {
    background: #ffffff !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.ocultar-iframe .card-header h6 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.ocultar-iframe .card-header h6 i {
    color: #3b82f6 !important;
}

.ocultar-iframe .btn-outline-primary {
    border-color: #e2e8f0 !important;
    color: #475569 !important;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.ocultar-iframe .btn-outline-primary:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

.ocultar-iframe pre {
    background-color: #0f172a !important;
    /* Premium dark background */
    border-radius: 12px !important;
    font-family: 'Fira Code', 'Courier New', Courier, monospace !important;
    border: 1px solid hsl(217, 33%, 17%) !important;
    padding: 20px !important;
}

.ocultar-iframe .btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #e2e8f0 !important;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
    backdrop-filter: blur(4px) !important;
    transition: all 0.2s ease !important;
}

.ocultar-iframe .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

/* Ajuste específico para la cabecera en el visor de Lienzo (Canvas) */
#lienzo .title_menu_base {
    margin-top: -3rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 20px !important;
    padding: 24px 30px !important;
    border-radius: 23px !important;
}

#lienzo .title_menu_base h1 {
    font-size: 1.4rem !important;
}

/* Estilización Sutil y Armónica para Botones */
.btn {
    font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', sans-serif !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 0.9rem !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.btn-sm {
    padding: 5px 12px !important;
    font-size: 0.82rem !important;
}

.btn-lg {
    padding: 12px 28px !important;
    font-size: 1rem !important;
}

/* Botón Primario */
.btn-primary {
    background: linear-gradient(135deg, #0d6efd, #0a58ca) !important;
    border: none !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0b5ed7, #0a58ca) !important;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2) !important;
    transform: translateY(-1px) !important;
}

/* Botón Secundario / Outline */
.btn-outline-secondary {
    border-color: #cbd5e1 !important;
    color: #475569 !important;
    background: #ffffff !important;
}

.btn-outline-secondary:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

/* Botón Outline Primario */
.btn-outline-primary {
    border-color: #0d6efd !important;
    color: #0d6efd !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: #eff6ff !important;
    color: #0b5ed7 !important;
    border-color: #0b5ed7 !important;
    transform: translateY(-1px) !important;
}

/* Estilo sutil para inputs y selectores */
.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
select.form-control {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    font-family: 'Inter', 'Segoe UI', sans-serif !important;
    font-size: 0.9rem !important;
    padding: 8px 12px !important;
    transition: all 0.2s ease-in-out !important;
    background-color: #ffffff !important;
    color: #334155 !important;
}

.form-control:focus,
.form-select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12) !important;
    outline: none !important;
}

/* Corregir doble borde en selectores de Bootstrap Select (Selectpicker) */
.bootstrap-select.form-control {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.bootstrap-select .dropdown-toggle {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 8px 12px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    background-color: #ffffff !important;
    color: #334155 !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select .dropdown-toggle:active {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12) !important;
    outline: none !important;
    background-color: #ffffff !important;
}

/* Estilización Sutil y Moderna para la Tabla de Indicadores */
.campos table.table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    margin-bottom: 24px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.campos table.table thead th {
    background-color: #f8fafc !important;
    color: #1e293b !important;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-weight: 700 !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    font-size: 0.9rem !important;
}

.campos table.table thead th.bg-primary-subtle {
    background-color: #eff6ff !important;
    color: #1d4ed8 !important;
}

.campos table.table tbody td {
    padding: 10px 16px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.88rem !important;
    color: #475569 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
}

.campos table.table tbody tr:last-child td {
    border-bottom: none !important;
}

.campos table.table tbody tr:hover td {
    background-color: #f8fafc !important;
}

.campos table.table a.openPdf i {
    color: #ef4444 !important;
    /* Icono PDF rojo elegante */
    font-size: 1.1rem !important;
    transition: transform 0.2s !important;
}

.campos table.table a.openPdf:hover i {
    transform: scale(1.15) !important;
}

.campos table.table a.abrirModal i,
.campos table.table a.power i {
    color: #eab308 !important;
    /* Icono de gráfico ámbar/dorado */
    font-size: 1.1rem !important;
    transition: transform 0.2s !important;
}

.campos table.table a.abrirModal:hover i,
.campos table.table a.power:hover i {
    transform: scale(1.15) !important;
}

/* Estilos de Tablas de Parámetros/Solicitudes y Vista Previa en Excel */
.container-xl table.table,
#TablaMuestra table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    margin: 15px 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.container-xl table.table thead th,
#TablaMuestra table thead th {
    background-color: #f8fafc !important;
    color: #475569 !important;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-weight: 700 !important;

    /*text-transform: uppercase;*/
    font-size: 0.82rem !important;
    letter-spacing: 0.5px;
    padding: 10px 14px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.container-xl table.table tbody td,
#TablaMuestra table tbody td {
    padding: 10px 14px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    color: #334155 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
}

/* Asegurar contraste de color en celdas de estado de tablas (ddl, dml, etc.) */
table.table td.bg-primary,
table.table td.bg-danger,
table.table td.bg-success,
table.table td.bg-info,
table.table td.bg-warning,
table.table td.text-white {
    color: #ffffff !important;
}

/* ==========================================================================
   Menú Flotante de Reportes por Proceso (reports-menu)
   ========================================================================== */
#reports-menu-container {
    z-index: 10000 !important;
}

#reports-menu-container [type="checkbox"] {
    display: none !important;
}

/* Botón flotante para Menú de Reportes (abajo del menú principal) */
#reports-menu-container #reports-burger {
    position: fixed;
    top: 80px;
    /* Debajo del menú principal (20px + 48px + 12px de separación) */
    left: 20px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    cursor: pointer;
    z-index: 10002 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

#reports-menu-container #reports-burger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06) !important;
}

#reports-menu-container #reports-menu-toggle:checked+#reports-trigger+#reports-burger {
    background: #f1f5f9 !important;
    box-shadow: none !important;
    z-index: 10000 !important;
    /* Ocultar detrás del panel cuando se abre */
}

/* Trigger de Cierre */
#reports-menu-container #reports-trigger {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999 !important;
    background: none !important;
    cursor: default;
    display: none;
}

#reports-menu-container #reports-menu-toggle:checked+#reports-trigger {
    display: block !important;
}

#reports-menu-container #reports-trigger:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
}

/* Panel de Menú de Reportes */
#reports-menu-container #reports-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-right: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 20px 0 80px rgba(15, 23, 42, 0.08) !important;
    z-index: 10001 !important;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 30px 20px !important;
    margin: 0 !important;
    overflow-y: auto;
}

#reports-menu-container #reports-menu-toggle:checked+#reports-trigger+#reports-burger+#reports-menu {
    left: 0 !important;
}

/* Estilos de Cabecera y Contenedor del Menú */
.reports-menu-header {
    margin-bottom: 24px;
}

.reports-menu-header h3 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.reports-menu-header p {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.82rem !important;
    color: #64748b !important;
}

.proceso-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.report-item-li a:hover {
    background: rgba(15, 23, 42, 0.05) !important;
    color: #0f172a !important;
    padding-left: 16px !important;
}

.report-item-li a i {
    transition: transform 0.2s ease;
}

.report-item-li a:hover i {
    transform: scale(1.15);
}

/* Ocultar ambos botones cuando cualquier menú está abierto */
body.menu-active-open #burger,
body.menu-active-open #reports-burger {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease !important;
}

/* Si el usuario no tiene acceso al menú principal, subir el botón de reportes al top de la página */
#reports-menu-container.no-main-menu #reports-burger {
    top: 20px !important;
}

/* Estilo sobrio para el título de la página principal */
.sobrio-title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.15em !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin-top: 15px !important;
    margin-bottom: 35px !important;
    z-index: 4;
    text-shadow: none !important;
    display: block !important;
    width: 100% !important;
}

/* Estilos para los botones de las cabeceras */
.btn-header-conceptos,
.btn-header-volver {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 18px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    height: 38px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    transition: all 0.2s ease !important;
    border: none !important;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    margin: 0 !important;
}

/* Botón Ficha Técnica (semi-transparente) */
.btn-header-conceptos {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.btn-header-conceptos:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

/* Botón Volver (sólido blanco) */
.btn-header-volver {
    background: #ffffff !important;
}

.btn-header-volver:hover {
    background: #f8fafc !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08) !important;
}

/* Asignar colores específicos del texto del botón Volver según el fondo de la cabecera */
.title_menu_base .btn-header-volver {
    color: #1d4ed8 !important;
}

.title_menu_indicador .btn-header-volver {
    color: #0369a1 !important;
}

.title_menu_dashboard .btn-header-volver {
    color: #ea580c !important;
}

.title_menu_pdf .btn-header-volver {
    color: #6d28d9 !important;
}

.title_menu_excel .btn-header-volver {
    color: #047857 !important;
}

/* Reducción de tamaño del modal de tableros (indicadores) para coincidir con dashboard/ver */
#myModalTablero .modal-header {
    padding: 8px 16px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

#myModalTablero .modal-title {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin: 0 !important;
}

#myModalTablero .modal-footer {
    padding: 4px 12px !important;
    min-height: auto !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

#myModalTablero .modal-footer .token {
    margin: 0 !important;
    color: #000000 !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    margin-right: auto !important;
}

#myModalTablero .modal-footer .btn {
    padding: 4px 12px !important;
    font-size: 0.78rem !important;
    margin: 0 4px !important;
    border-radius: 8px !important;
}

#myModalTablero .modal-body {
    padding: 0 !important;
}

/* Estilo de recuadro sutil para los iconos de las cabeceras */
.title_menu_base h1 i,
.title_menu_indicador h1 i,
.title_menu_dashboard h1 i,
.title_menu_pdf h1 i,
.title_menu_excel h1 i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    background: rgba(255, 255, 255, 0.16) !important;
    border-radius: 10px !important;
    margin-right: 14px !important;
    font-size: 1.05rem !important;
    vertical-align: middle !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    flex-shrink: 0 !important;
}

/* Animación de pulso/brillo para el botón de reportes durante el asomo */
#reports-menu-container #reports-burger.peek-active {
    animation: burger-pulse 1.2s infinite ease-in-out !important;
    transform: scale(1.1) !important;
    border: 2px solid #0d6efd !important;
}

@keyframes burger-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.5), 0 4px 20px rgba(15, 23, 42, 0.08);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(13, 110, 253, 0), 0 4px 20px rgba(15, 23, 42, 0.08);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0), 0 4px 20px rgba(15, 23, 42, 0.08);
    }
}

/* Estilos para el menú de reportes fijado */
body.reports-menu-pinned #reports-menu-container #reports-menu {
    left: 0 !important;
    border-right: 2px solid rgba(13, 110, 253, 0.2) !important;
    box-shadow: 10px 0 30px rgba(15, 23, 42, 0.04) !important;
}

body.reports-menu-pinned #reports-menu-container #reports-menu-toggle:checked+#reports-trigger {
    display: none !important;
}

body.reports-menu-pinned #reports-menu-container #reports-burger {
    display: none !important;
}

#reports-pin-btn.active i {
    transform: rotate(45deg);
    color: #0d6efd !important;
}

#reports-pin-btn i {
    transition: transform 0.2s ease, color 0.2s ease;
}

@media (min-width: 992px) {
    body.reports-menu-pinned {
        padding-left: 300px !important;
        transition: padding-left 0.3s ease !important;
    }

    body {
        transition: padding-left 0.3s ease !important;
    }
}

/* Alinear contenedores inferiores con el contenedor principal .container-xl */
.container.ocultar-iframe {
    max-width: 1320px !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: -0.5rem !important;
}

@media (max-width: 1399.98px) {
    .container.ocultar-iframe {
        max-width: 1140px !important;
    }
}

@media (max-width: 1199.98px) {
    .container.ocultar-iframe {
        max-width: 960px !important;
    }
}

@media (max-width: 991.98px) {
    .container.ocultar-iframe {
        max-width: 720px !important;
    }
}

@media (max-width: 767.98px) {
    .container.ocultar-iframe {
        max-width: 540px !important;
    }
}

@media (max-width: 575.98px) {
    .container.ocultar-iframe {
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Corregir esquinas redondeadas en grupos de botones/entradas (input-group) */
.input-group>.btn:first-child,
.input-group>.form-control:first-child,
.input-group>.form-select:first-child {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.input-group>.btn:last-child,
.input-group>.form-control:last-child,
.input-group>.form-select:last-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.input-group> :not(:first-child):not(:last-child):not(.dropdown-menu) {
    border-radius: 0 !important;
}

/* Corregir esquinas redondeadas para bootstrap-select (selectpicker) dentro de input-group */
.input-group>.bootstrap-select:first-child>.dropdown-toggle {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.input-group>.bootstrap-select:last-child>.dropdown-toggle {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.input-group>.bootstrap-select:not(:first-child):not(:last-child)>.dropdown-toggle {
    border-radius: 0 !important;
}

@media (max-width: 991.98px) {
    #reports-pin-btn {
        display: none !important;
    }
}

/* Prevenir desbordamiento horizontal en dispositivos móviles */
html,
body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

@media (max-width: 575.98px) {
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .container-xl,
    .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
        overflow-x: hidden !important;
    }
}

/* Forzar contexto de apilamiento superior para la fila y contenedor del dropdown de filtros */
.row:has(.proceso-filter-dropdown) {
    position: relative !important;
    z-index: 1060 !important;
}

.dropdown:has(.proceso-filter-dropdown) {
    position: relative !important;
    z-index: 1060 !important;
}

.proceso-filter-dropdown+.dropdown-menu {
    z-index: 1070 !important;
}

button.proceso-filter-dropdown {
    height: 47px !important;
    margin-bottom: 26px !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
    font-weight: normal !important;
}

#catalogo button.proceso-filter-dropdown {
    height: 35px !important;
    margin-bottom: 0 !important;
}

/* Forzar visualización correcta del texto en cabeceras secundarias (.subtitle) en móvil y escritorio */
.title_menu_base.subtitle .text-subtext,
.title_menu_indicador.subtitle .text-subtext,
.title_menu_dashboard.subtitle .text-subtext,
.title_menu_pdf.subtitle .text-subtext,
.title_menu_excel.subtitle .text-subtext {
    font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    opacity: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* En resoluciones móviles muy pequeñas, ajustar ligeramente el tamaño del texto secundario */
@media (max-width: 575.98px) {

    .title_menu_base.subtitle .text-subtext,
    .title_menu_indicador.subtitle .text-subtext,
    .title_menu_dashboard.subtitle .text-subtext,
    .title_menu_pdf.subtitle .text-subtext,
    .title_menu_excel.subtitle .text-subtext {
        font-size: 1.15rem !important;
    }
}