/* TABLA EN GENERAL */
.tabla-contenedor{
width:98%;
margin:auto;
max-height:80vh;
overflow:auto;
border-radius:8px;
box-shadow:0 2px 8px rgba(0,0,0,0.1);
background:#fff;
}

.tabla{
width:100%;
border-collapse:collapse;
}

.tabla thead th{
position:sticky;
top:0;
z-index:10;
background:#5d095d;
color:#fff;
}

.tabla th,
.tabla td{
padding:6px 8px;
font-size:13px;
}

.tabla tbody tr:nth-child(even){
background:#f4f6f9;
}

.tabla tbody tr:nth-child(odd){
background:#ffffff;
}

.tabla tbody tr:hover{
background:#dfeaf5;
}

.tabla th:nth-child(1),
.tabla td:nth-child(1){
position:sticky;
left:0;
z-index:20;
background:#fff;
}

.fondologotabla{
background-color:#606;
padding:2px;
}
/* nuevo para tablas de resultados *********** */
/* =========================
   MEJORAS VISUALES
========================= */

/* TITULOS */
.tabla td:nth-child(3){
    font-weight:bold;
    color:#2c2c2c;
}

/* AUTORES */
.tabla td:nth-child(2){
    line-height:1.3em;
    color:#333;
}

/* TEXTO SECUNDARIO (institución) */
.extra-info{
    font-size:11px;
    color:#777;
    font-style:italic;
    margin-top:3px;
}

/* DICTAMEN */
.tabla td:nth-child(6){
    font-weight:bold;
}

/* COLORES DE ESTADO */
.estado-aprobado{ color:#1e8e3e; }
.estado-rechazado{ color:#c62828; }
.estado-revision{ color:#e67e22; }
.estado-recibido{ color:#1565c0; }

/* BARRA */
.barra{
    width:110px;
    height:10px;
    background:#e0e0e0;
    border-radius:10px;
    overflow:hidden;
    margin:auto;
}

.progreso{
    height:100%;
    border-radius:10px;
    transition:all 0.6s ease;
}

/* ESTADOS */
.progreso.enviado{
    width:25%;
    background:#f4c20d;
}

.progreso.revision{
    width:55%;
    background:linear-gradient(to right,#f4c20d,#fb8c00);
}

.progreso.aprobado{
    width:100%;
    background:linear-gradient(to right,#f4c20d,#1e88e5,#43a047);
}

.progreso.rechazado{
    width:100%;
    background:#e53935;
}

/* CENTRAR PROCESO */
.tabla td:last-child{
    text-align:center;
}

/* HEADER MÁS LIMPIO */
.tabla thead th{
    font-size:13px;
    letter-spacing:0.5px;
}

/* SUAVIZAR HOVER */
.tabla tbody tr:hover{
    background:#e8f0fe;
    transition:0.2s;
}
