/* ══════════════════════════════════════════════
   HORAIRES — formulaire de soumission
══════════════════════════════════════════════ */

.horaires-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a2b1f;
}

.horaires-hint {
    font-size: 0.82rem;
    color: #888;
    margin: 4px 0 12px;
}

.horaires-table {
    border: 1px solid #e0ede8;
    border-radius: 12px;
    overflow: hidden;
}

.horaire-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f5f2;
    background: #fff;
    transition: background 0.15s;
    flex-wrap: wrap;
}

.horaire-row:last-child {
    border-bottom: none;
}

.horaire-row.is-closed {
    background: #fafafa;
    opacity: 0.75;
}

.horaire-jour {
    min-width: 90px;
    font-weight: 600;
    font-size: 0.88rem;
    color: #2c3e2d;
}

.horaire-ferme-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
}

.horaire-ferme-toggle input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #007B5A;
    cursor: pointer;
}

.horaire-times {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.horaire-times input[type="time"] {
    padding: 6px 10px;
    border: 1px solid #dde7e2;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #1a2b1f;
    background: #f8fbf9;
    outline: none;
    transition: border-color 0.15s;
    width: 110px;
}

.horaire-times input[type="time"]:focus {
    border-color: #007B5A;
    background: #fff;
}

.horaire-sep {
    color: #aaa;
    font-size: 0.9rem;
}

.horaire-closed-label {
    font-size: 0.8rem;
    color: #b0bec8;
    font-style: italic;
}

@media (max-width: 520px) {
    .horaire-row   { padding: 10px 12px; gap: 10px; }
    .horaire-jour  { min-width: 70px; font-size: 0.82rem; }
    .horaire-times { flex-wrap: wrap; }
    .horaire-times input[type="time"] { width: 100px; }
}


/* ══════════════════════════════════════════════
   HORAIRES — affichage page détail
══════════════════════════════════════════════ */

.detail-horaires {
    margin-top: 24px;
}

.detail-horaires h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2b1f;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-ouvert {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-ouvert--open {
    background: #d4f5e3;
    color: #006644;
}

.badge-ouvert--closed {
    background: #fde8e8;
    color: #922b21;
}

.horaires-list {
    border: 1px solid #e0ede8;
    border-radius: 12px;
    overflow: hidden;
}

.horaires-list-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 16px;
    border-bottom: 1px solid #f0f5f2;
    font-size: 0.88rem;
}

.horaires-list-row:last-child {
    border-bottom: none;
}

.horaires-list-row.today {
    background: #f0fbf5;
    font-weight: 700;
}

.horaires-list-row.today .horaires-jour-name {
    color: #007B5A;
}

.horaires-jour-name {
    color: #2c3e2d;
    min-width: 90px;
}

.horaires-plage {
    color: #444;
}

.horaires-ferme {
    color: #c0392b;
    font-style: italic;
}