/* ============================================================
   calendrier.css — Styles partagés pour les calendriers de
   réservation (baignade & bateau)
   ============================================================ */

/* ── Navigation mois ── */
.cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.cal-nav-titre {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a2e3b;
    letter-spacing: -.01em;
}
.cal-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #dee2e6;
    background: #fff;
    color: #495057;
    font-size: .9rem;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
}
.cal-nav-btn:hover {
    background: #1E98C2;
    border-color: #1E98C2;
    color: #fff;
    text-decoration: none;
}
.cal-nav-placeholder { width: 38px; }

/* ── Table calendrier ── */
.cal-baignade {
    width: 100%;
    border-collapse: separate;
    border-spacing: 4px;
}
.cal-baignade thead th {
    text-align: center;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6c757d;
    padding: 8px 0;
    letter-spacing: .06em;
}
.cal-baignade tbody td {
    text-align: center;
    padding: 3px 2px;
}

/* ── Cellules jours ── */
.cal-day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
}
.cal-day-dispo {
    background: #C9D204;
    color: #000000;
    transition: background .15s, transform .12s;
    cursor: pointer;
}
.cal-day-dispo:hover {
    background: #0d6e94;
    color: #fff;
    transform: scale(1.1);
    text-decoration: none;
}
.cal-day-complet {
    background: #f8d7da;
    color: #842029;
    cursor: not-allowed;
    font-size: .85rem;
}
.cal-day-futur {
    background: #fff3cd;
    color: #856404;
    cursor: default;
    font-size: .85rem;
}
.cal-day-hors {
    color: #ced4da;
    font-size: .85rem;
}

/* ── Légende ── */
.cal-legende {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 16px;
    font-size: .85rem;
    color: #555;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}
.cal-legende-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}

