:root {
    --navy-950: #09233f;
    --navy-900: #0d3157;
    --navy-800: #154a78;
    --teal-700: #052546;
    --teal-600: #052546;
    --gold-500: #f4b942;
    --sky-50: #f4f8fc;
    --sky-100: #eaf2f9;
    --ink-900: #182230;
    --ink-700: #475467;
    --ink-500: #052546;
    --line: #dbe5ee;
    --white: #ffffff;
    --danger: #d64c4c;
    --shadow-sm: 0 6px 18px rgba(15, 46, 75, .07);
    --shadow-md: 0 14px 34px rgba(15, 46, 75, .12);
    --radius-lg: 18px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    color: var(--ink-900);
    font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--sky-50);
}

a {
    color: var(--teal-700);
}

a:hover {
    color: var(--navy-800);
}

/* Back-office shell */
.admin-body #wrapper {
    min-height: 100vh;
}

.admin-body #content-wrapper {
    min-height: 100vh;
    background:
        radial-gradient(circle at 95% 0%, rgba(62, 157, 169, .12), transparent 25rem),
        var(--sky-50);
}

/* #accordionSidebar {
    width: 16rem !important;
    min-height: 100vh;
    padding: 1.1rem .75rem 1rem;
    background: linear-gradient(180deg, var(--navy-950), var(--navy-900)) !important;
    box-shadow: 8px 0 32px rgba(8, 33, 60, .16);
} */
#accordionSidebar {
    width: 16rem !important;
    min-height: 100vh;
    padding: 1.1rem .75rem 1rem;
    background: linear-gradient(180deg, var(--navy-950), var(--navy-900)) !important;
    box-shadow: 8px 0 32px rgba(8, 33, 60, .16);
    transition: width .25s ease;
}
#accordionSidebar .sidebar-brand {
    min-height: 4.65rem;
    padding: .6rem .55rem 1.1rem;
    margin: 0 .25rem .7rem;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    text-transform: none;
}

.brand-mark {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    flex: 0 0 auto;
    color: var(--navy-900);
    background: var(--gold-500);
    border-radius: 10px;
    font-size: 1rem;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .2);
}

.sidebar-brand-text {
    min-width: 0;
    margin-left: .7rem;
}

.logo_menu {
    display: block;
    width: 100%;
    max-width: 152px;
    height: auto;
}

.sidebar-section-label {
    padding: .9rem .72rem .35rem;
    color: rgba(224, 237, 248, .54);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

#accordionSidebar .nav-item {
    margin: .12rem 0;
}

#accordionSidebar .nav-link {
    display: flex;
    align-items: center;
    gap: .85rem;
    min-height: 2.9rem;
    padding: .72rem .78rem;
    border-radius: 9px;
    color: rgba(244, 249, 253, .79) !important;
    font-size: .83rem;
    font-weight: 700;
    line-height: 1.2;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

#accordionSidebar .nav-link i:first-child {
    width: 1.1rem;
    color: #8bb9d4;
    font-size: .94rem;
    text-align: center;
}

#accordionSidebar .nav-link .nav-chevron {
    margin-left: auto;
    width: auto;
    color: rgba(255, 255, 255, .45);
    font-size: .65rem;
}

#accordionSidebar .nav-link:hover,
#accordionSidebar .nav-item.active .nav-link {
    color: #fff !important;
    background: rgba(255, 255, 255, .11);
    transform: translateX(2px);
}

#accordionSidebar .nav-link:hover i:first-child,
#accordionSidebar .nav-item.active .nav-link i:first-child {
    color: var(--gold-500);
}

#accordionSidebar .collapse-inner {
    margin: .18rem 0 .35rem .45rem;
    padding: .55rem;
    border-radius: 10px;
    background: rgba(1, 20, 39, .35);
}

#accordionSidebar .collapse-header {
    margin: .1rem .45rem .35rem;
    color: rgba(236, 246, 253, .48);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

#accordionSidebar .collapse-item {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem;
    border-radius: 6px;
    color: rgba(243, 249, 253, .75);
    font-size: .76rem;
    font-weight: 700;
}

#accordionSidebar .collapse-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    text-decoration: none;
}

#accordionSidebar .collapse-item i {
    width: 1rem;
    color: #8bb9d4;
    font-size: .72rem;
}

.sidebar-footer {
    margin-top: auto;
    padding: 1rem 0 .15rem;
    text-align: center;
}
#accordionSidebar.toggled .sidebar-footer {
    width: 100%;
    text-align: center;
}

.sidebar-footer button {
    width: 2rem;
    height: 2rem;
    color: #d8eafa;
    background: rgba(255, 255, 255, .1);
    transition: background .2s ease;
}

.sidebar-footer button:hover {
    background: rgba(255, 255, 255, .2);
}

.topbar {
    min-height: 5rem;
    padding: .75rem 2.1rem;
    margin: 0 !important;
    background: #052546;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 10px rgba(21, 60, 91, .03);
}

.topbar-title {
    display: flex;
    flex-direction: column;
    line-height: 1.12;

}

.topbar-eyebrow {
    color: #FFFFFF;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.topbar-title strong {
    color: #FFFFFF;
    font-size: 1.08rem;
    font-weight: 900;
}

.quick-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .56rem .8rem;
    border: 1px solid #cfe5e6;
    border-radius: 8px;
    color: var(--teal-700);
    background: #f2fbfa;
    font-size: .76rem;
    font-weight: 900;
}

.quick-link:hover {
    color: #fff;
    background: var(--teal-700);
    border-color: var(--teal-700);
    text-decoration: none;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .2rem 0 .2rem .75rem !important;
}

.user-avatar {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    color: #fff;
    border: 2px solid #d9ecf0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-700), var(--navy-800));
}

.user-name {
    max-width: 10rem;
    overflow: hidden;
    color: #FFFFFF;
    font-size: .79rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-chevron {
    color: var(--ink-500);
    font-size: .6rem;
}

.dropdown-menu {
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-md) !important;
}

.dropdown-user-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1rem;
    color: var(--navy-900);
    font-size: .8rem;
    font-weight: 900;
}

.dropdown-user-title i {
    color: var(--teal-700);
    font-size: 1.1rem;
}

.dropdown-item {
    padding: .6rem 1rem;
    font-size: .82rem;
    font-weight: 700;
}

.dropdown-item i {
    color: var(--teal-700);
}

.container-fluid {
    padding: 2rem 2.1rem;
}

.container-fluid>.d-sm-flex {
    gap: 1rem;
}

.h3,
h1.h3 {
    color: var(--navy-900) !important;
    font-weight: 900;
    letter-spacing: -.02em;
}

.card {
    overflow: hidden;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-lg) !important;
    background: #fff;
    box-shadow: var(--shadow-sm) !important;
}

