/* Horaires Accordéon — custom element styles */
/* Aucune police n'est imposée : tout hérite du template (Réglages de
   style YOOtheme Pro). Seuls la disposition, les soulignements et les
   couleurs "Places disponibles" / "Complet" (réglables dans l'onglet
   Réglages de l'élément, via des variables CSS) sont définis ici. */

.schedule-accordion {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-accordion > li {
    margin: 0;
}

.schedule-week-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid currentColor;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.schedule-week-title:hover,
.schedule-week-title:focus {
    color: inherit;
    text-decoration: none;
}

.schedule-week-title::after {
    content: "+";
    font-size: 20px;
    line-height: 1;
    flex: none;
}

.schedule-week-title[aria-expanded="true"]::after {
    content: "\2212";
}

.schedule-week-content {
    padding: 4px 0 12px;
}

.schedule-day {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 10px 0;
    border-bottom: 1px solid currentColor;
}

.schedule-day-label {
    flex: 0 0 220px;
    font-weight: bold;
    text-transform: uppercase;
}

.schedule-day-slots {
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.schedule-slot {
    font-weight: bold;
}

.schedule-slot-status {
    font-weight: normal;
    margin-left: 4px;
}

.schedule-slot-status--available {
    color: var(--schedule-color-available, #1e40ff);
}

.schedule-slot-link {
    text-decoration: none;
}

.schedule-slot-link:hover,
.schedule-slot-link:focus {
    text-decoration: underline;
}

.schedule-slot-status--full {
    color: var(--schedule-color-full, inherit);
}
