/* ==========================================================================
   ESTILOS PÚBLICOS - HORARIO ALICIA BROSETA
   Diseño de alta costura / editorial en modo brillante contrastado
   ========================================================================== */

/* Contenedor principal de la tabla */
.ab-horario-wrapper {
    background-color: #ffffff; 
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

/* Contenedor con scroll horizontal para móviles y tablets */
.ab-table-container {
    max-width: 1300px;
    margin: 0 auto;
    overflow-x: auto; 
    scrollbar-width: thin;
    scrollbar-color: #990000 #f4f4f4; 
    -webkit-overflow-scrolling: touch;
}

/* Scrollbar estilizada para navegadores WebKit (Chrome, Safari, Edge) */
.ab-table-container::-webkit-scrollbar {
    height: 6px;
}
.ab-table-container::-webkit-scrollbar-track {
    background: #f4f4f4;
}
.ab-table-container::-webkit-scrollbar-thumb {
    background: #990000;
    border-radius: 3px;
}

/* La tabla principal */
.ab-table {
    width: 100%;
    min-width: 1000px; 
    border-collapse: collapse;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.15); /* Borde perimetral más marcado */
    margin: 0;
}

/* Unificamos los bordes internos */
.ab-table th, 
.ab-table td {
    border: 1px solid rgba(0, 0, 0, 0.12); /* Líneas separadoras más visibles */
    box-sizing: border-box;
}

/* Cabecera (Días de la semana) */
.ab-table th {
    padding: 20px 10px;
    color: #990000;
    font-size: 13px;
    font-weight: 700; /* Mayor peso visual para la cabecera */
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background-color: #f9f9f9; /* Fondo gris claro para diferenciar la cabecera */
    width: 14%;
}

/* Celdas del cuerpo */
.ab-table td {
    padding: 20px 12px;
    vertical-align: top;
    background-color: #ffffff; /* Fondo blanco puro para las celdas de clase */
    transition: background-color 0.3s ease;
}

/* Columna de Horas lateral */
.ab-col-hora {
    color: #444444; /* Gris oscuro para óptima legibilidad */
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    width: 80px;
    background-color: #fcfcfc !important; /* Levísimo tono para la columna lateral */
    vertical-align: middle !important; 
    text-align: center;
}

.ab-hora-main {
    display: block;
    color: #000000; /* Negro puro */
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

/* Clases de Danza (Apiladas con estilo) */
.ab-clase {
    display: block;
    cursor: default;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.2); /* Separador punteado */
    text-align: center;
}

.ab-clase:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ab-clase-nombre {
    color: #000000; /* Negro puro para máximo contraste */
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 6px;
    display: block;
    transition: color 0.3s ease;
}

.ab-clase-nivel {
    color: #555555; /* Gris intermedio contrastado */
    font-size: 11px;
    letter-spacing: 0.05em;
    font-weight: 500;
    display: block;
}

/* Efecto Hover Editorial */
.ab-table td:hover {
    background-color: #f0f0f0; /* Tono suave al pasar el ratón */
}

.ab-table td:hover .ab-clase-nombre {
    color: #990000; 
}

.ab-table td:hover .ab-clase {
    transform: translateY(-2px);
}