.card .card-header {
    padding: 1.05rem 1.3rem !important;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.card .card-header h6 {
    color: var(--navy-900) !important;
    font-weight: 900 !important;
}

.card .card-body {
    padding: 1.3rem;
}

.border-left-primary,
.border-left-success {
    border-left: 0 !important;
}

.metric-card {
    position: relative;
    min-height: 130px;
    border: 0 !important;
    color: #fff;
    box-shadow: 0 14px 28px rgba(15, 46, 75, .13) !important;
}

.metric-card::after {
    content: '';
    position: absolute;
    right: -35px;
    bottom: -65px;
    width: 145px;
    height: 145px;
    border: 28px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
}

.metric-card .card-body {
    position: relative;
    z-index: 1;
    padding: 1.35rem;
}

.metric-card .metric-label {
    margin-bottom: .42rem;
    color: rgba(255, 255, 255, .78);
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.metric-card .metric-value {
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.metric-card .metric-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, .13);
    font-size: 1.22rem;
}

.metric-pending {
    background: linear-gradient(135deg, #175985, #207da6);
}

.metric-complete {
    background: linear-gradient(135deg, #08736b, #18a48c);
}

.metric-observed {
    background: linear-gradient(135deg, #9b5715, #d08b26);
}

.metric-denied {
    background: linear-gradient(135deg, #a6404b, #d65a61);
}

.table-responsive {
    border: 1px solid var(--line);
    border-radius: 11px;
}

.table {
    margin-bottom: 0;
    color: var(--ink-700);
    font-size: .8rem;
}

.table thead th {
    padding: .85rem .8rem;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    color: var(--navy-900);
    background: #f7fafc;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase;
    vertical-align: middle;
}

.table td {
    padding: .78rem .8rem;
    border-color: #eaf0f5;
    vertical-align: middle;
}

.table tbody tr:hover {
    background: #f4fafb;
}

.table tfoot {
    display: none;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    min-height: 2.25rem;
    padding: .35rem .7rem;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 6px;
    font-weight: 700;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    border: 0 !important;
    color: #fff !important;
    background: var(--teal-700) !important;
}

.export-toolbar {
    display: flex;
    align-items: center;
    min-height: 4.4rem;
    margin: -1.3rem -1.3rem 1.25rem;
    padding: .8rem 1.3rem;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, #f7fafc, #fff);
}

.export-toolbar .dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

#internal-export-toolbar .dt-buttons {
    display: flex;
    align-items: center;
    gap: .5rem;
}

#internal-export-toolbar button.dt-button.export-button {
    flex-direction: row;
    min-width: auto;
    min-height: 2.4rem;
    padding: .375rem .75rem;
    border-radius: .25rem;
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.5;
    text-transform: none;
    box-shadow: none;
}

#internal-export-toolbar button.dt-button.export-button i {
    font-size: .875rem;
}

#internal-export-toolbar button.dt-button.export-button:hover:not(.disabled) {
    box-shadow: none;
}

button.dt-button.export-button {
    display: inline-flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-width: auto;
    min-height: 2.4rem;
    margin: 0 !important;
    padding: .375rem .75rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    color: #fff;
    font-family: inherit;
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.5;
    text-transform: none;
    box-shadow: none;
    text-shadow: none;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

button.dt-button.export-button i {
    order: 1;
    margin: 0;
    font-size: .875rem;
}

button.dt-button.export-button:hover {
    border-color: transparent;
    color: #fff;
    box-shadow: none;
    transform: none;
}
button.dt-button.export-button span {
    order: 2;
    display: block;
}

button.dt-button.export-button:hover:not(.disabled) {
    border-color: transparent;
    color: #fff;
    box-shadow: none;
    transform: none;
}

button.dt-button.export-button:focus:not(.disabled) {
    border-color: #fff;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(13, 49, 87, .18);
}

button.dt-button.export-button:active:not(.disabled) {
    box-shadow: none;
    transform: translateY(0);
}

button.dt-button.export-button.export-button-excel {
    background: linear-gradient(145deg, #0d6b42, #15935e);
}

button.dt-button.export-button.export-button-pdf {
    background: linear-gradient(145deg, #af2734, #d94a55);
}

.link_opciones,
.Nuevo_Registro {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    margin: .1rem;
    padding: .38rem .72rem;
    border: 0;
    border-radius: 7px;
    color: #fff !important;
    font-size: .71rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.link_opciones:hover,
.Nuevo_Registro:hover {
    color: #fff;
    box-shadow: 0 6px 12px rgba(21, 60, 91, .18);
    transform: translateY(-1px);
    text-decoration: none;
}

.color_verde {
    background: #16876d;
}

.color_amarillo {
    background: #b57810;
}

.color_rojo {
    background: #c74850;
}

.color_azul,
.Nuevo_Registro {
    background: var(--navy-800);
}

.color_naranja {
    background: #bb6615;
}

.app-footer {
    flex: 0 0 auto;
    padding: 1.1rem 2.1rem;
    border-top: 1px solid var(--line);
    color: var(--ink-500);
    background: rgba(255, 255, 255, .7);
    font-size: .72rem;
    font-weight: 700;
}

.footer-status {
    margin-top: .3rem;
    color: var(--teal-700);
}

.app-footer i {
    margin-right: .25rem;
}

.scroll-to-top {
    right: 1.25rem;
    bottom: 1.25rem;
    background: var(--navy-900);
    box-shadow: var(--shadow-md);
}

.scroll-to-top:hover {
    background: var(--teal-700);
}

/* Public intake forms */
.public-body {
    padding: 0;
    background: var(--sky-50);
}

.public-body #wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
}

.public-body #content-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
    min-height: 100vh;
}

.public-body #content {
    padding-top: 0 !important;
}

.public-navbar {
    display: flex;
    align-items: center;
    min-height: 5.25rem;
    padding: .7rem max(5vw, 1.25rem);
    background: linear-gradient(100deg, var(--navy-950), var(--navy-800));
    box-shadow: 0 4px 15px rgba(4, 31, 57, .2);
}

.public-navbar .logo_encabezado {
    width: 190px;
    margin: 0;
}

.public-navbar-actions {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-left: auto;
}

.link_seguimiento {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin: 0 1rem 0 auto;
    padding: .6rem .8rem;
    border-radius: 8px;
    color: #fff !important;
    font-size: .76rem;
    font-weight: 800;
    text-decoration: none !important;
}

.link_seguimiento:hover {
    background: rgba(255, 255, 255, .1);
}

.btn_idioma {
    padding: .46rem .72rem;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 7px;
    color: #fff;
    background: transparent;
    cursor: pointer;
    font-size: .7rem;
    font-weight: 900;
    transition: .2s ease;
    margin-right: 10px;
}

.btn_idioma:hover {
    color: var(--navy-900);
    background: #fff;
}

.Contenedor {
    width: min(100% - 2.5rem, 1120px);
    margin: 2.25rem auto 3rem;
    padding: clamp(1.15rem, 3.3vw, 2.5rem);
    border: 1px solid rgba(219, 229, 238, .95);
    border-radius: 20px;
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow-md);
}

.titulo_mesapartes {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 1.8rem;
    color: var(--navy-900);
    font-size: clamp(1.45rem, 2.8vw, 2.15rem);
    font-weight: 900;
    letter-spacing: -.03em;
}

.titulo_mesapartes::before {
    content: '\f0f6';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    display: grid;
    width: 2.45rem;
    height: 2.45rem;
    place-items: center;
    border-radius: 10px;
    color: var(--teal-700);
    background: #e5f5f3;
    font-size: 1.05rem;
}

.marco_datos {
    padding: clamp(1rem, 2.7vw, 1.8rem);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.titulo_marco_datos {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: .25rem 0 1.15rem;
    color: var(--navy-900);
    font-size: .88rem;
    font-weight: 900;
}

.titulo_marco_datos::before {
    content: '';
    width: 5px;
    height: 1.2rem;
    border-radius: 999px;
    background: var(--teal-600);
}

.Contenedor_Flexible {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0 1.4rem;
}

.Columna_30 {
    width: calc(33.333% - .95rem);
}

.Columna_50 {
    width: calc(50% - .7rem);
}

.Columna_100 {
    width: 100%;
}

.form_label {
    display: block;
    margin: 0 0 .45rem;
    color: var(--ink-700);
    font-size: .78rem;
    font-weight: 900;
}

.alerta_spam_color {
    color: var(--danger);
}

.seleccion,
.form_texto,
.area,
.form-control {
    display: block;
    width: 100%;
    min-height: 2.8rem;
    margin-bottom: 1rem;
    padding: .68rem .8rem;
    border: 1px solid #cbd9e5;
    border-radius: 8px;
    color: var(--ink-900);
    background: #fff;
    font: inherit;
    font-size: .86rem;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.area {
    min-height: 7rem;
    resize: vertical;
}

.seleccion:focus,
.form_texto:focus,
.area:focus,
.form-control:focus {
    outline: 0;
    border-color: var(--teal-600);
    background: #fcfffe;
    box-shadow: 0 0 0 3px rgba(6, 151, 138, .14);
}

.btnGuardar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 11.5rem;
    min-height: 2.85rem;
    margin: 1.15rem 0 .15rem;
    padding: .72rem 1.35rem;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--teal-700), var(--teal-600));
    box-shadow: 0 8px 16px #052546;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .02em;
    text-align: center;
    transition: .2s ease;
}
.btnVolver {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 11.5rem;
    min-height: 2.85rem;
    margin: 1.15rem 0 .15rem;
    padding: .72rem 1.35rem;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--danger), var(--danger));
    box-shadow: 0 8px 16px #460505;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .02em;
    text-align: center;
    transition: .2s ease;
}

