:root{
    --blanco: #ffffff;
    --verde: #238c55;
    --dorado: #c7b446;
    --negro: #000000;
    --gris: #d6dbdf;
}

html body{
    margin: 0;
    padding: 0;
}

html{
    font-size: 62.5%;
}

body{
    font-size: 16px;
    font-family: "Krub", sans-serif;
}
/* Estilos generales */
h1 {
    text-align: center;
    color: #2c3e50;
    margin: 30px 0;
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #c7b446, #238c55);
    border-radius: 2px;
}

/* Contenedor principal */
.table_container {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

/* Estilos para las tablas */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
}

/* Cabeceras de tabla */
thead {
    background: linear-gradient(135deg, #c7b446, #238c55);
    color: var(--blanco);
}

th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* Celdas de tabla */
td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
}

/* Filas alternadas para mejor legibilidad */
tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Efecto hover para filas */
tbody tr:hover {
    background-color: #e8f4fc;
    transition: background-color 0.3s ease;
}

/* Estilo especial para WhatsApp */
.whatsapp {
    color: #25D366;
    font-weight: 600;
}

/* Responsive design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        margin: 20px 0;
    }
    
    .table_container {
        padding: 0 10px;
    }
    
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
    
    th, td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* Estilos diferenciados para cada tabla */
.table_uni thead {
    background-color: var(--verde);
}

.table_bach thead {
    background-color: var(--verde);
}

/* Mejoras para múltiples nombres en una celda */
td br {
    display: block;
    margin: 8px 0;
    content: " ";
}

/* Efectos de transición suaves */
table {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

table:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

a {
    font-weight: bold;
    color: var(--dorado);
}