.bg-forense { background-color: #005B7F; }
.hover-bg-forense:hover { background-color: #004561; }
.text-forense { color: #005B7F; }

.text-forense-second { color: #CCC; }

.bg-acento { background-color: #E07A28; }
.hover-bg-acento:hover { background-color: #C5651B; }
.text-acento { color: #E07A28; }
.border-acento { border-color: #E07A28; }

/* Contenedor general y textos de DataTables */
.dataTables_wrapper 
{
    font-family: inherit;
    font-size: 0.875rem; /* text-sm */
    color: #334155;      /* text-slate-700 */
    padding: 0.5rem 0;
}

/* 1. Estilizar el selector de "Mostrar X registros" */
.dataTables_length select 
{
    padding: 0.35rem 2.25rem 0.35rem 0.75rem;
    font-size: 0.875rem;
    color: #334155;
    background-color: #ffffff;
    border: 1px solid #cbd5e1; /* border-slate-300 */
    border-radius: 0.5rem;     /* rounded-lg */
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.dataTables_length select:focus 
{
    border-color: #E07A28;     /* Color de acento institucional / Naranja */
    box-shadow: 0 0 0 3px rgba(224, 122, 40, 0.15);
}

/* 2. Estilizar el campo de búsqueda ("Buscar:") */
.dataTables_filter input 
{
    padding: 0.35rem 0.75rem;
    font-size: 0.875rem;
    color: #334155;
    background-color: #ffffff;
    border: 1px solid #cbd5e1; /* border-slate-300 */
    border-radius: 0.5rem;     /* rounded-lg */
    outline: none;
    margin-left: 0.5rem;
    transition: all 0.2s ease-in-out;
}

.dataTables_filter input:focus 
{
    border-color: #E07A28;     /* Color de acento institucional / Naranja */
    box-shadow: 0 0 0 3px rgba(224, 122, 40, 0.15);
}

/* Contenedor de la paginación de DataTables */
.dataTables_wrapper .dataTables_paginate 
{
    padding-top: 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.35rem;
    align-items: center;
}

/* Botones de paginación (Anterior, Siguiente y Números) */
.dataTables_wrapper .dataTables_paginate .paginate_button 
{
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
    color: #334155 !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important; /* border-slate-300 */
    border-radius: 0.5rem !important;     /* rounded-lg */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Efecto hover al pasar el cursor */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover 
{
    background: #f1f5f9 !important; /* bg-slate-100 */
    color: #0f172a !important;
    border-color: #94a3b8 !important;
}

/* Botón de la página actual (activo) con el color institucional naranja */
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover 
{
    background: #E07A28 !important; /* Naranja institucional */
    color: #ffffff !important;     /* Texto blanco */
    border-color: #E07A28 !important;
    box-shadow: 0 0 0 3px rgba(224, 122, 40, 0.15); /* Resplandor sutil */
}

/* Botones deshabilitados (cuando no hay más páginas anteriores o siguientes) */
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active 
{
    color: #94a3b8 !important;     /* text-slate-400 */
    background: #f8fafc !important; /* bg-slate-50 */
    border-color: #e2e8f0 !important;
    cursor: not-allowed;
    box-shadow: none;
}

/* Texto informativo inferior ("Mostrando registros del 1 al X...") */
.dataTables_wrapper .dataTables_info 
{
    font-size: 0.875rem;
    color: #64748b; /* text-slate-500 */
    padding-top: 1rem;
}

/************************************/

/* 3. Definir anchos equilibrados para cada columna */
#tablaResultadosPFSI th:nth-child(1), #tablaResultadosPFSI td:nth-child(1) { width: 6%; }   /* ID */
#tablaResultadosPFSI th:nth-child(2), #tablaResultadosPFSI td:nth-child(2) { width: 7%; }  /* Ingreso */
#tablaResultadosPFSI th:nth-child(3), #tablaResultadosPFSI td:nth-child(3) { width: 7%; }   /* Sexo */
#tablaResultadosPFSI th:nth-child(4), #tablaResultadosPFSI td:nth-child(4) { width: 15%; }  /* Nombre */
#tablaResultadosPFSI th:nth-child(5), #tablaResultadosPFSI td:nth-child(5) { width: 7%; }  /* Edad */
#tablaResultadosPFSI th:nth-child(6), #tablaResultadosPFSI td:nth-child(6) { width: 18%; }  /* Tatuajes */
#tablaResultadosPFSI th:nth-child(7), #tablaResultadosPFSI td:nth-child(7) { width: 18%; }  /* Indumentaria */
#tablaResultadosPFSI th:nth-child(8), #tablaResultadosPFSI td:nth-child(8) { width: 15%; }   /* Señas */
#tablaResultadosPFSI th:nth-child(9), #tablaResultadosPFSI td:nth-child(9) { width: 7%; }   /* Ubicación */