.btnGuardar:hover {
    color: #fff;
    box-shadow: 0 10px 20px #052546;
    transform: translateY(-1px);
}
.btnVolver:hover {
    color: #fff;
    box-shadow: 0 10px 20px #460505;
    transform: translateY(-1px);
}
.botonesseguimiento {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    margin-top: .5rem;
}
/* Acciones de envío */
.btnEnviar {
    background: #035507;
    box-shadow: 0 8px 16px rgba(3, 85, 7, .3);
    color: white;
    border-radius: 15px;
}

.btnEnviar:hover {
    background-color: white;
    box-shadow: 0 10px 20px rgba(3, 85, 7, .38);
    color: #035507;
}

.Multimedia.dropzone,
.Multimedia_.dropzone {
    min-height: 9.5rem;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border: 1.5px dashed #95c5c1;
    border-radius: 10px;
    color: var(--teal-700);
    background: #f3fbfa;
}

.Multimedia.dropzone .dz-message,
.Multimedia_.dropzone .dz-message {
    margin: 1.5rem 0;
    font-weight: 800;
}

.label_Nota {
    display: block;
    margin-bottom: .35rem;
    color: var(--ink-700);
    font-size: .75rem;
}

.label_Nota_ {
    margin-top: .85rem;
    color: #aa6115;
    font-size: .8rem;
    font-weight: 900;
}

/* Landing page */
.Fondo_principal {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(120deg, rgba(4, 27, 51, .95), rgba(13, 74, 100, .8)), url('../img/mesa-de-partes.png') center/cover no-repeat;
}

.Fondo_principal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 100%, rgba(34, 174, 160, .35), transparent 26rem), radial-gradient(circle at 87% 14%, rgba(244, 185, 66, .18), transparent 21rem);
}

.landing-topbar {
    position: absolute;
    inset: 0 0 auto;
    z-index: 2;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 16px #052546;
    justify-content: space-between;
    padding: 1rem max(5vw, 1.2rem);
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: #fff;
    font-size: .86rem;
    font-weight: 900;
    letter-spacing: .02em;
}

.landing-brand img {
    width: min(185px, 43vw);
    height: auto;
}

.landing-brand i {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 8px;
    color: var(--navy-900);
    background: var(--gold-500);
}

.landing-language {
    display: flex;
    gap: .45rem;
}

.landing-language .btn_idioma {
    background: rgba(255, 255, 255, .08);
}

.Contenedor_eleccion {
    position: relative;
    z-index: 1;
    width: min(100% - 2.5rem, 1080px);
    padding: 5rem 0 2rem;
}

.landing-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin: 0 0 .75rem;
    color: #a9e3dc;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.landing-title {
    max-width: 750px;
    margin: 0 auto .7rem;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.65rem);
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: 1.03;
    text-align: center;
}

.label_seleccion {
    display: block;
    margin: 0 auto 1.5rem;
    color: rgba(255, 255, 255, .78);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

.landing-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.landing-option {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 15px;
    color: var(--navy-900);
    background: #fff;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .2);
    text-decoration: none;
    transition: transform .24s ease, box-shadow .24s ease;
}

.landing-option:hover {
    color: var(--navy-900);
    box-shadow: 0 24px 44px rgba(0, 0, 0, .28);
    text-decoration: none;
    transform: translateY(-7px);
}

.landing-option img {
    display: block;
    width: 100%;
    height: 155px;
    object-fit: cover;
    object-position: center;
}

.landing-option-content {
    display: flex;
    align-items: center;
    padding: .9rem 1rem;
}

.landing-option-icon {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 9px;
    color: var(--teal-700);
    background: #052546;
}

.landing-option-title {
    display: block;
    margin-left: .7rem;
    color: var(--navy-900);
    font-size: 1rem;
    font-weight: 900;
}

.landing-option-subtitle {
    display: block;
    margin-left: .7rem;
    color: var(--ink-500);
    font-size: .68rem;
    font-weight: 700;
}

.landing-option-arrow {
    margin-left: auto;
    color: var(--teal-700);
}

.link_seguimiento_tramite {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    width: fit-content;
    margin: 1.45rem auto 0;
    padding: .75rem 1rem;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    font-size: .8rem;
    font-weight: 900;
    text-decoration: none;
    transition: .2s ease;
}

.link_seguimiento_tramite:hover {
    color: var(--navy-900);
    background: #fff;
    text-decoration: none;
}

/* Login */
.login-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 1.5rem;
    background: radial-gradient(circle at 100% 0%, rgba(47, 169, 156, .25), transparent 30rem), linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.login-layout {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    width: min(100%, 1020px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 60px rgba(0, 0, 0, .28);
}

.login-visual {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    background: var(--navy-950);
}

.login-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .78;
}

.login-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 27, 50, .1), rgba(3, 27, 50, .86));
}

