/* Override global de contraste.
   El tema base (SeanTheme) pinta el texto "secundario" (.text-secondary y afines) con un
   gris azulado muy claro (#C9D2E3) que casi no se lee sobre fondo claro. Lo reemplazamos
   en TODO el sitio por un gris pizarra con contraste AA (~7.5:1 sobre blanco), alineado
   con el color de texto principal del tema (#1f2937). Se carga última para ganar al base. */
:root {
    --bs-secondary-color: #4b5563;
    --bs-secondary-color-rgb: 75, 85, 99;
    --bs-tertiary-color: #5c6675;
    --bs-tertiary-color-rgb: 92, 102, 117;
}

.text-secondary,
.text-body-secondary,
.text-muted {
    color: #4b5563 !important;
}

/* Botones de exportación de DataTables.
   DataTables (integración bootstrap5) le aplica .btn-secondary a TODOS los botones, y como
   el $secondary del tema es un gris azulado clarísimo (#C9D2E3) el texto y el borde quedaban
   casi invisibles (sólo Excel se salvaba por el verde). Acá les damos un estilo uniforme,
   legible y con borde visible, y coloreamos el ícono de cada uno. */
.dt-buttons .btn {
    background-color: #fff !important;
    border: 1px solid #cbd5e1 !important;
    color: #374151 !important;
    border-radius: .375rem !important;
    box-shadow: none !important;
    transition: background-color .12s ease, border-color .12s ease;
}
/* Separación entre los botones de export (venían pegados). */
.dt-buttons .btn + .btn { margin-left: .4rem !important; }
.dt-buttons .btn:hover,
.dt-buttons .btn:focus,
.dt-buttons .btn:active {
    background-color: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #1f2937 !important;
    box-shadow: none !important;
}
.dt-buttons .btn span,
.dt-buttons .btn i { color: inherit; }
.dt-buttons .nexa-btn-excel i { color: #1d7a3a; }   /* ícono Excel verde */
.dt-buttons .nexa-btn-csv i,
.dt-buttons .nexa-btn-print i { color: #64748b; }    /* íconos CSV / Imprimir */
