/* ================================================================
   SESSIONS PAGE — styles spécifiques (Nettoyés)
   ================================================================ */

/* ── Filtres ── */
.sessions-filter-bar {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    padding: 18px 0;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 20px;
    border: 1.5px solid rgba(0,0,0,0.12);
    background: transparent;
    font-size: 0.82rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: #148efe;
    color: #148efe;
    background: #EBF5FF;
}

.filter-btn.active {
    background: #148efe;
    border-color: #148efe;
    color: #fff;
}

/* ── Légende thématique ── */
.theme-management    { --theme-color: #148efe; --theme-bg: #EBF5FF; }


/* ── Style Liste Horizontale (Nouveau standard) ── */
.session-horizontal-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.session-horizontal-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.session-content {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 20px;
}

.session-date-box {
    text-align: center;
    min-width: 80px;
    border-right: 1px solid #eee;
    padding-right: 20px;
}

.session-date-box .day {
    font-size: 1.2rem;
    font-weight: 900;
    color: #0b2a4a;
    line-height: 1;
}

.session-date-box .month {
    font-size: 1rem;
    font-weight: 800;
    color: #d89b24;
}

.session-info-main {
    flex: 1;
}

.session-title-new {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #0b2a4a;
}

.session-meta-new {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    gap: 15px;
}

.session-action-zone {
    text-align: right;
    min-width: 120px;
}

.session-price-small {
    font-weight: 700;
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.session-price-small span {
    font-size: 0.7rem;
    color: #999;
}

.btn-session-mini {
    display: inline-block;
    padding: 6px 15px;
    background: #148efe;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ── Section "Besoin d'aide" & Sidebar ── */
.sessions-help-banner {
    background: linear-gradient(135deg, #0b2239 0%, #133d63 100%);
    border-radius: 20px;
    padding: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.sessions-help-banner::after {
    content: "\f5a0";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 30px;
    bottom: -10px;
    font-size: 7rem;
    opacity: 0.07;
    color: #fff;
}

.month-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    margin-top: 10px;
}

.month-divider-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aaa;
    white-space: nowrap;
}

.month-divider-line {
    flex: 1;
    height: 1px;
    background: rgba(0,0,0,0.08);
}

.info-pratique-card {
    background: #f8f9fc;
    border-radius: 14px;
    padding: 22px;
    border: 1px solid rgba(0,0,0,0.06);
    font-size: 0.85rem;
    color: #444;
}

.info-pratique-card h6 {
    font-weight: 700;
    color: #0b2a4a;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.info-pratique-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.info-pratique-item i {
    color: #eeb301;
    margin-top: 2px;
    width: 14px;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .session-content { flex-direction: column; text-align: center; }
    .session-date-box { border-right: none; border-bottom: 1px solid #eee; padding: 0 0 10px 0; width: 100%; }
    .session-action-zone { text-align: center; width: 100%; }
    .sessions-help-banner { padding: 28px 24px; }
}


.btn-session-outline-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.1);
    color: #666;
    background: #f8f9fa;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-session-outline-mini:hover {
    background: #eee;
    color: #148efe;
    border-color: #148efe;
}

/* ── Bouton Réserver (Plein) ── */
.btn-session-mini {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #148efe;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn-session-mini:hover {
    background: #0b7ad4;
    color: #fff;
}

/* ── Bouton Programme (Liseré fin avec œil) ── */
.btn-session-outline-new {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1.5px solid rgba(0,0,0,0.12); /* Le liseré fin */
    color: #555;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-session-outline-new i {
    font-size: 0.85rem;
    color: #888;
}

.btn-session-outline-new:hover {
    border-color: #148efe;
    color: #148efe;
    background: #f0f7ff;
}

.btn-session-outline-new:hover i {
    color: #148efe;
}

/* ── Ajustement de la zone d'action pour aligner les boutons ── */
.session-action-zone {
    text-align: right;
    min-width: 240px; /* Un peu plus large pour les deux boutons */
}

@media (max-width: 768px) {
    .session-action-zone {
        min-width: 100%;
        margin-top: 15px;
    }
    .session-action-zone .d-flex {
        justify-content: center !important;
    }
}


/* Label "Filtrer par" en blanc */
.filter-label-light {
    font-size: 0.75rem;
    color: rgb(239, 174, 46);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 10px;
}

/* Boutons de filtre version "clair" */
.filter-btn-light {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.3); /* Liseré clair discret */
    background: transparent;
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffffff;
    color: #ffffff;
}

.filter-btn-light.active {
    background: #ffffff; /* Le bouton actif devient blanc */
    color: #0b2a4a;      /* L'écriture devient foncée pour trancher */
    border-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* On supprime l'ancienne barre de filtre blanche si elle existe encore */
.sessions-filter-bar {
    display: none;
}


        /* Optimisation pour les nouvelles lignes d'info */
        .session-meta-new.extra-info {
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px dashed rgba(0,0,0,0.05);
        }



.badge-format {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}
 
.badge-format-salle {
    background: #044E9E;
    color: #ffffff;
}
 
.badge-format-voilier {
    background: #f4ca4c;
    color: #074e93;
    border: 1px solid #E67E2230;
}