.login-visual-copy {
    position: absolute;
    z-index: 1;
    right: 2rem;
    bottom: 2rem;
    left: 2rem;
    color: #fff;
}

.login-visual-copy span {
    display: block;
    margin-bottom: .5rem;
    color: #a9e3dc;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.login-visual-copy strong {
    display: block;
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1.1;
}

.login-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 2.2rem;
    color: var(--teal-700);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.login-brand i {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: var(--teal-700);
}

.login-panel h1 {
    margin-bottom: .45rem !important;
    color: var(--navy-900) !important;
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    text-align: left !important;
}

.login-intro {
    margin-bottom: 1.55rem;
    color: var(--ink-500);
    font-size: .82rem;
}

.login-panel .form-control-user {
    height: 2.85rem;
    padding: .75rem .9rem;
    border: 1px solid #cbd9e5;
    border-radius: 8px;
    font-size: .85rem;
}

.login-panel .form-control-user:focus {
    border-color: var(--teal-600);
    box-shadow: 0 0 0 3px rgba(6, 151, 138, .14);
}

.login-panel .btnGuardar {
    width: 100%;
    margin-top: .55rem;
}

.login-panel hr {
    border-color: var(--line);
}

/* Public tracking */
.tracking-page {
    min-height: 100vh;
    background: radial-gradient(circle at 93% 5%, rgba(43, 162, 151, .16), transparent 23rem), var(--sky-50);
}

.tracking-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.7rem;
    padding: .7rem max(5vw, 1.25rem);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(100deg, var(--navy-950), var(--navy-800));
}

.tracking-topbar a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #FFFFFF;
    font-size: .78rem;
    font-weight: 900;
    text-decoration: none;
}

/* Hero publico y carrusel */
.hero {
    min-height: clamp(32rem, 72vh, 48rem);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: inherit;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(2rem, 6vw, 6rem);
}

.hero-visual {
    position: relative;
    min-width: 0;
    min-height: inherit;
    overflow: hidden;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100%;
    min-height: inherit;
}

.hero-carousel-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 767.98px) {
    .hero {
        min-height: auto;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
    }

    .hero-content {
        min-height: 22rem;
        padding: 3rem 1.5rem;
    }

    .hero-visual {
        height: min(72vw, 30rem);
        min-height: 18rem;
    }

    .hero-carousel,
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item,
    .hero-carousel-image {
        min-height: 100%;
    }
}

.tracking-topbar img {
    width: 160px;
}

.tracking-lang {
    display: flex;
    gap: .4rem;
}

.tracking-lang .btn_idioma {
    color: #FFFFFF;
    border-color: var(--line);
}

.tracking-lang .btn_idioma:hover {
    color: #fff;
    background: var(--navy-900);
}

.div_mayor {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 4.7rem);
    padding: 2rem 1.25rem;
}

