/* =========================================
   Horario Header — horario.css
   ========================================= */

.horario-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--h-bg, #222221);
    color: var(--h-text, #ffffff);
    font-size: 0.82rem;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    line-height: 1;
}

/* ── Ícono ── */
.horario-icono {
    font-size: 1rem;
    flex-shrink: 0;
    opacity: 0.9;
}

/* ── Grupos de días ── */
.horario-grupos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
}

/* ── Un grupo (ej: Lun–Vie: 08:30–17:30) ── */
.horario-grupo {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 4px;
    transition: background 0.2s;
    white-space: nowrap;
}

/* Día actual resaltado */
.horario-grupo.horario-hoy {
    background: rgba(255, 193, 7, 0.15);
    outline: 1px solid rgba(255, 193, 7, 0.35);
}

.horario-grupo.horario-hoy .horario-dias-label,
.horario-grupo.horario-hoy .horario-horas,
.horario-grupo.horario-hoy .horario-separador-inline {
    color: var(--h-accent, #FFC107);
    font-weight: 700;
}

/* ── Textos ── */
.horario-dias-label {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--h-text, #fff);
}

.horario-separador-inline {
    opacity: 0.5;
    color: var(--h-text, #fff);
}

.horario-horas {
    color: var(--h-text, #fff);
    opacity: 0.85;
    font-size: 0.8rem;
}

/* ── Punto separador entre grupos ── */
.horario-punto {
    opacity: 0.25;
    font-size: 1rem;
    padding: 0 2px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .horario-bar {
        justify-content: center;
        padding: 6px 12px;
        font-size: 0.78rem;
        gap: 6px;
    }

    .horario-punto {
        display: none;
    }

    .horario-grupos {
        justify-content: center;
        gap: 4px 8px;
    }
}

@media (max-width: 480px) {
    .horario-bar {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 8px;
    }

    .horario-grupo {
        font-size: 0.75rem;
    }
}