.div_menor,
.div_menor_seguimiento {
    width: min(100%, 530px);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.div_menor_seguimiento {
    width: min(100%, 1100px);
}

.tracking-kicker {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .55rem;
    color: var(--teal-700);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.titulo_seguimiento {
    display: block;
    margin: 0 0 1.5rem;
    color: var(--navy-900);
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.12;
}

.titulo_estado_seguimiento {
    display: block;
    color: var(--ink-500);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-align: center;
    text-transform: uppercase;
}

.estado_seguimiento {
    display: block;
    margin: .35rem 0 1rem;
    color: var(--teal-700);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.mensaje_seguimiento {
    margin: 1rem 0 1.5rem;
    padding: .8rem 1rem;
    border-left: 4px solid var(--teal-600);
    border-radius: 6px;
    color: var(--ink-700);
    background: #effaf8;
    font-size: .86rem;
}

.subtitulo_estado_seguimiento {
    display: block;
    margin: 1.25rem 0 .8rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--line);
    color: var(--navy-900);
    font-size: .9rem;
    font-weight: 900;
}

.tabla_seguimiento {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 9px;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--ink-700);
    font-size: .76rem;
}

.tabla_seguimiento th,
.tabla_seguimiento td {
    padding: .75rem;
    border: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.tabla_seguimiento th {
    color: var(--navy-900);
    background: #f7fafc;
    font-weight: 900;
}

.tabla_seguimiento tr:last-child td {
    border-bottom: 0;
}

.tabla_seguimiento a {
    font-weight: 800;
}

.expediente_no_existe {
    display: block;
    color: var(--navy-900);
    font-size: 1.25rem;
    font-weight: 900;
    text-align: center;
}

/* Project modals */
.Modal_Derivado,
.Modal_Recibido,
.Modal_Atendido,
.Modal_Denegado,
.Modal_Observado,
.Modal_VerMas,
.Modal_Editar,
.Modal_Eliminar,
.Modal_Cambiar {
    position: fixed;
    z-index: 1050;
    inset: 0;
    display: none;
    overflow-y: auto;
    background: rgba(9, 35, 63, .58);
}

.ModalContenedor_Derivado,
.ModalContenedor_Recibido,
.ModalContenedor_Atendido,
.ModalContenedor_VerMas,
.ModalContenedor_Denegado,
.ModalContenedor_Observado,
.ModalContenedor_Editar,
.ModalContenedor_Eliminar,
.ModalContenedor_Cambiar {
    width: min(90%, 760px);
    max-height: calc(100vh - 4rem);
    margin: 2rem auto;
    padding: 1.5rem;
    overflow-y: auto;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.ModalContenedor_VerMas {
    width: min(94%, 1100px);
    height: auto;
}

.Boton_CerrarModal {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    left: auto;
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--danger);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 900;
}

.Titulo_Modal {
    display: block;
    margin-bottom: 1rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid var(--line);
    color: var(--navy-900);
    font-size: 1.2rem;
    font-weight: 900;
    text-align: left;
}

@media (max-width: 768px) {
    .topbar {
        padding: .75rem 1rem;
    }

    .container-fluid {
        padding: 1.4rem 1rem;
    }

    /* #accordionSidebar {
        width: 6.5rem !important;
        padding: .7rem .45rem;
    } */
    #accordionSidebar {
        width: 6.5rem !important;
        padding: .7rem .45rem;
    }

    #content-wrapper {
        margin-left: 6.5rem;
        width: calc(100% - 6.5rem);
    }

    #content-wrapper .topbar {
        left: 6.5rem;
        width: calc(100% - 6.5rem);
    }
    
    #accordionSidebar .sidebar-brand {
        justify-content: center;
        padding: .4rem 0 .9rem;
    }

    #accordionSidebar .sidebar-brand-text,
    #accordionSidebar .sidebar-section-label,
    #accordionSidebar .nav-link span,
    #accordionSidebar .nav-chevron {
        display: none;
    }

    #accordionSidebar .nav-item {
        position: relative;
    }

    #accordionSidebar .nav-link {
        justify-content: center;
        padding: .72rem;
    }

    #accordionSidebar .nav-link i:first-child {
        width: auto;
        font-size: 1rem;
    }

    #accordionSidebar .collapse-inner {
        display: none;
    }

    #accordionSidebar .collapse.show .collapse-inner {
        display: block;
        position: absolute;
        left: 6.1rem;
        min-width: 11.5rem;
        margin: -2.8rem 0 0;
        box-shadow: var(--shadow-md);
    }

    .topbar-title strong {
        font-size: .92rem;
    }

    .Columna_30,
    .Columna_50 {
        width: 100%;
    }

    .public-navbar {
        flex-wrap: wrap;
        gap: .6rem;
    }

    .public-navbar .link_seguimiento {
        order: 3;
        width: 100%;
        margin: 0;
        padding-left: 0;
    }

    .landing-choice-grid {
        grid-template-columns: 1fr;
        width: min(100%, 410px);
        margin: auto;
    }

    .landing-option img {
        height: 145px;
    }

    .Contenedor_eleccion {
        padding-top: 7rem;
    }

    .landing-title {
        font-size: 2rem;
    }

    .landing-topbar {
        align-items: flex-start;
    }

    .login-layout {
        grid-template-columns: 1fr;
    }

    .login-visual {
        display: none;
    }

    .login-panel {
        min-height: 520px;
    }

    .tabla_seguimiento {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .export-toolbar {
        min-height: auto;
        margin: -1.3rem -1.3rem 1rem;
        padding: .75rem 1rem;
    }

    .export-toolbar .dt-buttons {
        width: 100%;
    }

    button.dt-button.export-button {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .landing-brand span {
        display: none;
    }

    .landing-topbar {
        padding: .8rem 1rem;
    }

    .btn_idioma {
        padding: .4rem .55rem;
    }

    .Contenedor {
        width: calc(100% - 1.25rem);
        padding: 1rem;
    }

    .marco_datos {
        padding: .9rem;
    }

    .app-footer {
        padding: 1rem;
        text-align: center;
    }
}

/* Color institucional único para los iconos de Font Awesome. */
.fa,
.fas,
.far,
.fal,
.fad,
.fab,
[class^="fa-"],
[class*=" fa-"] {
    color: #FFFFFF !important;
}

/* =========================================================
   SIDEBAR FIJO
   ========================================================= */

/* #accordionSidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 224px;
    z-index: 1030;
    overflow-y: auto;
    overflow-x: hidden;
} */
#accordionSidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 16rem !important;
    z-index: 1030;
    overflow-y: auto;
    overflow-x: hidden;
    transition: width .25s ease;
}
/* Evita que el contenido del sidebar quede oculto */
#accordionSidebar .sidebar-brand {
    min-height: 70px;
}

/* Barra de desplazamiento del sidebar */
#accordionSidebar::-webkit-scrollbar {
    width: 5px;
}

#accordionSidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.20);
    border-radius: 10px;
}

#accordionSidebar::-webkit-scrollbar-track {
    background: transparent;
}

/* =========================================================
   SIDEBAR CONTRAÍDO
   ========================================================= */

#accordionSidebar {
    transition: width .25s ease, transform .25s ease, opacity .25s ease, visibility .25s ease;
}

#accordionSidebar.toggled {
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    transform: translateX(-100%);
    overflow: hidden !important;
    padding: 0 !important;
    border: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#accordionSidebar.toggled .sidebar-brand {
    display: none !important;
}

#accordionSidebar.toggled .sidebar-brand-text,
#accordionSidebar.toggled .sidebar-section-label,
#accordionSidebar.toggled .nav-link span,
#accordionSidebar.toggled .nav-chevron {
    display: none;
}

#accordionSidebar.toggled .nav-link {
    display: none !important;
}

#accordionSidebar.toggled .collapse-inner {
    display: none;
}
/* =========================================================
   CONTENIDO JUNTO AL SIDEBAR
   ========================================================= */

#content-wrapper {
    margin-left: 16rem;
    width: calc(100% - 16rem);
    min-height: 100vh;
    transition: margin-left .25s ease, width .25s ease;
}
body.sidebar-toggled #content-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
}
/* =========================================================
   NAVBAR FIJO
   ========================================================= */

#content-wrapper .topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 16rem;
    height: 76px;
    z-index: 1020;
    width: calc(100% - 16rem);
    transition: left .25s ease, width .25s ease;
}
body.sidebar-toggled #content-wrapper .topbar {
    left: 0 !important;
    width: 100% !important;
}
#content {
    padding-top: 76px;
}

#accordionSidebar.toggled .logo_menu {
    display: none;
}

/* =========================================================
   ESTILOS PROFESIONALES PARA FORMULARIOS (SOCIO, PUBLICO, INTERNO)
   ========================================================= */

.public-navbar-pro {
    background: linear-gradient(135deg, #07192f 0%, #0a2544 60%, #0f3661 100%);
    border-bottom: 3px solid #10b981;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.public-navbar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.public-navbar-brand .logo_encabezado {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 9999px;
    letter-spacing: 0.3px;
}

.portal-badge.socio-badge {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.4);
    color: #93c5fd;
}

.public-navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
}

.nav-link-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.nav-btn-lang {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    color: #a7f3d0;
    cursor: pointer;
}

.nav-btn-lang:hover {
    background: #10b981;
    color: #ffffff;
}

/* Contenedor Principal del Formulario */
.form-portal-wrapper {
    background-color: #f8fafc;
    min-height: calc(100vh - 120px);
    padding: 30px 15px 50px;
}

.form-portal-card {
    max-width: 1040px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

/* Banner de Cabecera del Formulario */
.form-header-banner {
    background: linear-gradient(135deg, #0a2544 0%, #154a78 100%);
    color: #ffffff;
    padding: 30px 32px 26px;
    position: relative;
    border-bottom: 4px solid #10b981;
}

.form-header-banner h2 {
    margin: 0 0 6px 0;
    font-size: 24px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.01em;
}

.form-header-banner h2 i {
    color: #34d399;
    font-size: 26px;
}

.form-header-banner p {
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.5;
    max-width: 780px;
}

/* Bloques del Formulario */
.form-body-content {
    padding: 32px;
}

.form-section-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 26px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: border-color 0.2s ease;
}

.form-section-card:hover {
    border-color: #cbd5e1;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 900;
    color: #0a2544;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.section-badge-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}

.form-label-pro {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 6px;
}

.req-star {
    color: #ef4444;
    font-weight: bold;
}

.input-pro,
.select-pro {
    width: 100%;
    height: 46px;
    background: #ffffff;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    transition: all 0.2s ease;
    margin-bottom: 16px;
    outline: none;
}

.input-pro:focus,
.select-pro:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3.5px rgba(16, 185, 129, 0.15);
    background-color: #fcfffe;
}

/* Dropzone Profesional */
.dropzone-pro {
    border: 2px dashed #94a3b8 !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    padding: 30px 20px !important;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.dropzone-pro:hover {
    border-color: #10b981 !important;
    background: #f0fdf4 !important;
    transform: scale(1.005);
}

.dz-icon-cloud {
    font-size: 42px;
    color: #10b981;
    margin-bottom: 10px;
}

.dz-upload-title {
    font-size: 15px;
    font-weight: 800;
    color: #0a2544;
    margin-bottom: 4px;
}

.dz-upload-sub {
    font-size: 12.5px;
    color: #64748b;
}

/* Caja de Notas y Requisitos */
.notice-box-pro {
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 26px;
}

.notice-box-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 900;
    color: #1e40af;
    margin-bottom: 10px;
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #334155;
    margin-bottom: 6px;
}

.notice-list li i {
    color: #10b981;
    font-size: 13px;
}

.notice-warning {
    font-size: 12.5px;
    font-weight: 700;
    color: #b45309;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Botones de Envío */
.form-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-submit-pro {
    min-width: 200px;
    height: 48px;
    padding: 0 28px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.btn-submit-pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.55);
    filter: brightness(1.05);
}

.btn-cancel-pro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 9999px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #475569 !important;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-cancel-pro:hover {
    background: #f1f5f9;
    color: #0f172a !important;
    border-color: #94a3b8;
}

@media (max-width: 768px) {
    .public-navbar-pro {
        padding: 10px 16px;
        flex-direction: column;
        gap: 10px;
    }
    .form-header-banner {
        padding: 22px 20px;
    }
    .form-body-content {
        padding: 18px;
    }
    .form-actions-bar {
        flex-direction: column-reverse;
        width: 100%;
    }
    .btn-submit-pro,
    .btn-cancel-pro {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   ESTILOS PROFESIONALES DE DASHBOARD Y TABLAS DE TRÁMITES
   ========================================================= */

/* Banner de Bienvenida */
.dash-welcome-card {
    background: linear-gradient(135deg, #07192f 0%, #0d3157 60%, #154a78 100%);
    border-radius: 16px;
    color: #ffffff;
    padding: 28px;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(10, 37, 68, 0.25);
}

.dash-welcome-card::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -30px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.dash-user-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.dash-user-avatar {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* KPI Cards Profesionales */
.kpi-card-pro {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
}

.kpi-card-pro:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px -5px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.kpi-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

.kpi-count {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 2px;
}

.kpi-desc {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.kpi-icon-box {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

/* Variantes KPI */
.kpi-pendiente .kpi-title { color: #2563eb; }
.kpi-pendiente .kpi-icon-box { background: #eff6ff; color: #2563eb; }

.kpi-atendido .kpi-title { color: #059669; }
.kpi-atendido .kpi-icon-box { background: #ecfdf5; color: #059669; }

.kpi-observado .kpi-title { color: #d97706; }
.kpi-observado .kpi-icon-box { background: #fffbeb; color: #d97706; }

.kpi-denegado .kpi-title { color: #dc2626; }
.kpi-denegado .kpi-icon-box { background: #fef2f2; color: #dc2626; }

/* Badges de Estado Suaves y Profesionales */
.badge-status-pro {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.badge-pendiente {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.badge-recibido {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.badge-atendido {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.badge-observado {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.badge-denegado {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.badge-derivado {
    background: #f5f3ff;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

/* Tablas Profesionales */
.table-pro-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden;
    margin-bottom: 24px;
}

.table-pro-header {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.table-pro-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.table-pro-title i {
    color: #10b981;
}

.table-pro thead th {
    background-color: #f8fafc;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top: none;
    border-bottom: 2px solid #e2e8f0;
    padding: 14px 16px;
    white-space: nowrap;
}

.table-pro tbody td {
    padding: 14px 16px;
    font-size: 13.5px;
    color: #1e293b;
    vertical-align: middle;
    border-top: 1px solid #f1f5f9;
}

.table-pro tbody tr:hover {
    background-color: #f8fafc;
}

.btn-doc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #ffffff;
    color: #334155;
    font-size: 11.5px;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.btn-doc-chip:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fca5a5;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.15);
}

.btn-action-mini {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border: none;
    transition: all 0.2s ease;
    cursor: pointer;
    margin: 0 2px;
}

.btn-action-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* ==========================================================================
   BARRA DE FILTRO DE ESTADO DE TRÁMITE PROFESIONAL
   ========================================================================== */
.status-filter-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    background: #f8fafc;
    padding: 6px 10px;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
}

.status-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.status-filter-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.06);
}

.status-filter-btn .filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 800;
    background: #e2e8f0;
    color: #475569;
    transition: all 0.2s ease;
}

/* Active Variations */
.status-filter-btn.active {
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12) !important;
}

.status-filter-btn.filter-all.active {
    background: linear-gradient(135deg, #07192f 0%, #1e3a8a 100%);
}
.status-filter-btn.filter-all.active .filter-count {
    background: rgba(255,255,255,0.25);
    color: #ffffff;
}

.status-filter-btn.filter-pendientes.active {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}
.status-filter-btn.filter-pendientes.active .filter-count {
    background: rgba(255,255,255,0.28);
    color: #ffffff;
}

.status-filter-btn.filter-atendidos.active {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}
.status-filter-btn.filter-atendidos.active .filter-count {
    background: rgba(255,255,255,0.28);
    color: #ffffff;
}

.status-filter-btn.filter-observados.active {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
}
.status-filter-btn.filter-observados.active .filter-count {
    background: rgba(255,255,255,0.28);
    color: #ffffff;
}

.status-filter-btn.filter-denegados.active {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}
.status-filter-btn.filter-denegados.active .filter-count {
    background: rgba(255,255,255,0.28);
    color: #ffffff;
}

.status-filter-btn.filter-seguimiento {
    border-style: dashed;
    border-color: #3b82f6;
    color: #2563eb;
}
.status-filter-btn.filter-seguimiento:hover {
    background: #eff6ff;
}

/* Badge status indicators */
.badge-status-pro {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
}
.badge-status-pro.badge-pendiente {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}
.badge-status-pro.badge-recibido {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}
.badge-status-pro.badge-derivado {
    background: #ccfbf1;
    color: #115e59;
    border: 1px solid #99f6e4;
}
.badge-status-pro.badge-atendido {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.badge-status-pro.badge-observado {
    background: #ede9fe;
    color: #5b21b6;
    border: 1px solid #ddd6fe;
}
.badge-status-pro.badge-denegado {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Grupo de entrada con prefijo de teléfono */
.input-phone-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin-bottom: 16px;
}
.input-phone-prefix {
    height: 46px;
    padding: 0 12px;
    background: #f1f5f9;
    border: 1.5px solid #d1d5db;
    border-right: none;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
    user-select: none;
    white-space: nowrap;
}
.input-phone-group .input-pro {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    margin-bottom: 0 !important;
    flex: 1;
}


/* ==========================================================================
   PERSONALIZACIÓN INSTITUCIONAL COOPAC LOS ANDES (#325191) & MÓDULOS PRO
   ========================================================================== */

#accordionSidebar.sidebar,
.sidebar.sidebar-dark {
    background: #325191 !important;
    background-image: linear-gradient(180deg, #325191 0%, #264177 100%) !important;
    width: 250px !important;
    min-width: 250px !important;
}

.sidebar .sidebar-brand {
    background-color: #325191 !important;
    width: 250px !important;
    min-height: 82px !important;
    height: auto !important;
    padding: 16px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.sidebar .sidebar-brand .logo_menu {
    width: 100% !important;
    max-width: 214px !important;
    height: auto !important;
    max-height: 54px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.18)) !important;
}

.sidebar:not(.toggled) .sidebar-brand .brand-mark {
    display: none !important;
}

.sidebar .nav-item .nav-link {
    margin: 3px 12px !important;
    padding: 11px 16px !important;
    border-radius: 8px !important;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    transition: all 0.2s ease !important;
}

.sidebar .nav-item .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    transform: translateX(3px) !important;
}

.sidebar .nav-item.active .nav-link {
    background-color: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.sidebar-section-label {
    font-size: 10.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 18px 20px 6px !important;
}

.topbar {
    height: 70px !important;
    background-color: #325191 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
    padding: 0 28px !important;
}

/* Dashboard Cards */
.dash-banner-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.account-info-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.stat-kpi-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -4px rgba(15, 23, 42, 0.1);
}

.stat-kpi-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.stat-kpi-card.kpi-blue::before { background: #325191; }
.stat-kpi-card.kpi-green::before { background: #10b981; }
.stat-kpi-card.kpi-amber::before { background: #f59e0b; }
.stat-kpi-card.kpi-red::before { background: #ef4444; }

.stat-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.stat-kpi-card:hover .stat-icon-wrap {
    transform: scale(1.06);
}

/* Formularios Públicos y de Socios */
.Contenedor {
    font-size: 16px;
    max-width: 980px;
    margin: 30px auto;
    padding: 0 20px;
}

.titulo_mesapartes {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0f2744 !important;
    text-align: center;
    margin-bottom: 25px !important;
    letter-spacing: -0.5px;
}

.marco_datos {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
    padding: 32px 36px;
    margin-bottom: 30px;
}

.titulo_marco_datos {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #325191 !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-top: 24px !important;
    margin-bottom: 18px !important;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
    border-left: 4px solid #325191;
    padding-left: 12px;
}

.marco_datos > .titulo_marco_datos:first-child {
    margin-top: 0 !important;
}

.form_label {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 8px !important;
    display: inline-block;
}

.alerta_spam_color {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #dc2626 !important;
}

.form_texto,
.seleccion,
select.seleccion {
    font-size: 15px !important;
    height: 46px !important;
    padding: 8px 14px !important;
    color: #1e293b !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    width: 100%;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.form_texto:focus,
.seleccion:focus,
select.seleccion:focus {
    border-color: #325191 !important;
    box-shadow: 0 0 0 3px rgba(50, 81, 145, 0.18) !important;
    outline: none !important;
}

.prefijo_telf {
    font-size: 15px !important;
    padding: 0 14px !important;
    font-weight: 700 !important;
    background: #f1f5f9;
    border: 1.5px solid #cbd5e1 !important;
    border-right: none !important;
    border-radius: 8px 0 0 8px !important;
    color: #325191;
}

.Contenedor_Flexible {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.Columna_50 {
    flex: 1 1 calc(50% - 8px);
    min-width: 260px;
}

.Columna_30 {
    flex: 1 1 calc(33.333% - 11px);
    min-width: 200px;
}

.Columna_100 {
    flex: 1 1 100%;
    width: 100%;
    margin-bottom: 16px;
}

.btnGuardar, .btnEnviar {
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 13px 40px !important;
    border-radius: 8px !important;
    letter-spacing: 0.5px;
    cursor: pointer;
    background: linear-gradient(135deg, #325191 0%, #264177 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(50, 81, 145, 0.3) !important;
    transition: all 0.2s ease-in-out;
    display: block;
    margin: 28px auto 10px;
    min-width: 220px;
    text-align: center;
}

.btnGuardar:hover, .btnEnviar:hover {
    background: linear-gradient(135deg, #264177 0%, #1a2e55 100%) !important;
    box-shadow: 0 6px 20px rgba(50, 81, 145, 0.4) !important;
    transform: translateY(-2px);
}

/* Card y Contenedor Pro para Tablas */
.table-pro-container {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    margin-bottom: 24px;
}

.table-pro-header {
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.table-pro-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Barra de Filtros por Estado tipo Píldora Profesional */
.status-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.status-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.status-filter-btn .filter-count {
    font-size: 11.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

/* Estado Inactivo de cada filtro con tonalidad propia */
.status-filter-btn.filter-all {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #334155;
}
.status-filter-btn.filter-all i { color: #325191; }
.status-filter-btn.filter-all .filter-count {
    background: #f1f5f9;
    color: #334155;
}
.status-filter-btn.filter-all:hover {
    background: #f8fafc;
    border-color: #325191;
    color: #1e293b;
}

.status-filter-btn.filter-pendientes {
    background: #fffdf5;
    border: 1.5px solid #fde68a;
    color: #b45309;
}
.status-filter-btn.filter-pendientes i { color: #d97706; }
.status-filter-btn.filter-pendientes .filter-count {
    background: #fef3c7;
    color: #78350f;
}
.status-filter-btn.filter-pendientes:hover {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #92400e;
}

.status-filter-btn.filter-atendidos {
    background: #f7fee7;
    border: 1.5px solid #a7f3d0;
    color: #047857;
}
.status-filter-btn.filter-atendidos i { color: #059669; }
.status-filter-btn.filter-atendidos .filter-count {
    background: #d1fae5;
    color: #064e3b;
}
.status-filter-btn.filter-atendidos:hover {
    background: #ecfdf5;
    border-color: #10b981;
    color: #065f46;
}

.status-filter-btn.filter-observados {
    background: #fbfbfe;
    border: 1.5px solid #ddd6fe;
    color: #6d28d9;
}
.status-filter-btn.filter-observados i { color: #7c3aed; }
.status-filter-btn.filter-observados .filter-count {
    background: #ede9fe;
    color: #4c1d95;
}
.status-filter-btn.filter-observados:hover {
    background: #f5f3ff;
    border-color: #8b5cf6;
    color: #5b21b6;
}

.status-filter-btn.filter-denegados {
    background: #fff5f5;
    border: 1.5px solid #fecdd3;
    color: #e11d48;
}
.status-filter-btn.filter-denegados i { color: #dc2626; }
.status-filter-btn.filter-denegados .filter-count {
    background: #ffe4e6;
    color: #9f1239;
}
.status-filter-btn.filter-denegados:hover {
    background: #fff1f2;
    border-color: #ef4444;
    color: #be123c;
}

/* Estado ACTIVO con gradientes de alto impacto y sombras luminosas */
.status-filter-btn.active {
    color: #ffffff !important;
    border-color: transparent !important;
}
.status-filter-btn.active i {
    color: #ffffff !important;
}

.status-filter-btn.filter-all.active {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.35) !important;
}
.status-filter-btn.filter-all.active .filter-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.status-filter-btn.filter-pendientes.active {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.38) !important;
}
.status-filter-btn.filter-pendientes.active .filter-count {
    background: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.status-filter-btn.filter-atendidos.active {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.38) !important;
}
.status-filter-btn.filter-atendidos.active .filter-count {
    background: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.status-filter-btn.filter-observados.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.38) !important;
}
.status-filter-btn.filter-observados.active .filter-count {
    background: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.status-filter-btn.filter-denegados.active {
    background: linear-gradient(135deg, #ef4444 0%, #be123c 100%);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.38) !important;
}
.status-filter-btn.filter-denegados.active .filter-count {
    background: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

/* Badges de Expediente e Identidad */
.badge-corp {
    background-color: #325191 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    display: inline-block;
}

.badge-expediente {
    font-family: "Consolas", monospace !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    background-color: #eff6ff !important;
    color: #1e40af !important;
    border: 1px solid #bfdbfe !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    display: inline-block;
    white-space: nowrap;
}

.badge-expediente-socio {
    font-family: "Consolas", monospace !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    background-color: #f5f3ff !important;
    color: #5b21b6 !important;
    border: 1px solid #ddd6fe !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    display: inline-block;
    white-space: nowrap;
}

.badge-expediente-interno {
    font-family: "Consolas", monospace !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    background-color: #ecfdf5 !important;
    color: #065f46 !important;
    border: 1px solid #a7f3d0 !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    display: inline-block;
    white-space: nowrap;
}

/* Badges de Estado */
.badge-status-pro {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
}
.badge-status-pro.badge-pendiente {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}
.badge-status-pro.badge-recibido {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}
.badge-status-pro.badge-derivado {
    background: #ccfbf1;
    color: #115e59;
    border: 1px solid #99f6e4;
}
.badge-status-pro.badge-atendido {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.badge-status-pro.badge-observado {
    background: #ede9fe;
    color: #5b21b6;
    border: 1px solid #ddd6fe;
}
.badge-status-pro.badge-denegado {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Tabla Pro */
.table-pro thead th {
    background-color: #f8fafc !important;
    color: #475569 !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    border-top: none !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding: 14px 16px !important;
    vertical-align: middle !important;
    white-space: nowrap;
}

.table-pro tbody td {
    padding: 13px 16px !important;
    vertical-align: middle !important;
    font-size: 13.5px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.table-pro tbody tr:hover {
    background-color: #f8faff !important;
}

/* Botones de Acción Profesionales con Alto Nivel de Diseño */
.btn-action-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-action-pro {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 2px 1px;
    text-decoration: none !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

.btn-action-pro i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.btn-action-pro:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.btn-action-pro:hover i {
    transform: scale(1.15);
}

.btn-action-pro:active {
    transform: translateY(0);
    filter: brightness(0.95);
}

/* Colores Distintos y Personalizados por Acción */
/* 1. Derivar: Indigo Púrpura */
.btn-action-derivar {
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.32);
}
.btn-action-derivar:hover {
    box-shadow: 0 5px 14px rgba(99, 102, 241, 0.48);
}

/* 2. Recibir: Azul Océano / Deep Cyan */
.btn-action-recibir {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.32);
}
.btn-action-recibir:hover {
    box-shadow: 0 5px 14px rgba(2, 132, 199, 0.48);
}

/* 3. Atender: Verde Esmeralda */
.btn-action-atender {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.32);
}
.btn-action-atender:hover {
    box-shadow: 0 5px 14px rgba(16, 185, 129, 0.48);
}

/* 4. Observar: Ámbar Dorado */
.btn-action-observar {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.32);
}
.btn-action-observar:hover {
    box-shadow: 0 5px 14px rgba(245, 158, 11, 0.48);
}

/* 5. Denegar: Rojo Carmesí Intenso */
.btn-action-denegar {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.32);
}
.btn-action-denegar:hover {
    box-shadow: 0 5px 14px rgba(239, 68, 68, 0.48);
}

/* 6. Ver más: Slate Grafito Elegante */
.btn-action-vermas {
    background: linear-gradient(135deg, #334155 0%, #0f172a 100%);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.28);
}
.btn-action-vermas:hover {
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.45);
}

/* Botón de Cabecera Pro */
.btn-header-pro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-header-seguimiento {
    background: linear-gradient(135deg, #325191 0%, #1e3a8a 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 8px rgba(50, 81, 145, 0.28);
}
.btn-header-seguimiento:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(50, 81, 145, 0.42);
    color: #ffffff !important;
}

/* Modales Estilizados */
.Modal_Derivado,
.Modal_Recibido,
.Modal_Atendido,
.Modal_Denegado,
.Modal_Observado,
.Modal_VerMas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ModalContenedor_Derivado,
.ModalContenedor_Recibido,
.ModalContenedor_Atendido,
.ModalContenedor_Denegado,
.ModalContenedor_Observado,
.ModalContenedor_VerMas {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 28px 32px;
    animation: modalScaleIn 0.22s ease-out;
}

.ModalContenedor_VerMas {
    max-width: 860px;
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.Boton_CerrarModal {
    position: absolute;
    top: 18px;
    right: 22px;
    background: #f1f5f9;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    color: #64748b;
    cursor: pointer;
    transition: all 0.18s ease;
    z-index: 10;
}

.Boton_CerrarModal:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: scale(1.08);
}