
.boat-card {
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.1s;
}
.boat-card:active, .boat-card:focus {
    box-shadow: 0 0 0 3px #7fa8ff44;
    outline: none;
    transform: scale(0.98);
}
/* =============================
   SPORT SHARE EQUIPMENT
   Style CSS Principal
   Design moderne avec glassmorphism
   Version 2.0 - Enhanced Professional UI
============================= */

/* =============================
   GOOGLE FONTS IMPORT
============================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

/* =============================
   CSS CUSTOM PROPERTIES (Variables)
============================= */
:root {
    /* Couleurs principales */
    --primary-blue: #2575F0;
    --primary-blue-dark: #04061F;
    --primary-blue-light: #7FA8FF;
    --accent-gold: #7FA8FF;
    --accent-gold-dark: #2575F0;
    
    /* Couleurs de fond */
    --bg-dark: #080a0f;
    --bg-card: #11151e;
    --bg-glass: rgba(17, 21, 30, 0.82);
    
    /* Couleurs de texte */
    --text-primary: #F3F5FA;
    --text-secondary: #AEB7D3;
    --text-muted: #7B89AD;
    
    /* Couleurs de statut */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #2575F0;
    
    /* Ombres premium */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.3);
    --shadow-glow-blue: 0 0 30px rgba(37, 117, 240, 0.3);
    --shadow-glow-gold: 0 0 30px rgba(127, 168, 255, 0.3);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Espacement */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
}

/* =============================
   BASE & RESET
============================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

/* Corps principal */
body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    position: relative;
    z-index: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Assurer que tout le contenu soit au-dessus */
body > * {
    position: relative;
    z-index: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Sélection de texte personnalisée */
::selection {
    background: rgba(26, 109, 255, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(26, 109, 255, 0.3);
    color: #fff;
}

/* Focus visible pour accessibilité */
:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* =============================
   BACKGROUND IMMERSIF
============================= */

/* Image de fond en noir et blanc */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../View/image/sport_hero_final.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -999;
    filter: grayscale(100%) brightness(0.8);
}

/* Overlay radial pour fondu aux bords */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(
        circle at center,
        rgba(14,17,22,0) 60%,
        rgba(14,17,22,0.85) 100%
    );
    z-index: -998;
}

/* =============================
   EFFETS VISUELS PREMIUM
============================= */

/* Particules d'ambiance animées */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.6; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Effet de brillance sur les éléments */
@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Animation d'entrée élégante */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation de glow pulsant */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(26, 109, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(26, 109, 255, 0.5); }
}

/* =============================
   HEADER MODERNE
============================= */

.header-modern {
    position: sticky;
    top: 12px;
    z-index: 9999;
    background: rgba(17, 21, 30, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3),
                0 1px 0 rgba(127, 168, 255, 0.08);
    color: #fff;
    padding: 0;
    border: 1px solid rgba(127, 168, 255, 0.25);
    transition: var(--transition-normal);
    margin: 0 auto;
    max-width: 1500px;
    border-radius: 50px;
    left: 0;
    right: 0;
}

.header-modern.scrolled {
    background: rgba(17, 21, 30, 0.94);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 32px;
}

.header-top h1 {
    margin: 0;
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #fff 0%, #a8c0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Logo animé optionnel */
.header-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2575f0, #7fa8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow-blue);
    transition: var(--transition-normal);
}

.header-logo:hover {
    transform: rotate(5deg) scale(1.05);
}

.header-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    transition: all var(--transition-fast);
    font-weight: 600;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.header-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2575f0, #7fa8ff);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.header-link:hover {
    color: #ffffff;
    background: rgba(127, 168, 255, 0.12);
}

.header-link:hover::before {
    width: 80%;
}

/* =============================
   SYSTÈME DE BOUTONS - PREMIUM
============================= */

/* Bouton principal - Gradient bleu FFA */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    background: linear-gradient(135deg, #1A6DFF 0%, #0D5FE8 100%);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(26, 109, 255, 0.25);
    transition: all 0.25s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
}

/* Effet de lueur subtil */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(17, 21, 30, 0.15),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 109, 255, 0.35);
    background: linear-gradient(135deg, #2B7AFF 0%, #1A6DFF 100%);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(26, 109, 255, 0.3);
}

/* Badge de notification sur le bouton Dashboard */
.btn-dashboard-notif {
    position: relative;
    overflow: visible !important;
}

.btn-dashboard-notif::before {
    display: none !important;
}

.notif-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
    animation: notifPulse 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes notifPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(239, 68, 68, 0.7);
    }
}

/* Badge vide (icône enveloppe) quand pas de messages */
.notif-badge-empty {
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.2), rgba(17, 21, 30, 0.1));
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    animation: none;
    min-width: 24px;
    height: 24px;
    padding: 0;
}

.notif-badge-empty svg {
    stroke: rgba(255, 255, 255, 0.8);
}

/* Groupe de boutons Dashboard intégré */
.btn-dashboard-group {
    display: inline-flex;
    align-items: stretch;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn-dashboard-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-dashboard-main:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.btn-dashboard-messages {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: rgba(255, 255, 255, 0.9);
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-dashboard-messages:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
}

.btn-dashboard-messages svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.messages-count-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(17, 21, 30, 0.2);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 11px;
    transition: all 0.2s ease;
}

/* Quand il y a des messages non lus */
.btn-dashboard-messages.has-messages {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.btn-dashboard-messages.has-messages:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.btn-dashboard-messages.has-messages .messages-count-inline {
    background: #ef4444;
    color: #fff;
    font-weight: 800;
    animation: countPulse 2s ease-in-out infinite;
}

@keyframes countPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Bouton déconnexion - Style moderne inspiré Notion/Slack */
.btn-logout-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(17, 21, 30, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-logout-header svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.btn-logout-header .logout-text {
    font-size: 0.8rem;
    letter-spacing: 0.01em;
}

.btn-logout-header:hover {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.btn-logout-header:hover svg {
    transform: translateX(3px);
    stroke: #fca5a5;
}

.btn-logout-header:active {
    transform: scale(0.97);
}

/* Variante compacte - juste l'icône sur mobile */
@media (max-width: 640px) {
    .btn-logout-header .logout-text {
        display: none;
    }
    .btn-logout-header {
        padding: 8px;
    }
}

/* Ancien style - gardé pour compatibilité */
.btn-dashboard-group + .btn-accent,
.flex.items-center .btn-accent[title="Se déconnecter"] {
    padding: 10px 18px;
    font-size: 0.9rem;
    border-radius: 12px;
    gap: 8px;
}

/* Ancien style btn-messages - gardé pour compatibilité */
.btn-messages {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(17, 21, 30, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-messages:hover {
    background: rgba(17, 21, 30, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.btn-messages svg {
    flex-shrink: 0;
}

.btn-messages-text {
    display: none;
}

@media (min-width: 640px) {
    .btn-messages-text {
        display: inline;
    }
}

.messages-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* Bouton avec notifications - effet pulsant */
.btn-messages.has-notif {
    border-color: rgba(239, 68, 68, 0.4);
    animation: messagesPulse 3s ease-in-out infinite;
}

@keyframes messagesPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
    }
}

.btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.4);
}

/* Bouton secondaire outline */
.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-align: center;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    backdrop-filter: blur(10px);
}

.btn-secondary-outline:hover {
    background: rgba(17, 21, 30, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary-outline:active {
    transform: translateY(0);
}

/* Bouton secondaire */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(17, 21, 30, 0.08);
    color: #E5E7EB;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background: rgba(17, 21, 30, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Bouton accent - Gradient or */
.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: #1a1a2e;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(127, 168, 255, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all var(--transition-smooth);
    text-align: center;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-accent:hover::before {
    left: 100%;
}

/* Bouton de recherche - Blanc */
.btn-search {
    color: #1e3a8a;
    background: rgba(255, 255, 255, 0.95);
    padding: 14px 36px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-search:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.35);
    }

/* Bouton "Voir plus" - Dans les cartes */
.btn-voir-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    color: #fff;
    background: linear-gradient(135deg, #1A6DFF 0%, #0D5FE8 100%);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.35);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-voir-plus::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(17, 21, 30, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-voir-plus:hover::before {
    left: 100%;
}

.btn-voir-plus:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 109, 255, 0.5);
    background: linear-gradient(135deg, #2B7AFF 0%, #1A6DFF 100%);
}

.btn-voir-plus svg {
    transition: transform var(--transition-fast);
}

.btn-voir-plus:hover svg {
    transform: translateX(5px);
}

/* Bouton de réservation - Premium Gold */
.btn-location {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: #1a1a2e;
    padding: 14px 36px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 4px 20px rgba(127, 168, 255, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-location::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.btn-location:hover::before {
    left: 100%;
}

.btn-location:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(127, 168, 255, 0.5),
                0 0 50px rgba(127, 168, 255, 0.2);
}

/* =============================
   HERO SECTION - PREMIUM
============================= */

.hero-section {
    padding: 5rem 0;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

/* Description hero */
.hero-description {
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    font-weight: 600;
    text-shadow: none;
    background: rgba(14, 17, 22, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-lg);
    display: inline-block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    letter-spacing: 0.01em;
}

/* Image principale hero */
.hero-section img {
    border-radius: var(--radius-xl);
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    margin-bottom: 10%;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-smooth);
}

.hero-section img:hover {
    transform: scale(1.02);
}

/* =============================
   SECTION DE RECHERCHE - PREMIUM
============================= */

#search-section {
    scroll-margin-top: 100px;
    position: relative;
    z-index: 100;
}

.search-card {
    background: rgba(17, 21, 30, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5),
                inset 0 1px 0 rgba(255,255,255,0.05);
    padding: 36px;
    padding-bottom: 50px;
    border: 1px solid rgba(127, 168, 255, 0.18);
    position: relative;
    overflow: visible;
}

.search-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 109, 255, 0.5), transparent);
    pointer-events: none;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.form-select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: #1a202b;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-select option {
    background: #1F2228;
    color: #E5E7EB;
    padding: 12px 16px;
}

.form-select option:hover,
.form-select option:focus,
.form-select option:checked {
    background: var(--primary-blue);
    color: #fff;
}

.form-select:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: #1a202b;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.2);
    background: #1a202b;
}

/* =============================
   CUSTOM SELECT DROPDOWN
============================= */

.custom-select-wrapper {
    position: relative;
    width: 100%;
}

/* Cacher le select natif dans le wrapper custom */
.custom-select-wrapper select {
    display: none !important;
}

.custom-select-trigger {
    width: 100%;
    padding: 14px 18px;
    padding-right: 45px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: #1a202b;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select-trigger::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
}

.custom-select-wrapper.open .custom-select-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select-trigger:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: #1a202b;
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.2);
    background: #1a202b;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1F2228;
    border: 1px solid var(--primary-blue);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    max-height: 250px;
    overflow-y: auto;
    z-index: 99999;
    display: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.custom-select-wrapper.open {
    z-index: 99999;
}

.custom-select-wrapper.open .custom-select-options {
    display: block;
    animation: dropdownSlide 0.2s ease-out;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-select-option {
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    color: #E5E7EB;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-select-option:last-child {
    border-bottom: none;
}

.custom-select-option:hover {
    background: rgba(26, 109, 255, 0.2);
    color: #fff;
}

.custom-select-option.selected {
    background: var(--primary-blue);
    color: #fff;
    font-weight: 600;
}

/* Styles pour les optgroups */
.custom-select-optgroup {
    padding: 10px 14px 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4px;
    pointer-events: none;
}

.custom-select-optgroup:first-child {
    border-top: none;
    margin-top: 0;
}

.custom-select-option-grouped {
    padding-left: 20px;
}

/* Custom select dans les modales (pour form-input-modal) */
.modal .custom-select-wrapper .custom-select-trigger,
.modal-content .custom-select-wrapper .custom-select-trigger {
    width: 100%;
    padding: 12px 14px;
    background: #1a202b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal .custom-select-wrapper .custom-select-trigger:hover,
.modal-content .custom-select-wrapper .custom-select-trigger:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: #1a202b;
}

.modal .custom-select-wrapper.open .custom-select-trigger,
.modal-content .custom-select-wrapper.open .custom-select-trigger {
    border-color: #1A6DFF;
    background: #1a202b;
    box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.2);
    border-radius: 8px 8px 0 0;
}

.modal .custom-select-options,
.modal-content .custom-select-options {
    background: #1a202b;
    border-radius: 0 0 8px 8px;
}

/* Scrollbar pour custom select */
.custom-select-options::-webkit-scrollbar {
    width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
    background: rgba(17, 21, 30, 0.05);
    border-radius: 3px;
}

.custom-select-options::-webkit-scrollbar-thumb {
    background: rgba(26, 109, 255, 0.5);
    border-radius: 3px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
    background: rgba(26, 109, 255, 0.7);
}

/* Style pour tous les select dans les formulaires modaux */
select:not(.form-select-modern), 
.modal select:not(.form-select-modern),
.modal-body select:not(.form-select-modern),
.form-location select:not(.form-select-modern) {
    width: 100%;
    padding: 14px 18px;
    background: rgba(42, 47, 58, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

select:not(.form-select-modern):hover, 
.modal select:not(.form-select-modern):hover,
.modal-body select:not(.form-select-modern):hover,
.form-location select:not(.form-select-modern):hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(52, 58, 71, 0.9);
}

select:not(.form-select-modern):focus, 
.modal select:not(.form-select-modern):focus,
.modal-body select:not(.form-select-modern):focus,
.form-location select:not(.form-select-modern):focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(52, 58, 71, 0.95);
    box-shadow: 0 0 0 4px rgba(26, 109, 255, 0.2);
}

select option,
.modal select option,
.modal-body select option,
.form-location select option {
    background: #1a202b;
    color: #ffffff;
    padding: 12px;
}

select option:hover,
select option:focus,
select option:checked {
    background: #1A6DFF;
    color: #ffffff;
}

/* Input date/text */
.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: #1a202b;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-input:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: #1a202b;
}

.form-input:focus {
    outline: none;
    border-color: #1A6DFF;
    background: #1a202b;
    box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.2);
}

/* Fix pour les inputs date sur tous navigateurs */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.8);
    cursor: pointer;
}

/* =============================
   FILTRES AMÉLIORÉS
============================= */

.filters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: end;
}

@media (min-width: 768px) {
    .filters-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .filters-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Filtre de catégorie mis en avant */
.filter-group-featured {
    grid-column: span 2;
}

.filter-group-featured .form-select {
    background: linear-gradient(135deg, rgba(127, 168, 255, 0.15), rgba(127, 168, 255, 0.05));
    border-color: rgba(127, 168, 255, 0.4);
}

.filter-group-featured .form-select:hover {
    border-color: rgba(127, 168, 255, 0.6);
}

.filter-group-featured .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(127, 168, 255, 0.15);
}

.filter-group-featured .form-label {
    color: var(--gold);
}

@media (max-width: 768px) {
    .filter-group-featured {
        grid-column: span 1;
    }
}

.filter-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
}

.form-label {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: #9CA3AF;
    margin-bottom: 8px;
}

/* Bouton réinitialiser filtres */
.btn-reset-filters {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-reset-filters:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #fff;
}

/* Tags filtres actifs */
.active-filters-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.active-filters-label {
    font-size: 0.875rem;
    color: #9CA3AF;
    font-weight: 500;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(26, 109, 255, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(26, 109, 255, 0.3);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter-tag-removable {
    cursor: pointer;
}

.filter-tag-removable:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
    border-color: rgba(239, 68, 68, 0.4);
}

.filter-tag-removable svg {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.filter-tag-removable:hover svg {
    opacity: 1;
}

/* Tag de catégorie d'équipement */
.filter-tag-category {
    background: linear-gradient(135deg, rgba(127, 168, 255, 0.2), rgba(127, 168, 255, 0.1));
    color: var(--gold);
    border-color: rgba(127, 168, 255, 0.4);
}

.filter-tag-category:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
    border-color: rgba(239, 68, 68, 0.4);
}

/* =============================
   EN-TÊTES DE SECTION - PREMIUM
============================= */

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    letter-spacing: 0.02em;
}

.boat-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(26, 110, 255, 0.65);
    color: #ffffff;
    padding: 14px 24px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(26, 109, 255, 0.35);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.counter-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.counter-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* =============================
   GRILLE DE BATEAUX - PREMIUM
============================= */

.boats-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 32px;
    animation: fadeInUp 0.6s ease-out;
}

@media (min-width: 640px) {
    .boats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .boats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1400px) {
    .boats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* =============================
   CARTES BATEAU - GLASSMORPHISM PREMIUM
============================= */

.boat-card {
    background: linear-gradient(315deg, rgba(20, 30, 50, 0.95) 0%, rgba(15, 22, 40, 0.95) 45%, rgba(8, 12, 24, 0.98) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5),
                inset 0 1px 0 rgba(255,255,255,0.05);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Effet de brillance au survol */
.boat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(17, 21, 30, 0.05), transparent);
    transition: left 0.8s ease;
    z-index: 1;
    pointer-events: none;
}

.boat-card:hover::before {
    left: 100%;
}

.boat-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5),
                0 0 60px rgba(26, 109, 255, 0.15);
    border-color: rgba(26, 109, 255, 0.4);
}

.boat-image {
    height: 200px;
    background: linear-gradient(135deg, #1e3a5f 0%, #0d1b2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.boat-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.boat-card:hover .boat-image img {
    transform: scale(1.1);
}

.boat-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, rgba(26, 109, 255, 0.2) 0%, rgba(14, 30, 60, 0.8) 100%);
}

.boat-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.6;
}

.boat-placeholder::after {
    content: 'Pas d\'image';
    font-size: 12px;
    opacity: 0.5;
}

/* Image verrouillée pour les visiteurs non connectés */
.boat-image-locked {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 109, 255, 0.15) 0%, 
        rgba(14, 17, 22, 0.95) 100%);
    position: relative;
}

.boat-image-locked .locked-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    transition: all var(--transition-normal);
}

.boat-image-locked .locked-overlay svg {
    color: rgba(26, 109, 255, 0.6);
    opacity: 0.8;
    transition: all var(--transition-normal);
}

.boat-image-locked .locked-overlay span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.boat-card:hover .boat-image-locked .locked-overlay svg {
    color: #1A6DFF;
    opacity: 1;
}

.boat-card:hover .boat-image-locked .locked-overlay span {
    color: rgba(255, 255, 255, 0.8);
}

/* Badges sur l'image - Premium */
.badge-type {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0a4bcc 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.badge-porteur {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(14, 17, 22, 0.9);
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.badge-year {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(14, 17, 22, 0.9);
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
}

/* Badge Nouveau - pour les locations ajoutées récemment */
.badge-nouveau {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 7px rgba(16, 185, 129, 0.5);
    z-index: 2;
}

/* Contenu de la carte */
.boat-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.boat-header {
    margin-bottom: 18px;
}

.boat-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    transition: color var(--transition-fast);
}

.boat-card:hover .boat-title {
    color: #a8c0ff;
}

.boat-club {
    display: flex;
    align-items: center;
    gap: 12px;
}

.club-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(26, 109, 255, 0.3);
}

.club-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.club-name {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Section dates */
.location-dates {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: rgba(26, 109, 255, 0.08);
    border: 1px solid rgba(26, 109, 255, 0.15);
    border-radius: 10px;
    margin-bottom: 16px;
}

.date-icon {
    width: 20px;
    height: 20px;
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 2px;
}

.dates-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.date-label {
    font-size: 0.75rem;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-range {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.date-separator {
    color: #3b82f6;
    margin: 0 4px;
}

.date-duration {
    font-size: 0.8rem;
    color: #9CA3AF;
}

/* Spécifications - Premium */
.boat-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.spec-item {
    min-width: 0;
    min-height: 88px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 14px 10px;
    background: rgba(17, 21, 30, 0.04);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition-fast);
}

.spec-item:hover {
    background: rgba(17, 21, 30, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.spec-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    font-weight: 600;
}

.spec-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.boat-specs-sale .spec-value-single-line {
    display: block;
    max-width: 100%;
    min-height: 1.25em;
    overflow: hidden;
    overflow-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.boat-specs-location .spec-value-date-range {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    line-height: 1.25;
    overflow-wrap: normal;
    white-space: nowrap;
}

.boat-specs-location .spec-label-period {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.boat-specs-location .spec-value-date-range > span {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Section prix - Premium Gold */
.boat-price-section {
    text-align: center;
    padding: 20px;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(127, 168, 255, 0.15) 0%, rgba(127, 168, 255, 0.05) 100%);
    border: 1px solid rgba(127, 168, 255, 0.25);
    border-radius: var(--radius-lg);
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}

.boat-price-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(127, 168, 255, 0.5), transparent);
}

.price-label {
    font-size: 0.7rem;
    color: #D4A520;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    font-weight: 700;
}

.boat-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.sale-stock-summary {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 8px;
    font-size: 0.8rem;
}

.sale-stock-summary strong {
    color: var(--text-primary);
}

.sale-stock-summary span {
    color: var(--text-muted);
}

.boat-price .price-unit {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 4px;
}

.boat-type {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Bouton voir plus - version carte (override) */
.boat-card .btn-voir-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    color: #fff;
    background: linear-gradient(135deg, #1A6DFF 0%, #0D5FE8 100%);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.35);
    transition: all var(--transition-smooth);
    text-decoration: none;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.boat-card .btn-voir-plus::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(17, 21, 30, 0.2), transparent);
    transition: left 0.5s ease;
}

.boat-card .btn-voir-plus:hover::before {
    left: 100%;
}

.boat-card .btn-voir-plus:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 109, 255, 0.5);
    background: linear-gradient(135deg, #2B7AFF 0%, #1A6DFF 100%);
}

.boat-card .btn-voir-plus svg {
    transition: transform var(--transition-fast);
}

.boat-card .btn-voir-plus:hover svg {
    transform: translateX(5px);
}

/* =============================
   ÉTAT VIDE - PREMIUM
============================= */

.empty-state {
    text-align: center;
    padding: 80px 30px;
    background: rgba(17, 21, 30, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.empty-icon {
    width: 80px;
    height: 80px;
    color: #4B5563;
    margin: 0 auto 20px;
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #E5E7EB;
    margin-bottom: 8px;
}

.empty-text {
    font-size: 1rem;
    color: #9CA3AF;
    max-width: 400px;
    margin: 0 auto;
}

.empty-link {
    color: #3b82f6;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.empty-link:hover {
    color: #93C5FD;
}

/* =============================
   SYSTÈME DE MODAL - PREMIUM
============================= */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: auto;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(145deg, rgba(22, 26, 34, 0.98), rgba(15, 18, 25, 0.98));
    margin: 1.5% auto;
    padding: 35px;
    border-radius: 24px;
    width: 96%;
    max-width: 1400px;
    max-height: 94vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Adaptation max-height selon la taille de l'écran */
@media (max-height: 900px) {
    .modal-content {
        max-height: 90vh;
    }
}

@media (max-height: 700px) {
    .modal-content {
        max-height: 85vh;
        margin: 2% auto;
    }
}

@media (max-height: 500px) {
    .modal-content {
        max-height: 80vh;
        margin: 1% auto;
        padding: 20px;
    }
}

/* Modale plus petite pour connexion et création de club */
#connexion-modal .modal-content,
.modal-content:has(.connexion-modal-wrapper),
.modal-content:has(.forgot-password-container) {
    max-width: 700px;
    background: linear-gradient(315deg, rgba(18, 22, 30, 0.25) 0%, rgba(22, 42, 92, 0.25) 45%, rgba(0, 8, 20, 0.3) 100%) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* Modale création de club - même fond que connexion mais plus large */
#creation-modal .modal-content,
.modal-content:has(.wizard-container) {
    max-width: 1050px;
    background: linear-gradient(315deg, rgba(18, 22, 30, 0.25) 0%, rgba(22, 42, 92, 0.25) 45%, rgba(0, 8, 20, 0.3) 100%) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* Modale équipement/bateau - fond vitré transparent comme le dashboard */
.modal-content.bateau-modal-glass {
    background: linear-gradient(315deg, rgba(18, 22, 30, 0.25) 0%, rgba(22, 42, 92, 0.25) 45%, rgba(0, 8, 20, 0.3) 100%) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 10px 15px -3px rgba(0, 0, 0, 0.4) !important;
}

.modal.dashboard-modal-open .modal-content.dashboard-modal-content {
    max-width: 1700px;
    padding: 20px;
    background: rgba(17, 21, 30, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.40);
}

.modal.dashboard-modal-open .close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    width: 38px;
    height: 38px;
    background: rgba(30, 30, 40, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal.dashboard-modal-open .close::before,
.modal.dashboard-modal-open .close::after {
    width: 18px;
    height: 1.5px;
}

.modal.show .modal-content {
    transform: scale(1) translateY(0);
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    cursor: pointer;
    z-index: 1000;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(17, 21, 30, 0.05);
    transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
    font-size: 0;
}

.close::before,
.close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.close::before {
    transform: rotate(45deg);
}

.close::after {
    transform: rotate(-45deg);
}

.close:hover {
    background: rgba(127, 168, 255, 0.15);
    transform: rotate(270deg);
}

.close:hover::before,
.close:hover::after {
    background: #7fa8ff;
}

/* =============================
   MODAL CONNEXION - GLASSMORPHISM
============================= */

.connexion-modal-wrapper {
    position: relative;
    color: #ffffff;
    max-width: 450px;
    margin: 0 auto;
    animation: fadeInUp 0.5s ease-out;
}

/* En-tête du modal */
.connexion-header {
    text-align: center;
    margin-bottom: 32px;
}

.connexion-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.connexion-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    margin: 0;
}

/* Messages d'erreur stylisés */
.connexion-errors {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 24px;
}

.error-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fca5a5;
    font-size: 0.95rem;
    margin: 8px 0;
}

.error-icon {
    width: 18px;
    height: 18px;
    color: #f87171;
    flex-shrink: 0;
}

/* Formulaire de connexion */
.form-group {
    margin-bottom: 24px;
}

.form-help-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    padding: 10px;
    background: rgba(17, 21, 30, 0.05);
    border-radius: 6px;
    line-height: 1.5;
}

.form-help-text strong {
    color: #7fa8ff;
}

.form-help-text em {
    color: rgba(255, 255, 255, 0.9);
    font-style: normal;
    text-decoration: underline;
}

.form-label-modal {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 10px 0;
}

.icon-input {
    width: 18px;
    height: 18px;
    color: #7fa8ff;
}

/* Input avec icône à gauche */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #7fa8ff;
    pointer-events: none;
    z-index: 1;
}

.input-with-icon .form-input-modal {
    padding-left: 44px;
}

.form-input-modal {
    width: 100%;
    padding: 12px 14px;
    background: #1a202b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-input-modal::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input-modal:focus {
    outline: none;
    border-color: #1A6DFF;
    background: #1a202b;
    box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.2);
}

.form-input-modal:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: #1a202b;
}

/* Version compacte des selects */
.form-select-compact {
    padding: 15px 12px !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
}

/* Wrapper pour le mot de passe avec bouton œil */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.eye-icon {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

.toggle-password:hover .eye-icon {
    color: rgba(255, 255, 255, 0.8);
}

.eye-icon.hidden {
    display: none;
}

/* Indicateur de force du mot de passe */
.password-strength-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.password-strength-bar {
    flex: 1;
    height: 6px;
    background: rgba(17, 21, 30, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength-fill.very-weak {
    width: 20%;
    background: #ef4444;
}

.password-strength-fill.weak {
    width: 40%;
    background: #f97316;
}

.password-strength-fill.medium {
    width: 60%;
    background: #eab308;
}

.password-strength-fill.strong {
    width: 80%;
    background: #22c55e;
}

.password-strength-fill.very-strong {
    width: 100%;
    background: #10b981;
}

.password-strength-label {
    font-size: 0.75rem;
    font-weight: 500;
    min-width: 70px;
    text-align: right;
}

.password-strength-label.very-weak {
    color: #ef4444;
}

.password-strength-label.weak {
    color: #f97316;
}

.password-strength-label.medium {
    color: #eab308;
}

.password-strength-label.strong {
    color: #22c55e;
}

.password-strength-label.very-strong {
    color: #10b981;
}

/* Critères de mot de passe CNIL/RGPD */
.password-criteria {
    margin-top: 10px;
    padding: 12px 15px;
    background: rgba(17, 21, 30, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.criteria-title {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 8px;
    font-weight: 500;
}

.criteria-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.criteria-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    padding: 4px 0;
    transition: all 0.2s ease;
}

.criteria-item.invalid {
    color: #ef4444;
}

.criteria-item.valid {
    color: #22c55e;
}

.criteria-icon {
    font-weight: bold;
    width: 16px;
    text-align: center;
}

.criteria-item.valid .criteria-icon {
    color: #22c55e;
}

.criteria-item.invalid .criteria-icon {
    color: #ef4444;
}

/* Statut correspondance mot de passe */
.password-match-status {
    font-size: 0.75rem;
    margin-top: 5px;
    min-height: 18px;
}

.password-match-status.match {
    color: #22c55e;
}

.password-match-status.no-match {
    color: #ef4444;
}

/* Bouton de connexion - Premium */
.btn-connexion-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    margin-top: 28px;
    background: linear-gradient(135deg, #1A6DFF 0%, #0D5FE8 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(26, 109, 255, 0.3);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Effet de lueur subtil */
.btn-connexion-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(17, 21, 30, 0.15),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-connexion-submit:hover::before {
    left: 100%;
}

.btn-connexion-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.4);
    background: linear-gradient(135deg, #2B7AFF 0%, #1A6DFF 100%);
}

.btn-connexion-submit:active {
    transform: translateY(0);
}

.btn-connexion-submit:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.4);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.25s ease;
}

.btn-connexion-submit:hover .arrow-icon {
    transform: translateX(4px);
}

/* Séparateur */
.connexion-divider {
    position: relative;
    text-align: center;
    margin: 32px 0;
}

.connexion-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: rgba(17, 21, 30, 0.2);
}

.connexion-divider span {
    position: relative;
    padding: 0 16px;
    background: #2d3e50;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Footer du modal */
.connexion-footer {
    text-align: center;
}

.signup-prompt {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.btn-signup {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #7fa8ff, #2575f0);
    color: #2d3e50;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(127, 168, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(127, 168, 255, 0.4);
}

.icon-external {
    width: 16px;
    height: 16px;
}

/* =============================
   PLAN SELECTOR - INSCRIPTION
============================= */

.subscription-plan-selector {
    margin: 24px 0;
}

.subscription-plan-selector .form-label-modal {
    text-align: center;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.plan-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.plan-card {
    position: relative;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.plan-card .plan-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.plan-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    background: rgba(22, 26, 34, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 200px;
}

.plan-card:hover .plan-card-content {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.plan-card.selected .plan-card-content,
.plan-card .plan-radio:checked + .plan-card-content {
    border-color: #7fa8ff;
    background: rgba(127, 168, 255, 0.1);
    box-shadow: 0 0 20px rgba(127, 168, 255, 0.2);
}

/* Badge plan */
.plan-badge {
    position: absolute;
    top: -8px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Nom du plan */
.plan-name {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 8px 0;
    text-align: center;
}

/* Prix */
.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #7fa8ff;
}

.price-amount.free {
    font-size: 1.2rem;
    color: #2ecc71;
}

.price-period {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Période d'essai */
.plan-trial {
    font-size: 0.75rem;
    color: #2ecc71;
    margin: 0 0 8px 0;
    font-weight: 500;
}

/* Liste des features */
.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    text-align: left;
    width: 100%;
}

.plan-features-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 4px 0;
}

.feature-icon {
    font-size: 0.8rem;
    color: #2ecc71;
}

.feature-icon.dim {
    color: rgba(255, 255, 255, 0.3);
}

/* Note sous les plans */
.plan-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin: 0;
}

/* Responsive pour mobile */
@media (max-width: 600px) {
    .plan-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .plan-card-content {
        min-height: auto;
        padding: 16px;
    }
    
    .plan-features-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .plan-features-list li {
        flex: 1 1 45%;
    }
}

/* =============================
   AUTRES SECTIONS
============================= */

.modal-bateau-header h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    border: none;
    margin-bottom: 10px;
    text-align: left;
}

.modal-club {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.modal-bateau-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.modal-bateau-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.modal-bateau-info p {
    color: #ffffff;
    margin: 12px 0;
    line-height: 1.7;
    font-size: 1rem;
}

.modal-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #7fa8ff !important;
    margin-top: 16px;
}

.modal-divider {
    border: none;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    margin: 32px 0;
}

/* =============================
   PAGE BATEAU (NON-MODAL)
============================= */

.container-bateau {
    max-width: 1000px;
    margin: 40px auto;
    background: rgba(55, 73, 94, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.1);
}

.bateau-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.bateau-image-section img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.bateau-info-section p {
    color: #ffffff;
    margin: 14px 0;
    font-size: 1rem;
    line-height: 1.7;
}

.bateau-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #7fa8ff !important;
    margin-top: 16px;
}

/* =============================
   MESSAGES D'ERREUR / SUCCÈS
============================= */

p[style*="color:red"] {
    color: #e74c3c !important;
    background-color: rgba(231, 76, 60, 0.15);
    border-left: 4px solid #e74c3c;
    padding: 14px 18px;
    border-radius: 6px;
    margin: 16px 0;
    font-weight: 500;
}

p[style*="color:green"] {
    color: #2ecc71 !important;
    background-color: rgba(46, 204, 113, 0.15);
    border-left: 4px solid #2ecc71;
    padding: 14px 18px;
    border-radius: 6px;
    margin: 16px 0;
    font-weight: 500;
}

/* =============================
   FORMULAIRE DE LOCATION
============================= */

.form-location {
    text-align: center;
    margin-top: 24px;
}

.form-location label {
    display: block;
    font-weight: 600;
    color: #ffffff;
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-location input[type="date"] {
    padding: 17.5px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #1a202b;
    color: #ffffff;
    width: 100%;
    max-width: 320px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-location input[type="date"]:focus {
    border-color: #1A6DFF;
    background: #1a202b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.2);
}

.form-location input[type="date"]:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: #1a202b;
}

/* =============================
   TITRES DE SECTION
============================= */

h2 {
    color: #ffffff;
    padding-top: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 1.75rem;
}

/* =============================
   RESPONSIVE
============================= */

@media (max-width: 1024px) {
    .search-card {
        padding: 24px;
    }
    
    .modal-bateau-content,
    .bateau-details-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .boats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-content {
        width: 95%;
        padding: 24px;
        margin: 10% auto;
    }
    
    .container-bateau {
        padding: 24px;
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    .header-top h1 {
        font-size: 1.4rem;
    }
    
    .search-card {
        padding: 20px;
    }
    
    .boat-image {
        height: 160px;
    }
    
    .boat-title {
        font-size: 1.1rem;
    }
    
    .boat-price {
        font-size: 1.3rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    /* Adaptation modal connexion mobile */
    .connexion-title {
        font-size: 1.5rem;
    }
    
    .btn-connexion-submit {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

/* =============================
   CALENDRIER DE DISPONIBILITÉ - PREMIUM
============================= */

.calendar {
    max-width: 100%;
    margin: 15px auto 20px auto;
    border-radius: 16px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.month-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1A6DFF 0%, #0a4bcc 100%);
    color: #fff;
    padding: 16px 24px;
    position: relative;
    overflow: hidden;
}

.month-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(17, 21, 30, 0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

.month-nav button {
    background-color: rgba(17, 21, 30, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(4px);
}

.month-nav button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05) translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.month {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.calendar table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    table-layout: fixed;
}

.calendar thead {
    background: linear-gradient(180deg, #f8f9fa, #e9ecef);
}

.calendar th {
    border: none;
    border-bottom: 2px solid #dee2e6;
    width: 14.28%;
    padding: 12px 4px;
    text-align: center;
    color: #2d3e50;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.calendar td {
    border: 1px solid #e9ecef;
    width: 14.28%;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background-color: #ffffff;
    color: #2d3e50;
}

.calendar td.disponible {
    background: linear-gradient(135deg, #d4f4dd, #b8e6c5);
    color: #1a5c2e;
    cursor: pointer;
    font-weight: 600;
}

.calendar td.disponible:hover {
    background: linear-gradient(135deg, #b8e6c5, #9dd9af);
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.5);
    z-index: 10;
    border-radius: 6px;
}

.calendar td.louee {
    background: linear-gradient(135deg, #f28b82, #e06e66);
    color: #fff;
    cursor: not-allowed;
    font-weight: 600;
}

.calendar td.louee::after {
    content: '✖';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.4rem;
    opacity: 0.4;
}

.calendar td.passed {
    background-color: #f5f5f5;
    color: #aaa;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.6;
}

.calendar td.selected {
    background: linear-gradient(135deg, #1A6DFF, #0a4bcc);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(26, 109, 255, 0.5);
    transform: scale(1.12);
    z-index: 10;
    border-radius: 6px;
}

.calendar td:empty {
    background-color: #fafafa;
    cursor: default;
}

.result {
    margin: 20px;
    padding: 18px 24px;
    text-align: center;
    font-weight: 600;
    color: #2d3e50;
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    border-radius: 12px;
    font-size: 1.1rem;
    box-shadow: 
        0 4px 15px rgba(253, 203, 110, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.result:empty {
    display: none;
}

/* Styles pour la modale de création de club */

.form-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3b82f6;
}

/* Champs conditionnels pour formulaire équipement */
.conditional-fields {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    animation: fadeIn 0.3s ease;
}

.conditional-fields .form-section-title {
    font-size: 1rem;
    color: var(--gold);
    border-bottom-color: rgba(127, 168, 255, 0.4);
    margin-top: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Accordéon doré pour équipement */
.accordion-header-gold {
    background: linear-gradient(135deg, rgba(127, 168, 255, 0.15), rgba(127, 168, 255, 0.05)) !important;
    border-color: rgba(127, 168, 255, 0.3) !important;
}

.accordion-header-gold:hover {
    background: linear-gradient(135deg, rgba(127, 168, 255, 0.25), rgba(127, 168, 255, 0.1)) !important;
    border-color: rgba(127, 168, 255, 0.5) !important;
}

.accordion-header-gold .accordion-icon svg,
.accordion-header-gold .accordion-title {
    color: var(--gold);
}

/* Style pour le champ file */
input[type="file"].form-input-modal {
    padding: 0.5rem;
    cursor: pointer;
}

input[type="file"].form-input-modal::-webkit-file-upload-button {
    background: #3b82f6;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    margin-right: 1rem;
    font-weight: 500;
}

input[type="file"].form-input-modal::-webkit-file-upload-button:hover {
    background: #2563eb;
}

/* Message de succès après création */
.success-message {
    background: #d1fae5;
    border: 2px solid #10b981;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

.success-message svg {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: #10b981;
}

.success-message h2 {
    color: #065f46;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.success-message p {
    color: #047857;
    margin-bottom: 20px;
}


/* ========== RESET & BASE ========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Inter', sans-serif;
    background: #0E1116;
    color: #EAECEF;
    line-height: 1.6;
}

/* ========== WRAPPER ========== */
.dashboard-wrapper {
    max-width: 2000px;
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 0;
    animation: fadeInUp 0.5s ease-out;
    display: flex;
    gap: 20px;
    align-items: stretch;
    min-height: 80vh;
    flex-wrap: wrap;
}

body.dashboard-page {
    padding-top: 16px;
}

/* ========== TOP HEADER BAR (inside tab-content) ========== */
.dashboard-top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(17, 21, 30, 0.82);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(127, 168, 255, 0.25);
    margin-bottom: 1rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-club-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(127, 168, 255, 0.1);
    border: 2px solid #7fa8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-club-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-fallback-header {
    font-size: 0.85rem;
    font-weight: 800;
    color: #7fa8ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-club-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.header-greeting {
    font-size: 1.1rem;
    font-weight: 700;
    color: #F3F4F6;
    margin: 0;
    line-height: 1.3;
}

.header-subtitle {
    font-size: 0.8rem;
    color: #aeb7d3;
    margin: 0;
    line-height: 1.3;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-datetime {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.header-date {
    font-weight: 500;
}

.header-time {
    font-weight: 600;
    color: #F3F4F6;
}

.header-notifications {
    position: relative;
}

.notification-bell {
    background: rgba(17, 21, 30, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.7);
}

.notification-bell:hover {
    background: rgba(127, 168, 255, 0.12);
    color: #F3F4F6;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #EF4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #0a1240;
}

@media (max-width: 768px) {
    .dashboard-top-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .header-left {
        width: 100%;
    }
    
    .header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .header-greeting {
        font-size: 1rem;
    }
    
    .header-subtitle {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .header-club-logo {
        width: 40px;
        height: 40px;
    }
    
    .header-datetime {
        font-size: 0.8rem;
        gap: 0.5rem;
    }
}

/* ========== HEADER ========== */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.9), rgba(26, 32, 43, 0.9));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.dashboard-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.btn-logout {
    background: linear-gradient(135deg, #7fa8ff, #2575f0);
    color: #2d3e50;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(127, 168, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-logout::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-logout:hover::before {
    left: 100%;
}

.btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(127, 168, 255, 0.4);
}

/* ========== ALERTS ========== */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}
.alert.success {
    background: rgba(46, 204, 113, 0.15);
    border-left: 4px solid #2ecc71;
    color: #2ecc71;
}
.alert.error {
    background: rgba(231, 76, 60, 0.15);
    border-left: 4px solid #e74c3c;
    color: #e74c3c;
}
.alert ul {
    margin-left: 1.2rem;
}

/* ========== ONGLETS DASHBOARD ========== */
.dashboard-tabs {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 1rem;
    background: rgba(10, 14, 22, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow-y: auto;
    scrollbar-width: none;
    width: 280px;
    min-width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        0 10px 15px -3px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    position: relative;
}

.dashboard-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(17, 21, 30, 0.1), transparent);
}

.dashboard-tabs::-webkit-scrollbar {
    display: none;
}

/* Radio buttons cachés */
.tab-radio {
    display: none;
}

/* Logo du dashboard */
.dashboard-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 1rem 0;
}

.dashboard-logo img {
    max-width: 180px;
    max-height: 70px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

/* Titre de section dans le menu */
.tab-section-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(156, 163, 175, 0.5);
    padding: 12px 18px 6px 18px;
    margin-top: 8px;
}

.tab-section-title:first-of-type {
    margin-top: 0;
}

/* Style de base des onglets - Design épuré */
.tab-btn {
    background: transparent;
    border: none;
    color: rgba(156, 163, 175, 0.9);
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    text-align: left;
    width: 100%;
    position: relative;
    letter-spacing: 0.01em;
    margin-bottom: 2px;
}

.tab-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.tab-btn:hover svg {
    opacity: 1;
}

.tab-btn:hover {
    color: #fff;
    background: rgba(17, 21, 30, 0.08);
}

.dashboard-home-link {
    text-decoration: none;
}

.dashboard-home-link:focus-visible {
    outline: 2px solid #7fa8ff;
    outline-offset: 2px;
}

/* Spacer pour pousser le menu Paramètres en bas */
.tab-spacer {
    flex: 1;
    min-height: 20px;
}

/* Style du bouton Paramètres en bas - comme un sous-onglet */
.tab-btn.tab-btn-bottom {
    margin-top: auto;
    padding: 10px 18px;
    font-size: 0.9rem;
    color: rgba(156, 163, 175, 0.8);
}

.tab-btn.tab-btn-bottom svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* Badge moderne */
.tab-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    min-width: 22px;
    text-align: center;
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}

/* ===== MENU DÉROULANT ÉQUIPEMENTS ===== */

/* Style pour le header parent déroulable - neutre par défaut */
.tab-btn.tab-parent {
    cursor: pointer;
    color: rgba(156, 163, 175, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    padding: 10px 18px;
    background: transparent;
    border: none;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

/* Icône dans Mon Espace */
.tab-btn.tab-parent .tab-icon-espace {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.tab-btn.tab-parent:hover .tab-icon-espace {
    opacity: 1;
}

.tab-btn.tab-parent:hover {
    background: rgba(17, 21, 30, 0.08);
    color: #E5E7EB;
}

/* Parent actif quand sous-onglet équipement sélectionné - plus utilisé */

/* Parent actif quand un sous-onglet Mon Espace est sélectionné */
#radio-compte:checked ~ .dashboard-tabs .tab-btn.tab-parent-espace,
#radio-assurance:checked ~ .dashboard-tabs .tab-btn.tab-parent-espace,
#radio-paiement:checked ~ .dashboard-tabs .tab-btn.tab-parent-espace,
#radio-abonnement:checked ~ .dashboard-tabs .tab-btn.tab-parent-espace {
    color: #2DD4BF;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.2) 0%, rgba(45, 212, 191, 0.1) 100%);
    border-color: rgba(45, 212, 191, 0.4);
    box-shadow: 
        0 0 15px rgba(45, 212, 191, 0.2),
        inset 0 1px 0 rgba(45, 212, 191, 0.2);
}

#radio-compte:checked ~ .dashboard-tabs .tab-btn.tab-parent-espace .tab-icon-espace,
#radio-assurance:checked ~ .dashboard-tabs .tab-btn.tab-parent-espace .tab-icon-espace,
#radio-paiement:checked ~ .dashboard-tabs .tab-btn.tab-parent-espace .tab-icon-espace,
#radio-abonnement:checked ~ .dashboard-tabs .tab-btn.tab-parent-espace .tab-icon-espace {
    opacity: 1;
}

/* Flèche du toggle */
.tab-arrow {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    opacity: 0.7;
    width: 18px;
    height: 18px;
}

.tab-btn.tab-parent:hover .tab-arrow {
    opacity: 1;
}

/* Toggle checkbox caché */
.tab-toggle {
    display: none;
}

/* Rotation de la flèche - Mon Espace */
#toggle-mon-espace:checked ~ .dashboard-tabs .tab-arrow-espace {
    transform: rotate(0deg);
}

#toggle-mon-espace:not(:checked) ~ .dashboard-tabs .tab-arrow-espace {
    transform: rotate(-90deg);
}

/* Margin du parent selon l'état du toggle - Mon Espace */
#toggle-mon-espace:not(:checked) ~ .dashboard-tabs .tab-btn.tab-parent-espace {
    margin-bottom: 2px;
}

#toggle-mon-espace:checked ~ .dashboard-tabs .tab-btn.tab-parent-espace {
    margin-bottom: 0;
}

/* Masquer/Afficher les sous-onglets - Mon Espace */
#toggle-mon-espace:not(:checked) ~ .dashboard-tabs .tab-child-espace {
    display: none;
    opacity: 0;
    max-height: 0;
}

#toggle-mon-espace:checked ~ .dashboard-tabs .tab-child-espace {
    display: flex;
    justify-content: flex-start;
    opacity: 1;
    max-height: 200px;
    animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style des sous-onglets - Design épuré */
.tab-btn.tab-child {
    padding: 10px 18px 10px 32px;
    margin-left: 12px;
    width: calc(100% - 12px);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(180, 190, 200, 0.9);
    border-radius: 10px;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    background: transparent;
    transition: all 0.2s ease;
}

.tab-btn.tab-child::before {
    content: '›';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: rgba(16, 185, 129, 0.5);
    font-weight: 300;
    transition: all 0.2s ease;
}

.tab-btn.tab-child:hover {
    color: #fff;
    background: rgba(16, 185, 129, 0.1);
}

.tab-btn.tab-child:hover::before {
    color: #10B981;
    transform: translateY(-50%) translateX(3px);
}

/* Sous-onglets Mon Espace - Couleur teal */
.tab-btn.tab-child.tab-child-espace::before {
    color: rgba(45, 212, 191, 0.5);
}

.tab-btn.tab-child.tab-child-espace:hover {
    color: #fff;
    background: rgba(45, 212, 191, 0.1);
}

.tab-btn.tab-child.tab-child-espace:hover::before {
    color: #2DD4BF;
    transform: translateY(-50%) translateX(3px);
}

/* Dernier sous-onglet (Abonnement) avec margin-bottom comme les catégories */
label[for="radio-abonnement"].tab-btn.tab-child {
    margin-bottom: 2px;
}

/* Onglets - état par défaut : tout caché */
.tab-content {
    display: none;
    padding: 2rem;
    flex: 1;
    min-width: 0;
    background: rgba(10, 14, 22, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        0 10px 15px -3px rgba(0, 0, 0, 0.4);
}

/* ===== ÉTATS ACTIFS DES ONGLETS ===== */

/* Dashboard actif - Bleu foncé */
#radio-dashboard:checked ~ .dashboard-tabs label[for="radio-dashboard"] {
    color: #1A6DFF;
    background: linear-gradient(135deg, rgba(26, 109, 255, 0.2) 0%, rgba(26, 109, 255, 0.1) 100%);
    border-color: rgba(26, 109, 255, 0.4);
    box-shadow: 
        0 0 15px rgba(26, 109, 255, 0.2),
        inset 0 1px 0 rgba(26, 109, 255, 0.2);
}

#radio-dashboard:checked ~ #tab-dashboard {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Espace Locatif actif - Bleu clair */
#radio-espace-locatif:checked ~ .dashboard-tabs label[for="radio-espace-locatif"] {
    color: #3b82f6;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, rgba(96, 165, 250, 0.1) 100%);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 
        0 0 15px rgba(96, 165, 250, 0.2),
        inset 0 1px 0 rgba(96, 165, 250, 0.2);
}

#radio-espace-locatif:checked ~ #tab-espace-locatif {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Espace Vente actif - Vert */
#radio-espace-vente:checked ~ .dashboard-tabs label[for="radio-espace-vente"] {
    color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 
        0 0 15px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(16, 185, 129, 0.2);
}

#radio-espace-vente:checked ~ #tab-espace-vente {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Messages actif - Violet */
#radio-messages:checked ~ .dashboard-tabs label[for="radio-messages"] {
    color: #A78BFA;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(167, 139, 250, 0.1) 100%);
    border-color: rgba(167, 139, 250, 0.4);
    box-shadow: 
        0 0 15px rgba(167, 139, 250, 0.2),
        inset 0 1px 0 rgba(167, 139, 250, 0.2);
}

#radio-messages:checked ~ #tab-messages {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Finances/Locations actif - Jaune */
#radio-locations:checked ~ .dashboard-tabs label[for="radio-locations"] {
    color: #FBBF24;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.1) 100%);
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 
        0 0 15px rgba(251, 191, 36, 0.2),
        inset 0 1px 0 rgba(251, 191, 36, 0.2);
}

#radio-locations:checked ~ #tab-locations {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Badge spécifique pour l'onglet Locations */
.tab-badge.locations {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.35);
}

/* Équipements actif */
#radio-equipements:checked ~ .dashboard-tabs label[for="radio-equipements"] {
    color: #34D399;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 
        0 0 15px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(16, 185, 129, 0.2);
}

#radio-equipements:checked ~ .dashboard-tabs label[for="radio-equipements"]::before {
    color: #10B981;
}

#radio-equipements:checked ~ #tab-equipements {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Badge spécifique pour l'onglet Équipements */
.tab-badge.equipements {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

/* Adhérents actif */
#radio-adherents:checked ~ .dashboard-tabs label[for="radio-adherents"] {
    color: #60A5FA;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, rgba(96, 165, 250, 0.1) 100%);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow:
        0 0 15px rgba(96, 165, 250, 0.2),
        inset 0 1px 0 rgba(96, 165, 250, 0.2);
}

#radio-adherents:checked ~ #tab-adherents {
    display: block;
    animation: fadeIn 0.3s ease;
}

.tab-badge.adherents {
    background: linear-gradient(135deg, #60A5FA, #2563EB);
    box-shadow: 0 2px 8px rgba(96, 165, 250, 0.35);
}

/* Cahier de sortie actif - Bleu */
#radio-cahier-sortie:checked ~ .dashboard-tabs label[for="radio-cahier-sortie"] {
    color: #60A5FA;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 0 15px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(59, 130, 246, 0.2);
}

#radio-cahier-sortie:checked ~ #tab-cahier-sortie {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Carnet de santé actif - Lime */
#radio-carnet-sante:checked ~ .dashboard-tabs label[for="radio-carnet-sante"] {
    color: #84CC16;
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.2) 0%, rgba(132, 204, 22, 0.1) 100%);
    border-color: rgba(132, 204, 22, 0.4);
    box-shadow: 
        0 0 15px rgba(132, 204, 22, 0.2),
        inset 0 1px 0 rgba(132, 204, 22, 0.2);
}

#radio-carnet-sante:checked ~ #tab-carnet-sante {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Suivi réparation actif - Rouge clair */
#radio-suivi-reparation:checked ~ .dashboard-tabs label[for="radio-suivi-reparation"] {
    color: #F87171;
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.2) 0%, rgba(248, 113, 113, 0.1) 100%);
    border-color: rgba(248, 113, 113, 0.4);
    box-shadow: 
        0 0 15px rgba(248, 113, 113, 0.2),
        inset 0 1px 0 rgba(248, 113, 113, 0.2);
}

#radio-suivi-reparation:checked ~ #tab-suivi-reparation {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Paramètres actif - Gris */
#radio-parametres:checked ~ .dashboard-tabs label[for="radio-parametres"] {
    color: #9CA3AF;
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.2) 0%, rgba(156, 163, 175, 0.1) 100%);
    border-color: rgba(156, 163, 175, 0.4);
    box-shadow: 
        0 0 15px rgba(156, 163, 175, 0.2),
        inset 0 1px 0 rgba(156, 163, 175, 0.2);
}

#radio-parametres:checked ~ #tab-parametres {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Compte actif - Indigo */
#radio-compte:checked ~ .dashboard-tabs label[for="radio-compte"] {
    color: #2DD4BF;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.2) 0%, rgba(45, 212, 191, 0.1) 100%);
    border-color: rgba(45, 212, 191, 0.4);
    box-shadow: 
        0 0 15px rgba(45, 212, 191, 0.2),
        inset 0 1px 0 rgba(45, 212, 191, 0.2);
}

#radio-compte:checked ~ .dashboard-tabs label[for="radio-compte"]::before {
    color: #2DD4BF;
}

#radio-compte:checked ~ #tab-compte {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Assurance actif - Teal */
#radio-assurance:checked ~ .dashboard-tabs label[for="radio-assurance"] {
    color: #2DD4BF;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.2) 0%, rgba(45, 212, 191, 0.1) 100%);
    border-color: rgba(45, 212, 191, 0.4);
    box-shadow: 
        0 0 15px rgba(45, 212, 191, 0.2),
        inset 0 1px 0 rgba(45, 212, 191, 0.2);
}

#radio-assurance:checked ~ .dashboard-tabs label[for="radio-assurance"]::before {
    color: #2DD4BF;
}

#radio-assurance:checked ~ #tab-assurance {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Paiement actif - Teal */
#radio-paiement:checked ~ .dashboard-tabs label[for="radio-paiement"] {
    color: #2DD4BF;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.2) 0%, rgba(45, 212, 191, 0.1) 100%);
    border-color: rgba(45, 212, 191, 0.4);
    box-shadow: 
        0 0 15px rgba(45, 212, 191, 0.2),
        inset 0 1px 0 rgba(45, 212, 191, 0.2);
}

#radio-paiement:checked ~ .dashboard-tabs label[for="radio-paiement"]::before {
    color: #2DD4BF;
}

#radio-paiement:checked ~ #tab-paiement {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Abonnement actif - Teal */
#radio-abonnement:checked ~ .dashboard-tabs label[for="radio-abonnement"] {
    color: #2DD4BF;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.2) 0%, rgba(45, 212, 191, 0.1) 100%);
    border-color: rgba(45, 212, 191, 0.4);
    box-shadow: 
        0 0 15px rgba(45, 212, 191, 0.2),
        inset 0 1px 0 rgba(45, 212, 191, 0.2);
}

#radio-abonnement:checked ~ .dashboard-tabs label[for="radio-abonnement"]::before {
    color: #2DD4BF;
}

#radio-abonnement:checked ~ #tab-abonnement {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Icônes SVG visibles quand onglet actif */
#radio-dashboard:checked ~ .dashboard-tabs label[for="radio-dashboard"] svg,
#radio-espace-locatif:checked ~ .dashboard-tabs label[for="radio-espace-locatif"] svg,
#radio-espace-vente:checked ~ .dashboard-tabs label[for="radio-espace-vente"] svg,
#radio-messages:checked ~ .dashboard-tabs label[for="radio-messages"] svg,
#radio-locations:checked ~ .dashboard-tabs label[for="radio-locations"] svg,
#radio-equipements:checked ~ .dashboard-tabs label[for="radio-equipements"] svg,
#radio-adherents:checked ~ .dashboard-tabs label[for="radio-adherents"] svg,
#radio-cahier-sortie:checked ~ .dashboard-tabs label[for="radio-cahier-sortie"] svg,
#radio-carnet-sante:checked ~ .dashboard-tabs label[for="radio-carnet-sante"] svg,
#radio-suivi-reparation:checked ~ .dashboard-tabs label[for="radio-suivi-reparation"] svg,
#radio-parametres:checked ~ .dashboard-tabs label[for="radio-parametres"] svg {
    opacity: 1;
}

/* Style pour le titre de la section disponibilité */
.section-title-dispo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #E5E7EB;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.section-title-dispo svg {
    color: #3B82F6;
}

.dispo-section {
    background: rgba(17, 21, 30, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
}

/* Section Locatif - Style similaire à Assurance */
.locatif-section {
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(127, 168, 255, 0.16);
    border-radius: 20px;
    padding: 1.75rem;
    margin-bottom: 2rem;
}

.locatif-header-card {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(127, 168, 255, 0.12) 0%, rgba(30, 35, 42, 0.8) 100%);
    border-left: 4px solid #22D3EE;
    position: relative;
    overflow: hidden;
}

.locatif-header-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%);
    pointer-events: none;
}

.locatif-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(127, 168, 255, 0.3), rgba(127, 168, 255, 0.15));
    color: #22D3EE;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.25);
    transition: transform 0.3s ease;
}

.locatif-header-card:hover .locatif-header-icon {
    transform: scale(1.05);
}

.locatif-header-info {
    flex: 1;
    min-width: 200px;
}

.locatif-header-info h4 {
    color: #EAECEF;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.locatif-header-info p {
    color: #9CA3AF;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive pour Espace Locatif */
@media (max-width: 768px) {
    .locatif-header-card {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .locatif-header-icon {
        width: 56px;
        height: 56px;
        margin: 0 auto;
    }
    
    .locatif-header-info {
        text-align: center;
    }
    
    .locatif-header-info h4 {
        font-size: 1.1rem;
    }
}

/* ========== ESPACE LOCATIF DASHBOARD ========== */
.locatif-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 1.5rem;
}

.locatif-dashboard-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #EAECEF;
    margin: 0;
    text-align: left;
}

.locatif-dashboard-subtitle {
    color: #9CA3AF;
    font-size: 0.85rem;
    margin: 0.25rem 0 0 0;
    text-align: left;
}

.locatif-dashboard-info {
    text-align: left;
}

.btn-marketplace {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #1A6DFF;
    color: #fff;
    border: 2px solid #1A6DFF;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-marketplace:hover {
    background: transparent;
    color: #1A6DFF;
}

.locatif-dashboard-header .header-right > a.btn-marketplace,
.locatif-dashboard-header .header-right > button.btn-marketplace {
    background: transparent;
    color: #1A6DFF;
    font-family: inherit;
    line-height: inherit;
}

.locatif-dashboard-header .header-right > a.btn-marketplace:hover,
.locatif-dashboard-header .header-right > button.btn-marketplace:hover {
    background: #1A6DFF;
    color: #fff;
}

.adherent-header-btn svg {
    flex-shrink: 0;
}

/* ================================
   Action Cards Espace Locatif - Style harmonisé
   ================================ */
.locatif-action-cards {
    display: flex;
    gap: 16px;
    margin-bottom: 2rem;
}

/* Card réservations - 50% */
.locatif-resa-card {
    flex: 1 !important;
    cursor: default;
}

.locatif-resa-card:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hover sur la flèche - couleur bleue comme le titre */
.locatif-resa-card .equip-card-arrow:hover {
    background: #3b82f6 !important;
}

/* Hover sur la flèche - couleur verte comme le titre Mes ventes */
.vente-resa-card .equip-card-arrow:hover {
    background: #10b981 !important;
}

/* Hover sur la flèche - couleur jaune comme le titre Mettre en vente */
.vente-add-card .equip-card-arrow:hover {
    background: #FBBF24 !important;
}

.locatif-add-card {
    flex: 1 !important;
    cursor: default;
}

.locatif-add-card:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hover sur la flèche - couleur jaune comme le titre */
.locatif-add-card .equip-card-arrow:hover {
    background: #FBBF24 !important;
}

.adherent-add-member-card .equip-card-arrow:hover {
    background: #FBBF24 !important;
}

.adherent-add-team-card .equip-card-arrow:hover {
    background: #A78BFA !important;
}

/* Liste compacte des réservations */
.resa-list-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.resa-item-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(17, 21, 30, 0.03);
    border-radius: 10px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.resa-item-compact:hover {
    background: rgba(17, 21, 30, 0.06);
}

.resa-item-compact.en_cours {
    background: rgba(74, 222, 128, 0.08);
    border-left-color: #4ADE80;
}

.resa-item-compact.a_venir {
    background: rgba(96, 165, 250, 0.08);
    border-left-color: #3b82f6;
}

.resa-item-compact.termine {
    background: rgba(17, 21, 30, 0.03);
    border-left-color: rgba(255, 255, 255, 0.3);
}

/* Point de statut */
.resa-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.resa-dot.en_cours {
    background: #4ADE80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
    animation: pulse-resa 2s infinite;
}

.resa-dot.a_venir {
    background: #3b82f6;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.5);
}

.resa-dot.termine {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes pulse-resa {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Badge type */
.resa-type-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.resa-type-badge.locataire {
    background: rgba(96, 165, 250, 0.2);
    color: #3b82f6;
}

.resa-type-badge.loueur {
    background: rgba(74, 222, 128, 0.2);
    color: #4ADE80;
}

/* Nom équipement */
.resa-equip-name {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    color: #EAECEF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Nom club */
.resa-club-name {
    font-size: 0.75rem;
    color: #fff;
    padding: 2px 8px;
    background: rgba(17, 21, 30, 0.08);
    border-radius: 4px;
    flex-shrink: 0;
}

/* Dates */
.resa-dates {
    font-size: 0.75rem;
    color: #fff;
    flex-shrink: 0;
    font-weight: 600;
}

/* Badge statut (en cours, à venir, terminée) */
.resa-statut-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.resa-statut-badge.en_cours {
    background: rgba(74, 222, 128, 0.2);
    color: #4ADE80;
}

.resa-statut-badge.a_venir {
    background: rgba(96, 165, 250, 0.2);
    color: #3b82f6;
}

.resa-statut-badge.termine {
    background: rgba(17, 21, 30, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Statuts vente */
.resa-item-compact.en_vente {
    background: rgba(16, 185, 129, 0.08);
    border-left-color: #10b981;
}

.resa-item-compact.vendu {
    background: rgba(139, 92, 246, 0.08);
    border-left-color: #8b5cf6;
}

.resa-dot.en_vente {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
    animation: pulse-resa 2s infinite;
}

.resa-dot.vendu {
    background: #7fa8ff;
}

.resa-statut-badge.en_vente {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.resa-statut-badge.vendu {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

/* Prix vente */
.resa-prix {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .locatif-action-cards {
        flex-direction: column;
    }
    
    .locatif-resa-card,
    .locatif-add-card {
        flex: none;
    }
    
    .resa-item-compact {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .resa-equip-name {
        order: 1;
        width: 100%;
        margin-top: 4px;
    }
    
    .resa-dates {
        order: 2;
    }
}

/* Legacy - garder pour compatibilité */
.locatif-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(127, 168, 255, 0.16);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 180px;
    position: relative;
}

.locatif-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Card Mes réservations - Style spécial */
.locatif-reservations-card {
    cursor: default;
    align-items: stretch;
    text-align: left;
    padding: 1.5rem;
    min-height: 220px;
}

.locatif-reservations-card .locatif-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.locatif-reservations-card .locatif-card-icon {
    margin-bottom: 0;
    color: #3b82f6;
}

.locatif-reservations-card .locatif-card-title {
    margin: 0;
    font-size: 1.1rem;
}

.locatif-reservations-empty {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.locatif-reservations-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.locatif-reservation-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(17, 21, 30, 0.04);
    border-radius: 8px;
    font-size: 0.8rem;
    transition: background 0.2s ease;
}

.locatif-reservation-item:hover {
    background: rgba(17, 21, 30, 0.08);
}

.resa-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.resa-badge.locataire {
    background: #dbeafe;
    color: #1d4ed8;
}

.resa-badge.loueur {
    background: #dcfce7;
    color: #15803d;
}

.resa-equip {
    flex: 1;
    font-weight: 500;
    color: #EAECEF;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.resa-date {
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    font-weight: 500;
}

.btn-voir-finances {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
    padding: 14px 24px;
    background: linear-gradient(135deg, #1A6DFF 0%, #0a4bcc 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.35);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-voir-finances::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(17, 21, 30, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-voir-finances:hover::before {
    left: 100%;
}

.btn-voir-finances:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 109, 255, 0.5);
}

.btn-voir-finances svg {
    transition: transform 0.2s ease;
}

.btn-voir-finances:hover svg {
    transform: translateX(5px);
}

.locatif-card-icon {
    color: #EAECEF;
    margin-bottom: 1rem;
}

.locatif-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #EAECEF;
    margin: 0 0 0.5rem 0;
}

.locatif-card-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.locatif-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #22c55e;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Section Vos Annonces */
.locatif-annonces-section {
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.locatif-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #EAECEF;
    margin: 0 0 1.25rem 0;
}

.locatif-no-subscription {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: rgba(17, 21, 30, 0.5);
    border-radius: 12px;
}

.locatif-no-subscription p {
    color: #ef4444;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.locatif-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    text-align: center;
    color: #9CA3AF;
}

.locatif-empty-state svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.locatif-empty-state p {
    margin: 0 0 1rem 0;
}

.btn-add-first {
    padding: 10px 20px;
    background: linear-gradient(135deg, #1A6DFF, #3b82f6);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-add-first:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.4);
}

/* Grid des annonces */
.locatif-annonces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
    padding-top: 8px;
}

.locatif-annonce-card {
    background: rgba(17, 21, 30, 0.6);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.locatif-annonce-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.locatif-annonce-image {
    position: relative;
    height: 140px;
    background: rgba(26, 32, 43, 0.8);
    overflow: hidden;
}

.locatif-annonce-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.locatif-annonce-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #475569;
}

.locatif-annonce-category {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.locatif-annonce-category.bateaux {
    background: rgba(59, 130, 246, 0.9);
    color: #fff;
}

.locatif-annonce-category.ergometres {
    background: rgba(139, 92, 246, 0.9);
    color: #fff;
}

.locatif-annonce-category.accessoires {
    background: rgba(245, 158, 11, 0.9);
    color: #fff;
}

.locatif-annonce-content {
    padding: 1rem;
}

.locatif-annonce-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #EAECEF;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.locatif-annonce-type {
    font-size: 0.8rem;
    color: #9CA3AF;
    margin: 0 0 0.75rem 0;
}

.locatif-annonce-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.locatif-annonce-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #22c55e;
}

.locatif-annonce-dispo {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 6px;
}

.locatif-annonce-dispo.active {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.locatif-annonce-dispo.inactive {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Section Disponibilité cachée */
.locatif-disponibilite-section {
    margin-top: 2rem;
}

.locatif-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.locatif-section-desc {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin: 0 0 1.5rem 0;
}

.btn-close-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(17, 21, 30, 0.05);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    position: relative;
    font-size: 0;
}

.btn-close-section::before,
.btn-close-section::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.btn-close-section::before {
    transform: rotate(45deg);
}

.btn-close-section::after {
    transform: rotate(-45deg);
}

.btn-close-section:hover {
    background: rgba(127, 168, 255, 0.15);
    transform: rotate(270deg);
}

.btn-close-section:hover::before,
.btn-close-section:hover::after {
    background: #7fa8ff;
}

/* Responsive */
@media (max-width: 768px) {
    .locatif-dashboard-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .locatif-dashboard-header .header-left {
        width: 100%;
    }
    
    .locatif-dashboard-header .header-right {
        width: 100%;
        justify-content: center;
    }
    
    .locatif-annonces-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive: Onglets horizontaux sur mobile/tablette */
@media (max-width: 992px) {
    .dashboard-wrapper {
        flex-direction: column;
        padding: 0;
        gap: 1rem;
        min-height: auto;
    }
    
    .dashboard-tabs {
        flex-direction: row;
        position: static;
        width: 100%;
        min-width: auto;
        background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
        border: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        border-radius: 16px 16px 0 0;
        box-shadow: none;
        padding: 0.5rem;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .dashboard-tabs::before {
        display: none;
    }
    
    .tab-content {
        border-radius: 0 0 16px 16px;
    }
    
    .tab-btn {
        border-radius: 10px;
        padding: 10px 14px;
        font-size: 0.8rem;
        flex-shrink: 0;
    }
    
    #radio-dashboard:checked ~ .dashboard-tabs label[for="radio-dashboard"] {
        background: rgba(96, 165, 250, 0.2);
        color: #3b82f6;
        box-shadow: 0 0 10px rgba(96, 165, 250, 0.2);
        border-color: rgba(96, 165, 250, 0.4);
    }
    #radio-espace-locatif:checked ~ .dashboard-tabs label[for="radio-espace-locatif"] {
        background: rgba(26, 109, 255, 0.2);
        color: #1A6DFF;
        box-shadow: 0 0 10px rgba(26, 109, 255, 0.2);
        border-color: rgba(26, 109, 255, 0.4);
    }
    #radio-espace-vente:checked ~ .dashboard-tabs label[for="radio-espace-vente"] {
        background: rgba(127, 168, 255, 0.2);
        color: #7fa8ff;
        box-shadow: 0 0 10px rgba(127, 168, 255, 0.2);
        border-color: rgba(127, 168, 255, 0.4);
    }
    #radio-messages:checked ~ .dashboard-tabs label[for="radio-messages"] {
        background: rgba(167, 139, 250, 0.2);
        color: #A78BFA;
        box-shadow: 0 0 10px rgba(167, 139, 250, 0.2);
        border-color: rgba(167, 139, 250, 0.4);
    }
    #radio-locations:checked ~ .dashboard-tabs label[for="radio-locations"] {
        background: rgba(251, 191, 36, 0.2);
        color: #FBBF24;
        box-shadow: 0 0 10px rgba(251, 191, 36, 0.2);
        border-color: rgba(251, 191, 36, 0.4);
    }
    #radio-equipements:checked ~ .dashboard-tabs label[for="radio-equipements"] {
        background: rgba(16, 185, 129, 0.2);
        color: #34D399;
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
        border-color: rgba(16, 185, 129, 0.4);
    }
    #radio-adherents:checked ~ .dashboard-tabs label[for="radio-adherents"] {
        background: rgba(96, 165, 250, 0.2);
        color: #60A5FA;
        box-shadow: 0 0 10px rgba(96, 165, 250, 0.2);
        border-color: rgba(96, 165, 250, 0.4);
    }
    #radio-cahier-sortie:checked ~ .dashboard-tabs label[for="radio-cahier-sortie"] {
        background: rgba(59, 130, 246, 0.2);
        color: #93C5FD;
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
        border-color: rgba(59, 130, 246, 0.4);
    }
    #radio-carnet-sante:checked ~ .dashboard-tabs label[for="radio-carnet-sante"] {
        background: rgba(132, 204, 22, 0.2);
        color: #84CC16;
        box-shadow: 0 0 10px rgba(132, 204, 22, 0.2);
        border-color: rgba(132, 204, 22, 0.4);
    }
    #radio-suivi-reparation:checked ~ .dashboard-tabs label[for="radio-suivi-reparation"] {
        background: rgba(248, 113, 113, 0.2);
        color: #F87171;
        box-shadow: 0 0 10px rgba(248, 113, 113, 0.2);
        border-color: rgba(248, 113, 113, 0.4);
    }
    #radio-parametres:checked ~ .dashboard-tabs label[for="radio-parametres"] {
        background: rgba(156, 163, 175, 0.2);
        color: #9CA3AF;
        box-shadow: 0 0 10px rgba(156, 163, 175, 0.2);
        border-color: rgba(156, 163, 175, 0.4);
    }
    
    /* Masquer le spacer sur mobile */
    .tab-spacer {
        display: none;
    }
    
    /* Masquer le parent sur mobile - afficher uniquement les enfants */
    .tab-btn.tab-parent {
        display: none;
    }
    
    .tab-btn.tab-child {
        padding: 10px 14px 10px 24px;
        margin-left: 0;
        border-left: none;
    }
}

/* ========== SECTION PROFIL CLUB ========== */
.club-profile-section {
    margin-bottom: 2rem;
}

.club-profile-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    background: rgba(17, 21, 30, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* Decorative blue gradient at left */
.club-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #3B82F6, #1A6DFF);
    border-radius: 16px 0 0 16px;
}

.club-profile-logo {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(59, 130, 246, 0.08);
    border: 2px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: border-color 0.3s ease;
}

.club-profile-logo:hover {
    border-color: rgba(59, 130, 246, 0.6);
}

.club-profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.club-profile-logo .logo-fallback {
    font-size: 1.6rem;
    font-weight: 800;
    color: #3B82F6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.club-profile-details {
    flex: 1;
    min-width: 0;
}

.club-profile-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: #F3F4F6;
    margin: 0 0 0.3rem;
    line-height: 1.3;
}

.club-profile-acronyme {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    letter-spacing: 0.8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.club-profile-divider {
    width: 100%;
    height: 1px;
    background: rgba(59, 130, 246, 0.1);
    margin: 0.25rem 0 0.6rem;
}

.club-profile-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #B0B6C3;
    font-size: 0.88rem;
    padding: 0.2rem 0;
}

.club-profile-info-row svg {
    flex-shrink: 0;
    color: #3B82F6;
    opacity: 0.7;
}

@media (max-width: 640px) {
    .club-profile-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1.25rem;
    }
    .club-profile-card::before {
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        width: auto;
        height: 4px;
        border-radius: 16px 16px 0 0;
    }
    .club-profile-logo {
        width: 72px;
        height: 72px;
    }
    .club-profile-info-row {
        justify-content: center;
    }
    .club-profile-name {
        font-size: 1.15rem;
    }
}

/* ========== DASHBOARD QUICK ACCESS BUTTONS ========== */
/* ========== QUICK ACCESS MODULE ========== */
.dashboard-quick-access-module {
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.dashboard-quick-access-module .dashboard-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #F3F4F6;
    margin: 0 0 1rem 0;
    padding-bottom: 0;
    border-bottom: none;
}

.dashboard-quick-access {
    margin-bottom: 1rem;
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
}

.quick-access-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 1rem;
}

.quick-access-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    flex: 1;
    min-width: 100px;
    height: 110px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.quick-access-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(17, 21, 30, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.quick-access-btn:hover {
    transform: translateY(-2px);
}

.quick-access-btn:active {
    transform: translateY(0);
}

.quick-access-btn svg.quick-access-icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.quick-access-btn:hover svg.quick-access-icon {
    transform: scale(1.05);
}

/* Style unifié pour tous les boutons quick-access - Bleu Tableau de bord */
.quick-access-btn-unified,
.quick-access-gold,
.quick-access-white,
.quick-access-dark,
.quick-access-success,
.quick-access-danger,
.quick-access-warning {
    background: linear-gradient(135deg, rgba(26, 109, 255, 0.15) 0%, rgba(26, 109, 255, 0.08) 100%);
    color: #E2E8F0;
    border: 1px solid rgba(26, 109, 255, 0.3);
    transition: all 0.2s ease;
}

.quick-access-btn-unified svg.quick-access-icon,
.quick-access-gold svg.quick-access-icon,
.quick-access-white svg.quick-access-icon,
.quick-access-dark svg.quick-access-icon,
.quick-access-success svg.quick-access-icon,
.quick-access-danger svg.quick-access-icon,
.quick-access-warning svg.quick-access-icon {
    fill: #1A6DFF;
    stroke: #1A6DFF;
}

.quick-access-btn-unified:hover,
.quick-access-gold:hover,
.quick-access-white:hover,
.quick-access-dark:hover,
.quick-access-success:hover,
.quick-access-danger:hover,
.quick-access-warning:hover {
    background: linear-gradient(135deg, rgba(26, 109, 255, 0.25) 0%, rgba(26, 109, 255, 0.15) 100%);
    border-color: rgba(26, 109, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(26, 109, 255, 0.2);
}

.quick-access-btn-unified:hover svg.quick-access-icon,
.quick-access-gold:hover svg.quick-access-icon,
.quick-access-white:hover svg.quick-access-icon,
.quick-access-dark:hover svg.quick-access-icon,
.quick-access-success:hover svg.quick-access-icon,
.quick-access-danger:hover svg.quick-access-icon,
.quick-access-warning:hover svg.quick-access-icon {
    fill: #FFFFFF;
    stroke: #FFFFFF;
}

/* Flèche d'accès rapide */
.quick-access-arrow {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(17, 21, 30, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quick-access-arrow svg {
    color: rgba(255, 255, 255, 0.6);
    stroke: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
}

.quick-access-btn:hover .quick-access-arrow {
    background: rgba(96, 165, 250, 0.3);
}

.quick-access-btn:hover .quick-access-arrow svg {
    color: #93C5FD;
    stroke: #93C5FD;
}

.quick-access-text {
    font-size: 0.85rem;
    line-height: 1.2;
    font-weight: 600;
}

.quick-access-label {
    font-size: 0.7rem;
    opacity: 0.8;
    line-height: 1.2;
    margin-top: 2px;
    color: rgba(148, 163, 184, 0.9);
}

/* ========== DASHBOARD TWO COLUMNS ========== */
.dashboard-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.dashboard-column {
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    min-height: 280px;
    overflow: visible;
}

.dashboard-column.dashboard-newsletter {
    overflow-x: auto;
    overflow-y: hidden;
}

.dashboard-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #F3F4F6;
    margin: 0 0 1rem 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* ========== MESSAGERIE TABLE ========== */
.messagerie-table-wrapper {
    overflow-x: auto;
}

.messagerie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.messagerie-table thead th {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.messagerie-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background 0.2s ease;
}

.messagerie-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.1);
}

.messagerie-table td {
    padding: 0.85rem 0.75rem;
    color: #E5E7EB;
    vertical-align: middle;
}

.messagerie-logo {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
}

.messagerie-logo img {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.messagerie-logo .logo-fallback-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 8px;
    color: #3b82f6;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.messagerie-nom {
    font-weight: 600;
    color: #F3F4F6;
}

.messagerie-motif {
    color: rgba(255, 255, 255, 0.6);
}

.messagerie-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    white-space: nowrap;
}

.messagerie-statut .statut-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.statut-badge.statut-en_attente {
    background: rgba(251, 191, 36, 0.15);
    color: #FBBF24;
}

.statut-badge.statut-acceptee,
.statut-badge.statut-repondu {
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
}

.statut-badge.statut-validee {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.statut-badge.statut-refusee {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
}

/* ========== NEWSLETTER SECTION ========== */
.newsletter-content {
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 16px;
    margin-bottom: -8px;
    scroll-snap-type: x mandatory;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.4) rgba(255, 255, 255, 0.05);
}

.newsletter-content::-webkit-scrollbar {
    height: 8px;
}

.newsletter-content::-webkit-scrollbar-track {
    background: rgba(17, 21, 30, 0.05);
    border-radius: 4px;
}

.newsletter-content::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.4);
    border-radius: 4px;
}

.newsletter-content::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.6);
}

.newsletter-ad {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(135deg, #1a202b, #11151e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.newsletter-ad img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.newsletter-placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    text-align: center;
    padding: 2rem;
}

/* Newsletter Items (dynamic) */
.newsletter-item {
    background: linear-gradient(135deg, #1a202b, #11151e);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.2s ease;
    position: relative;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.newsletter-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.newsletter-image-container {
    width: 100%;
    max-height: 140px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.newsletter-img {
    width: 100%;
    height: 100%;
    max-height: 140px;
    object-fit: cover;
}

.newsletter-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsletter-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.newsletter-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newsletter-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #3B82F6;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    margin-top: 4px;
    transition: color 0.2s ease;
}

.newsletter-link:hover {
    color: #3b82f6;
}

.newsletter-date {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 10px;
}

/* Single newsletter - fits exactly without scroll */
.newsletter-content.single-newsletter {
    overflow: hidden;
}

.newsletter-item.newsletter-full {
    height: 90%;
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    min-width: 100%;
    max-width: 100%;
    margin-top: 5px;
}

.newsletter-item.newsletter-full .newsletter-image-container {
    flex: 0 0 auto;
    height: auto;
    max-height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-item.newsletter-full .newsletter-img {
    height: auto;
    max-height: 260px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.newsletter-item.newsletter-full .newsletter-body {
    flex: 0 0 auto;
}

.newsletter-item.newsletter-full .newsletter-text {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Dashboard */
@media (max-width: 900px) {
    .quick-access-grid {
        grid-template-columns: repeat(3, 110px);
    }
    
    .quick-access-btn {
        padding: 1rem 0.5rem;
        min-height: 100px;
    }
    
    .dashboard-two-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .quick-access-grid {
        grid-template-columns: repeat(2, 100px);
        gap: 1rem;
    }
    
    .quick-access-btn {
        padding: 0.85rem 0.5rem;
        font-size: 0.8rem;
        min-height: 90px;
    }
    
    .quick-access-text {
        font-size: 0.75rem;
    }
    
    .messagerie-table {
        font-size: 0.8rem;
    }
    
    .messagerie-table td {
        padding: 0.65rem 0.5rem;
    }
}

/* ========== CLUB INFO ========== */
.club-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}
.club-logo1 {
    width: 80px;
    border-radius: 50%;
}
.club-details p {
    margin: 0.2rem 0;
}

/* =============================
   QUICK STATS CARDS - PREMIUM
============================= */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 0 0.25rem;
}

.stat-card {
    background: linear-gradient(145deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color, #1A6DFF), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(17, 21, 30, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(26, 109, 255, 0.4);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(26, 109, 255, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stat-icon.boats {
    background: linear-gradient(135deg, rgba(26, 109, 255, 0.4), rgba(26, 109, 255, 0.15));
    color: #1A6DFF;
    --accent-color: #1A6DFF;
}

.stat-icon.locations {
    background: linear-gradient(135deg, rgba(127, 168, 255, 0.4), rgba(127, 168, 255, 0.15));
    color: #7fa8ff;
}

.stat-card:has(.stat-icon.locations) {
    --accent-color: #7fa8ff;
}

.stat-card:has(.stat-icon.locations):hover {
    border-color: rgba(127, 168, 255, 0.4);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(127, 168, 255, 0.15);
}

.stat-icon.revenus {
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.4), rgba(46, 213, 115, 0.15));
    color: #2ed573;
}

.stat-card:has(.stat-icon.revenus) {
    --accent-color: #2ed573;
}

.stat-card:has(.stat-icon.revenus):hover {
    border-color: rgba(46, 213, 115, 0.4);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(46, 213, 115, 0.15);
}

.stat-icon.messages {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.4), rgba(155, 89, 182, 0.15));
    color: #9b59b6;
}

.stat-card:has(.stat-icon.messages) {
    --accent-color: #9b59b6;
}

.stat-card:has(.stat-icon.messages):hover {
    border-color: rgba(155, 89, 182, 0.4);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(155, 89, 182, 0.15);
}

.stat-info {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
    font-weight: 500;
}

/* Variantes */
.stat-card.revenus .stat-value {
    color: #2ed573;
}

/* =============================
   DASHBOARD SECTION HEADERS
============================= */
.dashboard-section-header {
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.dashboard-section-header:first-child {
    margin-top: 0;
}

.section-title-dashboard {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    padding-left: 0.25rem;
}

.section-title-dashboard svg {
    stroke: #ffffff;
    opacity: 0.9;
}

/* =============================
   QUICK ACTIONS BAR
============================= */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(17, 21, 30, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
}

.quick-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: linear-gradient(135deg, rgba(26, 109, 255, 0.2), rgba(26, 109, 255, 0.05));
    border: 1px solid rgba(26, 109, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.quick-action-btn:hover {
    background: linear-gradient(135deg, rgba(26, 109, 255, 0.4), rgba(26, 109, 255, 0.15));
    border-color: rgba(26, 109, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.25);
}

.quick-action-btn svg {
    stroke: #1A6DFF;
}

/* Bouton primaire (doré) */
.quick-action-btn.primary {
    background: linear-gradient(135deg, rgba(127, 168, 255, 0.3), rgba(127, 168, 255, 0.1));
    border-color: rgba(127, 168, 255, 0.5);
}

.quick-action-btn.primary:hover {
    background: linear-gradient(135deg, rgba(127, 168, 255, 0.5), rgba(127, 168, 255, 0.2));
    border-color: rgba(127, 168, 255, 0.8);
    box-shadow: 0 4px 15px rgba(127, 168, 255, 0.3);
}

.quick-action-btn.primary svg {
    stroke: #7fa8ff;
}

/* Badge dans les actions rapides */
.action-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: rgba(26, 109, 255, 0.3);
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1A6DFF;
}

/* Avertissement assurance dans les actions rapides */
.quick-actions-warning {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 8px;
    color: #fbbf24;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.quick-actions-warning svg {
    stroke: #f59e0b;
    flex-shrink: 0;
}

.quick-actions-warning .link-assurance {
    color: #fbbf24;
    text-decoration: underline;
    font-weight: 500;
}

.quick-actions-warning .link-assurance:hover {
    color: #fcd34d;
}

/* Bouton désactivé (nécessite assurance) */
.quick-action-btn.disabled-action {
    opacity: 0.6;
    background: linear-gradient(135deg, rgba(100, 100, 100, 0.2), rgba(100, 100, 100, 0.05));
    border-color: rgba(150, 150, 150, 0.3);
}

.quick-action-btn.disabled-action:hover {
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.quick-action-btn.disabled-action svg {
    stroke: #888;
}

/* Icône de verrouillage */
.action-lock {
    font-size: 0.8rem;
    margin-left: 4px;
}

/* =============================
   ACCORDION SECTIONS - PREMIUM
============================= */
.accordion-section {
    background: linear-gradient(145deg, rgba(17, 21, 30, 0.85), rgba(26, 32, 43, 0.85));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.accordion-section:hover {
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.accordion-section.open {
    box-shadow: 0 12px 40px rgba(26, 109, 255, 0.15);
    border-color: rgba(26, 109, 255, 0.3);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.accordion-header:hover {
    background: rgba(17, 21, 30, 0.04);
}

.accordion-icon {
    font-size: 1.3rem;
    width: 32px;
    text-align: center;
    transition: transform 0.3s ease;
}

.accordion-section.open .accordion-icon {
    transform: scale(1.1);
}

.accordion-title {
    flex: 1;
    letter-spacing: 0.3px;
}

.accordion-badge {
    background: linear-gradient(135deg, #1A6DFF, #0a4bcc);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    min-width: 28px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(26, 109, 255, 0.3);
}

.accordion-arrow {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
}

/* État ouvert */
.accordion-section.open .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-section.open .accordion-header {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Contenu accordéon */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1.5rem;
}

.accordion-section.open .accordion-content {
    max-height: 3000px; /* Grande valeur pour le contenu */
    padding: 1.5rem;
}

/* Style spécifique pour les sections dans accordéon */
.accordion-section .add-boat,
.accordion-section .boat-list,
.accordion-section .add-location {
    background: transparent;
    border-radius: 0;
    border: none;
    margin: 0;
}

/* ========== FORMULAIRE AJOUT BATEAU ========== */
.add-boat h2 {
    text-align: center;
    margin-bottom: 1rem;
}
.form-add-boat {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto 2rem auto;
}
.form-add-boat input {
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(17, 21, 30, 0.1);
    color: #fff;
}
.form-add-boat input:focus {
    outline: none;
    border-color: #1A6DFF;
    background: rgba(17, 21, 30, 0.15);
}
.btn-submit {
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(17, 21, 30, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ========== LISTE DES BATEAUX ========== */
.boat-list h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Cartes bateaux dashboard */
.boat-card-dash {
    background: rgba(17, 21, 30, 0.95);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.boat-card-dash:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    border-color: rgba(26, 109, 255, 0.3);
}

.boat-image-dash {
    height: 180px;
    position: relative;
    background: linear-gradient(135deg, #1e3a5f 0%, #0d1b2a 100%);
}

.boat-gallery {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-img.active {
    opacity: 1;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.boat-card-dash:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav.prev { left: 8px; }
.gallery-nav.next { right: 8px; }

.gallery-nav:hover {
    background: rgba(26, 109, 255, 0.8);
}

.gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.2s ease;
}

.dot.active, .dot:hover {
    background: #fff;
    transform: scale(1.2);
}

.boat-placeholder-dash {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
}

.boat-placeholder-dash svg {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
}

.badge-pelles {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(46, 204, 113, 0.9);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.boat-info-dash {
    padding: 16px;
}

.boat-header-dash {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.boat-header-dash h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.boat-type-badge {
    background: linear-gradient(135deg, #1A6DFF, #0d4fd8);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.boat-description {
    font-size: 0.85rem;
    color: #9CA3AF;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.boat-specs-dash {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.boat-specs-dash .spec {
    font-size: 0.8rem;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(17, 21, 30, 0.05);
    padding: 4px 8px;
    border-radius: 6px;
}

.boat-specs-dash .spec svg {
    flex-shrink: 0;
}

.boat-specs-dash .spec-category {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.boat-specs-dash .spec-public {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.boat-footer-dash {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.boat-price-dash {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
}

.boat-actions {
    display: flex;
    gap: 8px;
}

.boat-actions button {
    background: rgba(17, 21, 30, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.boat-actions .btn-edit:hover {
    background: rgba(26, 109, 255, 0.3);
}

.boat-actions .btn-delete:hover {
    background: rgba(239, 68, 68, 0.3);
}

/* Bouton suppression amélioré */
.btn-delete-boat {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
}

.btn-delete-boat:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
    transform: scale(1.05);
}

.btn-delete-boat svg {
    stroke: #ef4444;
}

/* Grille bateaux dashboard améliorée */
.boats-grid-dash {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 20px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
    padding-top: 8px;
}

/* Scrollbar personnalisée pour la grille des bateaux */
.boats-grid-dash::-webkit-scrollbar {
    width: 8px;
}

.boats-grid-dash::-webkit-scrollbar-track {
    background: rgba(17, 21, 30, 0.05);
    border-radius: 4px;
}

.boats-grid-dash::-webkit-scrollbar-thumb {
    background: rgba(17, 21, 30, 0.2);
    border-radius: 4px;
}

.boats-grid-dash::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Compteur de bateaux */
.boat-count {
    font-size: 0.9rem;
    font-weight: 400;
    color: #6B7280;
}

/* =============================
   ÉQUIPEMENTS DASHBOARD - Nouveau système unifié
============================= */

/* Onglets catégorie */
.equipement-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.25rem;
}

.locatif-category-tabs {
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(17, 21, 30, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-tab:hover {
    background: rgba(17, 21, 30, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

.category-tab.active {
    background: linear-gradient(135deg, #1A6DFF, #3b82f6);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(26, 109, 255, 0.3);
}

.category-tab .tab-count {
    background: rgba(0, 0, 0, 0.15);
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.75rem;
}

.category-tab.active .tab-count {
    background: rgba(17, 21, 30, 0.2);
}

/* Grille des équipements */
.equipements-grid-dash {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    max-height: 650px;
    overflow-y: auto;
    padding-right: 10px;
    padding-top: 8px;
}

.equipements-grid-dash::-webkit-scrollbar {
    width: 8px;
}

.equipements-grid-dash::-webkit-scrollbar-track {
    background: rgba(17, 21, 30, 0.05);
    border-radius: 4px;
}

.equipements-grid-dash::-webkit-scrollbar-thumb {
    background: rgba(17, 21, 30, 0.2);
    border-radius: 4px;
}

.equipements-grid-dash::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Carte équipement */
.equipement-card-dash {
    background: rgba(17, 21, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.equipement-card-dash:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Image équipement */
.equipement-image-dash {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: rgba(26, 32, 43, 0.8);
}

.equipement-gallery {
    position: relative;
    height: 100%;
    width: 100%;
}

.equipement-gallery .gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.equipement-gallery .gallery-img.active {
    opacity: 1;
}

.equipement-gallery .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.equipement-gallery .gallery-nav.prev { left: 8px; }
.equipement-gallery .gallery-nav.next { right: 8px; }

.equipement-card-dash:hover .gallery-nav {
    opacity: 1;
}

.equipement-gallery .gallery-nav:hover {
    background: linear-gradient(135deg, #1a6dff, #00d4ff);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.4);
}

.equipement-gallery .gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

/* Indicateurs de pagination (dots) */
.gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 12px;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.gallery-dot.active {
    background: linear-gradient(135deg, #1a6dff, #00d4ff);
    width: 20px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(26, 109, 255, 0.5);
}

/* Placeholder équipement */
.equipement-placeholder-dash {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    gap: 10px;
}

.equipement-placeholder-dash svg {
    opacity: 0.4;
}

.equipement-placeholder-dash span {
    font-size: 0.85rem;
}

/* Badge catégorie */
.badge-categorie {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

.badge-bateaux {
    background: linear-gradient(135deg, #1A6DFF, #3B82F6);
    color: white;
}

.badge-ergometres {
    background: linear-gradient(135deg, #F97316, #FB923C);
    color: white;
}

.badge-accessoires {
    background: linear-gradient(135deg, #7fa8ff, #A78BFA);
    color: white;
}

.badge-pelles {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(127, 168, 255, 0.9);
    color: #1a1d24;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 5;
}

/* Contenu carte équipement (style Espace Locatif) */
.equipement-content-dash {
    padding: 1rem;
}

.equipement-name-dash {
    font-size: 1rem;
    font-weight: 600;
    color: #EAECEF;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.equipement-meta-dash {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0.75rem;
}

.equipement-meta-dash span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.equipement-meta-dash .meta-type {
    color: #3B82F6;
}

.equipement-meta-dash .meta-marque {
    color: #F59E0B;
}

.equipement-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    margin: 0 0 0.75rem 0;
}

.equipement-footer-dash {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.equip-spec-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 500;
    background: rgba(17, 21, 30, 0.08);
    color: rgba(255, 255, 255, 0.6);
}

.equipement-etat-dash {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.equipement-etat-dash.etat-neuf {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
}

.equipement-etat-dash.etat-excellent {
    background: rgba(59, 130, 246, 0.15);
    color: #3B82F6;
}

.equipement-etat-dash.etat-bon {
    background: rgba(127, 168, 255, 0.15);
    color: #22D3EE;
}

.equipement-etat-dash.etat-correct {
    background: rgba(251, 191, 36, 0.15);
    color: #FBBF24;
}

.equipement-etat-dash.etat-usage {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
}

/* Badge disponibilité pour annonces locatif */
.equipement-dispo-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
}

.equipement-dispo-badge.active {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
}

.equipement-actions-dash {
    display: flex;
    gap: 8px;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-edit-equip,
.btn-delete-equip,
.btn-edit-annonce,
.btn-delete-annonce {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-edit-equip,
.btn-edit-annonce {
    background: rgba(59, 130, 246, 0.15);
    color: #3B82F6;
}

.btn-edit-equip:hover,
.btn-edit-annonce:hover {
    background: rgba(59, 130, 246, 0.25);
}

.btn-delete-equip,
.btn-delete-annonce {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
}

.btn-delete-equip:hover,
.btn-delete-annonce:hover {
    background: rgba(239, 68, 68, 0.25);
}

/* No image placeholder */
.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.4);
    gap: 8px;
}

.no-image-placeholder span {
    font-size: 0.75rem;
}

/* Badge catégorie sur image */
.equipement-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

.equipement-category-badge.cat-bateaux {
    background: linear-gradient(135deg, #1A6DFF, #3B82F6);
    color: white;
}

.equipement-category-badge.cat-ergometres {
    background: linear-gradient(135deg, #F97316, #FB923C);
    color: white;
}

.equipement-category-badge.cat-accessoires {
    background: linear-gradient(135deg, #7fa8ff, #A78BFA);
    color: white;
}

/* Badge équipement acheté */
.equipement-achete-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    background: linear-gradient(135deg, #22c55e, #4ade80);
    color: white;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 4px;
}

.equipement-achete-badge svg {
    flex-shrink: 0;
}

/* Carte équipement acheté */
.equipement-card-dash.equipement-achete {
    border: 2px solid rgba(34, 197, 94, 0.3);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(255, 255, 255, 0));
}

.equipement-card-dash.equipement-achete:hover {
    border-color: rgba(34, 197, 94, 0.5);
}

/* Texte info équipement acheté */
.achete-info-text {
    font-size: 0.75rem;
    color: #9CA3AF;
    font-style: italic;
    text-align: center;
    padding: 8px;
}

.equipement-actions-disabled {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Info équipement */
.equipement-info-dash {
    padding: 18px;
}

.equipement-header-dash {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.equipement-header-dash h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.equipement-type-badge {
    background: rgba(17, 21, 30, 0.1);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.equipement-marque {
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-weight: 500;
    margin-bottom: 8px;
}

.equipement-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 12px;
}

/* Specs équipement */
.equipement-specs-dash {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.equipement-specs-dash .spec {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(17, 21, 30, 0.05);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.equipement-specs-dash .spec svg {
    opacity: 0.7;
}

.equipement-specs-dash .spec-etat {
    font-weight: 500;
}

.equipement-specs-dash .spec-etat-neuf {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.equipement-specs-dash .spec-etat-excellent {
    background: rgba(16, 185, 129, 0.1);
    color: #34D399;
}

.equipement-specs-dash .spec-etat-bon {
    background: rgba(59, 130, 246, 0.15);
    color: var(--info);
}

.equipement-specs-dash .spec-etat-correct {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.equipement-specs-dash .spec-etat-usé,
.equipement-specs-dash .spec-etat-use {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

/* Badges catégorie d'usage et public cible */
.equipement-specs-dash .spec-usage {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(168, 85, 247, 0.15));
    color: #A78BFA;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.equipement-specs-dash .spec-public {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(127, 168, 255, 0.15));
    color: #22D3EE;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

/* Footer équipement */
.equipement-footer-dash {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.equipement-price-dash {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
}

.equipement-price-dash small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
}

.equipement-actions {
    display: flex;
    gap: 8px;
}

.btn-edit-equipement,
.btn-delete-equipement {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-edit-equipement {
    background: rgba(59, 130, 246, 0.15);
    color: var(--info);
}

.btn-edit-equipement:hover {
    background: rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

.btn-delete-equipement {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.btn-delete-equipement:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: scale(1.05);
}

/* Accordion header featured pour équipements */
.accordion-header-featured {
    background: linear-gradient(135deg, rgba(26, 109, 255, 0.1), rgba(59, 130, 246, 0.05)) !important;
    border: 1px solid rgba(26, 109, 255, 0.2) !important;
}

.accordion-header-featured:hover {
    background: linear-gradient(135deg, rgba(26, 109, 255, 0.15), rgba(59, 130, 246, 0.1)) !important;
}

/* Responsive équipements */
@media (max-width: 768px) {
    .equipement-category-tabs {
        justify-content: center;
    }
    
    .equipements-grid-dash {
        grid-template-columns: 1fr;
    }
    
    .equipement-image-dash {
        height: 180px;
    }
}

/* Specs avec icônes SVG */
.boat-specs-dash .spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #9CA3AF;
}

.boat-specs-dash .spec svg {
    stroke: #6B7280;
    flex-shrink: 0;
}

/* Prix avec unité plus petite */
.boat-price-dash small {
    font-size: 0.75rem;
    font-weight: 400;
    color: #9CA3AF;
}

.no-boat-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    background: rgba(17, 21, 30, 0.03);
    border-radius: 12px;
    border: 1px dashed rgba(255,255,255,0.1);
}

.no-boat-message svg {
    width: 60px;
    height: 60px;
    color: #4B5563;
    margin-bottom: 16px;
}

.no-boat-message p {
    font-size: 1.1rem;
    color: #E5E7EB;
    margin-bottom: 4px;
}

.no-boat-message span {
    font-size: 0.9rem;
    color: #6B7280;
}

/* ========== FORMULAIRE AMÉLIORÉ ========== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.file-upload-wrapper {
    position: relative;
}

.file-input {
    padding: 12px !important;
}

.file-upload-info {
    font-size: 0.75rem;
    color: #6B7280;
    margin-top: 6px;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 6px;
    font-size: 0.65rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkbox-group {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #E5E7EB;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-label .checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: rgba(17, 21, 30, 0.05);
}

.checkbox-label:hover .checkmark {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(17, 21, 30, 0.1);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #1A6DFF;
    border-color: #1A6DFF;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

/* ========== NOTIFICATIONS ========== */
.notification {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    padding: 16px 24px;
    border-radius: 10px;
    font-weight: 500;
    z-index: 2147483647 !important; /* Maximum z-index value pour être toujours au-dessus */
    transform: translateX(120%);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    isolation: isolate; /* Crée un nouveau stacking context */
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #fff;
}

.notification.error {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) {
    .boats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .boats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Responsive pour la modale */
@media (max-width: 640px) {
    .connexion-modal-wrapper {
        padding: 1.5rem;
    }
    
    .form-section-title {
        font-size: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
}

/* =============================
   UTILITAIRES
============================= */

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 0.5rem;
}

/* Scrollbar personnalisée - Premium */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(17, 21, 30, 0.03);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(17, 21, 30, 0.2), rgba(17, 21, 30, 0.1));
    border-radius: 6px;
    border: 3px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(26, 109, 255, 0.5), rgba(26, 109, 255, 0.3));
    background-clip: padding-box;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* =============================
   CALENDRIER DISPONIBILITÉS
============================= */

.section-description {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.calendar-container {
    background: rgba(26, 32, 43, 0.95);
    border-radius: 14px;
    padding: 25px 20px;
    margin: 20px auto;
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 800px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.calendar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.calendar-nav-btn {
    background: rgba(17, 21, 30, 0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.calendar-nav-btn:hover {
    background: rgba(26, 109, 255, 0.3);
}

.calendar-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: nowrap;
    align-items: center;
}

.btn-calendar-action {
    background: rgba(17, 21, 30, 0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #E5E7EB;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-calendar-action:hover {
    background: rgba(26, 109, 255, 0.2);
    border-color: rgba(26, 109, 255, 0.4);
}

.btn-calendar-action.active {
    background: rgba(26, 109, 255, 0.3);
    border-color: #1A6DFF;
}

.btn-calendar-action.btn-clear {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.btn-calendar-action.btn-clear:hover {
    background: rgba(239, 68, 68, 0.25);
}

.calendar-hint {
    background: rgba(26, 109, 255, 0.1);
    border: 1px solid rgba(26, 109, 255, 0.2);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: #93C5FD;
    margin-left: auto;
}

.calendar-hint strong {
    color: #3b82f6;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 8px;
}

.calendar-weekdays span {
    color: #6B7280;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 14px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #E5E7EB;
    cursor: pointer;
    transition: all 0.15s ease;
    background: rgba(17, 21, 30, 0.03);
    border: 1px solid rgba(255,255,255,0.08);
    aspect-ratio: 1;
    min-height: 50px;
    max-height: 70px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.calendar-day:not(.empty):not(.past):hover {
    background: rgba(26, 109, 255, 0.2);
    border-color: rgba(26, 109, 255, 0.4);
}

.calendar-day.empty {
    cursor: default;
    background: transparent;
}

.calendar-day.past {
    color: #4B5563;
    cursor: not-allowed;
    background: transparent;
}

.calendar-day.weekend {
    color: #9CA3AF;
}

.calendar-day.selected {
    background: linear-gradient(135deg, #1A6DFF, #0E1116);
    color: #fff;
    font-weight: 700;
    transform: scale(1.02);
    z-index: 10;
}

.calendar-day.selected:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #1A6DFF 100%);
}

/* Dates réservées par d'autres clubs - non modifiables */
.calendar-day.reserved {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.4), rgba(185, 28, 28, 0.3)) !important;
    color: #fff !important;
    border: 1px solid rgba(239, 68, 68, 0.6) !important;
    cursor: not-allowed !important;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 2px;
}

.calendar-day.reserved .day-number {
    font-weight: 700;
    font-size: 0.95em;
    line-height: 1;
}

.calendar-day.reserved .reserved-badge {
    font-size: 0.6em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: rgba(239, 68, 68, 0.8);
    padding: 2px 5px;
    border-radius: 3px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin-top: 2px;
}

/* Badge partiellement réservé - orange */
.calendar-day.reserved .reserved-badge.partial {
    background: rgba(245, 158, 11, 0.9);
    color: #fff;
}

/* Jour partiellement réservé - encore disponible, cliquable */
.calendar-day.partial {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.35), rgba(217, 119, 6, 0.25)) !important;
    color: #fff !important;
    border: 1px solid rgba(245, 158, 11, 0.6) !important;
    cursor: pointer !important;
    position: relative;
}

.calendar-day.partial .reserved-badge {
    background: rgba(245, 158, 11, 0.9);
}

.calendar-day.partial:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.5), rgba(217, 119, 6, 0.4)) !important;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.calendar-day.partial.selected {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.6), rgba(245, 158, 11, 0.4)) !important;
    border-color: #3b82f6 !important;
}

/* Jour épuisé - stock complètement réservé, non cliquable */
.calendar-day.exhausted {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.5), rgba(185, 28, 28, 0.4)) !important;
    color: #fff !important;
    border: 1px solid rgba(220, 38, 38, 0.7) !important;
    cursor: not-allowed !important;
}

.calendar-day.exhausted .reserved-badge {
    background: rgba(220, 38, 38, 0.95);
}

.calendar-day.exhausted:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.6), rgba(185, 28, 28, 0.5)) !important;
}

/* Badge épuisé - rouge foncé */
.calendar-day.reserved .reserved-badge.exhausted {
    background: rgba(220, 38, 38, 0.95);
    color: #fff;
}

/* Tooltip personnalisé au survol */
.calendar-day .day-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1a202b, #0f172a);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 8px;
    padding: 10px 14px;
    min-width: 140px;
    max-width: 200px;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.calendar-day .day-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #1e293b;
}

.calendar-day.reserved {
    position: relative;
}

.calendar-day.reserved:hover .day-tooltip {
    display: block;
    animation: tooltipFadeIn 0.2s ease;
}

@keyframes tooltipFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(5px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.day-tooltip .tooltip-title {
    font-size: 0.75em;
    font-weight: 700;
    color: #a5b4fc;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.day-tooltip .tooltip-details {
    font-size: 0.85em;
    color: #e2e8f0;
    line-height: 1.4;
    margin-bottom: 6px;
    white-space: nowrap;
}

.day-tooltip .tooltip-reste {
    font-size: 0.75em;
    font-weight: 600;
    color: #4ade80;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.day-tooltip .tooltip-reste.exhausted {
    color: #f87171;
}

.calendar-day.reserved:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.5), rgba(185, 28, 28, 0.4)) !important;
}

/* Jour validé (accepté) - Location confirmée */
.rental-day-accepted {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.85), rgba(185, 28, 28, 0.75)) !important;
    color: #fff !important;
    border: 1px solid rgba(239, 68, 68, 0.6) !important;
    font-weight: 600 !important;
    font-size: 0.85em;
    border-radius: 10px;
    cursor: not-allowed;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    position: relative;
}
.rental-day-accepted .day-number {
    font-weight: 700;
    font-size: 1em;
}
.rental-day-accepted .reserved-label {
    font-size: 0.6em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-top: 2px;
}

/* Jour partiellement réservé - Stock partiel disponible */
.rental-day-partial {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.2)) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    font-weight: 600 !important;
    font-size: 0.85em;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
    position: relative;
    transition: all 0.2s ease;
}
.rental-day-partial:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.35), rgba(217, 119, 6, 0.3)) !important;
    transform: scale(1.05);
}
.rental-day-partial .day-number {
    font-weight: 700;
    font-size: 1em;
    color: #fff;
}

/* Labels de quantité dans le calendrier */
.qty-label {
    font-size: 0.65em;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-top: 4px;
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 6px;
    border-radius: 6px;
    color: #fff;
    white-space: nowrap;
}
.qty-label-full {
    font-size: 0.65em;
    font-weight: 600;
    margin-top: 4px;
    background: rgba(74, 222, 128, 0.25);
    padding: 2px 6px;
    border-radius: 6px;
    color: #4ade80;
    white-space: nowrap;
}
.rental-day-available .qty-label,
.rental-day-available .qty-label-full {
    color: #4ade80;
}
.rental-day-selected .qty-label,
.rental-day-selected .qty-label-full {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.rental-day-partial .qty-label {
    background: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

/* Forcer le layout en colonne pour afficher la quantité sous le jour */
.rental-day-available,
.rental-day-selected,
.rental-day-partial {
    flex-direction: column !important;
}

.rental-day-available .day-number,
.rental-day-selected .day-number,
.rental-day-partial .day-number {
    font-size: 1.1em;
    font-weight: 700;
    line-height: 1;
}

/* ============================================
   ONGLET LOCATIONS - Tableau de bord financier
============================================ */

/* === Section Finance Dashboard === */
.finance-dashboard {
    background: linear-gradient(135deg, rgba(26, 32, 43, 0.8), rgba(17, 21, 30, 0.9));
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.finance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.finance-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
    border: none;
}

.finance-title svg {
    color: var(--gold);
}

/* Ligne de filtres globaux */
.finance-filters-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 1rem;
}

/* Actions financières avec filtre dates */
.finance-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

.date-filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem;
    background: rgba(17, 21, 30, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.date-filter-group label {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.date-filter-group label svg {
    stroke: var(--gold);
}

/* Groupe de filtres par catégorie */
.category-filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: transparent;
    border-radius: 10px;
    border: none;
}

.category-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.category-checkbox input[type="checkbox"] {
    display: none;
}

.category-checkbox .checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(17, 21, 30, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.category-checkbox .checkbox-label:hover {
    background: rgba(17, 21, 30, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.category-checkbox input[type="checkbox"]:checked + .checkbox-label {
    color: #fff;
    background: rgba(17, 21, 30, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.category-checkbox .checkbox-label.bateaux {
    border-color: rgba(59, 130, 246, 0.4);
}
.category-checkbox .checkbox-label.bateaux:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
}
.category-checkbox input[type="checkbox"]:checked + .checkbox-label.bateaux {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.6);
    color: #3b82f6;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.category-checkbox .checkbox-label.ergometres {
    border-color: rgba(239, 68, 68, 0.4);
}
.category-checkbox .checkbox-label.ergometres:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.5);
}
.category-checkbox input[type="checkbox"]:checked + .checkbox-label.ergometres {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.6);
    color: #f87171;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
}

.category-checkbox .checkbox-label.accessoires {
    border-color: rgba(34, 197, 94, 0.4);
}
.category-checkbox .checkbox-label.accessoires:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.5);
}
.category-checkbox input[type="checkbox"]:checked + .checkbox-label.accessoires {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.6);
    color: #4ade80;
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.3);
}

/* Groupe d'actions */
.filter-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-date-input {
    padding: 0.4rem 0.6rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #fff;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-date-input:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
}

.filter-date-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(127, 168, 255, 0.2);
}

.filter-date-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.7;
    cursor: pointer;
}

.filter-date-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.btn-reset-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 8px;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-reset-filter:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.6);
    transform: rotate(-180deg) scale(1.05);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-reset-filter svg {
    stroke: #ef4444;
}

/* Bouton Export CSV */
.btn-export-csv {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.2), rgba(74, 222, 128, 0.08));
    border: 1px solid rgba(74, 222, 128, 0.5);
    border-radius: 8px;
    color: #4ade80;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.btn-export-csv:hover {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.35), rgba(74, 222, 128, 0.15));
    border-color: rgba(74, 222, 128, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.3);
}

.btn-export-csv:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(74, 222, 128, 0.2);
}

.btn-export-csv svg {
    stroke: #4ade80;
}

/* === Tableau de bord financier harmonisé === */

/* Toggle Location / Vente */
.finance-mode-toggle {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.5rem;
    width: fit-content;
}

.finance-mode-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.finance-mode-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(17, 21, 30, 0.05);
}

.finance-mode-btn.active {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: #fff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.finance-mode-btn.active[data-mode="vente"] {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.finance-mode-btn svg {
    width: 18px;
    height: 18px;
}

.finance-mode-badge {
    background: rgba(17, 21, 30, 0.15);
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.finance-mode-btn.active .finance-mode-badge {
    background: rgba(255, 255, 255, 0.25);
}

/* Sections mode finance */
.finance-mode-section {
    display: none;
}

.finance-mode-section.active {
    display: block;
}

.finance-filters-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    white-space: nowrap;
    margin-right: 0.25rem;
}

.finance-filters-label svg {
    opacity: 1;
}

.finance-filters-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    background: transparent;
    border-radius: 12px;
    border: none;
    flex-wrap: wrap;
}

.finance-filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.finance-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: rgba(17, 21, 30, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.finance-pill:hover {
    background: rgba(17, 21, 30, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-1px);
}

.finance-pill.active {
    background: linear-gradient(135deg, #2575f0, #7fa8ff);
    border-color: #6366f1;
    color: #fff;
}

.finance-pill.active:hover {
    background: linear-gradient(135deg, #7c7ff7, #9d78f7);
    transform: translateY(-1px);
}

.finance-pill.bateaux.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: #3b82f6;
}

.finance-pill.bateaux:hover:not(.active) {
    border-color: rgba(59, 130, 246, 0.5);
    color: #3b82f6;
}

.finance-pill.bateaux.active:hover {
    background: linear-gradient(135deg, #3b82f6, #3b82f6);
}

.finance-pill.ergometres.active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: #f59e0b;
}

.finance-pill.ergometres:hover:not(.active) {
    border-color: rgba(245, 158, 11, 0.5);
    color: #f59e0b;
}

.finance-pill.ergometres.active:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.finance-pill.accessoires.active {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
}

.finance-pill.accessoires:hover:not(.active) {
    border-color: rgba(16, 185, 129, 0.5);
    color: #10b981;
}

.finance-pill.accessoires.active:hover {
    background: linear-gradient(135deg, #34d399, #10b981);
}

.finance-date-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.finance-date-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.finance-date-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.finance-date-input {
    padding: 6px 10px;
    background: rgba(17, 21, 30, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.82rem;
    cursor: pointer;
}

.finance-date-input:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(37, 117, 240, 0.1);
}

.finance-date-arrow {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.finance-reset-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(17, 21, 30, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

.finance-reset-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

@media (max-width: 768px) {
    .finance-filters-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .finance-filter-separator {
        display: none;
    }
    
    .finance-date-filters {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }
    
    .finance-filter-pills {
        width: 100%;
    }
}

.finance-action-cards {
    margin-bottom: 2rem;
}

.finance-action-cards .equip-card {
    position: relative;
}

.finance-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.finance-card-icon.revenus {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.finance-card-icon.depenses {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.finance-card-icon.solde {
    background: rgba(37, 117, 240, 0.2);
    color: #6366f1;
}

.finance-card-icon.solde.positif {
    background: rgba(37, 117, 240, 0.2);
    color: #6366f1;
}

.finance-card-icon.solde.negatif {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.finance-card-amount {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0.75rem 0 0.5rem;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.finance-card-amount.revenus {
    color: #10b981;
}

.finance-card-amount.depenses {
    color: #ef4444;
}

.finance-card-amount.solde.positif {
    color: #4ade80;
}

.finance-card-amount.solde.negatif {
    color: #f59e0b;
}

.finance-card-revenus {
    border-left: 3px solid #10b981;
}

.finance-card-depenses {
    border-left: 3px solid #ef4444;
}

.finance-card-solde.positif {
    border-left: 3px solid #4ade80;
}

.finance-card-solde.negatif {
    border-left: 3px solid #f59e0b;
}

/* Cartes financières */
.finance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.finance-card {
    background: rgba(17, 21, 30, 0.92);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.finance-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.finance-card.revenus {
    border-left: 4px solid #4ade80;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.08), transparent);
}

.finance-card.depenses {
    border-left: 4px solid #f87171;
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.08), transparent);
}

.finance-card.solde.positif {
    border-left: 4px solid #4ade80;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1), transparent);
}

.finance-card.solde.negatif {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), transparent);
}

.finance-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.finance-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.finance-card.revenus .finance-card-icon {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.finance-card.depenses .finance-card-icon {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
}

.finance-card.solde .finance-card-icon {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.finance-card-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.finance-card-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.finance-card.revenus .finance-card-value {
    color: #4ade80;
}

.finance-card.depenses .finance-card-value {
    color: #f87171;
}

.finance-card.solde.positif .finance-card-value {
    color: var(--gold);
}

.finance-card.solde.negatif .finance-card-value {
    color: #ef4444;
}

.finance-card-detail {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* === Section Liste des locations === */
.location-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-section {
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    border-radius: 16px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.location-section-header {
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.location-section-title.loueur {
    color: #4ade80;
}

.location-section-title.locataire {
    color: #f87171;
}

.location-icon {
    font-size: 1.3rem;
}

.location-count {
    background: rgba(17, 21, 30, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    margin-left: auto;
}

/* Filtres par catégorie */
.location-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.location-filters .filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(17, 21, 30, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.location-filters .filter-btn:hover {
    background: rgba(17, 21, 30, 0.1);
    color: #fff;
}

.location-filters .filter-btn.active {
    background: linear-gradient(135deg, rgba(37, 117, 240, 0.3), rgba(139, 92, 246, 0.3));
    border-color: rgba(99, 102, 241, 0.5);
    color: #fff;
}

.location-filters .filter-btn[data-filter="bateaux"].active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.3));
    border-color: rgba(59, 130, 246, 0.5);
}

.location-filters .filter-btn[data-filter="ergometres"].active {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.3));
    border-color: rgba(239, 68, 68, 0.5);
}

.location-filters .filter-btn[data-filter="accessoires"].active {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(22, 163, 74, 0.3));
    border-color: rgba(34, 197, 94, 0.5);
}

.filter-icon {
    font-size: 0.9rem;
}

/* === Tableau des locations - Premium === */
.location-table-container {
    overflow-x: visible;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(26, 32, 43, 0.6), rgba(15, 20, 30, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.location-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    table-layout: fixed;
}

.location-table th {
    text-align: left;
    padding: 1rem 1rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.15));
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.location-table th.th-ref { width: 11%; }
.location-table th.th-bateau { width: 18%; }
.location-table th.th-club { width: 15%; min-width: 120px; }
.location-table th.th-periode { width: 18%; }
.location-table th.th-jours { width: 6%; text-align: center; }
.location-table th.th-montant { width: 12%; text-align: right; }
.location-table th.th-statut { width: 10%; text-align: center; }

.location-table td {
    padding: 1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.location-table td.cell-montant {
    overflow: visible;
}

.location-table tbody tr {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(26, 109, 255, 0.08), rgba(26, 109, 255, 0.02));
    box-shadow: inset 3px 0 0 #1A6DFF;
}

.location-table tbody tr:last-child td {
    border-bottom: none;
}

/* Cellule Référence */
.cell-ref code {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.7rem;
    color: var(--gold);
    background: rgba(127, 168, 255, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    white-space: nowrap;
}

/* Cellule Bateau */
.cell-bateau .bateau-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.cell-bateau .category-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 2px;
}

.cell-bateau .category-badge.bateaux {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.cell-bateau .category-badge.ergometres {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.cell-bateau .category-badge.accessoires {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.cell-bateau strong {
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
}

.cell-bateau .type-badge {
    display: inline-block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(17, 21, 30, 0.08);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    width: fit-content;
}

/* Cellule Club */
.cell-club .club-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cell-club .club-badge {
    background: transparent;
    border: 1px solid rgba(127, 168, 255, 0.5);
    color: var(--gold);
    font-weight: 700;
    font-size: 0.65rem;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    text-transform: uppercase;
    min-width: 36px;
    text-align: center;
    box-shadow: none;
}

.cell-club .club-badge.proprietaire {
    background: transparent;
    border: 1px solid rgba(96, 165, 250, 0.5);
    color: #3b82f6;
    box-shadow: none;
}

.cell-club .club-name {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
    max-width: 100px;
}

/* Cellule Période */
.cell-periode .periode-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cell-periode .periode-dates {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

/* Cellule Jours */
.cell-jours {
    text-align: center;
    white-space: nowrap;
}

.jours-badge {
    display: inline-block;
    background: rgba(17, 21, 30, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    white-space: nowrap;
}

/* Cellule Montant */
.cell-montant {
    text-align: right;
}

.cell-montant .montant-value {
    font-weight: 700;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 0.85rem;
    white-space: nowrap;
}

.cell-montant.revenus .montant-value {
    color: #4ade80;
}

.cell-montant.depenses .montant-value {
    color: #f87171;
}

/* Cellule Statut */
.cell-statut {
    text-align: center;
}

.cell-statut .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge .status-icon {
    font-size: 0.6rem;
}

.status-badge.termine {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
}

.status-badge.en-cours {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    animation: pulse-status 2s ease-in-out infinite;
}

.status-badge.a-venir {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

@keyframes pulse-status {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Footer du tableau (totaux) */
.location-table tfoot {
    background: rgba(0, 0, 0, 0.2);
}

.location-table tfoot .total-row td {
    padding: 1.25rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.total-label {
    text-align: right;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.total-value {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Segoe UI', system-ui, sans-serif;
    text-align: right;
    white-space: nowrap;
}

.total-value.revenus {
    color: #4ade80;
}

.total-value.depenses {
    color: #f87171;
}

/* Message vide amélioré */
.location-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.location-empty svg {
    margin-bottom: 1rem;
    opacity: 0.4;
}

.location-empty p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.location-empty .empty-hint {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 900px) {
    .finance-cards {
        grid-template-columns: 1fr;
    }
    
    .finance-card-value {
        font-size: 1.5rem;
    }
    
    .finance-filters-section .finance-filters-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .finance-action-cards {
        grid-template-columns: 1fr;
    }
    
    .finance-card-amount {
        font-size: 1.5rem;
    }
    
    .location-table th,
    .location-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .cell-club .club-name {
        display: block;
        font-size: 0.7rem;
    }
    
    .cell-periode .periode-dates {
        font-size: 0.7rem;
    }
    
    .cell-ref code {
        font-size: 0.65rem;
    }
}

/* =============================
   CARROUSEL D'IMAGES BATEAU
============================= */

.image-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.3);
}

.carousel-container {
    position: relative;
    width: 100%;
    min-height: 300px;
}

.carousel-slide {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease-in-out;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(26, 109, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
    background: #1A6DFF;
    border-color: #fff;
    transform: scale(1.2);
}

/* Carrousel dans la modale */
.modal-bateau-image .image-carousel {
    max-width: 100%;
}

.modal-bateau-image .carousel-slide img {
    height: 280px;
}

/* Carrousel dans la page complète */
.bateau-image-section .image-carousel {
    max-width: 100%;
}

.bateau-image-section .carousel-slide img {
    height: 400px;
}

/* Image cliquable */
.clickable-image {
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.clickable-image:hover {
    transform: scale(1.02);
}

/* =============================
   LIGHTBOX PLEIN ÉCRAN
============================= */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: default;
    animation: lightboxZoomIn 0.3s ease;
}

@keyframes lightboxZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    cursor: pointer;
    z-index: 1000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(17, 21, 30, 0.05);
    transition: color 0.3s ease, background 0.3s ease;
    font-size: 0;
}

.lightbox-close::before,
.lightbox-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.lightbox-close::before {
    transform: rotate(45deg);
}

.lightbox-close::after {
    transform: rotate(-45deg);
}

.lightbox-close:hover {
    background: rgba(127, 168, 255, 0.15);
}

.lightbox-close:hover::before {
    background: #7fa8ff;
    transform: rotate(135deg);
}

.lightbox-close:hover::after {
    background: #7fa8ff;
    transform: rotate(-135deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 21, 30, 0.1);
    border: none;
    color: #fff;
    font-size: 2em;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(17, 21, 30, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 70vh;
    }
    
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }
    
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-slide img {
        height: 250px !important;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

/* =============================
   BLOC INVITATION À SE CONNECTER
============================= */

.login-prompt-box {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.98));
    border-radius: 16px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.login-prompt-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.login-prompt-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.login-prompt-text {
    font-size: 1rem;
    color: #9CA3AF;
    margin-bottom: 30px;
}

.login-prompt-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.login-prompt-buttons .btn-primary,
.login-prompt-buttons .btn-accent {
    padding: 14px 32px;
    font-size: 1rem;
    min-width: 160px;
}

/* =============================
   SESSION EXPIRÉE - TOAST
============================= */

.session-expired-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(185, 28, 28, 0.95));
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.3);
    backdrop-filter: blur(10px);
    max-width: 400px;
}

.toast-icon {
    font-size: 1.5rem;
}

.toast-message {
    flex: 1;
    font-weight: 500;
    font-size: 0.95rem;
}

.toast-close {
    background: rgba(17, 21, 30, 0.1);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
    transform-origin: center center;
}

.toast-close:hover {
    color: #7fa8ff;
    background: rgba(127, 168, 255, 0.15);
    transform: rotate(90deg);
}

/* ========================================
   SECTION MESSAGERIE - DEMANDES DE RÉSERVATION
   ======================================== */

.messaging-section {
    margin-top: 20px;
    padding: 0 0.5rem;
}

.messaging-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.messaging-title::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.messaging-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.messaging-tab {
    padding: 12px 25px;
    background: rgba(17, 21, 30, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.messaging-tab:hover {
    background: rgba(17, 21, 30, 0.2);
}

.messaging-tab.active {
    background: rgba(37, 117, 240, 0.3);
    border-color: rgba(99, 102, 241, 0.5);
}

.messaging-tab .tab-count {
    background: rgba(17, 21, 30, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.85rem;
}

.messaging-tab.active .tab-count {
    background: rgba(37, 117, 240, 0.5);
}

.messaging-subsection {
    margin-bottom: 30px;
}

.messaging-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.messaging-icon {
    font-size: 1.2rem;
    margin-right: 8px;
}

.messaging-title .count {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin-left: 5px;
}

.messaging-title.received {
    display: flex;
    align-items: center;
    color: #22c55e;
}

.messaging-title.sent {
    display: flex;
    align-items: center;
    color: #6366f1;
}

/* Cards de demandes */
.requests-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.request-card {
    background: rgba(17, 21, 30, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.request-card:hover {
    background: rgba(17, 21, 30, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.request-boat-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.request-boat-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.request-boat-details h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #fff;
}

.request-boat-details .boat-type {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.request-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-en_attente {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.2));
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.status-acceptee {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(22, 163, 74, 0.2));
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.status-refusee {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.2));
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.status-annulee {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.3), rgba(75, 85, 99, 0.2));
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.4);
}

/* Badge catégorie équipement */
.equipment-category-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
}

.equipment-category-badge.ergometres {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(139, 92, 246, 0.2));
    color: #a78bfa;
    border: 1px solid rgba(168, 85, 247, 0.4);
}

.equipment-category-badge.accessoires {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.3), rgba(13, 148, 136, 0.2));
    color: #2dd4bf;
    border: 1px solid rgba(20, 184, 166, 0.4);
}

/* Quantité demandée */
.request-quantity {
    font-size: 0.9rem;
    color: #a78bfa;
    font-weight: 500;
    display: inline-block;
    padding: 4px 10px;
    background: rgba(168, 85, 247, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.request-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.request-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.request-info-item .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.request-info-item .value {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
}

.request-info-item .value.price {
    color: #22c55e;
    font-size: 1.1rem;
}

.request-club-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: rgba(37, 117, 240, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.request-club-info img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.request-club-info span {
    color: #fff;
    font-weight: 500;
}

.request-club {
    display: flex;
    align-items: center;
    gap: 10px;
}

.club-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, rgba(37, 117, 240, 0.4), rgba(139, 92, 246, 0.3));
    border: 1px solid rgba(99, 102, 241, 0.5);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

.request-dates,
.request-price {
    margin: 5px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.request-boat {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.request-boat .boat-type {
    font-size: 0.85rem;
    color: #7fa8ff;
    background: rgba(127, 168, 255, 0.15);
    padding: 3px 10px;
    border-radius: 15px;
    font-weight: 600;
}

.request-message-preview {
    padding: 12px 15px;
    background: rgba(17, 21, 30, 0.05);
    border-radius: 10px;
    border-left: 3px solid rgba(99, 102, 241, 0.5);
    margin-bottom: 15px;
}

.request-message-preview p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
}

.request-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-view-conversation {
    flex: 1;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(37, 117, 240, 0.3), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 10px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-conversation:hover {
    background: linear-gradient(135deg, rgba(37, 117, 240, 0.5), rgba(139, 92, 246, 0.4));
    transform: translateY(-2px);
}

.btn-accept {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(22, 163, 74, 0.2));
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 10px;
    color: #22c55e;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.5), rgba(22, 163, 74, 0.4));
    transform: translateY(-2px);
}

.btn-refuse {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.2));
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 10px;
    color: #ef4444;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-refuse:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.5), rgba(220, 38, 38, 0.4));
    transform: translateY(-2px);
}

.btn-cancel {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.3), rgba(75, 85, 99, 0.2));
    border: 1px solid rgba(107, 114, 128, 0.4);
    border-radius: 10px;
    color: #9ca3af;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.5), rgba(75, 85, 99, 0.4));
    transform: translateY(-2px);
}

.badge-pending {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.2));
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fbbf24;
}

.badge-messages {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(37, 117, 240, 0.2);
    border-radius: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.unread-badge {
    background: #ef4444;
    color: #fff;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 5px;
}

.msg-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 6px;
}

.btn-view-conversation {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(37, 117, 240, 0.3), rgba(79, 70, 229, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 10px;
    color: #a5b4fc;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-conversation:hover {
    background: linear-gradient(135deg, rgba(37, 117, 240, 0.5), rgba(79, 70, 229, 0.4));
    transform: translateY(-2px);
}

.empty-requests {
    text-align: center;
    padding: 40px;
    background: rgba(17, 21, 30, 0.05);
    border-radius: 15px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.empty-requests p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}

.empty-requests .emoji {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

/* Modal de conversation */
.conversation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.conversation-modal.active {
    opacity: 1;
    visibility: visible;
}

.conversation-container {
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    background: linear-gradient(135deg, rgba(26, 32, 43, 0.98), rgba(17, 21, 30, 0.98));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.conversation-modal.active .conversation-container {
    transform: scale(1);
}

.conversation-header {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conversation-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
}

.conversation-close {
    background: rgba(17, 21, 30, 0.05);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
}

.conversation-close:hover {
    color: #7fa8ff;
    background: rgba(127, 168, 255, 0.15);
    transform: rotate(90deg);
}

.conversation-info {
    padding: 15px 20px;
    background: rgba(37, 117, 240, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.conversation-info-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.conversation-info-item .label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.conversation-info-item .value {
    font-size: 0.9rem;
    color: #fff;
}

.conversation-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 15px;
    position: relative;
}

.message-bubble.sent {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(37, 117, 240, 0.4), rgba(139, 92, 246, 0.3));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-bottom-right-radius: 5px;
}

.message-bubble.received {
    align-self: flex-start;
    background: rgba(17, 21, 30, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom-left-radius: 5px;
}

.message-bubble p {
    margin: 0 0 8px 0;
    color: #fff;
    line-height: 1.5;
}

.message-bubble .message-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: right;
}

.conversation-input {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
}

.conversation-input textarea {
    flex: 1;
    padding: 12px 15px;
    background: rgba(17, 21, 30, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    resize: none;
    height: 45px;
    font-family: inherit;
}

.conversation-input textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.conversation-input textarea:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
}

.conversation-input button {
    padding: 12px 25px;
    background: linear-gradient(135deg, #2575f0, #7fa8ff);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.conversation-input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

/* Responsive messagerie */
@media (max-width: 768px) {
    .messaging-tabs {
        flex-direction: column;
    }
    
    .messaging-tab {
        width: 100%;
        justify-content: center;
    }
    
    .request-header {
        flex-direction: column;
    }
    
    .request-info {
        grid-template-columns: 1fr 1fr;
    }
    
    .request-actions {
        flex-direction: column;
    }
    
    .btn-view-conversation,
    .btn-accept,
    .btn-refuse,
    .btn-cancel {
        width: 100%;
        justify-content: center;
    }
    
    .conversation-container {
        width: 95%;
        max-height: 90vh;
    }
    
    .message-bubble {
        max-width: 90%;
    }
}

/* =============================
   BATEAU MODAL - DESIGN PREMIUM
============================= */

.bateau-modal-wrapper {
    color: #E5E7EB;
    animation: fadeInUp 0.5s ease-out;
}


/* =============================
   HEADER V2 - DESIGN AMELIORE
============================= */

.bateau-modal-header-v2 {
    position: relative;
    padding: 24px 30px 28px;
    background: linear-gradient(145deg, 
        rgba(26, 109, 255, 0.12) 0%, 
        rgba(14, 17, 22, 0.95) 60%,
        rgba(14, 17, 22, 0.98) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    margin: -25px -25px 25px -25px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.header-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        #1A6DFF 0%, 
        #3b82f6 25%,
        #1A6DFF 50%,
        #3b82f6 75%,
        #1A6DFF 100%);
    background-size: 200% 100%;
    animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.bateau-modal-header-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(26, 109, 255, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(96, 165, 250, 0.05) 0%, transparent 20%);
    pointer-events: none;
    z-index: 0;
}

.header-content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 24px;
}

.bateau-price-tag-v2 {
    flex-shrink: 0;
    background: linear-gradient(145deg, #7fa8ff, #2575f0);
    padding: 4px;
    border-radius: 16px;
    box-shadow: 
        0 8px 30px rgba(127, 168, 255, 0.4),
        0 0 60px rgba(127, 168, 255, 0.15);
    position: relative;
}

.bateau-price-tag-v2 .price-inner {
    background: linear-gradient(145deg, #7fa8ff, #2575f0);
    padding: 14px 24px;
    border-radius: 13px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bateau-price-tag-v2 .price-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.25), 
        transparent);
    animation: priceShine 3s ease-in-out infinite;
}

@keyframes priceShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.bateau-price-tag-v2 .price-value {
    display: block;
    font-size: 1.9em;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.bateau-price-tag-v2 .price-unit {
    display: block;
    font-size: 0.8em;
    color: rgba(26, 26, 26, 0.75);
    font-weight: 600;
    margin-top: 2px;
}

.bateau-price-tag-v2.vente-price-tag {
    background: linear-gradient(145deg, #10B981, #059669);
    box-shadow: 
        0 8px 30px rgba(16, 185, 129, 0.4),
        0 0 60px rgba(16, 185, 129, 0.15);
}

.bateau-price-tag-v2.vente-price-tag .price-inner {
    background: linear-gradient(145deg, #10B981, #059669);
}

.bateau-price-tag-v2.vente-price-tag .price-value {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.bateau-price-tag-v2.vente-price-tag .price-unit {
    color: rgba(255, 255, 255, 0.85);
}

.bateau-header-content-v2 {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding-right: 80px;
}

.title-wrapper {
    margin-bottom: 14px;
}

.bateau-title-v2 {
    font-size: 1.75em;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.bateau-meta-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 18px;
    background: rgba(17, 21, 30, 0.04);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7em;
}

.bateau-type-badge-v2 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #1A6DFF, #0056E0);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.bateau-type-badge-v2 svg {
    width: 12px;
    height: 12px;
    opacity: 0.9;
}

.bateau-club-name-v2 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9em;
    font-weight: 500;
}

.bateau-club-name-v2 svg {
    fill: #3b82f6;
    width: 13px;
    height: 13px;
}

@media (max-width: 768px) {
    .bateau-modal-header-v2 {
        padding: 20px 20px 24px;
        margin: -20px -20px 20px -20px;
    }
    
    .header-content-wrapper {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .bateau-header-content-v2 {
        padding-right: 0;
    }
    
    .bateau-title-v2 {
        font-size: 1.4em;
    }
    
    .bateau-price-tag-v2 .price-value {
        font-size: 1.6em;
    }
    
    .bateau-meta-v2 {
        flex-direction: column;
        gap: 8px;
        padding: 12px 16px;
    }
    
    .meta-separator {
        display: none;
    }
}


/* Header avec effet glassmorphism premium (legacy) */
.bateau-modal-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 28px 30px;
    background: linear-gradient(135deg, 
        rgba(26, 109, 255, 0.15) 0%, 
        rgba(26, 109, 255, 0.08) 50%,
        rgba(14, 17, 22, 0.3) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    margin: -25px -25px 25px -25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.bateau-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
}

/* Espace vide à droite pour équilibrer */
.bateau-modal-header::after {
    content: '';
    grid-column: 3;
    grid-row: 1;
}

.bateau-header-content {
    grid-column: 2;
    text-align: center;
}

.bateau-title {
    font-size: 1.8em;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.bateau-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bateau-type-badge {
    background: linear-gradient(135deg, #1A6DFF, #0E1116);
    color: #fff;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bateau-club-name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95em;
    font-weight: 500;
    padding: 6px 14px;
    background: rgba(17, 21, 30, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bateau-club-name svg {
    fill: #3b82f6;
    width: 14px;
    height: 14px;
}

/* Prix avec effet glow - Or/Jaune FFA */
.bateau-price-tag {
    grid-column: 1;
    justify-self: start;
    align-self: center;
    background: linear-gradient(135deg, #7fa8ff, #2575f0);
    padding: 16px 28px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 
        0 8px 25px rgba(127, 168, 255, 0.35),
        0 0 50px rgba(127, 168, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.bateau-price-tag::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 40%, 
        rgba(17, 21, 30, 0.1) 50%,
        transparent 60%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.bateau-price-tag .price-value {
    display: block;
    font-size: 1.8em;
    font-weight: 800;
    color: #2d3e50;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.bateau-price-tag .price-unit {
    font-size: 0.85em;
    color: rgba(45, 62, 80, 0.85);
    font-weight: 500;
    position: relative;
}

.bateau-modal-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Galerie d'images améliorée */
.bateau-gallery-section {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bateau-gallery-section .image-carousel {
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(26, 32, 43, 0.8), rgba(17, 21, 30, 0.9));
}

.bateau-gallery-section .carousel-slide img {
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.bateau-gallery-section .carousel-slide img:hover {
    transform: scale(1.02);
}

/* Section galerie verrouillée (non connecté) */
.gallery-locked-section {
    background: linear-gradient(135deg, 
        rgba(26, 109, 255, 0.1) 0%, 
        rgba(14, 17, 22, 0.95) 100%);
    border: 2px dashed rgba(26, 109, 255, 0.3);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    margin-bottom: 20px;
}

.gallery-locked-content {
    max-width: 400px;
    margin: 0 auto;
}

.gallery-locked-content .lock-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(26, 109, 255, 0.2), rgba(26, 109, 255, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(26, 109, 255, 0.3);
}

.gallery-locked-content .lock-icon svg {
    color: #1A6DFF;
    opacity: 0.8;
}

.gallery-locked-content h4 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.gallery-locked-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.gallery-locked-content .btn-primary-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 1rem;
    margin-bottom: 16px;
}

.gallery-locked-content .register-link {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

.gallery-locked-content .register-link a {
    color: #7fa8ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.gallery-locked-content .register-link a:hover {
    color: #ffd166;
    text-decoration: underline;
}

/* Cards d'informations avec effet hover */
.bateau-info-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-card {
    background: linear-gradient(135deg, 
        rgba(17, 21, 30, 0.08) 0%,
        rgba(17, 21, 30, 0.03) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(17, 21, 30, 0.15),
        transparent);
}

.info-card-icon {
    font-size: 1.8em;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.info-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.info-label {
    font-size: 0.7em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-value {
    color: #fff;
    font-size: 1em;
    line-height: 1.5;
    font-weight: 500;
}

.info-card-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}

.info-card.small {
    padding: 14px 16px;
}

.info-card.small .info-card-icon {
    font-size: 1.4em;
}

/* Alertes avec style moderne */
.alert-modern {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 14px;
    margin: 15px 0;
    font-weight: 500;
    backdrop-filter: blur(10px);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.alert-modern.error {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.2) 0%, 
        rgba(220, 38, 38, 0.15) 100%);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #FCA5A5;
}

.alert-modern.success {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.2) 0%, 
        rgba(5, 150, 105, 0.15) 100%);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6EE7B7;
}

.alert-icon {
    font-size: 1.5rem;
}

/* État vide élégant */
.empty-state-card {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, 
        rgba(17, 21, 30, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    margin: 20px 0;
    position: relative;
}

.empty-state-card .empty-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.6;
    filter: grayscale(30%);
}

.empty-state-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.3em;
    font-weight: 700;
}

.empty-state-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95em;
    line-height: 1.5;
}

/* Section réservation premium */
.reservation-section {
    background: linear-gradient(135deg, 
        rgba(26, 109, 255, 0.08) 0%, 
        rgba(26, 109, 255, 0.05) 50%,
        rgba(14, 17, 22, 0.3) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(26, 109, 255, 0.15);
    border-radius: 20px;
    padding: 30px;
    margin-top: 24px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 1.7em;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 25px;
    position: relative;
}

/* Barre décorative désactivée */
/*
.section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1A6DFF, #7fa8ff);
    border-radius: 3px;
}
*/

.section-icon {
    font-size: 1.3em;
}

/* Légende du calendrier */
.calendar-legend-modern {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: relative;
}

.legend-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

.legend-dot.available {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

.legend-dot.available::after {
    background: #10B981;
}

.legend-dot.reserved {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
}

.legend-dot.reserved::after {
    background: #EF4444;
}

.legend-dot.selected {
    background: linear-gradient(135deg, #1A6DFF, #0d4fd8);
    box-shadow: 0 0 12px rgba(26, 109, 255, 0.5);
}

.legend-dot.selected::after {
    background: #1A6DFF;
}

/* Calendrier moderne */
.calendar-modern {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.3) 0%, 
        rgba(0, 0, 0, 0.2) 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.calendar-modern .calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-modern .calendar-title {
    font-size: 1.15em;
    font-weight: 700;
    color: #fff;
}

.calendar-modern .calendar-nav-btn {
    background: rgba(17, 21, 30, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-modern .calendar-nav-btn:hover {
    background: rgba(26, 109, 255, 0.3);
    border-color: rgba(26, 109, 255, 0.5);
    transform: scale(1.05);
}

.calendar-modern .calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 10px;
    text-align: center;
}

.calendar-modern .calendar-weekdays span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
}

.calendar-modern .calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

/* Résumé de sélection */
.selection-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 15px;
    background: linear-gradient(135deg, 
        rgba(26, 109, 255, 0.15) 0%, 
        rgba(26, 109, 255, 0.1) 100%);
    border-radius: 14px;
    border: 1px solid rgba(26, 109, 255, 0.25);
    text-align: center;
}

.summary-row:last-child {
    background: linear-gradient(135deg, #7fa8ff, #2575f0);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(127, 168, 255, 0.35);
}

.summary-row.total {
    padding: 18px 15px;
    margin-top: 0;
    border-top: none;
}

.summary-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.summary-row:last-child .summary-label {
    color: rgba(45, 62, 80, 0.9);
}

.summary-value {
    color: #fff;
    font-size: 0.9em;
    font-weight: 800;
}

.summary-row:last-child .summary-value {
    color: #2d3e50;
}

.summary-value.price {
    font-size: 1.3em;
    font-weight: 800;
    color: #7fa8ff;
    text-shadow: none;
}

/* Formulaire de réservation */
.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.message-field-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-field-modern label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #E5E7EB;
    font-weight: 600;
    font-size: 0.95em;
    margin-bottom: 6px;
}

.label-icon {
    font-size: 1.2em;
}

.message-field-modern textarea {
    width: 100%;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(17, 21, 30, 0.05);
    color: #fff;
    resize: vertical;
    font-family: inherit;
    font-size: 1em;
    transition: all 0.3s ease;
    min-height: 100px;
}

.message-field-modern textarea:focus {
    outline: none;
    border-color: rgba(26, 109, 255, 0.5);
}

.message-field-modern textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

/* Bouton réserver premium */
.btn-reserve {
    width: 100%;
    padding: 18px 28px;
    font-size: 1.15em;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1A6DFF 0%, #0E1116 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.3);
}

.btn-reserve::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(17, 21, 30, 0.2),
        transparent);
    transition: left 0.5s ease;
}

.btn-reserve:hover:not(:disabled)::before {
    left: 100%;
}

.btn-reserve:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(26, 109, 255, 0.45),
        0 0 50px rgba(26, 109, 255, 0.2);
    filter: brightness(0.9);
}

.btn-reserve:active:not(:disabled) {
    transform: translateY(-1px);
}

.btn-reserve:disabled {
    background: linear-gradient(135deg, 
        rgba(17, 21, 30, 0.08),
        rgba(17, 21, 30, 0.05));
    color: rgba(255, 255, 255, 0.35);
    cursor: not-allowed;
    box-shadow: none;
}

.form-hint {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85em;
    margin-top: 12px;
    line-height: 1.5;
}

/* Notice propriétaire */
.owner-notice {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: linear-gradient(135deg, 
        rgba(26, 109, 255, 0.12) 0%, 
        rgba(26, 109, 255, 0.08) 100%);
    border: 1px solid rgba(26, 109, 255, 0.25);
    border-radius: 16px;
    margin-top: 24px;
}

.owner-notice .notice-icon {
    font-size: 2.5em;
}

.owner-notice p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.owner-notice a {
    color: #1A6DFF;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.owner-notice a:hover {
    color: #7fa8ff;
    border-bottom-color: #7fa8ff;
}

/* Prompt de connexion moderne */
.login-prompt-modern {
    text-align: center;
    padding: 50px 35px;
    background: linear-gradient(135deg, 
        rgba(26, 109, 255, 0.1) 0%, 
        rgba(26, 109, 255, 0.08) 50%,
        rgba(14, 17, 22, 0.3) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(26, 109, 255, 0.15);
    border-radius: 20px;
    margin-top: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.login-prompt-modern .prompt-icon {
    font-size: 4em;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.login-prompt-modern h3 {
    color: #fff;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 12px;
}

.login-prompt-modern p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 30px;
    font-size: 1.05em;
}

.prompt-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-modern {
    padding: 14px 32px;
    font-size: 1em;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1A6DFF 0%, #0E1116 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 109, 255, 0.45);
    filter: brightness(0.9);
}

.btn-secondary-modern {
    padding: 14px 32px;
    font-size: 1em;
    font-weight: 700;
    color: #2d3e50;
    background: linear-gradient(135deg, #7fa8ff, #2575f0);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(127, 168, 255, 0.3);
}

.btn-secondary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(127, 168, 255, 0.45);
    filter: brightness(0.95);
}

/* Jours du calendrier de location */
.rental-day-empty {
    aspect-ratio: 1;
}

.rental-day-past {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9em;
    border-radius: 10px;
}

.rental-day-reserved {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.25), 
        rgba(220, 38, 38, 0.2));
    color: #FCA5A5;
    font-size: 0.9em;
    font-weight: 600;
    border-radius: 10px;
    cursor: not-allowed;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.rental-day-available {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.2), 
        rgba(5, 150, 105, 0.15));
    color: #6EE7B7;
    font-size: 0.9em;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.rental-day-available:hover {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.4), 
        rgba(5, 150, 105, 0.3));
    border-color: rgba(16, 185, 129, 0.5);
    transform: scale(1.08);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.rental-day-selected {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1A6DFF 0%, #0d4fd8 100%);
    color: #fff;
    font-size: 0.9em;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 
        0 6px 20px rgba(26, 109, 255, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: selectPop 0.3s ease-out;
}

@keyframes selectPop {
    0% { transform: scale(0.9); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive Bateau Modal */
@media (max-width: 600px) {
    .bateau-modal-header {
        flex-direction: column;
        gap: 18px;
        margin: -20px -20px 20px -20px;
        padding: 20px;
    }
    
    .bateau-title {
        font-size: 1.5em;
    }
    
    .bateau-price-tag {
        grid-column: 1;
        justify-self: start;
        align-self: center;
        width: 100%;
        padding: 14px 20px;
    }
    
    .bateau-price-tag .price-value {
        font-size: 1.5em;
    }
    
    .info-card-row {
        grid-template-columns: 1fr;
    }
    
    .reservation-section {
        padding: 20px;
    }
    
    .calendar-legend-modern {
        gap: 15px;
        padding: 12px 15px;
    }
    
    .prompt-buttons {
        flex-direction: column;
    }
    
    .btn-primary-modern,
    .btn-secondary-modern {
        width: 100%;
    }
}

/* =============================
   LOADING SPINNER
============================= */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #3B82F6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =============================
   LIGHTBOX
============================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}


.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
    z-index: 1000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(17, 21, 30, 0.05);
    transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
    font-size: 0;
}

.lightbox-close::before,
.lightbox-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.lightbox-close::before {
    transform: rotate(45deg);
}

.lightbox-close::after {
    transform: rotate(-45deg);
}

.lightbox-close:hover {
    background: rgba(127, 168, 255, 0.15);
    transform: rotate(270deg);
}

.lightbox-close:hover::before,
.lightbox-close:hover::after {
    background: #7fa8ff;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 21, 30, 0.1);
    border: none;
    color: #fff;
    font-size: 2em;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(17, 21, 30, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 70vh;
    }
    
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }
    
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-slide img {
        height: 250px !important;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

/* =============================
   BLOC INVITATION À SE CONNECTER
============================= */

.login-prompt-box {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.98));
    border-radius: 16px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.login-prompt-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.login-prompt-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.login-prompt-text {
    font-size: 1rem;
    color: #9CA3AF;
    margin-bottom: 30px;
}

.login-prompt-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.login-prompt-buttons .btn-primary,
.login-prompt-buttons .btn-accent {
    padding: 14px 32px;
    font-size: 1rem;
    min-width: 160px;
}

/* =============================
   SESSION EXPIRÉE - TOAST
============================= */

.session-expired-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(185, 28, 28, 0.95));
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.3);
    backdrop-filter: blur(10px);
    max-width: 400px;
}

.toast-icon {
    font-size: 1.5rem;
}

.toast-message {
    flex: 1;
    font-weight: 500;
    font-size: 0.95rem;
}

.toast-close {
    background: rgba(17, 21, 30, 0.1);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
    transform-origin: center center;
}

.toast-close:hover {
    color: #7fa8ff;
    background: rgba(127, 168, 255, 0.15);
    transform: rotate(90deg);
}

/* ========================================
   SECTION MESSAGERIE - DEMANDES DE RÉSERVATION
   ======================================== */

.messaging-section {
    margin-top: 20px;
    padding: 0 0.5rem;
}

.messaging-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.messaging-title::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.messaging-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.messaging-tab {
    padding: 12px 25px;
    background: rgba(17, 21, 30, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.messaging-tab:hover {
    background: rgba(17, 21, 30, 0.2);
}

.messaging-tab.active {
    background: rgba(37, 117, 240, 0.3);
    border-color: rgba(99, 102, 241, 0.5);
}

.messaging-tab .tab-count {
    background: rgba(17, 21, 30, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.85rem;
}

.messaging-tab.active .tab-count {
    background: rgba(37, 117, 240, 0.5);
}

.messaging-subsection {
    margin-bottom: 30px;
}

.messaging-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.messaging-icon {
    font-size: 1.2rem;
    margin-right: 8px;
}

.messaging-title .count {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin-left: 5px;
}

.messaging-title.received {
    display: flex;
    align-items: center;
    color: #22c55e;
}

.messaging-title.sent {
    display: flex;
    align-items: center;
    color: #6366f1;
}

/* Cards de demandes */
.requests-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.request-card {
    background: rgba(17, 21, 30, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.request-card:hover {
    background: rgba(17, 21, 30, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.request-boat-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.request-boat-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.request-boat-details h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #fff;
}

.request-boat-details .boat-type {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.request-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-en_attente {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.2));
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.status-acceptee {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(22, 163, 74, 0.2));
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.status-refusee {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.2));
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.status-annulee {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.3), rgba(75, 85, 99, 0.2));
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.4);
}

.status-en_signature {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(124, 58, 237, 0.2));
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.status-validee {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.35), rgba(22, 163, 74, 0.25));
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.5);
}

.request-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.request-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.request-info-item .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.request-info-item .value {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
}

.request-info-item .value.price {
    color: #22c55e;
    font-size: 1.1rem;
}

.request-club-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: rgba(37, 117, 240, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.request-club-info img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.request-club-info span {
    color: #fff;
    font-weight: 500;
}

.request-club {
    display: flex;
    align-items: center;
    gap: 10px;
}

.club-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, rgba(37, 117, 240, 0.4), rgba(139, 92, 246, 0.3));
    border: 1px solid rgba(99, 102, 241, 0.5);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

.request-dates,
.request-price {
    margin: 5px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.request-boat {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.request-boat .boat-type {
    font-size: 0.85rem;
    color: #7fa8ff;
    background: rgba(127, 168, 255, 0.15);
    padding: 3px 10px;
    border-radius: 15px;
    font-weight: 600;
}

.request-message-preview {
    padding: 12px 15px;
    background: rgba(17, 21, 30, 0.05);
    border-radius: 10px;
    border-left: 3px solid rgba(99, 102, 241, 0.5);
    margin-bottom: 15px;
}

.request-message-preview p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
}

.request-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-view-conversation {
    flex: 1;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(37, 117, 240, 0.3), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 10px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-conversation:hover {
    background: linear-gradient(135deg, rgba(37, 117, 240, 0.5), rgba(139, 92, 246, 0.4));
    transform: translateY(-2px);
}

.btn-accept {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(22, 163, 74, 0.2));
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 10px;
    color: #22c55e;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.5), rgba(22, 163, 74, 0.4));
    transform: translateY(-2px);
}

.btn-refuse {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.2));
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 10px;
    color: #ef4444;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-refuse:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.5), rgba(220, 38, 38, 0.4));
    transform: translateY(-2px);
}

.btn-cancel {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.3), rgba(75, 85, 99, 0.2));
    border: 1px solid rgba(107, 114, 128, 0.4);
    border-radius: 10px;
    color: #9ca3af;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.5), rgba(75, 85, 99, 0.4));
    transform: translateY(-2px);
}

.badge-pending {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.2));
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fbbf24;
}

.badge-messages {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(37, 117, 240, 0.2);
    border-radius: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.unread-badge {
    background: #ef4444;
    color: #fff;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 5px;
}

.msg-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 6px;
}

.btn-view-conversation {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(37, 117, 240, 0.3), rgba(79, 70, 229, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 10px;
    color: #a5b4fc;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-conversation:hover {
    background: linear-gradient(135deg, rgba(37, 117, 240, 0.5), rgba(79, 70, 229, 0.4));
    transform: translateY(-2px);
}

.empty-requests {
    text-align: center;
    padding: 40px;
    background: rgba(17, 21, 30, 0.05);
    border-radius: 15px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.empty-requests p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}

.empty-requests .emoji {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

/* Modal de conversation */
.conversation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.conversation-modal.active {
    opacity: 1;
    visibility: visible;
}

.conversation-container {
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    background: linear-gradient(135deg, rgba(26, 32, 43, 0.98), rgba(17, 21, 30, 0.98));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.conversation-modal.active .conversation-container {
    transform: scale(1);
}

.conversation-header {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conversation-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
}

.conversation-close {
    background: rgba(17, 21, 30, 0.05);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
}

.conversation-close:hover {
    color: #7fa8ff;
    background: rgba(127, 168, 255, 0.15);
    transform: rotate(90deg);
}

.conversation-info {
    padding: 15px 20px;
    background: rgba(37, 117, 240, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.conversation-info-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.conversation-info-item .label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.conversation-info-item .value {
    font-size: 0.9rem;
    color: #fff;
}

.conversation-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 15px;
    position: relative;
}

.message-bubble.sent {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(37, 117, 240, 0.4), rgba(139, 92, 246, 0.3));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-bottom-right-radius: 5px;
}

.message-bubble.received {
    align-self: flex-start;
    background: rgba(17, 21, 30, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom-left-radius: 5px;
}

.message-bubble p {
    margin: 0 0 8px 0;
    color: #fff;
    line-height: 1.5;
}

.message-bubble .message-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: right;
}

.conversation-input {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
}

.conversation-input textarea {
    flex: 1;
    padding: 12px 15px;
    background: rgba(17, 21, 30, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    resize: none;
    height: 45px;
    font-family: inherit;
}

.conversation-input textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.conversation-input textarea:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
}

.conversation-input button {
    padding: 12px 25px;
    background: linear-gradient(135deg, #2575f0, #7fa8ff);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.conversation-input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

/* Responsive messagerie */
@media (max-width: 768px) {
    .messaging-tabs {
        flex-direction: column;
    }
    
    .messaging-tab {
        width: 100%;
        justify-content: center;
    }
    
    .request-header {
        flex-direction: column;
    }
    
    .request-info {
        grid-template-columns: 1fr 1fr;
    }
    
    .request-actions {
        flex-direction: column;
    }
    
    .btn-view-conversation,
    .btn-accept,
    .btn-refuse,
    .btn-cancel {
        width: 100%;
        justify-content: center;
    }
    
    .conversation-container {
        width: 95%;
        max-height: 90vh;
    }
    
    .message-bubble {
        max-width: 90%;
    }
}

/* =============================
   BATEAU MODAL - DESIGN PREMIUM
============================= */

.bateau-modal-wrapper {
    color: #E5E7EB;
    animation: fadeInUp 0.5s ease-out;
}


/* =============================
   HEADER V2 - DESIGN AMELIORE
============================= */

.bateau-modal-header-v2 {
    position: relative;
    padding: 24px 30px 28px;
    background: linear-gradient(145deg, 
        rgba(26, 109, 255, 0.12) 0%, 
        rgba(14, 17, 22, 0.95) 60%,
        rgba(14, 17, 22, 0.98) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    margin: -25px -25px 25px -25px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.header-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        #1A6DFF 0%, 
        #3b82f6 25%,
        #1A6DFF 50%,
        #3b82f6 75%,
        #1A6DFF 100%);
    background-size: 200% 100%;
    animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.bateau-modal-header-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(26, 109, 255, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(96, 165, 250, 0.05) 0%, transparent 20%);
    pointer-events: none;
    z-index: 0;
}

.header-content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 24px;
}

.bateau-price-tag-v2 {
    flex-shrink: 0;
    background: linear-gradient(145deg, #7fa8ff, #2575f0);
    padding: 4px;
    border-radius: 16px;
    box-shadow: 
        0 8px 30px rgba(127, 168, 255, 0.4),
        0 0 60px rgba(127, 168, 255, 0.15);
    position: relative;
}

.bateau-price-tag-v2 .price-inner {
    background: linear-gradient(145deg, #7fa8ff, #2575f0);
    padding: 14px 24px;
    border-radius: 13px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bateau-price-tag-v2 .price-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.25), 
        transparent);
    animation: priceShine 3s ease-in-out infinite;
}

@keyframes priceShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.bateau-price-tag-v2 .price-value {
    display: block;
    font-size: 1.9em;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.bateau-price-tag-v2 .price-unit {
    display: block;
    font-size: 0.8em;
    color: rgba(26, 26, 26, 0.75);
    font-weight: 600;
    margin-top: 2px;
}

.bateau-price-tag-v2.vente-price-tag {
    background: linear-gradient(145deg, #10B981, #059669);
    box-shadow: 
        0 8px 30px rgba(16, 185, 129, 0.4),
        0 0 60px rgba(16, 185, 129, 0.15);
}

.bateau-price-tag-v2.vente-price-tag .price-inner {
    background: linear-gradient(145deg, #10B981, #059669);
}

.bateau-price-tag-v2.vente-price-tag .price-value {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.bateau-price-tag-v2.vente-price-tag .price-unit {
    color: rgba(255, 255, 255, 0.85);
}

.bateau-header-content-v2 {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding-right: 80px;
}

.title-wrapper {
    margin-bottom: 14px;
}

.bateau-title-v2 {
    font-size: 1.75em;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.bateau-meta-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 18px;
    background: rgba(17, 21, 30, 0.04);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7em;
}

.bateau-type-badge-v2 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #1A6DFF, #0056E0);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.bateau-type-badge-v2 svg {
    width: 12px;
    height: 12px;
    opacity: 0.9;
}

.bateau-club-name-v2 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9em;
    font-weight: 500;
}

.bateau-club-name-v2 svg {
    fill: #3b82f6;
    width: 13px;
    height: 13px;
}

@media (max-width: 768px) {
    .bateau-modal-header-v2 {
        padding: 20px 20px 24px;
        margin: -20px -20px 20px -20px;
    }
    
    .header-content-wrapper {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .bateau-header-content-v2 {
        padding-right: 0;
    }
    
    .bateau-title-v2 {
        font-size: 1.4em;
    }
    
    .bateau-price-tag-v2 .price-value {
        font-size: 1.6em;
    }
    
    .bateau-meta-v2 {
        flex-direction: column;
        gap: 8px;
        padding: 12px 16px;
    }
    
    .meta-separator {
        display: none;
    }
}


/* Header avec effet glassmorphism premium (legacy) */
.bateau-modal-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 28px 30px;
    background: linear-gradient(135deg, 
        rgba(26, 109, 255, 0.15) 0%, 
        rgba(26, 109, 255, 0.08) 50%,
        rgba(14, 17, 22, 0.3) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    margin: -25px -25px 25px -25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.bateau-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
}

/* Espace vide à droite pour équilibrer */
.bateau-modal-header::after {
    content: '';
    grid-column: 3;
    grid-row: 1;
}

.bateau-header-content {
    grid-column: 2;
    text-align: center;
}

.bateau-title {
    font-size: 1.8em;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.bateau-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bateau-type-badge {
    background: linear-gradient(135deg, #1A6DFF, #0E1116);
    color: #fff;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bateau-club-name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95em;
    font-weight: 500;
    padding: 6px 14px;
    background: rgba(17, 21, 30, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bateau-club-name svg {
    fill: #3b82f6;
    width: 14px;
    height: 14px;
}

/* Prix avec effet glow - Or/Jaune FFA */
.bateau-price-tag {
    grid-column: 1;
    justify-self: start;
    align-self: center;
    background: linear-gradient(135deg, #7fa8ff, #2575f0);
    padding: 16px 28px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 
        0 8px 25px rgba(127, 168, 255, 0.35),
        0 0 50px rgba(127, 168, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.bateau-price-tag::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 40%, 
        rgba(17, 21, 30, 0.1) 50%,
        transparent 60%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.bateau-price-tag .price-value {
    display: block;
    font-size: 1.8em;
    font-weight: 800;
    color: #2d3e50;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.bateau-price-tag .price-unit {
    font-size: 0.85em;
    color: rgba(45, 62, 80, 0.85);
    font-weight: 500;
    position: relative;
}

.bateau-modal-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Galerie d'images améliorée */
.bateau-gallery-section {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bateau-gallery-section .image-carousel {
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(26, 32, 43, 0.8), rgba(17, 21, 30, 0.9));
}

.bateau-gallery-section .carousel-slide img {
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.bateau-gallery-section .carousel-slide img:hover {
    transform: scale(1.02);
}

/* Section galerie verrouillée (non connecté) */
.gallery-locked-section {
    background: linear-gradient(135deg, 
        rgba(26, 109, 255, 0.1) 0%, 
        rgba(14, 17, 22, 0.95) 100%);
    border: 2px dashed rgba(26, 109, 255, 0.3);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    margin-bottom: 20px;
}

.gallery-locked-content {
    max-width: 400px;
    margin: 0 auto;
}

.gallery-locked-content .lock-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(26, 109, 255, 0.2), rgba(26, 109, 255, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(26, 109, 255, 0.3);
}

.gallery-locked-content .lock-icon svg {
    color: #1A6DFF;
    opacity: 0.8;
}

.gallery-locked-content h4 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.gallery-locked-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.gallery-locked-content .btn-primary-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 1rem;
    margin-bottom: 16px;
}

.gallery-locked-content .register-link {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

.gallery-locked-content .register-link a {
    color: #7fa8ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.gallery-locked-content .register-link a:hover {
    color: #ffd166;
    text-decoration: underline;
}

/* Cards d'informations avec effet hover */
.bateau-info-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-card {
    background: linear-gradient(135deg, 
        rgba(17, 21, 30, 0.08) 0%,
        rgba(17, 21, 30, 0.03) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(17, 21, 30, 0.15),
        transparent);
}

.info-card-icon {
    font-size: 1.8em;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.info-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.info-label {
    font-size: 0.7em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-value {
    color: #fff;
    font-size: 1em;
    line-height: 1.5;
    font-weight: 500;
}

.info-card-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}

.info-card.small {
    padding: 14px 16px;
}

.info-card.small .info-card-icon {
    font-size: 1.4em;
}

/* Alertes avec style moderne */
.alert-modern {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 14px;
    margin: 15px 0;
    font-weight: 500;
    backdrop-filter: blur(10px);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.alert-modern.error {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.2) 0%, 
        rgba(220, 38, 38, 0.15) 100%);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #FCA5A5;
}

.alert-modern.success {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.2) 0%, 
        rgba(5, 150, 105, 0.15) 100%);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6EE7B7;
}

.alert-icon {
    font-size: 1.5rem;
}

/* État vide élégant */
.empty-state-card {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, 
        rgba(17, 21, 30, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    margin: 20px 0;
    position: relative;
}

.empty-state-card .empty-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.6;
    filter: grayscale(30%);
}

.empty-state-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.3em;
    font-weight: 700;
}

.empty-state-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95em;
    line-height: 1.5;
}

/* Section réservation premium */
.reservation-section {
    background: linear-gradient(135deg, 
        rgba(26, 109, 255, 0.08) 0%, 
        rgba(26, 109, 255, 0.05) 50%,
        rgba(14, 17, 22, 0.3) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(26, 109, 255, 0.15);
    border-radius: 20px;
    padding: 30px;
    margin-top: 24px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 1.7em;
    font-weight: 700;
    padding-bottom: 25px;
    position: relative;
}

/* Barre décorative désactivée */
/*
.section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1A6DFF, #7fa8ff);
    border-radius: 3px;
}
*/

.section-icon {
    font-size: 1.3em;
}

/* Légende du calendrier */
.calendar-legend-modern {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: relative;
}

.legend-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

.legend-dot.available {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

.legend-dot.available::after {
    background: #10B981;
}

.legend-dot.reserved {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
}

.legend-dot.reserved::after {
    background: #EF4444;
}

.legend-dot.selected {
    background: linear-gradient(135deg, #1A6DFF, #0d4fd8);
    box-shadow: 0 0 12px rgba(26, 109, 255, 0.5);
}

.legend-dot.selected::after {
    background: #1A6DFF;
}

/* Calendrier moderne */
.calendar-modern {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.3) 0%, 
        rgba(0, 0, 0, 0.2) 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.calendar-modern .calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-modern .calendar-title {
    font-size: 1.15em;
    font-weight: 700;
    color: #fff;
}

.calendar-modern .calendar-nav-btn {
    background: rgba(17, 21, 30, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-modern .calendar-nav-btn:hover {
    background: rgba(26, 109, 255, 0.3);
    border-color: rgba(26, 109, 255, 0.5);
    transform: scale(1.05);
}

.calendar-modern .calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 10px;
    text-align: center;
}

.calendar-modern .calendar-weekdays span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
}

.calendar-modern .calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

/* Résumé de sélection */
.selection-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 15px;
    background: linear-gradient(135deg, 
        rgba(26, 109, 255, 0.15) 0%, 
        rgba(26, 109, 255, 0.1) 100%);
    border-radius: 14px;
    border: 1px solid rgba(26, 109, 255, 0.25);
    text-align: center;
}

.summary-row:last-child {
    background: linear-gradient(135deg, #7fa8ff, #2575f0);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(127, 168, 255, 0.35);
}

.summary-row.total {
    padding: 18px 15px;
    margin-top: 0;
    border-top: none;
}

.summary-box {
    margin-top: 0.8rem;
}

.summary-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.summary-row:last-child .summary-label {
    color: rgba(45, 62, 80, 0.9);
}

.summary-row:last-child .summary-value {
    color: #2d3e50;
}

/* Formulaire de réservation */
.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.message-field-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-field-modern label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #E5E7EB;
    font-weight: 600;
    font-size: 0.95em;
    margin-bottom: 6px;
}

.label-icon {
    font-size: 1.2em;
}

.message-field-modern textarea {
    width: 100%;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(17, 21, 30, 0.05);
    color: #fff;
    resize: vertical;
    font-family: inherit;
    font-size: 1em;
    transition: all 0.3s ease;
    min-height: 100px;
}

.message-field-modern textarea:focus {
    outline: none;
    border-color: rgba(26, 109, 255, 0.5);
}

.message-field-modern textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

/* Bouton réserver premium */
.btn-reserve {
    width: 100%;
    padding: 18px 28px;
    font-size: 1.15em;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1A6DFF 0%, #0E1116 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.3);
}

.btn-reserve::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(17, 21, 30, 0.2),
        transparent);
    transition: left 0.5s ease;
}

.btn-reserve:hover:not(:disabled)::before {
    left: 100%;
}

.btn-reserve:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(26, 109, 255, 0.45),
        0 0 50px rgba(26, 109, 255, 0.2);
    filter: brightness(0.9);
}

.btn-reserve:active:not(:disabled) {
    transform: translateY(-1px);
}

.btn-reserve:disabled {
    background: linear-gradient(135deg, 
        rgba(17, 21, 30, 0.08),
        rgba(17, 21, 30, 0.05));
    color: rgba(255, 255, 255, 0.35);
    cursor: not-allowed;
    box-shadow: none;
}

.form-hint {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85em;
    margin-top: 12px;
    line-height: 1.5;
}

/* Notice propriétaire */
.owner-notice {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: linear-gradient(135deg, 
        rgba(26, 109, 255, 0.12) 0%, 
        rgba(26, 109, 255, 0.08) 100%);
    border: 1px solid rgba(26, 109, 255, 0.25);
    border-radius: 16px;
    margin-top: 24px;
}

.owner-notice .notice-icon {
    font-size: 2.5em;
}

.owner-notice p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.owner-notice a {
    color: #1A6DFF;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.owner-notice a:hover {
    color: #7fa8ff;
    border-bottom-color: #7fa8ff;
}

/* Prompt de connexion moderne */
.login-prompt-modern {
    text-align: center;
    padding: 50px 35px;
    background: linear-gradient(135deg, 
        rgba(26, 109, 255, 0.1) 0%, 
        rgba(26, 109, 255, 0.08) 50%,
        rgba(14, 17, 22, 0.3) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(26, 109, 255, 0.15);
    border-radius: 20px;
    margin-top: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.login-prompt-modern .prompt-icon {
    font-size: 4em;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.login-prompt-modern h3 {
    color: #fff;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 12px;
}

.login-prompt-modern p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 30px;
    font-size: 1.05em;
}

.prompt-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-modern {
    padding: 14px 32px;
    font-size: 1em;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1A6DFF 0%, #0E1116 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 109, 255, 0.45);
    filter: brightness(0.9);
}

.btn-secondary-modern {
    padding: 14px 32px;
    font-size: 1em;
    font-weight: 700;
    color: #2d3e50;
    background: linear-gradient(135deg, #7fa8ff, #2575f0);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(127, 168, 255, 0.3);
}

.btn-secondary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(127, 168, 255, 0.45);
    filter: brightness(0.95);
}

/* Jours du calendrier de location */
.rental-day-empty {
    aspect-ratio: 1;
}

.rental-day-past {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9em;
    border-radius: 10px;
}

.rental-day-reserved {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.25), 
        rgba(220, 38, 38, 0.2));
    color: #FCA5A5;
    font-size: 0.9em;
    font-weight: 600;
    border-radius: 10px;
    cursor: not-allowed;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.rental-day-available {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.2), 
        rgba(5, 150, 105, 0.15));
    color: #6EE7B7;
    font-size: 0.9em;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.rental-day-available:hover {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.4), 
        rgba(5, 150, 105, 0.3));
    border-color: rgba(16, 185, 129, 0.5);
    transform: scale(1.08);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.rental-day-selected {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1A6DFF 0%, #0d4fd8 100%);
    color: #fff;
    font-size: 0.9em;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 
        0 6px 20px rgba(26, 109, 255, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: selectPop 0.3s ease-out;
}

@keyframes selectPop {
    0% { transform: scale(0.9); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive Bateau Modal */
@media (max-width: 600px) {
    .bateau-modal-header {
        flex-direction: column;
        gap: 18px;
        margin: -20px -20px 20px -20px;
        padding: 20px;
    }
    
    .bateau-title {
        font-size: 1.5em;
    }
    
    .bateau-price-tag {
        grid-column: 1;
        justify-self: start;
        align-self: center;
        width: 100%;
        padding: 14px 20px;
    }
    
    .bateau-price-tag .price-value {
        font-size: 1.5em;
    }
    
    .info-card-row {
        grid-template-columns: 1fr;
    }
    
    .reservation-section {
        padding: 20px;
    }
    
    .calendar-legend-modern {
        gap: 15px;
        padding: 12px 15px;
    }
    
    .prompt-buttons {
        flex-direction: column;
    }
    
    .btn-primary-modern,
    .btn-secondary-modern {
        width: 100%;
    }
}

/* =============================
   LOADING SPINNER
============================= */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #3B82F6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =============================
   LIGHTBOX
============================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(17, 21, 30, 0.05);
    transform-origin: center center;
}

.lightbox-close::before,
.lightbox-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.lightbox-close::before {
    transform: rotate(45deg);
}

.lightbox-close::after {
    transform: rotate(-45deg);
}

.lightbox-close:hover {
    background: rgba(127, 168, 255, 0.15);
    transform: rotate(270deg);
}

.lightbox-close:hover::before,
.lightbox-close:hover::after {
    background: #7fa8ff;
}


.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 21, 30, 0.1);
    border: none;
    color: #fff;
    font-size: 2em;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(17, 21, 30, 0.2);
}

/* ========================================
   Style pour les references de demandes/locations
   ======================================== */
.request-reference {
    font-size: 0.85rem;
    color: #3b82f6;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    background: rgba(96, 165, 250, 0.15);
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 8px;
}

/* ========================================
   BOUTON SUPPRESSION CONVERSATION
   ======================================== */
.btn-delete-conversation {
    padding: 8px;
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: rgba(239, 68, 68, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.btn-delete-conversation:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
    transform: scale(1.05);
}

.btn-delete-conversation svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   MODAL DE CONFIRMATION DE SUPPRESSION
   ======================================== */
.delete-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.delete-confirm-overlay.active {
    opacity: 1;
    visibility: visible;
}

.delete-confirm-box {
    background: linear-gradient(135deg, #1a202b, #0f172a);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.delete-confirm-overlay.active .delete-confirm-box {
    transform: scale(1) translateY(0);
}

/* Bordure neutre pour les modals d'action (pas suppression) */
#action-confirm-modal .delete-confirm-box {
    border-color: rgba(255, 255, 255, 0.15);
}

.delete-confirm-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.delete-confirm-box h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.delete-confirm-box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.delete-confirm-box .delete-warning {
    color: #fbbf24;
    font-size: 0.85rem;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 10px 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.delete-confirm-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.btn-cancel-delete {
    padding: 12px 30px;
    background: rgba(107, 114, 128, 0.2);
    border: 1px solid rgba(107, 114, 128, 0.4);
    border-radius: 10px;
    color: #9ca3af;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel-delete:hover {
    background: rgba(107, 114, 128, 0.3);
    color: #fff;
}

.btn-confirm-delete {
    padding: 12px 30px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm-delete:hover {
    background: linear-gradient(135deg, #f87171, #ef4444);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.4);
}

/* Bouton de confirmation succès (vert) */
.btn-confirm-success {
    padding: 12px 40px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm-success:hover {
    background: linear-gradient(135deg, #34d399, #10b981);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
}

@media (max-width: 480px) {
    .delete-confirm-box {
        padding: 25px 20px;
    }
    
    .delete-confirm-buttons {
        flex-direction: column;
    }
    
    .btn-cancel-delete,
    .btn-confirm-delete,
    .btn-confirm-success,
    .btn-confirm-accept,
    .btn-confirm-validate,
    .btn-confirm-refuse,
    .btn-confirm-decline,
    .btn-confirm-cancel,
    .btn-confirm-action {
        width: 100%;
    }
}

/* ========================================
   FORMULAIRE DE DEMANDE DE LOCATION
   ======================================== */

.rental-form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background: rgba(17, 21, 30, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px;
}

.form-label-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #E5E7EB;
    font-weight: 600;
    font-size: 1em;
}

.form-label-modern svg {
    opacity: 0.7;
    flex-shrink: 0;
}

.form-select-modern {
    width: 100%;
    border-radius: 4px;
    padding: 0 16px 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(17, 21, 30, 0.05);
    color: #fff;
    font-family: inherit;
    font-size: 0.8em;
    height: 34px;
    line-height: 34px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    text-indent: 0;
    vertical-align: middle;
    outline: none;
}

.form-select-modern:focus {
    outline: none;
    border-color: rgba(26, 109, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.15);
}

.form-select-modern option {
    background: #1a1d23 !important;
    color: #fff !important;
    padding: 8px;
}

.form-select-modern option:checked,
.form-select-modern option:hover {
    background: #2a3040 !important;
    color: #fff !important;
}

.form-textarea-modern {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(17, 21, 30, 0.05);
    color: #fff;
    resize: vertical;
    font-family: inherit;
    font-size: 0.875em;
    transition: all 0.3s ease;
    min-height: 70px;
}

.form-textarea-modern:focus {
    outline: none;
    border-color: rgba(26, 109, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.15);
}

.form-textarea-modern::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

/* Attestation sur l'honneur - case à cocher */
.attestation-group {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

/* Ancien bloc checkbox-attestation désactivé - voir section dashboard */
.checkbox-attestation .checkmark {
    display: none !important;
}

.checkbox-attestation .attestation-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

/* ========================================
   SECTION NÉGOCIATION - FORMULAIRE VENTE
   ======================================== */
.negociation-section {
    background: rgba(251, 191, 36, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
    padding: 1rem;
}

.negociation-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.negociation-option {
    display: block;
    cursor: pointer;
}

.negociation-option input[type="radio"] {
    display: none;
}

.negociation-option .option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    background: rgba(17, 21, 30, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
    text-align: center;
    min-height: 60px;
}

.negociation-option:hover .option-content {
    border-color: rgba(251, 191, 36, 0.4);
    background: rgba(251, 191, 36, 0.05);
}

.negociation-option input[type="radio"]:checked + .option-content {
    border-color: var(--accent-gold, #7fa8ff);
    background: rgba(251, 191, 36, 0.1);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

.negociation-option .option-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.negociation-option .option-price {
    font-size: 0.75rem;
    color: var(--accent-gold, #7fa8ff);
    margin-top: 2px;
}

.negociation-option input[type="radio"]:checked + .option-content .option-label {
    color: var(--accent-gold, #7fa8ff);
}

@media (max-width: 400px) {
    .negociation-options {
        grid-template-columns: 1fr;
    }
}

/* Badges pour les infos de demande dans les cards */
.request-details {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px;
    margin-top: 8px;
    grid-column: 1 / -1;
}

.request-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    font-size: 0.9em;
    background: rgba(26, 109, 255, 0.15);
    border: 1px solid rgba(26, 109, 255, 0.25);
    border-radius: 12px;
    color: #93c5fd;
    white-space: nowrap;
}

.request-detail-badge.attestation {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.35);
    color: #4ade80;
    cursor: help;
}

.request-detail-badge svg {
    width: 12px;
    height: 12px;
    opacity: 0.8;
}
/* ========================================
   NOUVEAU SYSTÈME DE RÉSERVATION (Double validation)
   ======================================== */

/* Bouton de validation (demandeur confirme la réservation) */
.btn-validate {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.4), rgba(22, 163, 74, 0.3));
    border: 2px solid rgba(34, 197, 94, 0.6);
    border-radius: 10px;
    color: #22c55e;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulseValidate 2s infinite;
}

@keyframes pulseValidate {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.btn-validate:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.6), rgba(22, 163, 74, 0.5));
    transform: translateY(-2px);
    animation: none;
}

/* Bouton de déclinaison (demandeur refuse l'offre) */
.btn-decline {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.15));
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: #f87171;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-decline:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.4), rgba(220, 38, 38, 0.3));
    transform: translateY(-2px);
}

/* Badge d'information de statut */
.status-info-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-info-badge.waiting {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.15));
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

/* Card qui nécessite une action */
.request-card.needs-action {
    border: 2px solid rgba(34, 197, 94, 0.5) !important;
    animation: pulseCard 3s infinite;
}

@keyframes pulseCard {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3); }
    50% { box-shadow: 0 0 20px 5px rgba(34, 197, 94, 0.15); }
}

/* Statut validée */
.status-validee,
.request-status.status-validee {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(22, 163, 74, 0.2)) !important;
    border: 1px solid rgba(34, 197, 94, 0.4) !important;
    color: #22c55e !important;
}

/* Statut "Offre à confirmer" (acceptee pour le demandeur) */
.request-card.acceptee .request-status {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.2));
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fbbf24;
    animation: pulseStatus 2s infinite;
}

/* Statut "Signature requise" */
.request-card.en_signature .request-status {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(124, 58, 237, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #a78bfa;
    animation: pulseStatus 2s infinite;
}

.request-card.en_signature {
    border-left: 3px solid #8b5cf6;
}

/* Styliser l'emoji éclair en jaune uniforme */
.status-icon-bolt {
    filter: sepia(1) saturate(5) hue-rotate(10deg) brightness(1.1);
    font-style: normal;
    margin-right: 2px;
}

@keyframes pulseStatus {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ========================================
   ATTESTATION LÉGALE DANS CONVERSATION
   ======================================== */
.conversation-info-item.attestation-info .value.attestation-badge {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: help;
    display: inline-block;
}

/* ========================================
   FOOTER LÉGAL & LIENS POLITIQUE - PREMIUM
   ======================================== */
.legal-footer {
    background: linear-gradient(180deg, #0f172a 0%, #0a0f1a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: auto;
    width: 100%;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.legal-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 109, 255, 0.5), transparent);
}

.legal-footer a {
    color: #3b82f6;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.legal-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #93c5fd;
    transition: width 0.3s ease;
}

.legal-footer a:hover {
    color: #93c5fd;
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
}

.legal-footer a:hover::after {
    width: 100%;
}

.footer-separator {
    margin: 0 12px;
    opacity: 0.3;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.4);
}

/* Lien légal dans les formulaires */
.legal-link {
    display: block;
    margin-top: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-link:hover {
    color: #3b82f6;
}

/* Notice légale inscription */
.legal-notice {
    margin-top: 15px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
}

.legal-notice a {
    color: #3b82f6;
    text-decoration: none;
}

.legal-notice a:hover {
    text-decoration: underline;
}

/* =============================
   LOADING OVERLAY (FULL SCREEN) - PREMIUM
============================= */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 17, 22, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-overlay .loader-container {
    text-align: center;
    animation: fadeInScale 0.5s ease-out;
}

.loading-overlay .loader-ring {
    width: 90px;
    height: 90px;
    position: relative;
    margin: 0 auto 30px;
}

.loading-overlay .loader-ring::before,
.loading-overlay .loader-ring::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
}

.loading-overlay .loader-ring::before {
    border-top-color: #3B82F6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    border-right-color: #3B82F6;
    animation: loader-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loading-overlay .loader-ring::after {
    border-bottom-color: #8B5CF6;
    border-left-color: #8B5CF6;
    animation: loader-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite reverse;
    animation-delay: -0.4s;
}

@keyframes loader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay .loader-text {
    color: #EAECEF;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.loading-overlay .loader-subtext {
    color: #6B7280;
    font-size: 0.9rem;
}

.loading-overlay .loader-dots {
    display: inline-flex;
    gap: 4px;
    margin-left: 4px;
}

.loading-overlay .loader-dots span {
    width: 6px;
    height: 6px;
    background: #3B82F6;
    border-radius: 50%;
    animation: loader-dots 1.4s infinite ease-in-out;
}

.loading-overlay .loader-dots span:nth-child(1) { animation-delay: 0s; }
.loading-overlay .loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-overlay .loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes loader-dots {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Variantes de couleur pour le loader */
.loading-overlay.success .loader-ring::before,
.loading-overlay.success .loader-ring::after {
    border-top-color: #22c55e;
    border-right-color: #22c55e;
    border-bottom-color: #10b981;
    border-left-color: #10b981;
}

.loading-overlay.warning .loader-ring::before,
.loading-overlay.warning .loader-ring::after {
    border-top-color: #f59e0b;
    border-right-color: #f59e0b;
    border-bottom-color: #d97706;
    border-left-color: #d97706;
}

/* ========================================
   MODULE ASSURANCE - PREMIUM
   ======================================== */

/* Headers colorés pour l'accordion assurance */
.assurance-header-success {
    border-left: 4px solid #22c55e;
    box-shadow: inset 4px 0 15px -4px rgba(34, 197, 94, 0.3);
}

.assurance-header-warning {
    border-left: 4px solid #f59e0b;
    box-shadow: inset 4px 0 15px -4px rgba(245, 158, 11, 0.3);
}

.assurance-header-danger {
    border-left: 4px solid #ef4444;
    box-shadow: inset 4px 0 15px -4px rgba(239, 68, 68, 0.3);
}

.assurance-header-info {
    border-left: 4px solid #3b82f6;
    box-shadow: inset 4px 0 15px -4px rgba(59, 130, 246, 0.3);
}

/* =============================================
   BANNIÈRE DE STATUT ASSURANCE (en haut)
   ============================================= */
.assurance-status-banner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 32px 36px;
    border-radius: 20px;
    margin: 8px 0 32px 0;
    border: 1px solid;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 100%;
}

.assurance-status-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background: radial-gradient(circle at top right, currentColor 0%, transparent 60%);
    pointer-events: none;
}

.assurance-banner-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.assurance-banner-icon svg {
    width: 40px;
    height: 40px;
}

.assurance-banner-content {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80px;
}

.assurance-banner-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
    display: flex;
    align-items: center;
}

.assurance-banner-desc {
    font-size: 0.95rem;
    margin: 0 0 14px 0;
    opacity: 0.85;
    line-height: 1.5;
    max-width: 600px;
}

.assurance-banner-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    font-size: 0.875rem;
    padding-top: 4px;
}

.assurance-banner-details span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(17, 21, 30, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.assurance-banner-details strong {
    opacity: 0.7;
    font-weight: 500;
}

/* Style SUCCESS (vert) - Design moderne glassmorphism */
.assurance-status-banner-success {
    background: linear-gradient(145deg, 
        rgba(20, 30, 35, 0.95) 0%, 
        rgba(20, 35, 30, 0.9) 50%,
        rgba(25, 45, 35, 0.85) 100%);
    border-color: rgba(16, 185, 129, 0.35);
    color: #10b981;
    box-shadow: 
        0 4px 24px rgba(16, 185, 129, 0.12),
        0 1px 3px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.assurance-status-banner-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(16, 185, 129, 0.6) 20%, 
        rgba(16, 185, 129, 0.8) 50%,
        rgba(16, 185, 129, 0.6) 80%,
        transparent 100%);
    border-radius: 20px 20px 0 0;
}

.assurance-status-banner-success::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.assurance-status-banner-success .assurance-banner-icon {
    background: linear-gradient(145deg, 
        rgba(16, 185, 129, 0.2) 0%, 
        rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 
        0 4px 16px rgba(16, 185, 129, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.assurance-status-banner-success .assurance-banner-icon svg {
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.4));
}

.assurance-status-banner-success .assurance-banner-title,
.assurance-status-banner-success .assurance-banner-desc,
.assurance-status-banner-success .assurance-banner-details {
    color: #fff;
}

.assurance-status-banner-success .assurance-banner-title {
    color: #10b981;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}

.assurance-status-banner-success .assurance-banner-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.assurance-status-banner-success .assurance-banner-desc {
    color: rgba(255, 255, 255, 0.75);
}

.assurance-status-banner-success .assurance-banner-details {
    color: rgba(255, 255, 255, 0.65);
}

/* Style WARNING (orange) - Design moderne glassmorphism */
.assurance-status-banner-warning {
    background: linear-gradient(145deg, 
        rgba(25, 25, 35, 0.95) 0%, 
        rgba(35, 30, 25, 0.9) 50%,
        rgba(45, 35, 25, 0.85) 100%);
    border-color: rgba(245, 158, 11, 0.35);
    color: #f59e0b;
    box-shadow: 
        0 4px 24px rgba(245, 158, 11, 0.12),
        0 1px 3px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.assurance-status-banner-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(245, 158, 11, 0.6) 20%, 
        rgba(245, 158, 11, 0.8) 50%,
        rgba(245, 158, 11, 0.6) 80%,
        transparent 100%);
    border-radius: 20px 20px 0 0;
}

.assurance-status-banner-warning::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.assurance-status-banner-warning .assurance-banner-icon {
    background: linear-gradient(145deg, 
        rgba(245, 158, 11, 0.2) 0%, 
        rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 
        0 4px 16px rgba(245, 158, 11, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: pulseIconWarning 3s ease-in-out infinite;
}

@keyframes pulseIconWarning {
    0%, 100% { 
        box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1); 
    }
    50% { 
        box-shadow: 0 4px 24px rgba(245, 158, 11, 0.3),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1); 
    }
}

.assurance-status-banner-warning .assurance-banner-icon svg {
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.4));
}

.assurance-status-banner-warning .assurance-banner-title,
.assurance-status-banner-warning .assurance-banner-desc,
.assurance-status-banner-warning .assurance-banner-details {
    color: #fff;
}

.assurance-status-banner-warning .assurance-banner-title {
    color: #f59e0b;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}

.assurance-status-banner-warning .assurance-banner-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #f59e0b;
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
    animation: blinkDotWarning 2s ease-in-out infinite;
}

@keyframes blinkDotWarning {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.assurance-status-banner-warning .assurance-banner-desc {
    color: rgba(255, 255, 255, 0.75);
}

.assurance-status-banner-warning .assurance-banner-details {
    color: rgba(255, 255, 255, 0.65);
}

/* Style DANGER (rouge) - Design moderne glassmorphism */
.assurance-status-banner-danger {
    background: linear-gradient(145deg, 
        rgba(17, 21, 30, 0.95) 0%,
        rgba(30, 20, 35, 0.9) 50%,
        rgba(45, 25, 35, 0.85) 100%);
    border-color: rgba(239, 68, 68, 0.35);
    border-width: 1px;
    color: #ef4444;
    box-shadow: 
        0 4px 24px rgba(239, 68, 68, 0.15),
        0 1px 3px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
}

.assurance-status-banner-danger::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(239, 68, 68, 0.6) 20%, 
        rgba(239, 68, 68, 0.8) 50%,
        rgba(239, 68, 68, 0.6) 80%,
        transparent 100%);
    border-radius: 16px 16px 0 0;
}

.assurance-status-banner-danger::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top right, rgba(239, 68, 68, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.assurance-status-banner-danger .assurance-banner-icon {
    background: linear-gradient(145deg, 
        rgba(239, 68, 68, 0.2) 0%, 
        rgba(239, 68, 68, 0.1) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 
        0 4px 16px rgba(239, 68, 68, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: pulseIconDanger 3s ease-in-out infinite;
}

@keyframes pulseIconDanger {
    0%, 100% { 
        box-shadow: 0 4px 16px rgba(239, 68, 68, 0.2),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1); 
    }
    50% { 
        box-shadow: 0 4px 24px rgba(239, 68, 68, 0.35),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1); 
    }
}

.assurance-status-banner-danger .assurance-banner-icon svg {
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.4));
}

.assurance-status-banner-danger .assurance-banner-title {
    color: #fff;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.assurance-status-banner-danger .assurance-banner-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
    animation: blinkDot 2s ease-in-out infinite;
}

@keyframes blinkDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.assurance-status-banner-danger .assurance-banner-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
}

.assurance-status-banner-danger .assurance-banner-details {
    color: rgba(255, 255, 255, 0.65);
}

/* Bannière d'avertissement assurance (Espace Locatif/Vente) */
.assurance-warning-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 12px;
    flex-wrap: wrap;
}

.assurance-warning-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    flex-shrink: 0;
}

.assurance-warning-content {
    flex: 1;
    min-width: 200px;
}

.assurance-warning-content h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #f59e0b;
}

.assurance-warning-content p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.assurance-warning-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f59e0b;
    color: #fff;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.assurance-warning-action:hover {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

@media (max-width: 640px) {
    .assurance-warning-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .assurance-warning-action {
        width: 100%;
        justify-content: center;
    }
}

/* Tablet responsiveness */
@media (max-width: 900px) {
    .assurance-status-banner {
        padding: 28px;
        gap: 24px;
    }
    
    .assurance-banner-icon {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }
    
    .assurance-banner-icon svg {
        width: 34px;
        height: 34px;
    }
    
    .assurance-banner-content {
        min-height: 70px;
    }
    
    .assurance-banner-desc {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .assurance-status-banner {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
        gap: 20px;
        align-items: center;
    }
    
    .assurance-status-banner:hover {
        transform: none;
    }
    
    .assurance-banner-icon {
        margin: 0 auto;
        width: 64px;
        height: 64px;
    }
    
    .assurance-banner-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .assurance-banner-title {
        font-size: 1.1rem !important;
    }
    
    .assurance-banner-title::before {
        display: none !important;
    }
    
    .assurance-banner-details {
        justify-content: center;
        flex-direction: column;
        gap: 8px;
    }
}

/* Badges de statut d'assurance - Premium */
.assurance-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.1rem;
    border-radius: 24px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-left: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.assurance-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}

.assurance-badge:hover::before {
    left: 100%;
}

.assurance-badge:hover {
    transform: translateY(-1px);
}

.assurance-badge-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.12));
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 
        0 2px 12px rgba(16, 185, 129, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.assurance-badge-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.12));
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 
        0 2px 12px rgba(245, 158, 11, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: pulseBadgeWarning 2.5s ease-in-out infinite;
}

@keyframes pulseBadgeWarning {
    0%, 100% { box-shadow: 0 2px 12px rgba(245, 158, 11, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
    50% { box-shadow: 0 2px 20px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
}

.assurance-badge-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.12));
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
    box-shadow: 
        0 2px 12px rgba(239, 68, 68, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: pulseBadgeDanger 2s ease-in-out infinite;
}

@keyframes pulseBadgeDanger {
    0%, 100% { box-shadow: 0 2px 12px rgba(239, 68, 68, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
    50% { box-shadow: 0 2px 20px rgba(239, 68, 68, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
}

.assurance-badge-info {
    background: linear-gradient(135deg, rgba(26, 109, 255, 0.25), rgba(26, 109, 255, 0.12));
    color: #1A6DFF;
    border: 1px solid rgba(26, 109, 255, 0.4);
    box-shadow: 
        0 2px 12px rgba(26, 109, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Carte de statut d'assurance - Premium */
.assurance-status-card {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.75rem;
    padding: 1.75rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    background: linear-gradient(145deg, rgba(30, 35, 42, 0.8), rgba(25, 30, 38, 0.8));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.assurance-status-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%);
    pointer-events: none;
}

.assurance-status-success {
    border-left: 4px solid #22c55e;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(30, 35, 42, 0.8) 100%);
}

.assurance-status-warning {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(30, 35, 42, 0.8) 100%);
}

.assurance-status-danger {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(30, 35, 42, 0.8) 100%);
}

.assurance-status-info {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(30, 35, 42, 0.8) 100%);
}

.assurance-status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.assurance-status-card:hover .assurance-status-icon {
    transform: scale(1.05);
}

.assurance-status-success .assurance-status-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.15));
    color: #22c55e;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.25);
}

.assurance-status-warning .assurance-status-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(245, 158, 11, 0.15));
    color: #f59e0b;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
}

.assurance-status-danger .assurance-status-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(239, 68, 68, 0.15));
    color: #ef4444;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.25);
}

.assurance-status-info .assurance-status-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.15));
    color: #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
}

.assurance-status-info h4 {
    color: #EAECEF;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.assurance-status-info p {
    color: #9CA3AF;
    font-size: 0.9rem;
    line-height: 1.5;
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
}

.assurance-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: 1rem;
}

.assurance-details span {
    font-size: 0.85rem;
    color: #9CA3AF;
}

.assurance-details strong {
    color: #EAECEF;
    padding-left: 0.5rem;
}

.assurance-warning-box {
    width: 100%;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #fca5a5;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Formulaire d'assurance */
.assurance-form-section {
    padding: 1.5rem;
    background: rgba(30, 35, 42, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
}

.assurance-form-section h3 {
    color: #EAECEF;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.assurance-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Sélecteur de type d'assurance */
.assurance-type-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.assurance-type-option {
    cursor: pointer;
}

.assurance-type-option input[type="radio"] {
    display: none;
}

.assurance-type-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(17, 21, 30, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.2s ease;
    position: relative;
}

.assurance-type-card:hover {
    border-color: rgba(26, 109, 255, 0.4);
    background: rgba(17, 21, 30, 0.8);
}

.assurance-type-option input[type="radio"]:checked + .assurance-type-card {
    border-color: #1A6DFF;
    background: rgba(26, 109, 255, 0.1);
    box-shadow: 0 0 12px rgba(26, 109, 255, 0.2);
}

.assurance-type-card.recommended {
    border-color: rgba(34, 197, 94, 0.3);
}

.assurance-type-option input[type="radio"]:checked + .assurance-type-card.recommended {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.2);
}

.assurance-type-badge {
    position: absolute;
    top: -8px;
    right: 12px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.assurance-type-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(26, 109, 255, 0.15);
    border-radius: 10px;
    flex-shrink: 0;
}

.assurance-type-icon svg {
    stroke: #1A6DFF;
}

.assurance-type-card.recommended .assurance-type-icon {
    background: rgba(34, 197, 94, 0.15);
}

.assurance-type-card.recommended .assurance-type-icon svg {
    stroke: #22c55e;
}

.assurance-type-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.assurance-type-info strong {
    color: #EAECEF;
    font-size: 0.95rem;
}

.assurance-type-info span {
    color: #9CA3AF;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Checkbox assurance */
.assurance-checkbox {
    margin-top: 0.5rem;
    padding: 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
}

.assurance-checkbox .attestation-text em {
    display: block;
    margin-top: 4px;
    color: #f59e0b;
    font-size: 0.8rem;
}

.file-upload-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6B7280;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.form-hint {
    font-size: 0.75rem;
    color: #6B7280;
    font-weight: normal;
    margin-left: 0.5rem;
}

/* Historique des assurances */
.assurance-history-section {
    margin-top: 2rem;
}

/* Card historique style equip-card */
.equip-card.assurance-history-card {
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    border-color: rgba(139, 92, 246, 0.3);
}

.equip-card.assurance-history-card:hover {
    border-color: rgba(139, 92, 246, 0.5);
}

.assurance-history-section h3 {
    color: #EAECEF;
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.assurance-history-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.assurance-history-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(30, 35, 42, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.assurance-history-item:hover {
    background: rgba(40, 45, 55, 0.6);
}

.assurance-history-valide {
    border-left: 3px solid #22c55e;
}

.assurance-history-expire {
    border-left: 3px solid #6B7280;
    opacity: 0.7;
}

.assurance-history-en_attente {
    border-left: 3px solid #f59e0b;
}

.assurance-history-refuse {
    border-left: 3px solid #ef4444;
    opacity: 0.7;
}

.assurance-history-info {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    min-width: 200px;
}

.assurance-history-type {
    font-weight: 600;
    color: #EAECEF;
}

.assurance-history-assureur {
    color: #9CA3AF;
}

.assurance-history-dates {
    color: #6B7280;
    font-size: 0.85rem;
}

.assurance-history-status {
    flex-shrink: 0;
}

.assurance-status-tag {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.assurance-status-tag-valide {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.assurance-status-tag-expire {
    background: rgba(107, 114, 128, 0.2);
    color: #9CA3AF;
}

.assurance-status-tag-en_attente {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.assurance-status-tag-refuse {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.assurance-history-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-download {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.btn-download:hover {
    background: rgba(59, 130, 246, 0.4);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.4);
}

/* Responsive pour le module assurance */
@media (max-width: 768px) {
    .assurance-status-card {
        flex-direction: column;
        text-align: center;
    }
    
    .assurance-status-icon {
        margin: 0 auto;
    }
    
    .assurance-details {
        justify-content: center;
    }
    
    .assurance-history-item {
        flex-direction: column;
        text-align: center;
    }
    
    .assurance-history-info {
        justify-content: center;
    }
}

/* Alerte assurance sur page bateau */
.assurance-alert-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.assurance-alert-icon {
    flex-shrink: 0;
    color: #f59e0b;
    margin-top: 2px;
}

.assurance-alert-content {
    flex: 1;
}

.assurance-alert-content strong {
    display: block;
    color: #fbbf24;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.assurance-alert-content p {
    color: #fde68a;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.assurance-alert-link {
    color: #fbbf24;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.assurance-alert-link:hover {
    color: #fcd34d;
}

/* ========================================
   MOT DE PASSE OUBLIÉ - PREMIUM
   ======================================== */

.forgot-password-container {
    position: relative;
    color: #ffffff;
    max-width: 450px;
    margin: 0 auto;
    padding: 15px 0;
    animation: fadeInUp 0.4s ease-out;
}

.forgot-password-container .modal-back-btn {
    margin-bottom: 24px;
}

.forgot-password-container .modal-back-btn a {
    color: #7fa8ff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 10px;
    background: rgba(127, 168, 255, 0.1);
}

.forgot-password-container .modal-back-btn a:hover {
    color: #7fa8ff;
    background: rgba(127, 168, 255, 0.2);
    transform: translateX(-4px);
}

.forgot-password-container .modal-icon {
    text-align: center;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.forgot-password-container .modal-icon svg {
    filter: drop-shadow(0 4px 12px rgba(26, 109, 255, 0.3));
}

.forgot-password-container .modal-title {
    text-align: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #ffffff 0%, #c0c0c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.forgot-password-container .modal-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    font-size: 1rem;
    line-height: 1.6;
}

.forgot-password-container .form-group {
    margin-bottom: 28px;
}

.forgot-password-container .form-label-modal {
    display: block;
    margin-bottom: 10px;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 600;
}

.forgot-password-link {
    display: inline-block;
    margin-top: 10px;
    color: #7fa8ff;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.forgot-password-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #7fa8ff;
    transition: width 0.3s ease;
}

.forgot-password-link:hover {
    color: #7fa8ff;
}

.forgot-password-link:hover::after {
    width: 100%;
}

/* Résumé de sélection dans formulaire réservation */
.reservation-form .selection-summary,
#rental-form .selection-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    width: 100%;
}

.reservation-form .summary-row,
#rental-form .summary-row {
    flex: 1 1 auto;
    min-width: 120px;
    max-width: 280px;
}

/* ========================================
   AMÉLIORATIONS PREMIUM ADDITIONNELLES
   ======================================== */

/* Effet de brillance sur les images au survol */
.boat-image-container::after,
.boat-image-dash::after,
.gallery-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(17, 21, 30, 0.1),
        transparent
    );
    transition: left 0.8s ease;
    pointer-events: none;
}

.boat-card:hover .boat-image-container::after,
.boat-card-dash:hover .boat-image-dash::after {
    left: 150%;
}

/* Amélioration des ombres portées */
.shadow-premium {
    box-shadow: 
        0 10px 40px -10px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Fond avec effet de grain subtil */
.bg-grain::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 0;
}

/* Animation de pulsation pour éléments importants */
.pulse-glow {
    animation: glowPulse 2s ease-in-out infinite;
}

/* Transition smooth pour tous les liens */
a {
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* Amélioration du focus pour l'accessibilité */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgba(26, 109, 255, 0.7);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(26, 109, 255, 0.2);
}

/* Texte avec dégradé */
.gradient-text-gold {
    background: linear-gradient(135deg, #7fa8ff, #7fa8ff, #7fa8ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

.gradient-text-blue {
    background: linear-gradient(135deg, #1A6DFF, #3b82f6, #1A6DFF);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

/* Bordure lumineuse animée */
.border-glow {
    position: relative;
}

.border-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #1A6DFF, #7fa8ff, #1A6DFF, #7fa8ff);
    background-size: 400% 400%;
    animation: gradientShift 4s linear infinite;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.border-glow:hover::before {
    opacity: 1;
}

/* Amélioration des placeholders */
::placeholder {
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.3s ease, opacity 0.3s ease;
}

input:focus::placeholder,
textarea:focus::placeholder {
    opacity: 0.6;
}

/* Animation d'apparition pour les cartes */
.card-appear {
    animation: fadeInUp 0.5s ease-out backwards;
}

.card-appear:nth-child(1) { animation-delay: 0.1s; }
.card-appear:nth-child(2) { animation-delay: 0.2s; }
.card-appear:nth-child(3) { animation-delay: 0.3s; }
.card-appear:nth-child(4) { animation-delay: 0.4s; }
.card-appear:nth-child(5) { animation-delay: 0.5s; }
.card-appear:nth-child(6) { animation-delay: 0.6s; }

/* Effet de verre dépoli amélioré */
.glass-premium {
    background: linear-gradient(
        135deg,
        rgba(17, 21, 30, 0.1) 0%,
        rgba(17, 21, 30, 0.05) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Animation flottante subtile */
.float-subtle {
    animation: float 6s ease-in-out infinite;
}

/* Hover lift effect global */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Style pour les séparateurs */
.divider-premium {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(17, 21, 30, 0.15),
        transparent
    );
    margin: 2rem 0;
}

/* Amélioration du contraste pour le texte */
.text-high-contrast {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Media query pour réduire les animations sur préférence utilisateur */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode optimisé pour écrans OLED */
@media (prefers-color-scheme: dark) {
    .bg-dark,
    body {
        background-color: #000000;
    }
}

/* ========================================
   MENU DÉROULANT CATALOGUE - DESIGN MODERNE DARK
   ======================================== */

.catalogue-dropdown {
    position: relative;
}

.catalogue-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.catalogue-dropdown:hover .dropdown-arrow,
.catalogue-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* Menu déroulant - Dark Glassmorphism */
.catalogue-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 15px;
    background: rgb(12, 16, 28);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    min-width: 720px;
    overflow: visible;
}

.catalogue-dropdown:hover .catalogue-menu,
.catalogue-dropdown.open .catalogue-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

/* Flèche du menu */
.catalogue-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgb(12, 16, 28);
}

/* Onglets Location / Vente */
.catalogue-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.catalogue-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 24px 14px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    margin-bottom: -1px;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.catalogue-tab svg {
    transition: all 0.3s ease;
}

.catalogue-tab:hover {
    color: rgba(255, 255, 255, 0.8);
}

.catalogue-tab.active {
    color: #fff;
    border-bottom-color: #1A6DFF;
}

.catalogue-tab.active svg {
    color: #1A6DFF;
}

/* Panels */
.catalogue-panel {
    display: none;
}

.catalogue-panel.active {
    display: flex;
    animation: catalogueFadeIn 0.3s ease;
}

@keyframes catalogueFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.catalogue-menu-inner {
    min-height: 200px;
}

/* Colonne gauche - Catégories */
.catalogue-categories {
    width: 260px;
    background: rgba(0, 0, 0, 0.2);
    padding: 16px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.catalogue-search-box {
    position: relative;
    padding: 0 16px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 8px;
}

.catalogue-search-box input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 14px;
    color: #fff;
    background: rgba(17, 21, 30, 0.05);
    transition: all 0.2s ease;
}

.catalogue-search-box input:focus {
    outline: none;
    border-color: rgba(26, 109, 255, 0.5);
    background: rgba(17, 21, 30, 0.08);
    box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.15);
}

.catalogue-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.catalogue-search-box svg {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-70%);
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.categories-list {
    list-style: none;
    margin: 0;
    padding: 0 8px;
    max-height: 300px;
    overflow-y: auto;
}

.categories-list::-webkit-scrollbar {
    width: 4px;
}

.categories-list::-webkit-scrollbar-track {
    background: transparent;
}

.categories-list::-webkit-scrollbar-thumb {
    background: rgba(17, 21, 30, 0.1);
    border-radius: 2px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 10px;
    margin-bottom: 4px;
    border: 1px solid transparent;
    background: transparent;
}

.category-item:hover {
    background: rgba(17, 21, 30, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.category-item.active {
    background: linear-gradient(135deg, rgba(26, 109, 255, 0.2), rgba(26, 109, 255, 0.1));
    color: #fff;
    border: 1px solid rgba(26, 109, 255, 0.3);
}

.category-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 21, 30, 0.05);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.category-item:hover .category-icon,
.category-item.active .category-icon {
    background: rgba(26, 109, 255, 0.2);
    color: #1A6DFF;
}

.category-name {
    flex: 1;
}

.category-arrow {
    opacity: 0.4;
    transition: all 0.2s ease;
}

.category-item:hover .category-arrow,
.category-item.active .category-arrow {
    opacity: 1;
    transform: translateX(3px);
    color: #1A6DFF;
}

/* Colonne droite - Sous-catégories */
.catalogue-subcategories {
    flex: 1;
    padding: 24px 28px;
    position: relative;
}

.subcategory-panel {
    display: none;
}

.subcategory-panel.active {
    display: block;
    animation: subPanelFadeIn 0.25s ease;
}

@keyframes subPanelFadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.subcategory-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.subcategory-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(26, 109, 255, 0.2), rgba(26, 109, 255, 0.1));
    border: 1px solid rgba(26, 109, 255, 0.3);
    border-radius: 14px;
    color: #1A6DFF;
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.2);
}

.subcategory-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
}

.subcategory-count {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.subcategory-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
}

.subcategory-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.subcategory-list li a:hover {
    background: rgba(17, 21, 30, 0.05);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.08);
}

.subcategory-list li a:hover svg {
    transform: translateX(3px);
    color: #1A6DFF;
}

.subcategory-list li a svg {
    opacity: 0;
    transition: all 0.2s ease;
}

.subcategory-list li a:hover svg {
    opacity: 1;
}

.see-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(26, 109, 255, 0.15), rgba(26, 109, 255, 0.08));
    border: 1px solid rgba(26, 109, 255, 0.3);
    border-radius: 12px;
    color: #1A6DFF;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.see-all-link:hover {
    background: linear-gradient(135deg, rgba(26, 109, 255, 0.25), rgba(26, 109, 255, 0.15));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.2);
}

.see-all-link:hover svg {
    transform: translateX(4px);
}

.see-all-link svg {
    transition: transform 0.2s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .catalogue-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        margin: 0;
        border-radius: 0;
        min-width: 100%;
        overflow-y: auto;
    }
    
    .catalogue-menu::before {
        display: none;
    }
    
    .catalogue-tabs {
        padding: 12px 16px 0;
    }
    
    .catalogue-tab {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .catalogue-panel.active {
        flex-direction: column;
    }
    
    .catalogue-menu-inner {
        min-height: auto;
    }
    
    .catalogue-categories {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding: 12px 0;
    }
    
    .categories-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 12px;
        gap: 8px;
        max-height: none;
    }
    
    .category-item {
        flex-shrink: 0;
        padding: 10px 14px;
    }
    
    .category-arrow {
        display: none;
    }
    
    .catalogue-subcategories {
        padding: 20px 16px;
    }
    
    .subcategory-list {
        grid-template-columns: 1fr;
    }
    
    .see-all-link {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   CONVERSATION MODAL - LOGO DU CLUB
   ======================================== */

/* Header avec logo du club */
.conversation-club-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.conversation-club-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(37, 117, 240, 0.2);
    flex-shrink: 0;
}

.conversation-club-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conversation-club-logo .logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #2575f0, #7fa8ff);
}

.conversation-club-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.conversation-club-info .club-role {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.conversation-club-info .club-name {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

/* Badges dans la conversation modal */
.conversation-info-item.conversation-badges {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   BOUTONS DE CONFIRMATION MODAL
   ======================================== */

.btn-confirm-accept,
.btn-confirm-validate {
    padding: 12px 30px;
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm-accept:hover,
.btn-confirm-validate:hover {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.4);
}

.btn-confirm-refuse,
.btn-confirm-decline {
    padding: 12px 30px;
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm-refuse:hover,
.btn-confirm-decline:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.4);
}

.btn-confirm-cancel {
    padding: 12px 30px;
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm-cancel:hover {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4);
}

.btn-confirm-action {
    padding: 12px 30px;
    background: linear-gradient(135deg, #2575f0, #4f46e5) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm-action:hover {
    background: linear-gradient(135deg, #4f46e5, #4338ca) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

/* ========================================
   SECTION DEMANDES - NOUVEAU DESIGN
   ======================================== */

/* Résumé et statistiques */
.requests-summary {
    background: rgba(37, 117, 240, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.summary-stats {
    display: flex;
    gap: 25px;
}

.summary-stat {
    text-align: center;
}

.summary-stat .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.summary-stat .stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-stat.action-required .stat-number {
    color: #fbbf24;
}

.summary-stat.action-required .stat-label {
    color: #fbbf24;
}

/* Filtres par catégorie */
.requests-filters-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 10px 0;
}

.filter-btn {
    background: rgba(17, 21, 30, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.filter-btn:hover {
    background: rgba(17, 21, 30, 0.15);
    color: #fff;
}

.filter-btn.active {
    background: linear-gradient(135deg, #2575f0, #7fa8ff);
    border-color: #6366f1;
    color: #fff;
}

.filter-btn .filter-count {
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
}

/* Bouton "À confirmer" avec style distinct */
.filter-btn.action-required {
    background: rgba(251, 146, 60, 0.15);
    border-color: rgba(251, 146, 60, 0.4);
    color: #fb923c;
}

.filter-btn.action-required:hover {
    background: rgba(251, 146, 60, 0.25);
    border-color: rgba(251, 146, 60, 0.6);
    color: #fdba74;
}

.filter-btn.action-required.active {
    background: linear-gradient(135deg, #f97316, #fb923c);
    border-color: #f97316;
    color: #fff;
}

.filter-btn.action-required .filter-count {
    background: rgba(0, 0, 0, 0.25);
}

/* Bouton "À signer" avec style violet */
.filter-btn.action-required.a-signer {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    color: #a78bfa;
}

.filter-btn.action-required.a-signer:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.6);
    color: #c4b5fd;
}

.filter-btn.action-required.a-signer.active {
    background: linear-gradient(135deg, #7fa8ff, #7c3aed);
    border-color: #8b5cf6;
    color: #fff;
}

/* Bouton Notifications */
.filter-btn.notifications-filter {
    background: rgba(17, 21, 30, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.filter-btn.notifications-filter.has-notifications {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.filter-btn.notifications-filter.has-notifications:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

.filter-btn.notifications-filter.active {
    background: linear-gradient(135deg, #ef4444, #f87171);
    border-color: #ef4444;
    color: #fff;
}

.filter-btn.notifications-filter .notification-count {
    background: #ef4444;
    color: #fff;
    min-width: 18px;
    text-align: center;
}

.filter-btn.notifications-filter .status-svg {
    margin-right: 2px;
}

/* Titres des sections */
.messaging-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.messaging-title svg {
    opacity: 0.7;
}

.messaging-title .count {
    background: rgba(37, 117, 240, 0.3);
    color: #a5b4fc;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Cartes de demande - Nouveau design */
.request-card {
    background: rgba(17, 21, 30, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    overflow: hidden;
}

.request-card:hover {
    background: rgba(17, 21, 30, 0.06);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.request-card.needs-action {
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.1);
}

/* En-tête de la carte */
.request-card .request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.request-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.category-icon.bateaux {
    background-color: rgba(59, 130, 246, 0.2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b82f6'%3E%3Cpath d='M3 18h18v2H3v-2zm18.5-2.5c.28 0 .5-.22.5-.5v-1c0-.28-.22-.5-.5-.5H18l-1.7-6.12c-.16-.56-.67-.88-1.3-.88H9c-.63 0-1.14.32-1.3.88L6 13.5H2.5c-.28 0-.5.22-.5.5v1c0 .28.22.5.5.5h19z'/%3E%3C/svg%3E");
}

.category-icon.ergometres {
    background-color: rgba(239, 68, 68, 0.2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ef4444'%3E%3Cpath d='M20.57 14.86L22 13.43L20.57 12L17 15.57L8.43 7L12 3.43L10.57 2L9.14 3.43L7.71 2L5.57 4.14L4.14 2.71L2.71 4.14L4.14 5.57L2 7.71L3.43 9.14L2 10.57L3.43 12L7 8.43L15.57 17L12 20.57L13.43 22L14.86 20.57L16.29 22L18.43 19.86L19.86 21.29L21.29 19.86L19.86 18.43L22 16.29L20.57 14.86Z'/%3E%3C/svg%3E");
}

.category-icon.accessoires {
    background-color: rgba(34, 197, 94, 0.2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2322c55e'%3E%3Cpath d='M19 7c0-1.1-.9-2-2-2h-3v2h3v2.65L13.52 14H10V9H6c-2.21 0-4 1.79-4 4v3h2c0 1.66 1.34 3 3 3s3-1.34 3-3h4.48L19 10.35V7zM7 17c-.55 0-1-.45-1-1h2c0 .55-.45 1-1 1z'/%3E%3Ccircle cx='17' cy='16' r='3'/%3E%3C/svg%3E");
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.item-details .item-name {
    color: #fff;
    font-size: 0.95rem;
}

.item-details .item-type {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

/* Statut */
.request-status {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.request-status .status-icon {
    display: inline-flex;
    align-items: center;
}

.request-status .status-icon svg,
.request-status .status-svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.request-status.pulse {
    animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Corps de la carte */
.request-card .request-body {
    padding: 15px;
}

/* Infos club */
.request-club-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.club-avatar {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2575f0, #7fa8ff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.club-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.club-details .club-name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.club-details .request-ref {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    font-family: monospace;
}

.request-club-info .unread-badge {
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
}

/* Métadonnées */
.request-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.meta-item svg {
    opacity: 0.5;
}

.meta-item.price {
    color: #22c55e;
    font-weight: 600;
}

.meta-item.quantity {
    background: rgba(37, 117, 240, 0.2);
    padding: 2px 8px;
    border-radius: 8px;
    color: #a5b4fc;
}

.meta-item.deadline {
    color: #fcd34d;
}

/* Badges */
.request-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.request-badges .badge {
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.request-badges .badge.motif {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
}

.request-badges .badge.categorie {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.request-badges .badge.public {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.request-badges .badge.attestation {
    background: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

/* Actions */
.request-card .request-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-conversation {
    background: rgba(37, 117, 240, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-conversation:hover {
    background: rgba(37, 117, 240, 0.3);
    color: #fff;
}

.btn-conversation .msg-count {
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 8px;
}

.btn-action {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    border: none;
}

.btn-action.accept {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
}

.btn-action.accept:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.btn-action.refuse,
.btn-action.decline {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.btn-action.refuse:hover,
.btn-action.decline:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #fff;
}

.btn-action.validate {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
}

.btn-action.validate:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.btn-action.cancel {
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fcd34d;
}

.btn-action.cancel:hover {
    background: rgba(251, 191, 36, 0.3);
}

.btn-action.sign {
    background: linear-gradient(135deg, #7fa8ff, #7c3aed);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.btn-action.sign:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

a.btn-action.sign {
    display: inline-flex;
}

.btn-action.waiting {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border: none;
}

.btn-action.waiting:hover {
    opacity: 0.9;
}

a.btn-action.waiting {
    display: inline-flex;
}

.btn-delete {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: rgba(239, 68, 68, 0.7);
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}

.btn-delete:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.status-waiting {
    color: rgba(251, 191, 36, 0.8);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}
.status-waiting:hover {
    color: rgba(251, 191, 36, 1);
}

/* État vide */
.empty-requests {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.4);
}

.empty-requests svg {
    margin-bottom: 15px;
    opacity: 0.3;
}

.empty-requests p {
    margin: 0 0 5px;
    font-size: 0.95rem;
}

.empty-requests .empty-hint {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .requests-summary {
        flex-direction: column;
        align-items: stretch;
    }
    
    .summary-stats {
        justify-content: space-around;
    }
    
    .requests-filters {
        justify-content: center;
    }
    
    .request-card .request-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .request-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .request-card .request-actions {
        flex-direction: column;
    }
    
    .btn-delete {
        margin-left: 0;
    }
}

/* ========================================
   INDICATION VALEUR CONSEILLEE
   ======================================== */
.form-hint-recommended {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fbbf24;
    font-size: 0.8em;
    margin-top: 6px;
    padding: 4px 8px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 4px;
    border-left: 2px solid #fbbf24;
}

.form-hint-recommended svg {
    flex-shrink: 0;
    stroke: #fbbf24;
}

/* Alerte fixe en haut de page */
.alert-fixed-top {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    max-width: 600px;
    width: calc(100% - 40px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.alert-close {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    padding: 0 5px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.alert-close:hover {
    opacity: 1;
}

/* ========================================
   DISTINCTION DEMANDES REÇUES VS ENVOYÉES
   ======================================== */
.messaging-subsection.subsection-received {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04) 0%, rgba(59, 130, 246, 0.01) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
}

.messaging-subsection.subsection-received .messaging-title {
    margin-bottom: 20px;
}

.messaging-subsection.subsection-received .request-card {
    border-left: 3px solid rgba(59, 130, 246, 0.4);
}

.messaging-subsection.subsection-sent {
    background: linear-gradient(135deg, rgba(37, 117, 240, 0.08) 0%, rgba(37, 117, 240, 0.02) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
}

.messaging-subsection.subsection-sent .messaging-title {
    margin-bottom: 20px;
}

.messaging-subsection.subsection-sent .request-card {
    border-left: 3px solid rgba(99, 102, 241, 0.5);
}

.messaging-title .section-hint {
    width: 100%;
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
    margin-left: 0;
}

.messaging-title .section-hint-inline {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 10px;
}

.messaging-title.received::before,
.messaging-title.sent::before {
    display: none;
}

/* Badges vente / location */
.badge-conv-type {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    vertical-align: middle;
    margin-left: 6px;
}

.badge-vente {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-location {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.request-card-vente {
    border-left-color: rgba(245, 158, 11, 0.5) !important;
}

/* Icônes pour les sections reçues et envoyées */
.messaging-subsection.subsection-received .messaging-title::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
    flex-shrink: 0;
}

.messaging-subsection.subsection-sent .messaging-title::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
    flex-shrink: 0;
}

.messaging-title.received,
.messaging-title.sent {
    flex-wrap: wrap;
}

.messaging-title.received svg,
.messaging-title.sent svg {
    flex-shrink: 0;
}

/* ========================================
   AIRBNB-STYLE 3-COLUMN MESSAGING LAYOUT
   ======================================== */
.airbnb-messaging-section {
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}

.airbnb-messaging {
    display: flex;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(17, 21, 30, 0.6);
    /* hauteur définie par JS via --msg-height */
    height: var(--msg-height, 70vh);
}

/* LEFT PANEL: Conversation List */
.airbnb-conv-list {
    width: 380px;
    min-width: 320px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
}

.conv-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.conv-list-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.conv-list-count {
    background: rgba(37, 117, 240, 0.3);
    color: #a5b4fc;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.conv-list-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.conv-filter {
    background: rgba(17, 21, 30, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.73rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.conv-filter:hover {
    background: rgba(17, 21, 30, 0.1);
    color: #fff;
}

.conv-filter.active {
    background: #1A6DFF;
    border-color: #1A6DFF;
    color: #fff;
}

.conv-filter-count {
    font-size: 0.7rem;
    opacity: 0.8;
}

.conv-list-items {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.conv-list-items::-webkit-scrollbar {
    width: 4px;
}

.conv-list-items::-webkit-scrollbar-thumb {
    background: rgba(17, 21, 30, 0.15);
    border-radius: 4px;
}

/* Conversation List Item */
.conv-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.15s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    border-left: 3px solid transparent;
}

.conv-list-item:hover {
    background: rgba(17, 21, 30, 0.05);
}

.conv-list-item.active {
    background: rgba(37, 117, 240, 0.12);
    border-left-color: #6366f1;
}

.conv-item-avatar {
    flex-shrink: 0;
}

.conv-item-avatar .category-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
}

.conv-item-avatar .conv-club-logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
    background: rgba(17, 21, 30, 0.1);
}

.conv-item-avatar .conv-club-acronyme {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2575f0, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.conv-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.conv-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conv-item-name {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conv-item-date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-left: 8px;
}

.conv-item-equipment {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Type tag (Location / Achat) dans la liste de conversations */
.conv-type-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    flex-shrink: 0;
}
.conv-type-location {
    background: rgba(26, 109, 255, 0.15);
    color: #5b9aff;
    border: 1px solid rgba(26, 109, 255, 0.3);
}
.conv-type-vente {
    background: rgba(127, 168, 255, 0.15);
    color: #7fa8ff;
    border: 1px solid rgba(127, 168, 255, 0.3);
}

.conv-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2px;
}

.conv-item-status {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.conv-item-unread {
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.conv-list-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

.conv-list-empty svg {
    opacity: 0.3;
    margin-bottom: 15px;
}

.conv-list-empty p {
    margin: 0;
    font-size: 0.9rem;
}

/* CENTER PANEL: Chat */
.airbnb-conv-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: rgba(0, 0, 0, 0.15);
}

.conv-chat-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    padding: 40px;
}

.conv-chat-placeholder svg {
    opacity: 0.25;
    margin-bottom: 20px;
}

.conv-chat-placeholder h3 {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
}

.conv-chat-placeholder p {
    margin: 0;
    font-size: 0.9rem;
}

.conv-chat-active {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Chat Header */
.conv-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.conv-chat-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.conv-back-btn {
    display: none;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s;
}

.conv-back-btn:hover {
    background: rgba(17, 21, 30, 0.1);
    color: #fff;
}

.conv-chat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #2575f0, #7fa8ff);
    display: flex;
    align-items: center;
    justify-content: center;
}

.conv-chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conv-chat-avatar .logo-fallback {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.conv-chat-header-info {
    display: flex;
    flex-direction: column;
}

.conv-chat-club-name {
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
}

.conv-chat-role {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
}

.conv-chat-header-right {
    flex-shrink: 0;
}

/* Chat Messages */
.conv-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.conv-chat-messages::-webkit-scrollbar {
    width: 4px;
}

.conv-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(17, 21, 30, 0.1);
    border-radius: 4px;
}

.conv-no-messages {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    padding: 40px;
    font-style: italic;
}

.conv-chat-messages .message-bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 16px;
    position: relative;
}

.conv-chat-messages .message-bubble.sent {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(37, 117, 240, 0.45), rgba(139, 92, 246, 0.35));
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-bottom-right-radius: 4px;
}

.conv-chat-messages .message-bubble.received {
    align-self: flex-start;
    background: rgba(17, 21, 30, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 4px;
}

.conv-chat-messages .message-bubble p {
    margin: 0 0 6px;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.55;
}

.conv-chat-messages .message-bubble .message-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    text-align: right;
}

/* Chat Input */
.conv-chat-input {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-shrink: 0;
}

.conv-chat-input textarea {
    flex: 1;
    padding: 12px 16px;
    background: rgba(17, 21, 30, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 22px;
    color: #fff;
    font-size: 0.95rem;
    resize: none;
    height: 44px;
    max-height: 120px;
    font-family: inherit;
    line-height: 1.4;
}

.conv-chat-input textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.conv-chat-input textarea:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
}

.conv-chat-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2575f0, #7fa8ff);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.conv-chat-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.conv-chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* RIGHT PANEL: Detail */
.airbnb-conv-detail {
    width: 360px;
    min-width: 300px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.airbnb-conv-detail::-webkit-scrollbar {
    width: 4px;
}

.airbnb-conv-detail::-webkit-scrollbar-thumb {
    background: rgba(17, 21, 30, 0.1);
    border-radius: 4px;
}

.conv-detail-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.25);
    text-align: center;
    padding: 40px;
}

.conv-detail-placeholder svg {
    opacity: 0.2;
    margin-bottom: 15px;
}

.conv-detail-placeholder p {
    margin: 0;
    font-size: 0.85rem;
}

.conv-detail-active {
    padding: 0;
}

.conv-detail-section {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.conv-detail-section h4 {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.conv-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.conv-detail-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
}

.conv-detail-value {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    text-align: right;
}

.conv-detail-value.conv-price {
    color: #22c55e;
    font-size: 1.1rem;
    font-weight: 700;
}

.conv-detail-value.conv-ref {
    font-family: monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.conv-detail-status {
    display: flex;
    justify-content: center;
}

.conv-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.conv-detail-badge {
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.conv-detail-badge.motif {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
}

.conv-detail-badge.categorie {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.conv-detail-badge.public {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.conv-detail-attestation {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
}

.conv-detail-club {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.conv-detail-club-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #2575f0, #7fa8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.conv-detail-club-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================================
   HERO MARKETPLACE - SECTION D'ACCUEIL
   ================================================ */

.hero-marketplace {
    padding: 60px 0 40px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 40px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

/* Colonne Gauche - Formulaire de recherche */
.hero-content.hero-search {
    max-width: 520px;
    background: rgba(17, 21, 30, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
}

.hero-search-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-search-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.btn-reset-hero {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-reset-hero:hover {
    background: rgba(239, 68, 68, 0.25);
}

.hero-filters-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hero-filter-half {
    min-width: 0;
}

.hero-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #1A6DFF 0%, #0D5FE8 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(26, 109, 255, 0.3);
    margin-top: 8px;
}

.hero-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 109, 255, 0.4);
}

.hero-mini-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.hero-mini-stats strong {
    color: #fff;
}

/* Section Filtres Avancés */
.advanced-filters-section {
    padding: 24px 0;
    background: linear-gradient(180deg, #161b22 0%, #0E1116 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.advanced-filters-card {
    background: rgba(17, 21, 30, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.advanced-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.advanced-filters-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.advanced-filters-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(17, 21, 30, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
}

.advanced-filters-close:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Responsive Hero Search */
@media (max-width: 1024px) {
    .hero-content.hero-search {
        max-width: 100%;
        order: 2;
    }
    
    .hero-visual {
        order: 1;
    }
}

@media (max-width: 640px) {
    .hero-content.hero-search {
        padding: 20px;
    }
    
    .hero-search-title {
        font-size: 1.25rem;
    }
    
    .hero-filter-row {
        grid-template-columns: minmax(0, 1fr);
    }
    
    .hero-search-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge-location {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.hero-badge-vente {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 20px 0;
}

.text-gradient-location {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-vente {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-marketplace .hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 32px 0;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

/* Colonne Droite - Visuel */
.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-height: 550px;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 550px;
    background: linear-gradient(135deg, #1a1f2e 0%, #0d1117 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
}

.hero-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-carousel-slide.active {
    opacity: 1;
}

.hero-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
    color: rgba(59, 130, 246, 0.8);
    gap: 16px;
    padding: 40px;
    text-align: center;
}

.hero-slide-content svg {
    opacity: 0.7;
}

.slide-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.slide-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-carousel-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.hero-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1a1f2e 0%, #0d1117 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image {
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 300px;
    gap: 16px;
    color: rgba(255, 255, 255, 0.4);
}

.hero-image-placeholder span {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-image-location .hero-image-placeholder {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
    color: rgba(59, 130, 246, 0.6);
}

.hero-image-vente .hero-image-placeholder {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
    color: rgba(59, 130, 246, 0.6);
}

/* Toggle Mode - Compact avec Pill coulissant */
.hero-mode-toggle {
    display: flex;
    position: relative;
    background: rgba(17, 21, 30, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Indicateur coulissant (pill) */
.hero-mode-pill {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, #1A6DFF 0%, #0D5FE8 100%);
    border-radius: 50px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(26, 109, 255, 0.4);
    z-index: 0;
    pointer-events: none;
}

/* Déplacer le pill vers la droite quand vente est actif */
.hero-mode-toggle.vente-active .hero-mode-pill {
    transform: translateX(100%);
}

.hero-mode-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
    flex: 1;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-mode-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.hero-mode-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.hero-mode-btn:hover svg {
    transform: scale(1.1);
}

.hero-mode-btn.active {
    color: #fff;
    background: transparent;
    box-shadow: none;
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-content.hero-search {
        max-width: 100%;
        order: 2;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        margin: 0 auto;
    }
    
    .hero-visual {
        max-width: 100%;
        min-height: 400px;
        order: 1;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .hero-marketplace {
        padding: 40px 0 30px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-marketplace .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .hero-stat {
        align-items: center;
        text-align: center;
    }
    
    .hero-mode-toggle {
        flex-direction: row;
        width: 100%;
    }
    
    .hero-mode-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .hero-mode-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .hero-mode-btn span {
        display: inline;
    }
}

/* ================================================
   ESPACE VENTE - MARKETPLACE TOGGLE
   ================================================ */

.marketplace-mode-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 1.5rem;
    background: transparent;
    border-radius: 12px;
    padding: 0;
    width: fit-content;
}

.mode-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 10px;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    margin-right: 8px;
}

.mode-toggle-btn:last-child {
    margin-right: 0;
}

.mode-toggle-btn:hover {
    color: #1A6DFF;
    background: #e8edfb;
    border-color: #93b4ff;
}

.mode-toggle-btn.active,
.mode-toggle-btn.active.mode-vente {
    background: linear-gradient(135deg, #1A6DFF, #0052cc);
    color: #fff;
    box-shadow: 0 4px 15px rgba(26, 109, 255, 0.3);
    border-color: transparent;
}

.mode-toggle-btn svg {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.mode-toggle-btn.active svg {
    opacity: 1;
}

/* Vente badges on cards */
.equipment-card .badge-vente,
.grid-card .badge-vente {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-negociable {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 7px rgba(245, 158, 11, 0.5);
    z-index: 2;
}

.vente-price {
    color: var(--accent-gold) !important;
}

.btn-contacter-vendeur {
    background: linear-gradient(135deg, #1A6DFF, #0052CC) !important;
}

.btn-contacter-vendeur:hover {
    background: linear-gradient(135deg, #0052CC, #003D99) !important;
}

.filter-hidden {
    display: none !important;
}

/* ================================================
   ESPACE VENTE - DASHBOARD TAB
   ================================================ */

.vente-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vente-stat-card {
    background: rgba(17, 21, 30, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vente-stat-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.vente-stat-link:hover .vente-stat-label {
    color: #f59e0b;
}

.vente-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vente-stat-info {
    display: flex;
    flex-direction: column;
}

.vente-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.vente-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.vente-info-banner {
    background: rgba(37, 117, 240, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.5;
}

.vente-info-banner svg {
    flex-shrink: 0;
    color: #818cf8;
    margin-top: 2px;
}

.vente-info-banner strong {
    color: #c7d2fe;
}

/* Vente Annonces Grid */
.vente-annonces-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vente-annonce-card {
    background: rgba(17, 21, 30, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    overflow: hidden;
    transition: border-color 0.2s;
}

.vente-annonce-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.vente-annonce-vendu {
    opacity: 0.6;
}

.vente-annonce-image {
    width: 140px;
    min-height: 120px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.vente-annonce-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vente-annonce-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vente-badge-vendu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 2px;
}

.vente-annonce-content {
    flex: 1;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vente-annonce-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.vente-annonce-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.vente-annonce-type {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(17, 21, 30, 0.08);
    padding: 2px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.vente-annonce-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.vente-detail-tag {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(17, 21, 30, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
}

.vente-tag-dual {
    background: rgba(37, 117, 240, 0.15);
    color: #a5b4fc;
}

.vente-annonce-prix {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.vente-prix-montant {
    font-size: 1.15rem;
    font-weight: 700;
    color: #10b981;
}

.vente-prix-negociable {
    font-size: 0.7rem;
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.vente-quantite-badge {
    font-size: 0.7rem;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.vente-notice-quantite {
    font-size: 0.95rem;
    color: #3b82f6;
    font-weight: 600;
    margin: 0.25rem 0;
}

/* === Fiche récapitulative équipement (formulaire vente) === */
.vente-equip-preview {
    margin-top: 1rem;
    background: rgba(17, 21, 30, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.85rem;
    animation: fadeInPreview 0.25s ease;
}

@keyframes fadeInPreview {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.vente-equip-preview-inner {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.vente-equip-preview-img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(17, 21, 30, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vente-equip-preview-details {
    flex: 1;
    min-width: 0;
}

.vente-preview-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vente-preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.4rem;
}

.vente-preview-tag {
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
}

.vente-preview-tag.tag-type {
    color: #3b82f6;
    background: rgba(96, 165, 250, 0.15);
}

.vente-preview-tag.tag-cat {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.15);
}

.vente-preview-tag.tag-etat {
    color: #34d399;
    background: rgba(52, 211, 153, 0.15);
}

.vente-preview-tag.tag-annee {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
}

.vente-preview-tag.tag-marque {
    color: #f472b6;
    background: rgba(244, 114, 182, 0.15);
}

.vente-preview-tag.tag-qte {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.15);
}

.vente-preview-tag.tag-porteur {
    color: #fb923c;
    background: rgba(251, 146, 60, 0.15);
}

.vente-preview-tag.tag-connect {
    color: #2dd4bf;
    background: rgba(45, 212, 191, 0.15);
}

.vente-preview-tag.tag-prix {
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
}

.vente-preview-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.vente-annonce-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.25rem;
}

.vente-action-form {
    display: inline;
}

.btn-mark-vendu {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-mark-vendu:hover {
    background: rgba(16, 185, 129, 0.25);
    border-color: rgba(16, 185, 129, 0.5);
}

.btn-remettre-vente {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-remettre-vente:hover {
    background: rgba(245, 158, 11, 0.25);
    border-color: rgba(245, 158, 11, 0.5);
}

.btn-retirer-vente {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-retirer-vente:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
}

.vente-date-vendu {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.vente-empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: rgba(255, 255, 255, 0.4);
}

.vente-empty-state h4 {
    color: rgba(255, 255, 255, 0.6);
    margin: 1rem 0 0.5rem;
    font-size: 1.1rem;
}

.vente-empty-state p {
    font-size: 0.85rem;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Vente Stats Compact (dans action cards) */
.vente-stats-compact {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.75rem;
}

.vente-stat-compact {
    display: flex;
    flex-direction: column;
}

.vente-stat-compact-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.vente-stat-compact-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Vente Négociable Checkbox */
.vente-negociable-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.vente-negociable-label input[type="checkbox"] {
    accent-color: #FBBF24;
    width: 16px;
    height: 16px;
}

/* Bouton Modifier Vente */
.btn-modifier-vente {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(37, 117, 240, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modifier-vente:hover {
    background: rgba(37, 117, 240, 0.25);
    border-color: rgba(99, 102, 241, 0.5);
}

/* === Vente annonces style locatif (cartes unifiées) === */

/* Badge négociable */
.vente-badge-negociable {
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(251, 191, 36, 0.15);
    color: #FBBF24;
}

/* Actions inline (forms dans la barre d'actions) */
.vente-action-inline {
    flex: 1;
    display: flex;
}

.vente-actions-dash .btn-vente-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-mark-vendu-dash {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
}

.btn-mark-vendu-dash:hover {
    background: rgba(16, 185, 129, 0.25);
}

.btn-remettre-dash {
    background: rgba(59, 130, 246, 0.15);
    color: #3B82F6;
}

.btn-remettre-dash:hover {
    background: rgba(59, 130, 246, 0.25);
}

/* Date vendu badge compact */
.vente-date-vendu-badge {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* Meta état pour vente */
.equipement-meta-dash .meta-etat {
    color: #10B981;
}

/* Carte vendu : opacité réduite */
.equipement-card-dash.vente-annonce-vendu {
    opacity: 0.6;
}

.equipement-card-dash.vente-annonce-vendu:hover {
    opacity: 0.85;
}

/* Vente Gestion Section */
.vente-gestion-section {
    margin-top: 2rem;
}

.vente-health-disclosure { margin: .75rem 0 1rem; padding: .75rem .9rem; border-left: 3px solid #10b981; background: rgba(16, 185, 129, .08); color: #a7f3d0; font-size: .82rem; line-height: 1.45; }

/* Responsive */
@media (max-width: 768px) {
    .marketplace-mode-toggle {
        width: 100%;
    }
    
    .mode-toggle-btn {
        flex: 1;
        justify-content: center;
        padding: 10px 16px;
        font-size: 0.82rem;
    }
    
    .vente-annonce-vendu {
        opacity: 0.5;
    }
    
    .vente-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.conv-detail-club-avatar .logo-fallback {
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}

.conv-detail-club-name {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

/* Detail Action Buttons */
.conv-detail-actions {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.conv-detail-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    text-align: center;
}

.conv-detail-btn.accept {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
}

.conv-detail-btn.accept:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-1px);
}

.conv-detail-btn.refuse {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.conv-detail-btn.refuse:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #fff;
}

.conv-detail-btn.cancel {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fcd34d;
}

.conv-detail-btn.cancel:hover {
    background: rgba(251, 191, 36, 0.25);
}

.conv-detail-btn.sign {
    background: linear-gradient(135deg, #7fa8ff, #7c3aed);
    color: #fff;
}

.conv-detail-btn.sign:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.conv-detail-btn.counter {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fcd34d;
}

.conv-detail-btn.counter:hover {
    background: rgba(251, 191, 36, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

.quantity-proposal-form {
    padding: 12px;
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: 10px;
    background: rgba(251, 191, 36, 0.06);
}

.quantity-proposal-form label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
}

.quantity-proposal-controls {
    display: flex;
    gap: 8px;
}

.quantity-proposal-controls input {
    width: 90px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(17, 21, 30, 0.75);
    color: #fff;
}

.quantity-proposal-controls .conv-detail-btn {
    flex: 1;
    padding: 9px 12px;
}

.conv-detail-actions-secondary {
    padding: 12px 20px;
}

.conv-detail-btn-delete {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px;
    background: none;
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 8px;
    color: rgba(239, 68, 68, 0.5);
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s;
}

.conv-detail-btn-delete:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ========================================
   AIRBNB MESSAGING: RESPONSIVE
   ======================================== */
@media (max-width: 1100px) {
    .airbnb-conv-detail {
        display: none;
    }
    
    .airbnb-conv-list {
        width: 280px;
        min-width: 240px;
    }
}

@media (max-width: 768px) {
    .airbnb-messaging {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .airbnb-conv-list {
        width: 100%;
        min-width: unset;
        max-height: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .conv-list-items {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }
    
    .airbnb-conv-list.mobile-hidden {
        display: none;
    }
    
    .airbnb-conv-chat {
        display: none;
    }
    
    .airbnb-conv-chat.mobile-visible {
        display: flex;
        flex: 1;
    }
    
    .conv-back-btn {
        display: flex !important;
    }
    
    .airbnb-conv-detail {
        display: none;
    }
    
    .conv-list-header {
        padding: 14px 16px 10px;
    }
    
    .conv-list-header h3 {
        font-size: 1.2rem;
    }
    
    .conv-list-filters {
        padding: 8px 12px;
        gap: 4px;
    }
    
    .conv-filter {
        padding: 5px 10px;
        font-size: 0.72rem;
    }
    
    .conv-list-item {
        padding: 12px 14px;
        gap: 10px;
    }
    
    .conv-item-avatar .category-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
    
    .conv-item-avatar .conv-club-logo,
    .conv-item-avatar .conv-club-acronyme {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 0.75rem;
    }
    
    .conv-item-name {
        font-size: 0.9rem;
    }
    
    .conv-item-equipment {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .airbnb-messaging {
        border-radius: 8px;
    }
    
    .conv-list-header {
        padding: 10px 12px 8px;
    }
    
    .conv-list-header h3 {
        font-size: 1.05rem;
    }
    
    .conv-list-filters {
        padding: 6px 10px;
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    
    .conv-list-item {
        padding: 10px 12px;
        gap: 8px;
    }
    
    .conv-item-avatar .category-icon {
        width: 34px;
        height: 34px;
    }
    
    .conv-item-avatar .conv-club-logo,
    .conv-item-avatar .conv-club-acronyme {
        width: 34px;
        height: 34px;
        font-size: 0.7rem;
    }
    
    .conv-item-name {
        font-size: 0.85rem;
    }
    
    .conv-item-equipment {
        font-size: 0.75rem;
    }
    
    .conv-item-status {
        font-size: 0.65rem;
        padding: 1px 6px;
    }
}

/* ========================================
   WIZARD INSCRIPTION MULTI-ÉTAPES
   ======================================== */
.wizard-container {
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    color: var(--text-primary);
}

/* Contenu formulaire plus étroit pour une meilleure lisibilité */
.wizard-step[data-step="1"] .step-content,
.wizard-step[data-step="2"] .step-content,
.wizard-step[data-step="3"] .step-content,
.wizard-step[data-step="5"] .step-content {
    max-width: 700px;
    margin: 0 auto;
}

/* En-tête du wizard */

.adherents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
    gap: clamp(12px, 1.3vw, 18px);
    align-items: stretch;
}

.adherents-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.adherents-list-header .locatif-section-title {
    margin: 0;
}

.adherents-list-count {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.07);
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 650;
    white-space: nowrap;
}

.adherents-search-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
    padding: clamp(14px, 1.6vw, 20px);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.adherents-search-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 600;
}

.adherents-search-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(17, 21, 30, 0.76);
    color: #f8fafc;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.adherents-search-input::placeholder {
    color: rgba(226, 232, 240, 0.42);
}

.adherents-search-input:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.55);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
    background: rgba(17, 21, 30, 0.92);
}

.adherents-search-empty {
    margin: 0;
    color: rgba(226, 232, 240, 0.7);
    font-size: 0.9rem;
}

.adherent-item-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 15px;
    border-radius: 14px;
    background: rgba(25, 33, 49, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    min-height: 160px;
    transition: border-color 0.18s ease, background-color 0.18s ease;
    position: relative;
}

.adherent-item-card:hover {
    border-color: rgba(96, 165, 250, 0.34);
    background: rgba(28, 38, 57, 0.94);
}

.adherent-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2563EB, #60A5FA);
    flex-shrink: 0;
}

.adherent-content {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 38px;
}

.adherent-main-line {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 0;
}

.adherent-main-line h4 {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.28;
    color: #F8FAFC;
    overflow-wrap: anywhere;
}

.adherent-name {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.adherent-content p {
    margin: 0;
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.92rem;
    line-height: 1.35;
}

.adherent-meta {
    margin-top: auto;
    font-size: 0.88rem;
    color: rgba(203, 213, 225, 0.8);
}

.adherent-login-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.45rem 0 0;
    font-size: 0.8rem;
}

.adherent-login-label {
    color: rgba(148, 163, 184, 0.75);
}

.adherent-login-code {
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    font-size: 0.82rem;
    color: #93C5FD;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 6px;
    padding: 0.12rem 0.45rem;
}

.adherent-login-code[title] {
    cursor: help;
}

.adherent-access-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.3rem;
}

.adherent-pin-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 28px;
    padding: 0.2rem 0.6rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.08);
    color: #cbd5e1;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.2;
}

.adherent-pin-status.active {
    border-color: rgba(74, 222, 128, 0.2);
    background: rgba(74, 222, 128, 0.08);
    color: #86efac;
}

.adherent-pin-status.blocked {
    border-color: rgba(251, 191, 36, 0.22);
    background: rgba(251, 191, 36, 0.08);
    color: #fcd34d;
}

.adherent-pin-status.revoked {
    border-color: rgba(248, 113, 113, 0.2);
    background: rgba(248, 113, 113, 0.08);
    color: #fca5a5;
}

.adherent-pin-reset-form {
    margin: 0;
}

.adherent-pin-reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(96, 165, 250, 0.28);
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.12);
    color: #bfdbfe;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 650;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.adherent-pin-reset-btn:hover {
    border-color: rgba(96, 165, 250, 0.48);
    background: rgba(59, 130, 246, 0.2);
}

.adherent-pin-reset-btn:focus-visible,
.adherent-header-btn:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

.adherent-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
}

.adherent-actions form {
    margin: 0;
}

.adherent-delete-btn {
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(17, 21, 30, 0.55);
    color: transparent;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.adherent-delete-btn::before,
.adherent-delete-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: rgba(226, 232, 240, 0.86);
    transform-origin: center;
}

.adherent-delete-btn::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.adherent-delete-btn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.adherent-delete-btn:hover {
    background: rgba(127, 29, 29, 0.28);
    border-color: rgba(248, 113, 113, 0.5);
}

.adherent-delete-btn:hover::before,
.adherent-delete-btn:hover::after {
    background: #fecaca;
}

.adherent-level {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
}

.adherent-level.licencie {
    color: #93C5FD;
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.adherent-level.coach {
    color: #FCD34D;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.adherent-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.adherent-teams,
.team-members-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.adherent-team-badge,
.team-member-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.14);
    border: 1px solid rgba(168, 85, 247, 0.24);
    color: #d8b4fe;
    font-size: 0.75rem;
    line-height: 1;
}

.team-badge-count {
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(59, 130, 246, 0.24);
    color: #93c5fd;
}

.team-avatar {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.85), rgba(59, 130, 246, 0.75));
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.team-members-search-bar {
    margin-bottom: 10px;
}

.team-ordering-block {
    margin-top: 16px;
}

.team-optional-tag {
    display: inline-flex;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #86efac;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.35);
    vertical-align: middle;
}

.team-order-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 14px;
    align-items: start;
}

.team-order-column h4 {
    margin: 0 0 10px;
    color: #dbeafe;
    font-size: 0.88rem;
    font-weight: 700;
}

.team-order-help {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
}

.team-order-help.warning {
    color: #fbbf24;
}

.team-order-list {
    list-style: none;
    margin: 0;
    padding: 10px;
    min-height: 82px;
    border-radius: 14px;
    background: rgba(17, 21, 30, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.team-order-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(17, 21, 30, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    margin-bottom: 8px;
}

.team-order-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: -6px -6px -6px auto;
    border-radius: 8px;
    color: rgba(191, 219, 254, 0.72);
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.team-order-handle:hover {
    color: #bfdbfe;
    background: rgba(96, 165, 250, 0.12);
}

.team-order-item:last-child {
    margin-bottom: 0;
}

.team-order-item.dragging {
    opacity: 0.55;
    border-color: rgba(96, 165, 250, 0.6);
    cursor: grabbing;
}

.team-order-item.dragging .team-order-handle {
    cursor: grabbing;
}

.team-order-index {
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #bfdbfe;
    font-size: 0.78rem;
    font-weight: 700;
}

.team-order-index.stroke-index {
    min-width: 66px;
    padding: 0 10px;
    font-size: 0.66rem;
    letter-spacing: 0.05em;
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(251, 191, 36, 0.14);
}

.team-order-index.nage-index {
    min-width: 62px;
    padding: 0 8px;
    font-size: 0.64rem;
    letter-spacing: 0.04em;
    color: #93c5fd;
    border-color: rgba(96, 165, 250, 0.5);
    background: rgba(96, 165, 250, 0.14);
}

.team-order-name {
    color: #f8fafc;
    font-size: 0.85rem;
    font-weight: 600;
}

.team-boat-help {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
}

.team-boat-help.warning {
    color: #fbbf24;
}

.team-member-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(17, 21, 30, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.team-member-option:hover {
    background: rgba(17, 21, 30, 0.06);
    border-color: rgba(96, 165, 250, 0.28);
}

.team-member-option input {
    margin-top: 2px;
    accent-color: #60a5fa;
    flex-shrink: 0;
}

.team-member-option-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-member-option-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
}

.team-member-option-meta {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
}

.teams-grid .team-item-card {
    min-height: 100%;
}

.team-boat-badge {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.26);
    color: #7dd3fc;
}

.compact-empty-state {
    padding: 24px;
}

.adherent-category {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.adherent-category.category-j10 {
    color: #86EFAC;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.adherent-category.category-j12 {
    color: #A7F3D0;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.adherent-category.category-j14 {
    color: #93C5FD;
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.adherent-category.category-j16 {
    color: #C4B5FD;
    background: rgba(109, 40, 217, 0.14);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.adherent-category.category-j18 {
    color: #F9A8D4;
    background: rgba(219, 39, 119, 0.14);
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.adherent-category.category-senior {
    color: #FDE68A;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.adherent-category.category-veteran {
    color: #FDBA74;
    background: rgba(249, 115, 22, 0.14);
    border: 1px solid rgba(249, 115, 22, 0.32);
}

.adherents-action-cards .equip-card {
    min-height: 170px;
}

@media (max-width: 768px) {
    .adherents-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .adherent-access-actions,
    .adherent-pin-reset-form {
        width: 100%;
    }

    .adherent-pin-reset-btn {
        width: 100%;
    }

    .adherent-item-card {
        min-height: 0;
        padding: 14px;
    }

    .adherent-content {
        padding-right: 40px;
    }

    .team-members-grid {
        grid-template-columns: 1fr;
    }

    .team-order-layout {
        grid-template-columns: 1fr;
    }

    .adherent-main-line {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .adherents-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .adherents-list-header {
        align-items: flex-start;
    }

    .adherent-item-card {
        gap: 12px;
        padding: 13px;
    }

    .adherent-avatar {
        width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }

    .adherent-delete-btn {
        width: 44px;
        height: 44px;
    }

    .adherent-content {
        padding-right: 38px;
    }

    .adherent-access-actions {
        align-items: flex-start;
    }
}
    .adherents-list-section .adherents-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
        gap: 16px;
    }

    .adherents-list-section .adherent-member-card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        min-height: 0;
        padding: 18px;
        border: 1px solid rgba(148, 163, 184, 0.15);
        border-radius: 18px;
        background: linear-gradient(155deg, rgba(26, 32, 43, 0.94), rgba(17, 21, 30, 0.9));
        box-shadow: 0 10px 24px rgba(2, 6, 23, 0.16);
        transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }

    .adherents-list-section .adherent-member-card:hover {
        border-color: rgba(96, 165, 250, 0.32);
        background: linear-gradient(155deg, rgba(34, 47, 68, 0.98), rgba(17, 21, 30, 0.96));
        box-shadow: 0 14px 30px rgba(2, 6, 23, 0.24);
        transform: translateY(-2px);
    }

    .member-card-header {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }

    .member-card-header .adherent-avatar {
        width: 50px;
        height: 50px;
        flex: 0 0 50px;
    }

    .member-card-heading {
        flex: 1;
        min-width: 0;
    }

    .member-card-heading .adherent-name {
        overflow-wrap: anywhere;
        font-size: 1rem;
    }

    .member-card-heading p {
        margin: 4px 0 0;
        color: #94a3b8;
        font-size: 0.8rem;
    }

    .member-card-remove-form {
        flex: 0 0 auto;
        margin: 0;
    }

    .member-card-remove-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 10px;
        background: rgba(17, 21, 30, 0.45);
        color: #93c5fd;
        cursor: pointer;
        transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    }

    .member-card-remove-btn:hover {
        border-color: rgba(96, 165, 250, 0.35);
        background: rgba(59, 130, 246, 0.12);
        color: #dbeafe;
    }

    .member-card-remove-btn:disabled {
        cursor: wait;
        opacity: 0.6;
    }

    .member-card-remove-btn:focus-visible,
    .member-card-access-btn:focus-visible {
        outline: 2px solid #93c5fd;
        outline-offset: 2px;
    }

    .member-card-tags,
    .member-card-team-list {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 7px;
    }

    .member-card-tag,
    .member-card-team {
        display: inline-flex;
        align-items: center;
        min-height: 26px;
        max-width: 100%;
        padding: 4px 9px;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 999px;
        background: rgba(148, 163, 184, 0.08);
        color: #cbd5e1;
        font-size: 0.73rem;
        font-weight: 600;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .member-card-teams {
        display: grid;
        gap: 7px;
    }

    .member-card-label {
        color: #94a3b8;
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.02em;
    }

    .member-card-details {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 12px 0;
        border-top: 1px solid rgba(148, 163, 184, 0.12);
        border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    }

    .member-card-detail {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        min-width: 0;
    }

    .member-card-detail strong {
        color: #e2e8f0;
        font-size: 0.84rem;
        font-weight: 600;
    }

    .member-card-detail .adherent-login-code {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .member-card-detail .member-card-unconfigured {
        color: #94a3b8;
    }

    .member-card-account {
        display: grid;
        gap: 11px;
        margin-top: auto;
    }

    .member-card-account-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
    }

    .member-card-account-label {
        color: #cbd5e1;
        font-size: 0.78rem;
        font-weight: 650;
    }

    .adherents-list-section .adherent-member-card .adherent-pin-status {
        min-height: 25px;
        padding: 0.18rem 0.55rem;
        font-size: 0.7rem;
    }

    .member-card-actions {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
        gap: 8px;
    }

    .member-card-actions form {
        min-width: 0;
        margin: 0;
    }

    .member-card-access-btn,
    .member-card-actions .adherent-pin-reset-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 42px;
        padding: 0.5rem 0.65rem;
        border: 1px solid rgba(96, 165, 250, 0.25);
        border-radius: 10px;
        background: rgba(59, 130, 246, 0.1);
        color: #bfdbfe;
        font: inherit;
        font-size: 0.76rem;
        font-weight: 650;
        line-height: 1.25;
        text-align: center;
        cursor: pointer;
        transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    }

    .member-card-access-btn:hover,
    .member-card-actions .adherent-pin-reset-btn:hover {
        border-color: rgba(96, 165, 250, 0.45);
        background: rgba(59, 130, 246, 0.18);
    }

    .member-card-access-btn.revoke {
        border-color: rgba(248, 113, 113, 0.25);
        background: rgba(248, 113, 113, 0.07);
        color: #fca5a5;
    }

    .member-card-access-btn.revoke:hover {
        border-color: rgba(248, 113, 113, 0.45);
        background: rgba(127, 29, 29, 0.2);
    }

    @media (max-width: 900px) {
        .adherents-list-section .adherents-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 640px) {
        .adherents-list-section .adherents-grid {
            grid-template-columns: minmax(0, 1fr);
        }

        .adherents-list-section .adherent-member-card {
            padding: 16px;
        }
    }

    @media (max-width: 380px) {
        .member-card-actions {
            grid-template-columns: minmax(0, 1fr);
        }
    }

.teams-list-section .teams-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 16px;
    align-items: stretch;
}

.teams-list-section .team-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    min-height: 0;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(26, 32, 43, 0.94), rgba(17, 21, 30, 0.9));
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.16);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.teams-list-section .team-card:hover {
    border-color: rgba(96, 165, 250, 0.32);
    background: linear-gradient(155deg, rgba(34, 47, 68, 0.98), rgba(17, 21, 30, 0.96));
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.24);
    transform: translateY(-2px);
}

.team-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.team-card-header .team-avatar {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.team-card-heading {
    display: grid;
    flex: 1;
    gap: 4px;
    min-width: 0;
}

.team-card-heading .adherent-name {
    overflow-wrap: anywhere;
    font-size: 1rem;
}

.team-card-member-count {
    color: #94a3b8;
    font-size: 0.78rem;
}

.team-card-delete-form {
    flex: 0 0 auto;
    margin: 0;
}

.team-card-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 10px;
    background: rgba(17, 21, 30, 0.45);
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.team-card-delete-btn:hover {
    border-color: rgba(248, 113, 113, 0.4);
    background: rgba(127, 29, 29, 0.2);
    color: #fca5a5;
}

.team-card-delete-btn:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

.team-card-equipment {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 13px;
    background: rgba(17, 21, 30, 0.36);
    color: #93c5fd;
}

.team-card-equipment > svg {
    flex: 0 0 auto;
    margin-top: 2px;
}

.team-card-equipment-info {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.team-card-label {
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.team-card-equipment-info strong {
    color: #e2e8f0;
    font-size: 0.86rem;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.team-card-equipment-type {
    color: #94a3b8;
    font-size: 0.75rem;
}

.team-card-capacity {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: -8px;
    color: #94a3b8;
    font-size: 0.75rem;
}

.team-card-capacity strong {
    color: #cbd5e1;
    font-weight: 600;
}

.team-card-barreur {
    padding: 3px 7px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.07);
    color: #cbd5e1;
    font-size: 0.68rem;
}

.team-card-no-equipment {
    padding: 11px 12px;
    border: 1px dashed rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: #94a3b8;
    font-size: 0.78rem;
}

.team-card-roster {
    display: grid;
    gap: 9px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.team-card-roster-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.team-card-members {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.team-card-member {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 5px 9px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.07);
    color: #cbd5e1;
    font-size: 0.74rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.team-card-empty-roster {
    margin: 0;
    color: #94a3b8;
    font-size: 0.78rem;
}

@media (max-width: 900px) {
    .teams-list-section .teams-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .teams-list-section .teams-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .teams-list-section .team-card {
        padding: 16px;
    }
}
    .wizard-header {
    text-align: center;
    margin-bottom: 35px;
}

.wizard-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.wizard-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ========== STEPPER ========== */
.wizard-stepper {
    --stepper-track-inset: clamp(48px, 5vw, 112px);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
    padding: 0 10px;
}

.stepper-track {
    position: absolute;
    top: 20px;
    left: var(--stepper-track-inset);
    right: var(--stepper-track-inset);
    height: 3px;
    background: rgba(17, 21, 30, 0.1);
    border-radius: 2px;
    z-index: 0;
}

.stepper-progress {
    position: absolute;
    top: 20px;
    left: var(--stepper-track-inset);
    right: var(--stepper-track-inset);
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-blue-light));
    border-radius: 2px;
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-stepper .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    flex: 1;
    max-width: 80px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.step-number {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.step-check {
    display: none;
    font-size: 1rem;
    color: white;
}

.step-label {
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Étape active */
.wizard-stepper .step.active .step-circle {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-color: var(--primary-blue);
    box-shadow: 0 0 20px rgba(26, 109, 255, 0.4);
}

.wizard-stepper .step.active .step-number {
    color: white;
}

.wizard-stepper .step.active .step-label {
    color: var(--primary-blue-light);
}

/* Étape complétée */
.wizard-stepper .step.completed .step-circle {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(127, 168, 255, 0.3);
}

.wizard-stepper .step.completed .step-number {
    display: none;
}

.wizard-stepper .step.completed .step-check {
    display: block;
}

.wizard-stepper .step.completed .step-label {
    color: var(--accent-gold);
}

/* ========== CONTENU DES ÉTAPES ========== */
.wizard-step {
    display: none;
    animation: fadeInSlide 0.4s ease forwards;
}

.wizard-step.active {
    display: block;
}

.wizard-step.active:has(.custom-select-wrapper.open) {
    position: relative;
    z-index: 2;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--primary-color);
}

.step-icon svg {
    width: 24px;
    height: 24px;
}

.step-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 25px;
    padding-left: 38px;
}

/* ========== FORMULAIRE ========== */
.wizard-step .form-group {
    margin-bottom: 20px;
}

.wizard-step .form-label-modal {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.wizard-step .required {
    color: var(--danger);
}

.wizard-step .form-input-modal {
    width: 100%;
    padding: 14px 16px;
    background: rgba(17, 21, 30, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

/* Fix: input dans password-wrapper doit laisser de la place pour le bouton œil */
.wizard-step .password-wrapper .form-input-modal {
    padding-right: 50px;
}

.wizard-step .password-wrapper {
    position: relative;
}

.wizard-step .password-wrapper .toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    padding: 5px;
    line-height: 1;
}

.wizard-step .form-input-modal:focus {
    outline: none;
    border-color: var(--primary-blue-light);
    background: rgba(17, 21, 30, 0.08);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.wizard-step .form-input-modal[readonly] {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    cursor: not-allowed;
}

.input-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ========== ZONE UPLOAD LOGO ========== */
.logo-upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.logo-upload-zone:hover,
.logo-upload-zone.dragover {
    border-color: var(--primary-blue-light);
    background: rgba(59, 130, 246, 0.05);
}

.logo-preview {
    margin-bottom: 20px;
}

.logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
}

.logo-placeholder svg {
    opacity: 0.5;
}

.logo-preview img {
    max-width: 150px;
    max-height: 150px;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.logo-info {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.logo-info p {
    margin: 4px 0;
}

.hidden-input {
    display: none;
}

.btn-change-logo,
.btn-remove-logo {
    margin: 15px 8px 0;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-change-logo {
    background: var(--primary-blue);
    color: white;
    border: none;
}

.btn-change-logo:hover {
    background: var(--primary-blue-light);
}

.btn-remove-logo {
    background: transparent;
    color: var(--danger);
    border: 1px solid var(--danger);
}

.btn-remove-logo:hover {
    background: rgba(239, 68, 68, 0.1);
}

.skip-step-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.hint-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.hint-icon svg {
    width: 18px;
    height: 18px;
}

/* ========== CARTES DE PLANS WIZARD - STYLE PROFESSIONNEL ========== */
.plan-cards-wizard {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .plan-cards-wizard {
        flex-direction: column;
        max-width: 400px;
    }
}

.plan-card-wizard {
    position: relative;
    flex: 1;
    background: rgba(17, 21, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s ease;
}

.plan-card-wizard:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.plan-card-wizard.selected {
    border-color: #3B82F6;
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 0 0 1px #3B82F6, 0 8px 30px rgba(59, 130, 246, 0.2);
}

.plan-card-wizard.club.selected {
    border-color: var(--accent-gold);
    background: rgba(127, 168, 255, 0.05);
    box-shadow: 0 0 0 1px var(--accent-gold), 0 8px 30px rgba(127, 168, 255, 0.15);
}

.plan-card-wizard.premium.selected {
    border-color: #8B5CF6;
    background: rgba(139, 92, 246, 0.08);
    box-shadow: 0 0 0 1px #8B5CF6, 0 8px 30px rgba(139, 92, 246, 0.2);
}

.plan-card-wizard .plan-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.plan-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    color: white;
    z-index: 1;
    transform: none;
}

.plan-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px 20px;
    cursor: pointer;
}

.plan-header-wizard {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 16px;
}

.plan-name-wizard {
    font-size: 1.1rem;
    font-weight: 700;
    color: #F3F4F6;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.plan-card-wizard.standard .plan-name-wizard { color: #94A3B8; }
.plan-card-wizard.club .plan-name-wizard { color: var(--accent-gold); }
.plan-card-wizard.premium .plan-name-wizard { color: #A78BFA; }

.plan-price-wizard {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.plan-price-wizard .price-value {
    font-size: 2rem;
    font-weight: 800;
    color: #F3F4F6;
}

.plan-price-wizard .price-value.free {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10B981;
}

.plan-price-wizard .price-currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: #F3F4F6;
}

.plan-price-wizard .price-period {
    font-size: 0.8rem;
    color: #64748B;
    margin-left: 2px;
}

.plan-trial-wizard {
    font-size: 0.8rem;
    color: var(--accent-gold);
    margin-top: 6px;
}

.plan-body-wizard {
    flex: 1;
    margin-bottom: 16px;
}

.plan-features-wizard {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features-wizard .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    font-size: 0.85rem;
    color: #94A3B8;
    line-height: 1.3;
}

.plan-features-wizard .feature-item.disabled {
    opacity: 0.4;
}

.plan-features-wizard .feature-item.highlight {
    color: #A78BFA;
    font-weight: 500;
}

.plan-features-wizard .feature-check {
    color: #10B981;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.plan-features-wizard .feature-cross {
    color: #475569;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.plan-footer-wizard {
    text-align: center;
    margin-top: auto;
    padding-top: 12px;
}

.select-plan-btn {
    display: block;
    width: 100%;
    padding: 10px 20px;
    background: rgba(17, 21, 30, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #94A3B8;
    transition: all 0.2s ease;
}

.plan-card-wizard.selected .select-plan-btn {
    background: #3B82F6;
    border-color: #3B82F6;
    color: white;
}

.plan-card-wizard.club.selected .select-plan-btn {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #000;
}

.plan-card-wizard.premium.selected .select-plan-btn {
    background: #7fa8ff;
    border-color: #8B5CF6;
    color: white;
}

.plan-change-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}

.plan-change-note .note-icon {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
}

.plan-change-note .note-icon svg {
    width: 16px;
    height: 16px;
}

/* ========== RÉCAPITULATIF ========== */
.summary-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.summary-section {
    background: rgba(17, 21, 30, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 20px;
    position: relative;
}

.summary-section.highlight {
    background: rgba(127, 168, 255, 0.05);
    border-color: rgba(127, 168, 255, 0.2);
}

.summary-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.section-icon svg {
    width: 18px;
    height: 18px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 500px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.summary-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.summary-logo {
    display: flex;
    justify-content: center;
}

.summary-logo-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    background: rgba(17, 21, 30, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.summary-logo-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.summary-logo-img .no-logo {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.summary-plan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(17, 21, 30, 0.05);
    border-radius: var(--radius-md);
}

.summary-plan .plan-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.summary-plan .plan-price {
    font-size: 1rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.btn-edit-section {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit-section:hover {
    background: rgba(17, 21, 30, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-primary);
}

/* ========== RECAPTCHA & CONDITIONS ========== */
.recaptcha-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.terms-checkbox {
    margin-bottom: 20px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: #000;
    font-size: 0.9rem;
    font-weight: 700;
}

.checkbox-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.checkbox-label a {
    color: var(--primary-blue-light);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* ========== ERREURS WIZARD ========== */
.wizard-errors {
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid rgba(239, 68, 68, 0.5);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    margin-bottom: 20px;
}

.wizard-errors.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.wizard-errors .error-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #EF4444;
    font-size: 0.95rem;
    padding: 8px 0;
    font-weight: 500;
}

.wizard-errors .error-item::before {
    content: '⚠';
    font-size: 1.1rem;
}

/* Champs en erreur - contour rouge uniquement */
.field-error {
    border: 2px solid #EF4444 !important;
    box-shadow: none !important;
}

.wizard-step .form-input-modal.field-error,
.wizard-step select.field-error,
.wizard-step select.form-input-modal.field-error,
select#region.field-error,
#region.field-error,
.wizard-container .wizard-step select.field-error,
.wizard-container select#region.field-error,
div.wizard-step select#region.field-error,
select#region.form-input-modal.field-error {
    border: 2px solid #EF4444 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Custom select trigger en erreur (pour la région) */
.custom-select-trigger.field-error {
    border: 2px solid #EF4444 !important;
    box-shadow: none !important;
}

.field-error:focus {
    border: 2px solid #EF4444 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Plan cards en erreur */
.plan-card.field-error {
    border-color: #EF4444 !important;
    animation: pulse-error 1s ease-in-out infinite;
}

@keyframes pulse-error {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
}

/* ========== NAVIGATION WIZARD ========== */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.btn-wizard {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.btn-prev {
    background: rgba(17, 21, 30, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
}

.btn-prev:hover {
    background: rgba(17, 21, 30, 0.1);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-next {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    margin-left: auto;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-next::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(17, 21, 30, 0.15),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-next:hover::before {
    left: 100%;
}

.btn-next:hover {
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transform: translateY(-2px);
}

.btn-next:active {
    transform: translateY(0);
}

.btn-submit {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: #000;
    margin-left: auto;
    box-shadow: 0 2px 10px rgba(127, 168, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.25), 
        transparent
    );
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    box-shadow: 0 4px 15px rgba(127, 168, 255, 0.4);
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Spinner */
.btn-wizard .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== FOOTER WIZARD ========== */
.wizard-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.login-prompt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.btn-login-link {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login-link:hover {
    background: rgba(17, 21, 30, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ========== SUCCÈS WIZARD ========== */
.wizard-success {
    text-align: center;
    padding: 60px 30px;
}

.wizard-success .success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--success), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
}

.wizard-success h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.wizard-success p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 10px;
}

.wizard-success .success-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 15px;
    margin-bottom: 30px;
}

.wizard-success .btn-wizard {
    display: inline-flex;
    margin: 0 auto;
}

/* ========== RESPONSIVE WIZARD ========== */
@media (max-width: 600px) {
    .wizard-container {
        padding: 20px 15px;
    }
    
    .wizard-title {
        font-size: 1.5rem;
    }
    
    .wizard-stepper {
        padding: 0 5px;
    }
    
    .step-circle {
        width: 35px;
        height: 35px;
    }
    
    .step-label {
        font-size: 0.65rem;
    }
    
    .stepper-track,
    .stepper-progress {
        top: 17px;
    }

    .step-content {
        padding: 20px 15px;
    }

    .step-title {
        font-size: 1.1rem;
    }

    .step-description {
        padding-left: 0;
    }

    .btn-wizard {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .wizard-stepper {
        margin-bottom: 28px;
        padding: 0 6px;
    }

    .step-content {
        padding: 24px 18px;
    }
}

@media (max-width: 768px) {
    .wizard-stepper {
        gap: 8px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .wizard-stepper .step {
        flex: 1 1 64px;
        max-width: 64px;
    }

    .stepper-track,
    .stepper-progress {
        left: var(--stepper-track-inset);
        right: var(--stepper-track-inset);
    }

    .wizard-stepper {
        --stepper-track-inset: max(0px, calc(50% - 164px));
    }

    .logo-upload-zone {
        padding: 26px 18px;
    }

    .plan-cards-wizard {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .wizard-container {
        padding: 18px 12px;
    }

    .wizard-header {
        margin-bottom: 24px;
    }

    .wizard-stepper {
        margin-bottom: 22px;
    }

    .wizard-stepper .step {
        flex: 1 1 52px;
        max-width: 52px;
    }

    .step-circle {
        width: 32px;
        height: 32px;
    }

    .step-label {
        font-size: 0.6rem;
        line-height: 1.2;
    }

    .stepper-track,
    .stepper-progress {
        top: 15px;
    }

    .wizard-stepper {
        --stepper-track-inset: max(0px, calc(50% - 136px));
    }

    .wizard-step .form-group {
        margin-bottom: 16px;
    }

    .wizard-step .form-input-modal {
        padding: 12px 14px;
        font-size: 0.92rem;
    }

    .step-content {
        padding: 18px 14px;
    }

    .logo-placeholder {
        gap: 10px;
    }

    .btn-wizard {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .wizard-title {
        font-size: 1.35rem;
    }

    .wizard-subtitle {
        font-size: 0.82rem;
    }

    .step-title {
        font-size: 1.08rem;
    }

    .step-description {
        font-size: 0.8rem;
    }

    .logo-preview img {
        max-width: 120px;
        max-height: 120px;
    }
}

@media (max-width: 398px) {
    .wizard-stepper {
        --stepper-track-inset: max(0px, calc(10% - 12px));
        gap: 0;
        flex-wrap: nowrap;
    }

    .wizard-stepper .step {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
    }

    .step-circle {
        width: 30px;
        height: 30px;
    }

    .step-label {
        font-size: 0.55rem;
    }

    .stepper-track,
    .stepper-progress {
        top: 14px;
    }
}

/* =============================
   SECTION ÉQUIPEMENTS - NOUVEAU DESIGN
============================= */

/* Stats badges dans le header */
.equip-header-stats {
    display: flex;
    gap: 10px;
}

.equip-stat-badge {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.equip-stat-total {
    background: rgba(139, 92, 246, 0.15);
    color: #A78BFA;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.equip-stat-dispo {
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Container actions + info */
.equipements-actions-container {
    display: flex;
    gap: 20px;
    margin-bottom: 1.5rem;
}

/* 3 Cards d'action - style moderne */
.equipements-action-cards {
    display: flex;
    gap: 16px;
    flex: 1;
}

.equip-card {
    flex: 1;
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.equip-card:hover,
.equip-card:has(.equip-card-arrow:hover) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.equip-card:hover .equip-card-arrow,
.equip-card-arrow:hover {
    background: rgba(17, 21, 30, 0.2);
}

.equip-card:hover .equip-card-arrow svg,
.equip-card-arrow:hover svg {
    color: #fff;
}

.equip-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.equip-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.equip-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.equip-card-subtitle {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.equip-card-arrow {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(17, 21, 30, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.equip-card-arrow svg {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.equip-card-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.4;
}

/* Avertissement assurance */
.equip-card-desc.assurance-warning {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f59e0b;
}

.equip-card-desc.assurance-warning a {
    color: #f59e0b;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.equip-card-desc.assurance-warning a:hover {
    color: #fbbf24;
}

/* =============================================
   STYLES ASSURANCE SECTION (équip-card based)
   ============================================= */

/* Card Assurance Statut */
.equip-card.assurance-card {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.15) 0%, rgba(45, 212, 191, 0.05) 100%);
    border-color: rgba(45, 212, 191, 0.3);
}

.equip-card.assurance-card:hover {
    border-color: rgba(45, 212, 191, 0.5);
}

/* Card Formulaire Assurance */
.equip-card.assurance-form-card {
    background: linear-gradient(145deg, 
        rgba(17, 21, 30, 0.95) 0%,
        rgba(18, 25, 45, 0.9) 50%,
        rgba(22, 30, 50, 0.85) 100%);
    border-color: rgba(26, 109, 255, 0.25);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.equip-card.assurance-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(26, 109, 255, 0.5) 20%, 
        rgba(26, 109, 255, 0.7) 50%,
        rgba(26, 109, 255, 0.5) 80%,
        transparent 100%);
    border-radius: 16px 16px 0 0;
}

.equip-card.assurance-form-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at top right, rgba(26, 109, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Désactiver le hover sur la carte assurance-form */
.equip-card.assurance-form-card:hover {
    transform: none;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Titre du formulaire assurance */
.assurance-form-title {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff !important;
    font-size: 1.15rem !important;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.assurance-form-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(145deg, 
        rgba(26, 109, 255, 0.2) 0%, 
        rgba(26, 109, 255, 0.1) 100%);
    border: 1px solid rgba(26, 109, 255, 0.3);
    border-radius: 12px;
    color: #1A6DFF;
    box-shadow: 
        0 4px 12px rgba(26, 109, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.assurance-form-icon svg {
    filter: drop-shadow(0 0 6px rgba(26, 109, 255, 0.4));
}

.assurance-form-subtitle {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.875rem !important;
    margin-left: 58px !important;
    margin-top: -4px !important;
}

/* Icône de statut */
.equip-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.equip-card-icon.assurance-icon-success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.equip-card-icon.assurance-icon-warning {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.equip-card-icon.assurance-icon-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Grille des détails assurance */
.assurance-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    padding-top: 8px;
}

.assurance-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.assurance-detail-item .detail-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.assurance-detail-item .detail-value {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
}

/* Contenu de la card */
.equip-card-content {
    padding: 0 20px 16px 20px;
}

.equip-card-footer {
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 16px 16px;
    margin-top: auto;
}

/* Message d'avertissement assurance */
.assurance-warning-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    color: #fbbf24;
    line-height: 1.4;
}

.assurance-warning-message svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Formulaire dans equip-card */
.equip-card .boat-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Layout des cards assurance */
.locatif-action-cards .assurance-card,
.locatif-action-cards .assurance-form-card {
    min-width: 320px;
}

@media (max-width: 768px) {
    .locatif-action-cards .assurance-card,
    .locatif-action-cards .assurance-form-card {
        min-width: 100%;
    }
    
    .assurance-details-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .assurance-form-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .assurance-form-icon {
        width: 40px;
        height: 40px;
    }
    
    .assurance-form-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .assurance-form-subtitle {
        margin-left: 0 !important;
        margin-top: 4px !important;
    }
}

.equip-card.assurance-required {
    border-color: rgba(245, 158, 11, 0.4);
}

.equip-card-btn {
    margin-top: auto;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.equip-card-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

/* Card Ajouter - accent doré */
.equip-card-add .equip-card-arrow:hover {
    background: #7fa8ff;
}

.equip-card-add .equip-card-btn:hover {
    background: rgba(127, 168, 255, 0.1);
    border-color: rgba(127, 168, 255, 0.3);
    color: #b8860b;
}

/* Card Louer - accent bleu */
.equip-card-louer .equip-card-arrow:hover {
    background: #3B82F6;
}

.equip-card-louer .equip-card-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #1d4ed8;
}

/* Card Vendre - accent vert */
.equip-card-vendre .equip-card-arrow:hover {
    background: #10B981;
}

.equip-card-vendre .equip-card-btn:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #047857;
}

/* État disabled */
.equip-card.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* État disabled */
.equip-action-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Panneau INFO avec camembert */
.equipements-info-panel {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.08), rgba(139, 92, 246, 0.03));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 14px;
    padding: 16px;
    flex: 1;
    min-width: 200px;
}

.info-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.info-panel-header svg {
    color: #8B5CF6;
    width: 16px;
    height: 16px;
}

.info-panel-header span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
}

.info-panel-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Camembert / Pie Chart */
.info-pie-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Ancien style (gardé pour compatibilité) */
.info-pie-chart {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(
        #10B981 0deg calc(var(--dispo) * 3.6deg),
        #3B82F6 calc(var(--dispo) * 3.6deg) calc((var(--dispo) + var(--enloc)) * 3.6deg),
        #F59E0B calc((var(--dispo) + var(--enloc)) * 3.6deg) 360deg
    );
    position: relative;
    flex-shrink: 0;
}

/* Nouveau camembert interactif SVG */
.info-pie-chart-interactive {
    width: 120px;
    height: 120px;
    position: relative;
    flex-shrink: 0;
}

.pie-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.pie-segment {
    cursor: pointer;
    transition: all 0.3s ease;
    transform-origin: center;
}

.pie-segment:hover,
.pie-segment.active {
    filter: brightness(1.2);
    stroke-width: 22;
}

.pie-segment-dispo { stroke: #4ADE80; }
.pie-segment-enloc { stroke: #3b82f6; }
.pie-segment-vente { stroke: #A78BFA; }
.pie-segment-nonconfig { stroke: #9CA3AF; }
.pie-segment-vente { stroke: #A78BFA; }

.info-pie-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(17, 21, 30, 0.95);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.info-pie-total {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.info-pie-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tooltip du camembert */
.pie-tooltip {
    position: absolute;
    top: 50%;
    right: -140px;
    transform: translateY(-50%);
    background: rgba(26, 32, 43, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.pie-tooltip.visible {
    opacity: 1;
    visibility: visible;
}

.pie-tooltip-dot {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    flex-shrink: 0;
}

.pie-tooltip-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pie-tooltip-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #EAECEF;
}

.pie-tooltip-value {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.info-pie-legend {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 4px 8px;
    margin: -4px -8px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.legend-item:hover {
    background: rgba(17, 21, 30, 0.05);
}

.legend-item.active {
    background: rgba(17, 21, 30, 0.1);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.legend-item:hover .legend-dot,
.legend-item.active .legend-dot {
    transform: scale(1.3);
}

.legend-dispo .legend-dot { background: #4ADE80; }
.legend-enloc .legend-dot { background: #3b82f6; }
.legend-nonconfig .legend-dot { background: #9CA3AF; }
.legend-vente .legend-dot { background: #A78BFA; }

.legend-text {
    color: rgba(255, 255, 255, 0.7);
    flex: 1;
}

.legend-value {
    font-weight: 700;
    color: #fff;
}

/* =============================
   MINI CAMEMBERTS (Cards Ajouter Location/Vente)
============================= */
.mini-pie-container {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    margin-top: 8px;
    background: rgba(17, 21, 30, 0.03);
    border-radius: 12px;
}

.mini-pie-chart-interactive {
    width: 90px;
    height: 90px;
    position: relative;
    flex-shrink: 0;
}

.mini-pie-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.mini-pie-segment {
    transition: all 0.3s ease;
}

.mini-pie-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(17, 21, 30, 0.95);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mini-pie-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.mini-pie-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.mini-pie-legend {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.mini-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
}

.mini-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.mini-legend-text {
    color: rgba(255, 255, 255, 0.7);
    flex: 1;
}

.mini-legend-value {
    font-weight: 600;
    color: #fff;
}

/* Mini-camembert interactivité */
.mini-pie-segment {
    cursor: pointer;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mini-pie-segment:hover,
.mini-pie-segment.active {
    filter: brightness(1.2);
    stroke-width: 18;
}

.mini-legend-item {
    cursor: pointer;
    padding: 4px 6px;
    margin: -4px -6px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.mini-legend-item:hover {
    background: rgba(17, 21, 30, 0.05);
}

.mini-legend-item.active {
    background: rgba(17, 21, 30, 0.1);
}

.mini-legend-item:hover .mini-legend-dot,
.mini-legend-item.active .mini-legend-dot {
    transform: scale(1.3);
}

/* Tooltip mini-camembert */
.mini-pie-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(26, 32, 43, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mini-pie-tooltip.visible {
    opacity: 1;
    visibility: visible;
}

.mini-pie-tooltip-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.mini-pie-tooltip-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mini-pie-tooltip-name {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.mini-pie-tooltip-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

/* Alertes compactes */
.info-alerts-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.alert-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 500;
}

.alert-photo {
    background: rgba(245, 158, 11, 0.12);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-dispo {
    background: rgba(239, 68, 68, 0.12);
    color: #F87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Section Vos équipements (style Espace Locatif) */
.equipements-section-liste {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.equipements-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.equipements-section-title-area {
    flex: 1;
}

.equipements-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #EAECEF;
    margin: 0 0 0.3rem 0;
}

.equipements-section-title svg {
    color: #2DD4BF;
    width: 20px;
    height: 20px;
}

.equipements-section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: linear-gradient(135deg, #7fa8ff, #2575f0);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.equipements-section-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.4;
}

/* Old styles kept for compatibility */
.info-section {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.info-section:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.info-section-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 6px 0;
}

.info-section-title svg {
    color: rgba(139, 92, 246, 0.8);
    width: 14px;
    height: 14px;
}

.info-title-warning svg {
    color: #F59E0B;
}

/* Compteurs disponibilité */
.info-section-counters {
    padding: 0 !important;
    border: none !important;
}

.info-counters-row {
    display: flex;
    gap: 6px;
}

.info-counter {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 4px;
    border-radius: 8px;
    text-align: center;
}

.info-counter-green {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.info-counter-blue {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.info-counter-orange {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.info-counter-value {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
}

.info-counter-green .info-counter-value {
    color: #10B981;
}

.info-counter-blue .info-counter-value {
    color: #3b82f6;
}

.info-counter-orange .info-counter-value {
    color: #F59E0B;
}

.info-counter-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Stats du parc */
.info-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-stat {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.info-stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.info-stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}

.info-stat-breakdown {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.5);
    padding-left: 2px;
}

.info-stat-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #10B981;
    margin-top: 4px;
}

.info-stat-location svg {
    width: 8px;
    height: 8px;
}

/* Alertes */
.info-section-alerts {
    background: rgba(245, 158, 11, 0.05);
    border-radius: 10px;
    padding: 12px !important;
    border: 1px solid rgba(245, 158, 11, 0.15) !important;
    margin: 0 -8px;
}

.info-alerts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-alert-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

.info-alert-item svg {
    color: #F59E0B;
    flex-shrink: 0;
}

.info-alert-urgent {
    color: #EF4444;
}

.info-alert-urgent svg {
    color: #EF4444;
}

/* Assurance */
.info-assurance-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    padding: 10px 12px;
    border-radius: 10px;
}

.info-assurance-valid {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.info-assurance-invalid {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    flex-wrap: wrap;
}

.info-link {
    color: #3B82F6;
    text-decoration: underline;
    margin-left: auto;
}

.info-link:hover {
    color: #3b82f6;
}

/* Astuce */
.info-section-tip {
    padding: 0 !important;
    border: none !important;
}

.info-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(127, 168, 255, 0.06);
    border: 1px solid rgba(127, 168, 255, 0.15);
    border-radius: 10px;
    padding: 12px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.info-tip svg {
    color: #7fa8ff;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===== MINI DASHBOARD ÉQUIPEMENTS ===== */

/* Titres colorés */
.info-title-success svg {
    color: #10B981;
}

.info-title-blue svg {
    color: #3B82F6;
}

/* Liste d'équipements */
.info-equip-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-equip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    background: rgba(17, 21, 30, 0.03);
    transition: background 0.2s ease;
}

.info-equip-item:hover {
    background: rgba(17, 21, 30, 0.06);
}

.info-equip-name {
    color: rgba(255, 255, 255, 0.85);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.info-equip-detail {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-equip-badge {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    flex-shrink: 0;
}

.info-badge-green {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
}

.info-badge-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.info-badge-orange {
    background: rgba(245, 158, 11, 0.15);
    color: #F59E0B;
}

.info-equip-more {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    padding-left: 10px;
    font-style: italic;
}

/* Section disponibles */
.info-section-available {
    background: rgba(16, 185, 129, 0.04);
    border-radius: 10px;
    padding: 10px 12px !important;
    border: 1px solid rgba(16, 185, 129, 0.1) !important;
    margin: 0 -4px;
}

/* Section en location */
.info-section-rented {
    background: rgba(59, 130, 246, 0.04);
    border-radius: 10px;
    padding: 10px 12px !important;
    border: 1px solid rgba(59, 130, 246, 0.1) !important;
    margin: 0 -4px;
}

/* Section indisponibles */
.info-section-unavailable {
    background: rgba(245, 158, 11, 0.04);
    border-radius: 10px;
    padding: 10px 12px !important;
    border: 1px solid rgba(245, 158, 11, 0.1) !important;
    margin: 0 -4px;
}

.info-equip-unavailable .info-equip-name {
    color: rgba(255, 255, 255, 0.6);
}

/* Mini alertes photo */
.info-section-alerts-mini {
    padding: 0 !important;
    border: none !important;
}

.info-alert-mini {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: rgba(245, 158, 11, 0.8);
    padding: 6px 0;
}

.info-alert-mini svg {
    color: #F59E0B;
}

.info-empty-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    padding: 4px 0;
    font-style: italic;
}

/* Section Inventaire */
.equipements-inventaire-section {
    background: linear-gradient(135deg, rgba(25, 30, 45, 0.9), rgba(17, 21, 30, 0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 0 0 20px 20px;
    padding: 20px 28px;
    margin-bottom: 20px;
}

.inventaire-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.inventaire-title svg {
    color: rgba(255, 255, 255, 0.6);
}

.inventaire-count {
    background: linear-gradient(135deg, #7fa8ff, #7C3AED);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 8px;
}

/* Responsive équipements */
@media (max-width: 1024px) {
    .equipements-actions-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .equipements-action-cards {
        flex-wrap: wrap;
    }
    
    .equip-card {
        flex: 1 1 calc(50% - 8px);
        min-width: 200px;
    }
    
    .equip-header-stats {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .info-pie-container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .equipements-action-cards {
        flex-direction: column;
    }
    
    .equip-card {
        flex: 1 1 100%;
    }
    
    .equip-card-header {
        align-items: center;
    }
    
    .equip-header-stats {
        justify-content: flex-start;
    }
    
    .info-pie-chart {
        width: 80px;
        height: 80px;
    }
    
    .info-pie-center {
        width: 48px;
        height: 48px;
    }
    
    .info-pie-total {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .equip-card {
        padding: 16px;
    }
    
    .equip-card-title {
        font-size: 0.9rem;
    }
    
    .equip-card-subtitle {
        font-size: 0.75rem;
    }
    
    .equip-card-desc {
        display: none;
    }
    
    .equip-card-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .info-pie-container {
        flex-direction: column;
        align-items: center;
    }
    
    .info-pie-legend {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
}

/* Notice vente dans la modale */
.vente-notice-modal {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    margin-top: 24px;
}

.vente-notice-modal .vente-notice-icon {
    display: flex;
    justify-content: center;
    color: #10b981;
    margin-bottom: 10px;
}

.vente-notice-modal h3 {
    color: #10b981;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.vente-notice-modal .vente-notice-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #7fa8ff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 12px;
}

.vente-notice-modal p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 6px;
}

.badge-negociable-inline {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    vertical-align: middle;
}

.vente-price-tag {
    background: linear-gradient(135deg, #7fa8ff, #2575f0) !important;
}

/* =============================
   BATEAU MODAL - STYLE DASHBOARD
   Cohérent avec le panel club
============================= */

/* Wrapper avec style dashboard */
.bateau-modal-wrapper {
    color: #E5E7EB;
    animation: fadeIn 0.3s ease;
}

/* Header style dashboard */
.bateau-modal-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    margin: -20px -20px 1.5rem -20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bateau-modal-header::before,
.bateau-modal-header::after {
    display: none;
}

.bateau-header-content {
    text-align: left;
    order: 1;
    grid-column: auto;
}

.bateau-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #F3F4F6;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
    text-shadow: none;
}

.bateau-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.bateau-type-badge {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: none;
    box-shadow: none;
}

.bateau-club-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0;
    background: transparent;
    border: none;
}

.bateau-club-name svg {
    fill: rgba(255, 255, 255, 0.5);
    width: 14px;
    height: 14px;
}

/* Prix style dashboard gold */
.bateau-price-tag {
    order: 2;
    justify-self: flex-start;
    align-self: flex-start;
    background: linear-gradient(135deg, #FBBF24, #F59E0B) !important;
    padding: 10px 18px;
    border-radius: 12px;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.25);
    border: none;
    grid-column: auto;
}

.bateau-price-tag::before {
    display: none;
}

.bateau-price-tag .price-value {
    display: inline;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    text-shadow: none;
    position: static;
}

.bateau-price-tag .price-unit {
    font-size: 0.8rem;
    color: rgba(26, 26, 46, 0.7);
    font-weight: 600;
    position: static;
}

/* Corps du modal */
.bateau-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Galerie d'images style dashboard */
.bateau-gallery-section {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.bateau-gallery-section .image-carousel {
    border-radius: 12px;
    background: rgba(15, 20, 30, 0.5);
}

.bateau-gallery-section .carousel-slide img {
    border-radius: 12px;
    transition: transform 0.3s ease;
}

/* Section card style dashboard (comme Messagerie) */
.bateau-section-card {
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.bateau-section-card .dashboard-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #F3F4F6;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.equipment-health-record { border-top: 2px solid #10b981; }
.equipment-health-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.equipment-health-record .dashboard-section-title { margin-bottom: .35rem; padding-bottom: 0; border-bottom: 0; }
.equipment-health-eyebrow { color: #6ee7b7; font-size: .68rem; text-transform: uppercase; }
.equipment-health-count { flex: 0 0 auto; padding: .28rem .5rem; border: 1px solid rgba(16, 185, 129, .35); border-radius: 5px; color: #a7f3d0; font-size: .72rem; }
.equipment-health-intro { margin: .35rem 0 1rem; color: #9ca3af; font-size: .82rem; line-height: 1.45; }
.equipment-health-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .55rem; }
.equipment-health-stats > div { display: grid; align-content: start; gap: .35rem; min-width: 0; padding: .7rem .75rem; border: 1px solid rgba(255, 255, 255, .08); border-radius: 6px; background: rgba(0, 0, 0, .18); }
.equipment-health-stats span { color: #9ca3af; font-size: .68rem; }
.equipment-health-stats strong { color: #f3f4f6; font-size: .9rem; overflow-wrap: anywhere; }
.equipment-health-categories { margin-top: 1rem; padding: .8rem .9rem; border: 1px solid rgba(255, 255, 255, .08); border-radius: 8px; background: rgba(0, 0, 0, .14); }
.equipment-health-categories-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .35rem .75rem; margin-bottom: .35rem; }
.equipment-health-categories-heading h4 { margin: 0; color: #e5e7eb; font-size: .84rem; }
.equipment-health-categories-heading > span { color: #9ca3af; font-size: .66rem; }
.equipment-health-category-list { margin: 0; padding: 0; list-style: none; }
.equipment-health-category-item { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .35rem .8rem; padding: .55rem 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.equipment-health-category-name { color: #d1fae5; font-size: .78rem; font-weight: 650; }
.equipment-health-category-metrics { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .35rem; color: #d1d5db; font-size: .72rem; }
.equipment-health-category-metrics strong { color: #f3f4f6; font-size: .8rem; }
.equipment-health-category-metrics > span { margin-left: .35rem; color: #9ca3af; }
.equipment-health-history { margin-top: 1.15rem; }
.equipment-health-history h4 { margin: 0 0 .4rem; color: #e5e7eb; font-size: .88rem; }
.equipment-health-history ol { margin: 0; padding: 0; list-style: none; }
.equipment-health-entry { padding: .8rem 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.equipment-health-entry-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.equipment-health-entry-heading > strong { color: #f3f4f6; font-size: .83rem; }
.equipment-health-status { flex: 0 0 auto; padding: .2rem .45rem; border: 1px solid rgba(245, 158, 11, .3); border-radius: 4px; color: #fcd34d; font-size: .66rem; }
.equipment-health-status.is-resolved { border-color: rgba(52, 211, 153, .3); color: #6ee7b7; }
.equipment-health-entry-meta { display: flex; flex-wrap: wrap; gap: .3rem .8rem; margin-top: .3rem; color: #9ca3af; font-size: .7rem; }
.equipment-health-entry > p,
.equipment-health-resolution p { margin: .45rem 0 0; color: #d1d5db; font-size: .8rem; line-height: 1.5; overflow-wrap: anywhere; }
.equipment-health-resolution { margin-top: .55rem; padding: .55rem .7rem; border-left: 2px solid #10b981; background: rgba(16, 185, 129, .06); }
.equipment-health-resolution strong { color: #a7f3d0; font-size: .7rem; }
.equipment-health-resolution p { margin-top: .2rem; }
.equipment-health-resolved-date { color: #6ee7b7 !important; font-size: .72rem !important; }
.equipment-health-photo-link { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .3rem; margin-top: .55rem; color: #6ee7b7; font-size: .74rem; text-decoration: none; }
.equipment-health-photo-link img { display: block; width: min(100%, 280px); max-height: 200px; object-fit: contain; object-position: left center; border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; background: rgba(0, 0, 0, .2); }
.equipment-health-photo-link:hover { text-decoration: underline; }
.equipment-health-empty { margin: .8rem 0 0; color: #a7f3d0; font-size: .8rem; }
.equipment-health-privacy { margin: .9rem 0 0; padding-top: .65rem; border-top: 1px solid rgba(255, 255, 255, .07); color: #9ca3af; font-size: .68rem; line-height: 1.45; }

.bateau-description-content .description-text {
    color: #E5E7EB;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Cards d'information dans la section caractéristiques */
.bateau-info-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-card::before {
    display: none;
}

.info-card-icon {
    font-size: 1.5rem;
    line-height: 1;
    filter: none;
}

.info-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    margin-bottom: 0;
}

.info-value {
    color: #E5E7EB;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
}

.info-card-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.info-card.small {
    padding: 0.85rem 1rem;
}

.info-card.small .info-card-icon {
    font-size: 1.25rem;
}

/* Section galerie verrouillée style dashboard */
.gallery-locked-section {
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    border: 1px dashed rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
}

.gallery-locked-content {
    max-width: 320px;
    margin: 0 auto;
}

.gallery-locked-content .lock-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.gallery-locked-content .lock-icon svg {
    color: #3b82f6;
    width: 24px;
    height: 24px;
    opacity: 1;
}

.gallery-locked-content h4 {
    color: #F3F4F6;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-locked-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

/* Layout 2 colonnes : infos à gauche, média + calendrier à droite */
.bateau-content-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

/* Quand pas de calendrier (vente), la colonne info prend toute la largeur */
.bateau-content-layout.full-width {
    grid-template-columns: 1fr;
}

.bateau-content-layout.full-width .bateau-calendar-column {
    display: none;
}

.bateau-info-column {
    order: 1;
}

.bateau-calendar-column {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (max-width: 900px) {
    .bateau-content-layout {
        grid-template-columns: 1fr;
    }
    
    .bateau-calendar-column {
        order: 1;
    }
    
    .bateau-info-column {
        order: 2;
    }
}

/* NOTE: .calendar-availability-section remplacée par .bateau-section-card */

/* Section réservation/vente style dashboard */
.reservation-section {
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.reservation-section > .section-title {
    margin-bottom: 1rem;
}

.reservation-section > .assurance-alert-box {
    margin-bottom: 1rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #F3F4F6;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0 0;
    padding-bottom: 0.75rem;
    position: static;
}

.section-title::after {
    display: none;
}

.section-icon {
    font-size: 1.1rem;
}

/* Légende du calendrier style dashboard */
.calendar-legend-modern {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot::after {
    display: none;
}

.legend-dot.available {
    background: #22C55E;
    box-shadow: none;
}

.legend-dot.reserved {
    background: #EF4444;
    box-shadow: none;
}

.legend-dot.selected {
    background: #3B82F6;
    box-shadow: none;
}

/* Calendrier style dashboard */
.calendar-modern {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 14px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.calendar-modern .calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-modern .calendar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #F3F4F6;
}

.calendar-modern .calendar-nav-btn {
    background: rgba(17, 21, 30, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #E5E7EB;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-modern .calendar-nav-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.calendar-modern .calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
    text-align: center;
}

.calendar-modern .calendar-weekdays span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 6px 0;
}

.calendar-modern .calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

/* Résumé de sélection style dashboard */
.selection-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.summary-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-align: center;
}

.summary-row:last-child {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    border: none;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.25);
}

.summary-row:last-child .summary-label,
.summary-row:last-child .summary-value {
    color: #1a1a2e;
}

.summary-row.total {
    margin-top: 0;
    padding: 1rem;
    border-top: none;
}

.summary-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.summary-value {
    color: #F3F4F6;
    font-size: 0.9rem;
    font-weight: 700;
}

.summary-value.price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FBBF24;
    text-shadow: none;
}

/* Formulaire de réservation style dashboard */
.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #E5E7EB;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-label-modern svg {
    color: rgba(255, 255, 255, 0.5);
}

.form-input-modal,
.form-textarea-modern {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 21, 30, 0.03);
    color: #E5E7EB;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-input-modal:focus,
.form-textarea-modern:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.05);
}

.form-input-modal::placeholder,
.form-textarea-modern::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-textarea-modern {
    min-height: 80px;
    resize: vertical;
}

/* Bouton principal style dashboard */
.btn-reserve {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    position: static;
    overflow: visible;
    background-size: auto;
}

.btn-reserve::before {
    display: none;
}

.btn-reserve:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    filter: brightness(1.05);
}

.btn-reserve:active:not(:disabled) {
    transform: translateY(0);
}

.btn-reserve:disabled {
    background: rgba(17, 21, 30, 0.05);
    color: rgba(255, 255, 255, 0.35);
    cursor: not-allowed;
    box-shadow: none;
}

.form-hint {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-top: 0.75rem;
    line-height: 1.4;
}

/* Boutons style dashboard */
.btn-primary-modern {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-modern:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.35);
    filter: brightness(1.05);
}

.btn-secondary-modern {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: 0 3px 10px rgba(251, 191, 36, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary-modern:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.35);
    filter: brightness(1.02);
}

/* Notice propriétaire style dashboard */
.owner-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    margin-top: 1rem;
}

.owner-notice .notice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.owner-notice p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}

.owner-notice a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: none;
}

.owner-notice a:hover {
    color: #FBBF24;
}

/* Prompt de connexion style dashboard */
.login-prompt-modern {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    margin-top: 1.25rem;
    box-shadow: none;
}

.login-prompt-modern .prompt-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
    filter: none;
}

.login-prompt-modern h3 {
    color: #F3F4F6;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-prompt-modern p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.prompt-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Alertes style dashboard */
.alert-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin: 0.75rem 0;
    font-weight: 500;
    font-size: 0.9rem;
    animation: none;
}

.alert-modern.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
}

.alert-modern.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #86EFAC;
}

.alert-icon {
    font-size: 1.1rem;
}

.sale-unavailable-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.15rem;
    margin: 0.75rem 0;
    color: #FEE2E2;
    background: linear-gradient(120deg, rgba(239, 68, 68, 0.12), rgba(45, 25, 34, 0.32));
    border: 1px solid rgba(248, 113, 113, 0.28);
    border-radius: 12px;
}

.sale-unavailable-icon {
    display: inline-flex;
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    color: #FCA5A5;
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(248, 113, 113, 0.24);
    border-radius: 10px;
}

.sale-unavailable-copy {
    min-width: 0;
}

.sale-unavailable-copy strong {
    display: block;
    color: #FEF2F2;
    font-size: 0.92rem;
    font-weight: 650;
}

.sale-unavailable-copy p {
    margin: 0.3rem 0 0;
    color: rgba(254, 226, 226, 0.82);
    font-size: 0.86rem;
    line-height: 1.5;
}

/* Section vente style dashboard */
.vente-notice-modal {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.vente-notice-modal .vente-notice-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vente-notice-modal .vente-notice-icon svg {
    color: #FBBF24;
}

.vente-notice-modal h3 {
    color: #F3F4F6;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.vente-notice-modal .vente-notice-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FBBF24;
    margin-bottom: 0.25rem;
}

.vente-notice-modal .vente-notice-quantite {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Options de négociation style dashboard */
.negociation-section {
    margin-top: 0.5rem;
}

.negociation-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.negociation-option {
    cursor: pointer;
}

.negociation-option input {
    display: none;
}

.negociation-option .option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.85rem;
    background: rgba(17, 21, 30, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.negociation-option:hover .option-content {
    border-color: rgba(255, 255, 255, 0.15);
}

.negociation-option input:checked + .option-content {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.4);
}

.negociation-option .option-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
}

.negociation-option input:checked + .option-content .option-label {
    color: #3b82f6;
}

.negociation-option .option-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #E5E7EB;
}

#prix-libre-group {
    margin-top: 0.75rem;
}

#prix-libre-group small {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Alerte assurance style dashboard */
.assurance-alert-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.assurance-alert-icon {
    flex-shrink: 0;
}

.assurance-alert-icon svg {
    color: #FBBF24;
}

.assurance-alert-content {
    flex: 1;
}

.assurance-alert-content strong {
    display: block;
    color: #F3F4F6;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.assurance-alert-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.assurance-alert-link {
    color: #FBBF24;
    font-weight: 600;
    text-decoration: none;
}

.assurance-alert-link:hover {
    text-decoration: underline;
}

/* Checkbox attestation style dashboard */
.attestation-group {
    margin-top: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.checkbox-attestation {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-attestation input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: rgba(17, 21, 30, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.checkbox-attestation input[type="checkbox"]:hover {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.1);
}

.checkbox-attestation input[type="checkbox"]:checked {
    background: #3B82F6;
    border-color: #3B82F6;
}

.checkbox-attestation input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.checkbox-attestation .checkmark {
    display: none !important;
}

.checkbox-attestation span:not(.checkmark) {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.checkbox-attestation:has(input:checked) span:not(.checkmark),
.checkbox-attestation input:checked ~ span:not(.checkmark),
.checkbox-attestation input:checked ~ .attestation-text {
    color: #FBBF24;
}

.checkbox-attestation a {
    color: #3b82f6;
    text-decoration: none;
}

.checkbox-attestation a:hover {
    text-decoration: underline;
}

/* Jours du calendrier style dashboard */
.rental-day-empty {
    height: 48px;
}

.rental-day-past {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    border-radius: 8px;
}

.rental-day-reserved {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.15);
    color: #FCA5A5;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: not-allowed;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.rental-day-available {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.15);
    color: #86EFAC;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.rental-day-available:hover {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.4);
}

.rental-day-selected {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.35);
    border: none;
}

/* Responsive modal équipement */
@media (max-width: 600px) {
    .bateau-modal-header {
        padding: 1rem 1.25rem;
        margin: -16px -16px 1.25rem -16px;
    }
    
    .bateau-title {
        font-size: 1.1rem;
    }
    
    .bateau-price-tag {
        padding: 8px 14px;
    }
    
    .bateau-price-tag .price-value {
        font-size: 1.1rem;
    }
    
    .info-card-row {
        grid-template-columns: 1fr;
    }
    
    .reservation-section {
        padding: 1.25rem;
    }
    
    .selection-summary {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .negociation-options {
        grid-template-columns: 1fr;
    }
    
    .prompt-buttons {
        flex-direction: column;
    }
    
    .btn-primary-modern,
    .btn-secondary-modern {
        width: 100%;
        justify-content: center;
    }
    
    .calendar-legend-modern {
        gap: 1rem;
        padding: 0.75rem;
    }
}

/* ================================================
   SECTION MON COMPTE
   ================================================ */

.compte-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.compte-card {
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.95), rgba(26, 32, 43, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.compte-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(30, 35, 50, 0.6), rgba(17, 21, 30, 0.6));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compte-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.compte-card-icon.profil {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(45, 212, 191, 0.1));
    color: #2DD4BF;
}

.compte-card-icon.stats {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    color: #3b82f6;
}

.compte-card-icon.securite {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1));
    color: #a855f7;
}

.compte-card-icon.notifications {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.1));
    color: #fbbf24;
}

.compte-card-icon.documents {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    color: #22c55e;
}

.compte-card-icon.danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
    color: #ef4444;
}

.compte-card-title {
    flex: 1;
}

.compte-card-title h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.25rem;
}

.compte-card-title p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.compte-edit-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: #3b82f6;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.compte-edit-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
}

.compte-card-body {
    padding: 1.5rem;
}

/* Profil Info Grid */
.profil-info-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.profil-logo-section {
    text-align: center;
}

.profil-logo {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.profil-logo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(30, 35, 50, 0.8), rgba(25, 30, 45, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
}

.profil-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profil-info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profil-label {
    width: 120px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.profil-value {
    font-size: 0.95rem;
    color: #fff;
}

.licence-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    color: #3b82f6;
    font-family: monospace;
    font-size: 0.85rem;
}

/* Profil Edit Form */
.profil-edit-form {
    max-width: 600px;
}

.profil-edit-form .logo-upload-zone {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profil-edit-form .logo-preview {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.logo-preview-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(30, 35, 50, 0.8), rgba(25, 30, 45, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
}

.btn-upload-logo {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(25, 30, 45, 0.8), rgba(17, 21, 30, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-upload-logo:hover {
    background: linear-gradient(135deg, rgba(35, 40, 55, 0.9), rgba(30, 35, 50, 0.9));
    border-color: rgba(255, 255, 255, 0.15);
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(25, 30, 45, 0.8), rgba(17, 21, 30, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card.membre .stat-icon {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.stat-card.equipements .stat-icon {
    background: rgba(45, 212, 191, 0.15);
    color: #2DD4BF;
}

.stat-card.locations-out .stat-icon {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.stat-card.locations-in .stat-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.stat-card.ventes .stat-icon {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.stat-card.achats .stat-icon {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.stats-summary {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(25, 30, 45, 0.6), rgba(17, 21, 30, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.summary-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.summary-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.summary-item.revenus .summary-value {
    color: #22c55e;
}

.summary-item.depenses .summary-value {
    color: #ef4444;
}

.summary-item.solde.positif .summary-value {
    color: #22c55e;
}

.summary-item.solde.negatif .summary-value {
    color: #ef4444;
}

/* Sécurité Options */
.securite-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.securite-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(25, 30, 45, 0.6), rgba(17, 21, 30, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.securite-option.warning {
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.05);
}

.securite-option-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.25rem;
}

.securite-option-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.password-form {
    margin-top: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(25, 30, 45, 0.5), rgba(17, 21, 30, 0.5));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.form-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

/* Notification Options */
.notifications-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(25, 30, 45, 0.6), rgba(17, 21, 30, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.notification-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.25rem;
}

.notification-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 35, 50, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #3b82f6;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

/* Documents List */
.documents-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(25, 30, 45, 0.6), rgba(17, 21, 30, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.2s;
}

.document-item:hover {
    background: linear-gradient(135deg, rgba(30, 35, 50, 0.7), rgba(25, 30, 45, 0.7));
    border-color: rgba(255, 255, 255, 0.1);
}

.document-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    flex-shrink: 0;
}

.document-info {
    flex: 1;
}

.document-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.25rem;
}

.document-info p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.btn-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #3b82f6;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-link:hover {
    color: #3b82f6;
}

/* Danger Zone */
.compte-card.danger-zone {
    border-color: rgba(239, 68, 68, 0.3);
}

.danger-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.danger-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(17, 21, 30, 0.8));
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
}

.danger-option.critical {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.1);
}

.danger-option-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.25rem;
}

.danger-option-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    max-width: 400px;
}

.btn-warning {
    padding: 0.5rem 1rem;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 8px;
    color: #fbbf24;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-warning:hover {
    background: rgba(251, 191, 36, 0.25);
}

.btn-danger {
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 8px;
    color: #ef4444;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.25);
}

/* Delete Account Modal */
.delete-modal {
    max-width: 500px;
}

.modal-header.danger {
    background: rgba(239, 68, 68, 0.1);
    border-bottom-color: rgba(239, 68, 68, 0.2);
}

.modal-header.danger h3 {
    color: #ef4444;
}

.delete-warning {
    text-align: center;
    padding: 1.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.delete-warning svg {
    color: #ef4444;
    margin-bottom: 1rem;
}

.delete-warning p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.delete-warning ul {
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    padding-left: 1.5rem;
}

.delete-warning li {
    margin-bottom: 0.5rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-secondary {
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, rgba(30, 35, 50, 0.8), rgba(25, 30, 45, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(40, 45, 60, 0.9), rgba(35, 40, 55, 0.9));
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-primary {
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #1A6DFF, #0D5FE8);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2B7AFF, #1A6DFF);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .profil-info-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .profil-info-row {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .profil-label {
        width: auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-summary {
        flex-direction: column;
    }
    
    .compte-card-header {
        flex-wrap: wrap;
    }
    
    .compte-edit-btn {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .securite-option,
    .danger-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .securite-option button,
    .danger-option button {
        width: 100%;
    }
}


/* Responsive mobile tres petit ecran (480px et moins) - Header V2 */
@media (max-width: 480px) {
    .bateau-modal-header-v2 {
        padding: 16px 15px 20px;
        margin: -15px -15px 15px -15px;
        border-radius: 16px;
    }
    
    .header-accent-line {
        height: 2px;
    }
    
    .header-content-wrapper {
        gap: 12px;
    }
    
    .bateau-price-tag-v2 {
        padding: 3px;
        border-radius: 12px;
    }
    
    .bateau-price-tag-v2 .price-inner {
        padding: 10px 18px;
        border-radius: 10px;
    }
    
    .bateau-price-tag-v2 .price-value {
        font-size: 1.4em;
    }
    
    .bateau-price-tag-v2 .price-unit {
        font-size: 0.7em;
    }
    
    .bateau-title-v2 {
        font-size: 1.2em;
        line-height: 1.3;
    }
    
    .title-wrapper {
        margin-bottom: 10px;
    }
    
    .bateau-meta-v2 {
        padding: 8px 12px;
        gap: 6px;
        border-radius: 20px;
    }
    
    .bateau-type-badge-v2 {
        padding: 5px 10px;
        font-size: 0.7em;
        border-radius: 15px;
    }
    
    .bateau-type-badge-v2 svg {
        width: 10px;
        height: 10px;
    }
    
    .bateau-club-name-v2 {
        font-size: 0.8em;
    }
    
    .bateau-club-name-v2 svg {
        width: 11px;
        height: 11px;
    }
    
    /* Modale generale sur mobile */
    .bateau-modal-wrapper {
        padding: 15px;
    }
    
    .bateau-gallery-section {
        border-radius: 12px;
        margin-bottom: 15px;
    }
    
    .bateau-section-card {
        padding: 15px;
        border-radius: 12px;
    }

    .equipment-health-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .equipment-health-stats > div { padding: .6rem; }
    .equipment-health-entry-heading { align-items: flex-start; }
    .equipment-health-category-item { align-items: flex-start; }
    
    .dashboard-section-title {
        font-size: 1rem;
    }
    
    /* Calendrier sur mobile */
    .calendar-container {
        padding: 12px;
    }
    
    .calendar-grid {
        gap: 2px;
    }
    
    .day-cell {
        min-height: 32px;
        font-size: 0.75rem;
    }
    
    /* Boutons sur mobile */
    .btn-primary-modern,
    .btn-secondary-modern {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    /* Section reservation sur mobile */
    .reservation-section {
        padding: 15px;
        border-radius: 12px;
    }
    
    .section-title {
        font-size: 1rem;
    }
    
    /* Caracteristiques sur mobile */
    .bateau-info-cards {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .bateau-info-item {
        padding: 12px;
    }
    
    /* Gallery locked section */
    .gallery-locked-section {
        padding: 25px 15px;
    }
    
    .gallery-locked-content .lock-icon {
        width: 60px;
        height: 60px;
    }
    
    .gallery-locked-content h4 {
        font-size: 1.1rem;
    }
    
    .gallery-locked-content p {
        font-size: 0.85rem;
    }
}

/* =============================
   RESPONSIVE MOBILE - MODALE BATEAU
============================= */
@media (max-width: 480px) {
    /* Modale principale sur mobile */
    .modal-content.bateau-modal-glass {
        padding: 15px !important;
        margin: 2% auto !important;
        width: 98% !important;
        max-height: 96vh !important;
        border-radius: 16px !important;
    }
    
    /* Bouton fermer sur mobile */
    .modal-content.bateau-modal-glass .close,
    .modal .close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }
    
    .close::before,
    .close::after {
        width: 16px;
    }
    
    /* Carousel images sur mobile */
    .image-carousel {
        border-radius: 12px;
    }
    
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .carousel-dots {
        bottom: 8px;
    }
    
    .carousel-dot {
        width: 6px;
        height: 6px;
    }
    
    /* Lightbox sur mobile */
    .lightbox-content {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
    }
    
    /* Formulaire reservation sur mobile */
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    /* Assurance alert box mobile */
    .assurance-alert-box {
        padding: 12px;
        border-radius: 10px;
    }
    
    .assurance-alert-box svg {
        width: 18px;
        height: 18px;
    }
    
    .assurance-alert-box span {
        font-size: 0.8rem;
    }
    
    /* Actions buttons mobile */
    .modal-actions,
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-actions button,
    .form-actions button {
        width: 100%;
    }
}

/* Tablet responsive */
@media (min-width: 481px) and (max-width: 768px) {
    .modal-content.bateau-modal-glass {
        padding: 20px !important;
        width: 96% !important;
    }
    
    .bateau-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================
   RESPONSIVE RECHERCHE VENTE/LOCATION - MOBILE
============================= */
@media (max-width: 480px) {
    /* Toggle mode vente/location */
    .marketplace-mode-toggle {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .mode-toggle-btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.88rem;
        justify-content: center;
        margin-right: 0;
    }
    
    .mode-toggle-btn svg {
        width: 16px;
        height: 16px;
    }
    
    /* Search card mobile */
    .search-card {
        padding: 16px;
        padding-bottom: 40px;
        border-radius: 16px;
    }
    
    .search-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 16px;
    }
    
    .search-card .flex {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start !important;
    }
    
    /* Bouton reset filtres */
    .btn-reset-filters {
        width: 100%;
        justify-content: center;
        padding: 10px;
        font-size: 0.85rem;
    }
    
    /* Grille de filtres - 1 colonne sur mobile */
    .filters-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px;
    }
    
    .filter-group-featured {
        grid-column: span 1 !important;
    }
    
    .filter-group {
        width: 100%;
        min-width: 0;
    }

    #filter-form input[type="date"] {
        display: block;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    
    .form-label {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .form-select {
        padding: 12px 14px;
        font-size: 0.9rem;
        border-radius: 10px;
    }
    
    /* Custom select dropdown */
    .custom-select-trigger {
        padding: 12px 14px;
        font-size: 0.9rem;
        border-radius: 10px;
    }
    
    .custom-select-options {
        max-height: 200px;
    }
    
    /* Bouton rechercher */
    .btn-search {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        margin-top: 8px;
    }
    
    /* Counter equipements */
    .boat-counter {
        flex-direction: column;
        text-align: center;
        gap: 4px;
        padding: 12px;
    }
    
    .counter-number {
        font-size: 2rem;
    }
    
    .counter-text {
        font-size: 0.85rem;
    }
    
    /* Section header */
    .section-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
    }
    
    /* Boat cards sur mobile */
    .boats-grid {
        gap: 16px;
    }
    
    .boat-card {
        border-radius: 14px;
    }
    
    .boat-image {
        height: 180px;
    }
    
    .boat-content {
        padding: 14px;
    }
    
    .boat-header {
        margin-bottom: 10px;
    }
    
    .boat-title {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .boat-club {
        margin-top: 6px;
    }
    
    .club-name {
        font-size: 0.8rem;
    }
    
    /* Badges */
    .badge-type {
        font-size: 0.65rem;
        padding: 4px 8px;
    }
    
    .badge-porteur {
        font-size: 0.6rem;
        padding: 3px 6px;
    }
    
    .badge-nouveau,
    .badge-negociable {
        font-size: 0.6rem;
        padding: 3px 8px;
    }
    
    /* Prix et specs */
    .boat-specs {
        gap: 8px;
    }
    
    .spec-item {
        padding: 8px;
    }
    
    .spec-label {
        font-size: 0.7rem;
    }
    
    .spec-value {
        font-size: 0.85rem;
    }
    
    .boat-price {
        font-size: 1.2rem;
    }
    
    .price-suffix {
        font-size: 0.75rem;
    }
    
    /* Pagination mobile */
    .pagination {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .pagination a,
    .pagination span {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    /* No results message */
    .no-results {
        padding: 30px 20px;
    }
    
    .no-results svg {
        width: 48px;
        height: 48px;
    }
    
    .no-results p {
        font-size: 0.95rem;
    }
}

/* Tablet adjustments */
@media (min-width: 481px) and (max-width: 768px) {
    .filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .marketplace-mode-toggle {
        flex-direction: row;
    }
    
    .boats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* =============================
   FIX INPUTS DATE SUR MOBILE
============================= */
@media (max-width: 480px) {
    /* Inputs date responsive - fix iOS/Safari */
    .form-input,
    input[type="date"].form-input {
        padding: 12px 14px;
        font-size: 16px; /* 16px minimum pour eviter le zoom iOS */
        height: 48px;
        max-height: 48px;
        line-height: 1.2;
        color: #ffffff;
        background-color: #1a202b;
    }
    
    /* Forcer la couleur du texte de la date */
    input[type="date"] {
        color: #ffffff;
        color-scheme: dark;
    }
    
    /* Ajuster l'icone du calendrier sur mobile */
    input[type="date"]::-webkit-calendar-picker-indicator {
        filter: invert(0.8);
        padding: 4px;
        width: 18px;
        height: 18px;
        cursor: pointer;
    }
    
    /* Label des filtres dates */
    #filter-date-debut .form-label,
    #filter-date-fin .form-label {
        font-size: 0.8rem;
        gap: 4px;
    }
    
    #filter-date-debut .filter-icon,
    #filter-date-fin .filter-icon {
        width: 14px;
        height: 14px;
    }
    
    /* S'assurer que les groupes de date prennent toute la largeur */
    #filter-date-debut,
    #filter-date-fin {
        width: 100%;
    }
    
    /* Fix pour le texte de la date sur iOS */
    input[type="date"]::-webkit-datetime-edit {
        color: #ffffff;
        padding: 0;
    }
    
    input[type="date"]::-webkit-datetime-edit-fields-wrapper {
        color: #ffffff;
    }
    
    input[type="date"]::-webkit-datetime-edit-text,
    input[type="date"]::-webkit-datetime-edit-month-field,
    input[type="date"]::-webkit-datetime-edit-day-field,
    input[type="date"]::-webkit-datetime-edit-year-field {
        color: #ffffff;
    }
    
    /* Placeholder quand vide */
    input[type="date"]:invalid::-webkit-datetime-edit {
        color: rgba(255, 255, 255, 0.5);
    }
}

/* Medium mobile */
@media (min-width: 375px) and (max-width: 480px) {
    .form-input,
    input[type="date"].form-input {
        padding: 12px 14px;
        font-size: 16px;
    }
}

/* =============================
   CALENDRIER - FIX BORDURES VERTES
============================= */
.rental-day-available {
    flex-direction: column !important;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.25), 
        rgba(5, 150, 105, 0.2)) !important;
    border: 2px solid rgba(16, 185, 129, 0.5) !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15) !important;
}

.rental-day-available:hover {
    border-color: rgba(16, 185, 129, 0.7) !important;
}

.rental-day-selected {
    flex-direction: column !important;
    border: 2px solid rgba(59, 130, 246, 0.7) !important;
}

.rental-day-partial {
    border: 2px solid rgba(245, 158, 11, 0.6) !important;
}

/* =============================
   CALENDRIER - FIX BORDURES VERTES
============================= */
.rental-day-available {
    flex-direction: column !important;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.25), 
        rgba(5, 150, 105, 0.2)) !important;
    border: 2px solid rgba(16, 185, 129, 0.5) !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15) !important;
}

.rental-day-available:hover {
    border-color: rgba(16, 185, 129, 0.7) !important;
}

.rental-day-selected {
    flex-direction: column !important;
    border: 2px solid rgba(59, 130, 246, 0.7) !important;
}

.rental-day-partial {
    border: 2px solid rgba(245, 158, 11, 0.6) !important;
}

/* =============================
   CALENDRIER - FIX ALIGNEMENT COLONNES
============================= */
.calendar-modern .calendar-weekdays {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 4px !important;
    margin-bottom: 4px !important;
    text-align: center !important;
}

.calendar-modern .calendar-weekdays span {
    padding: 8px 0 !important;
    font-size: 0.75em !important;
}

.calendar-modern .calendar-days {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 4px !important;
}

.calendar-modern .rental-day-available,
.calendar-modern .rental-day-selected,
.calendar-modern .rental-day-partial,
.calendar-modern .rental-day-reserved,
.calendar-modern .rental-day-past,
.calendar-modern .rental-day-empty {
    aspect-ratio: 1 !important;
    min-height: auto !important;
    max-height: none !important;
}

/* =============================
   CALENDRIER - FIX ALIGNEMENT FINAL
============================= */
.calendar-modern {
    padding: 20px !important;
}

.calendar-modern .calendar-weekdays,
.calendar-modern .calendar-days {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 4px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.calendar-modern .calendar-weekdays {
    margin-bottom: 4px !important;
}

.calendar-modern .calendar-weekdays span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 0 !important;
    font-size: 0.75em !important;
    box-sizing: border-box !important;
}

/* Toutes les cellules du calendrier */
.calendar-modern .calendar-days > div {
    aspect-ratio: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.rental-day-empty {
    background: transparent !important;
    border: 2px solid transparent !important;
}

.rental-day-past {
    background: transparent !important;
    border: 2px solid transparent !important;
    color: rgba(255, 255, 255, 0.25) !important;
}

.rental-day-available,
.rental-day-selected,
.rental-day-partial,
.rental-day-reserved,
.rental-day-accepted {
    border-width: 2px !important;
    box-sizing: border-box !important;
}

/* =============================
   CALENDRIER - FIX ALIGNEMENT UNIVERSEL
   S'applique à tous les calendriers
============================= */

/* Reset du gap pour weekdays - DOIT être identique au gap des days */
.calendar-weekdays {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 4px !important;
    margin-bottom: 4px !important;
    text-align: center !important;
}

.calendar-days {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 4px !important;
}

/* Uniformiser les cellules des jours de la semaine */
.calendar-weekdays span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 4px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

/* Uniformiser TOUTES les cellules de calendrier */
.calendar-days > div,
.calendar-day,
.rental-day-empty,
.rental-day-past,
.rental-day-available,
.rental-day-selected,
.rental-day-partial,
.rental-day-reserved,
.rental-day-accepted {
    aspect-ratio: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    min-height: 40px !important;
    max-height: none !important;
}

/* Cellules vides - même taille que les autres */
.calendar-day.empty,
.rental-day-empty {
    background: transparent !important;
    border: none !important;
    visibility: visible !important;
}

/* =============================
   CALENDRIER - FIX TAILLE CELLULES VERTES
============================= */

/* Forcer TOUTES les cellules avec contenu à avoir la même structure */
.rental-day-available,
.rental-day-partial {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    padding: 6px 4px !important;
}

/* day-number identique pour tous */
.rental-day-available .day-number,
.rental-day-partial .day-number,
.rental-day-selected .day-number {
    font-size: 1.1em !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

/* Labels qty identiques */
.qty-label,
.qty-label-full {
    font-size: 0.6em !important;
    font-weight: 600 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    min-width: 32px !important;
    text-align: center !important;
}

.qty-label-full {
    background: rgba(74, 222, 128, 0.3) !important;
    color: #4ade80 !important;
}

.qty-label {
    background: rgba(251, 191, 36, 0.35) !important;
    color: #fbbf24 !important;
}

/* =============================
   CALENDRIER - FIX ALIGNEMENT WEEKDAYS/DAYS
============================= */
.calendar-modern .calendar-weekdays,
.calendar-modern .calendar-days {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    justify-items: center !important;
    align-items: center !important;
}

.calendar-modern .calendar-weekdays {
    margin-bottom: 6px !important;
}

.calendar-modern .calendar-weekdays span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    text-align: center !important;
}

/* Toutes les cellules du calendrier */
.calendar-modern .calendar-days > div {
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ===============================================
   UPGRADE OVERLAY - PLAN RESTRICTIONS
   =============================================== */

/* Overlay container */
.upgrade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 12px;
    animation: fadeInOverlay 0.3s ease-out;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.upgrade-overlay-content {
    text-align: center;
    max-width: 480px;
    padding: 48px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 25px rgba(0, 0, 0, 0.08);
    animation: slideUpOverlay 0.4s ease-out;
}

@keyframes slideUpOverlay {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.upgrade-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.3);
}

.upgrade-overlay h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.3;
}

.upgrade-overlay p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.6;
}

.upgrade-benefits {
    text-align: left;
    margin: 24px 0;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.upgrade-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.upgrade-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #475569;
    font-size: 0.95rem;
}

.upgrade-benefits li::before {
    content: "✓";
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.btn-upgrade {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.btn-upgrade:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

.btn-upgrade:active {
    transform: translateY(0);
}

/* Restricted plan features stay clickable so users can view the upgrade teaser. */
.tab-btn.restricted,
.quick-access-btn.restricted {
    opacity: 0.55;
    filter: grayscale(1);
    cursor: pointer;
    position: relative;
}

.tab-btn.restricted:hover,
.quick-access-btn.restricted:hover {
    opacity: 0.75;
}

.tab-lock-icon {
    font-size: 12px;
    margin-left: 6px;
    opacity: 0.7;
}

/* Tab content position for overlay */
.tab-content {
    position: relative;
}

/* Responsive styles for upgrade overlay */
@media (max-width: 768px) {
    .upgrade-overlay-content {
        padding: 32px 24px;
        margin: 16px;
        max-width: calc(100% - 32px);
    }
    
    .upgrade-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .upgrade-overlay h2 {
        font-size: 1.4rem;
    }
    
    .upgrade-overlay p {
        font-size: 0.9rem;
    }
    
    .upgrade-benefits {
        padding: 16px;
    }
    
    .upgrade-benefits li {
        font-size: 0.85rem;
    }
    
    .btn-upgrade {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .upgrade-overlay-content {
        padding: 24px 16px;
    }
    
    .upgrade-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .upgrade-overlay h2 {
        font-size: 1.2rem;
    }
}

/* ===============================================
   UPGRADE OVERLAY - STYLES COMPLETS POUR PLANGUARD
   =============================================== */

/* Styles section overlay */
.upgrade-overlay-section,
.upgrade-overlay-tab,
.upgrade-overlay-modal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.97) 0%, rgba(26, 32, 43, 0.98) 100%);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 16px;
    animation: overlayFadeIn 0.4s ease-out;
}

@keyframes overlayFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.upgrade-overlay-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.15) 100%);
    border: 2px solid rgba(251, 191, 36, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
}

.upgrade-overlay-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.upgrade-overlay-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 12px;
    line-height: 1.3;
}

.upgrade-overlay-message {
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 400px;
}

.upgrade-benefits-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    background: rgba(17, 21, 30, 0.05);
    border-radius: 12px;
    padding: 16px 20px;
}

.upgrade-benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #e2e8f0;
    font-size: 0.95rem;
}

.upgrade-benefits-list li svg {
    color: #10b981;
    flex-shrink: 0;
}

.upgrade-overlay-pricing {
    margin-bottom: 24px;
    color: #64748b;
    font-size: 0.9rem;
}

.upgrade-current-plan {
    display: block;
    margin-bottom: 8px;
}

.upgrade-current-plan strong {
    color: #f8fafc;
}

.btn-upgrade-plan {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-upgrade-plan:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

/* Bouton upgrade small pour les sections internes */
.btn-upgrade-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-top: 12px;
}

.btn-upgrade-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

/* Message no subscription */
.locatif-no-subscription {
    text-align: center;
    padding: 40px 20px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px dashed rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    color: #fbbf24;
}

.locatif-no-subscription p {
    margin: 0;
    font-size: 1rem;
}

/* Responsive pour upgrade overlay */
@media (max-width: 768px) {
    .upgrade-overlay-content {
        padding: 32px 20px;
        margin: 16px;
    }
    
    .upgrade-overlay-icon {
        width: 60px;
        height: 60px;
    }
    
    .upgrade-overlay-title {
        font-size: 1.4rem;
    }
    
    .upgrade-overlay-message {
        font-size: 0.9rem;
    }
    
    .btn-upgrade-plan {
        width: 100%;
        justify-content: center;
    }
}

/* ===============================================
   FEATURE LOCKS - VERROUS SUR FONCTIONNALITÉS
   =============================================== */

/* Icône cadenas sur les features verrouillées */
.feature-lock {
    font-size: 0.85em;
    margin-left: 6px;
    opacity: 0.8;
}

/* Lien d'upgrade dans les descriptions */
.upgrade-link {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.upgrade-link:hover {
    color: #f59e0b;
    text-decoration: underline;
}

/* Cards désactivées */
.equip-card.disabled {
    opacity: 0.6;
    position: relative;
}

.equip-card.disabled .equip-card-arrow {
    opacity: 0.4;
    cursor: pointer;
}

/* Réactiver le pointer-events pour les liens upgrade */
.equip-card.disabled .upgrade-link {
    pointer-events: auto;
}

/* Réactiver les cards avec locks mais permettre le clic sur upgrade */
.equip-card:has(.feature-lock) {
    opacity: 0.85;
}

.equip-card:has(.feature-lock):hover {
    transform: none;
}

/* Notice abonnement requis */
.subscription-required-notice {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: #fbbf24;
    margin-top: 20px;
}

.subscription-required-notice .feature-lock {
    font-size: 1.5em;
    display: block;
    margin-bottom: 10px;
}

.subscription-required-notice .btn-upgrade-small {
    margin-top: 15px;
    display: inline-flex;
}

/* Boutons désactivés */
button[disabled],
.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Bandeau d'info restriction dans les sections */
.restriction-banner {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px dashed rgba(251, 191, 36, 0.4);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin: 20px 0;
}

.restriction-banner h4 {
    color: #fbbf24;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.restriction-banner p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0 0 16px 0;
}

/* ============================================= */
/* SECTION LOCKED OVERLAY - Blocage complet     */
/* ============================================= */

.section-locked-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 40px 20px;
}

.locked-content-box {
    background: linear-gradient(135deg, rgba(26, 32, 43, 0.95) 0%, rgba(17, 21, 30, 0.98) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
                0 0 60px rgba(251, 191, 36, 0.1);
}

.locked-content-box .locked-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
    border-radius: 50%;
    color: #fbbf24;
}

.locked-content-box h3 {
    color: #fbbf24;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.locked-content-box > p {
    color: #94a3b8;
    font-size: 1rem;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.locked-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
    display: inline-block;
}

.locked-features-list li {
    color: #cbd5e1;
    font-size: 0.95rem;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.locked-features-list li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #fbbf24;
    border-radius: 50%;
    flex-shrink: 0;
}

.btn-upgrade-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0f172a;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-upgrade-primary:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-upgrade-primary svg {
    flex-shrink: 0;
}

/* ============================================= */
/* TEASER WRAPPER - Contenu flou avec overlay   */
/* ============================================= */

.teaser-wrapper {
    position: relative;
    min-height: 400px;
}

.teaser-overlay {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(17, 21, 30, 0.75);
    backdrop-filter: blur(2px);
    border-radius: 12px;
}

.teaser-content-blur {
    opacity: 0.4;
    pointer-events: none;
    user-select: none;
}

.teaser-upgrade-box {
    background: linear-gradient(135deg, rgba(26, 32, 43, 0.98) 0%, rgba(17, 21, 30, 1) 100%);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 16px;
    padding: 32px 40px;
    text-align: center;
    max-width: 380px;
}

@keyframes teaser-pulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 60px rgba(251, 191, 36, 0.1); }
    50% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 80px rgba(251, 191, 36, 0.25); }
}

.teaser-upgrade-box .teaser-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%);
    border-radius: 50%;
    color: #fbbf24;
}

.teaser-upgrade-box h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.teaser-upgrade-box p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.btn-upgrade-teaser {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.btn-upgrade-teaser:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-upgrade-teaser svg {
    flex-shrink: 0;
}

/* État vide avec restriction */
.locatif-empty-state.restricted {
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.05);
}

.locatif-empty-state.restricted svg {
    color: #fbbf24;
}

/* ============================================
   STYLES LOGO/ACRONYME CLUB MODALE
   ============================================ */

.bateau-club-logo-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.bateau-club-acronyme {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    font-size: 0.65em;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* ============================================
   CAHIER SORTIE - CATEGORIES AUTORISEES
   ============================================ */

.cahier-categories-form {
    background: rgba(17, 21, 30, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    padding: 1.25rem;
}

.cahier-categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* Masquer la checkbox native */
.cahier-category-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.cahier-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(17, 21, 30, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 8px;
    padding: 0.5rem 0.9rem;
    cursor: pointer;
    color: rgba(203, 213, 225, 0.75);
    font-size: 0.88rem;
    font-weight: 500;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    user-select: none;
}

/* Indicateur carré personnalisé */
.cahier-category-pill::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 1.5px solid rgba(148, 163, 184, 0.4);
    border-radius: 4px;
    background: transparent;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
}

.cahier-category-pill:hover {
    border-color: rgba(148, 163, 184, 0.45);
    background: rgba(26, 32, 43, 0.45);
    color: #e2e8f0;
}

/* État coché via :has() */
.cahier-category-pill:has(.cahier-category-checkbox:checked) {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.10);
    color: #e2e8f0;
}

.cahier-category-pill:has(.cahier-category-checkbox:checked)::before {
    background: #3b82f6;
    border-color: #3b82f6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 10px;
}

.cahier-category-name {
    line-height: 1;
    white-space: nowrap;
}

.cahier-categories-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.cahier-categories-save {
    min-width: 220px;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.cahier-categories-empty {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .cahier-categories-actions {
        justify-content: stretch;
    }

    .cahier-categories-save {
        width: 100%;
        min-width: 0;
    }
}

/* ============================================
   CAHIER DE SORTIE - MODULE DASHBOARD
   ============================================ */

/* --- Header : date/heure + cloche --- */
.csd-header-datetime {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #9CA3AF;
    white-space: nowrap;
}

.csd-repair-header .header-right {
    gap: 0.75rem;
    flex-wrap: wrap;
}

.csd-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(17, 21, 30, 0.04);
    color: #9CA3AF;
    text-decoration: none;
    transition: all 0.2s ease;
}

.csd-bell:hover {
    border-color: #1A6DFF;
    color: #60A5FA;
    background: rgba(26, 109, 255, 0.1);
}

.csd-bell-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: #EF4444;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Barre de filtres (style barre de recherche adhérents) --- */
.csd-filters {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 18px;
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(17, 21, 30, 0.05) 0%, rgba(255, 255, 255, 0.025) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.csd-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.csd-field-label {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 600;
}

.csd-input {
    min-width: 210px;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(17, 21, 30, 0.76);
    color: #f8fafc;
    font-size: 0.92rem;
    font-family: inherit;
    color-scheme: dark;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.csd-input::placeholder {
    color: rgba(226, 232, 240, 0.42);
}

.csd-input:focus {
    border-color: rgba(96, 165, 250, 0.55);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
    background: rgba(17, 21, 30, 0.92);
}

.csd-date-row {
    display: flex;
    gap: 0.7rem;
}

.csd-input-date {
    min-width: 145px;
}

.csd-journal-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.csd-journal-actions .btn-marketplace {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #1A6DFF;
    font-family: inherit;
    line-height: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.csd-journal-actions .btn-marketplace:hover {
    background: #1A6DFF;
    color: #fff;
}

.csd-journal-result-count {
    margin: 0.85rem 0 0;
    color: #94a3b8;
    font-size: 0.84rem;
    text-align: center;
}

.csd-journal-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1rem;
}

.csd-page-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 10px;
    color: #e2e8f0;
    text-decoration: none;
}

.csd-page-link:hover:not(.is-disabled) {
    border-color: rgba(96, 165, 250, 0.6);
    color: #fff;
}

.csd-page-link.is-disabled {
    color: #64748b;
    opacity: 0.65;
}

.csd-page-status {
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* --- Tableau du journal --- */
.csd-table-scroll {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

.csd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.csd-table th {
    background: rgba(17, 21, 30, 0.03);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-align: left;
    padding: 0.85rem 1.25rem;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.csd-th-center {
    text-align: center;
}

.csd-table td {
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.csd-table tr:last-child td {
    border-bottom: none;
}

.csd-td-center {
    text-align: center;
}

.csd-sortie-note {
    display: block;
    margin-top: 0.3rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
}

.csd-cell-name {
    color: #fff;
    font-weight: 500;
}

.csd-row:hover td {
    background: rgba(17, 21, 30, 0.03);
}

.csd-status-live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(17, 21, 30, 0.08);
    color: #3B82F6;
}

.csd-av-status {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    font-size: 0.78rem;
    white-space: nowrap;
}
.csd-av-status-open { color: #FBBF24; background: rgba(251, 191, 36, 0.1); }
.csd-av-status-review { color: #60A5FA; background: rgba(96, 165, 250, 0.1); }
.csd-av-status-repair { color: #F87171; background: rgba(248, 113, 113, 0.1); }
.csd-av-status-done { color: #34D399; background: rgba(52, 211, 153, 0.1); }
.csd-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.8rem;
    padding: 0.15rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 600;
}

.cs-health-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    margin-top: 1.25rem;
}
.cs-health-selector,
.cs-health-details { min-width: 0; }
.cs-health-selector > .csd-input { width: 100%; min-width: 0; margin: .5rem 0 .75rem; }
.cs-health-filters { display: grid; gap: .65rem; margin-bottom: .75rem; }
.cs-health-filters .csd-field { width: 100%; }
.cs-health-filters .csd-field-label { font-size: .78rem; }
.cs-health-filters .csd-input { width: 100%; min-width: 0; }
.cs-health-equipment-list {
    display: grid;
    gap: .4rem;
    max-height: calc(100vh - 250px);
    margin-right: -1.75rem;
    padding-right: 1.75rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, .28) transparent;
}
.cs-health-equipment-list::-webkit-scrollbar { width: 5px; }
.cs-health-equipment-list::-webkit-scrollbar-track { background: transparent; }
.cs-health-equipment-list::-webkit-scrollbar-thumb {
    border: 1px solid transparent;
    border-radius: 999px;
    background: rgba(148, 163, 184, .28);
    background-clip: padding-box;
}
.cs-health-equipment-list::-webkit-scrollbar-thumb:hover { background: rgba(96, 165, 250, .65); background-clip: padding-box; }
.cs-health-equipment-button {
    width: 100%;
    flex: none;
    border: 1px solid transparent;
    color: #f8fafc;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}
.cs-health-equipment-button:hover,
.cs-health-equipment-button.is-selected { border-color: #1A6DFF; }
.cs-health-equipment-button:hover { transform: none; box-shadow: 0 4px 15px rgba(0, 0, 0, .2); }
.cs-health-equipment-button small { color: #94a3b8; font-size: .76rem; }
.cs-health-equipment-button:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }
.cs-health-equipment-button[hidden] { display: none; }
.cs-health-no-equipment-match { color: #94a3b8; font-size: .85rem; }
.cs-health-equipment-detail[hidden] { display: none; }
.cs-health-detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; padding-bottom: .9rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.cs-health-kicker { margin: 0 0 .25rem; color: #94a3b8; font-size: .76rem; }
.cs-health-detail-header h2 { margin: 0; color: #f8fafc; font-size: 1.25rem; }
.cs-health-kpi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: 1rem 0 1.25rem; }
.cs-health-kpi { --cs-health-kpi-accent: #60a5fa; display: flex; min-width: 0; min-height: 105px; flex-direction: column; justify-content: space-between; padding: .75rem .85rem; border: 1px solid rgba(148, 163, 184, .16); border-left: 3px solid var(--cs-health-kpi-accent); border-radius: 7px; background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); }
.cs-health-kpi--blue { --cs-health-kpi-accent: #60a5fa; }
.cs-health-kpi--green { --cs-health-kpi-accent: #4ade80; }
.cs-health-kpi--cyan { --cs-health-kpi-accent: #22d3ee; }
.cs-health-kpi--slate { --cs-health-kpi-accent: #cbd5e1; }
.cs-health-kpi--amber { --cs-health-kpi-accent: #fbbf24; }
.cs-health-kpi--red { --cs-health-kpi-accent: #fb7185; }
.cs-health-kpi-label { color: #aab7c8; font-size: .73rem; font-weight: 600; line-height: 1.3; }
.cs-health-kpi strong { overflow-wrap: anywhere; margin: .35rem 0 .2rem; color: #f8fafc; font-size: 1.55rem; font-variant-numeric: tabular-nums; font-weight: 700; line-height: 1.1; }
.cs-health-kpi-detail { color: #8291a5; font-size: .7rem; line-height: 1.3; }
.cs-health-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 1.35rem 0 .75rem; padding-bottom: .65rem; border-bottom: 1px solid rgba(255, 255, 255, .11); }
.cs-health-section-heading > div > span { color: #60a5fa; font-size: .66rem; font-weight: 700; }
.cs-health-section-heading h3 { margin: .2rem 0 0; color: #f8fafc; font-size: 1rem; }
.cs-health-section-heading small { color: #94a3b8; font-size: .74rem; text-align: right; }
.cs-health-history-heading { align-items: center; }
.cs-health-analytics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.75rem; margin: 0 0 1rem; }
.cs-health-panel { min-width: 0; padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.cs-health-panel h3 { margin: 0 0 .65rem; color: #e7edf5; font-size: .84rem; }
.cs-health-stat-list,
.cs-health-month-list { display: grid; gap: .62rem; margin: 0; padding: 0; list-style: none; }
.cs-health-stat-list li { display: grid; gap: .3rem; min-width: 0; }
.cs-health-stat-line,
.cs-health-month-list li { display: flex; align-items: center; justify-content: space-between; gap: .65rem; color: #cbd5e1; font-size: .78rem; }
.cs-health-stat-line > span { min-width: 0; overflow-wrap: anywhere; }
.cs-health-stat-line strong,
.cs-health-month-list strong { flex: none; color: #f8fafc; font-size: .76rem; font-variant-numeric: tabular-nums; }
.cs-health-stat-list li > small { color: #8291a5; font-size: .69rem; }
.cs-health-stat-track,
.cs-health-month-track { display: block; height: 5px; overflow: hidden; border-radius: 999px; background: rgba(148, 163, 184, .15); }
.cs-health-stat-track > span,
.cs-health-month-track > span { display: block; height: 100%; border-radius: inherit; background: #38bdf8; }
.cs-health-panel:nth-child(2) .cs-health-stat-track > span { background: #4ade80; }
.cs-health-panel:nth-child(3) .cs-health-stat-track > span { background: #fbbf24; }
.cs-health-panel:nth-child(4) .cs-health-stat-track > span { background: #a3e635; }
.cs-health-note { margin: .5rem 0 0; color: #94a3b8; font-size: .71rem; line-height: 1.4; }
.cs-health-month-track { flex: 1; }
.cs-health-month-track > span { background: #22d3ee; }
.cs-health-resolution,
.cs-health-avarie-summary { margin: .3rem 0; color: #cbd5e1; font-size: .78rem; line-height: 1.45; }
.cs-health-resolution strong { color: #f8fafc; }
.cs-health-history-list { display: grid; gap: .45rem; }
.cs-health-history-row { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(150px, 1fr) minmax(110px, .7fr) minmax(120px, 1.2fr); gap: .5rem .8rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .07); color: #cbd5e1; font-size: .78rem; }
.cs-health-history-row strong { color: #f8fafc; }
.cs-health-history-row small { color: #94a3b8; font-size: .74rem; }
.cs-health-avarie-fields dt { color: #94a3b8; font-size: .73rem; }
.cs-health-equipment-meta { padding: .75rem 0; color: #cbd5e1; font-size: .82rem; line-height: 1.5; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.cs-health-equipment-meta p { margin: .2rem 0; }
.cs-health-avarie-heading { display: flex; align-items: center; gap: .6rem; margin: 1rem 0 .65rem; }
.cs-health-avarie-heading h3 { margin: 0; color: #f8fafc; font-size: .95rem; }
.cs-health-avarie-list { display: grid; gap: .65rem; }
.cs-health-avarie { padding: .8rem .9rem; border: 1px solid rgba(255, 255, 255, .1); border-left: 3px solid #f87171; border-radius: 10px; background: rgba(255, 255, 255, .025); }
.cs-health-avarie-topline { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; color: #f8fafc; font-size: .86rem; }
.cs-health-avarie-fields { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; margin: .7rem 0 0; }
.cs-health-avarie-fields div { min-width: 105px; }
.cs-health-avarie-fields dd { margin: .15rem 0 0; color: #cbd5e1; font-size: .78rem; }
.cs-health-unit-status { color: #fcd34d; }
.cs-health-unit-status strong { color: #f8fafc; }
.cs-health-avarie-description { margin: .7rem 0 0; padding-top: .6rem; border-top: 1px solid rgba(255, 255, 255, .08); color: #cbd5e1; font-size: .82rem; line-height: 1.5; white-space: normal; }
.cs-health-avarie-photo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .35rem; margin-top: .65rem; color: #60a5fa; font-size: .8rem; text-decoration: none; }
.cs-health-avarie-photo img { display: block; width: min(100%, 240px); max-height: 220px; object-fit: contain; object-position: left center; border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; background: rgba(0, 0, 0, .18); }
.cs-health-avarie-photo:hover span { text-decoration: underline; }
.cs-health-empty { color: #94a3b8; font-size: .86rem; }
.cs-av-list { display: grid; gap: .75rem; }
.cs-av-card { overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-left: 3px solid #64748b; border-radius: 8px; background: rgba(17, 21, 30, .58); transition: border-color .18s ease, background .18s ease; }
.cs-av-card:hover { background: rgba(26, 32, 43, .64); }
.cs-av-card[data-status="signale"] { border-left-color: #f59e0b; }
.cs-av-card[data-status="en_verification"] { border-left-color: #38bdf8; }
.cs-av-card[data-status="en_reparation"] { border-left-color: #fb923c; }
.cs-av-card[data-status="resolu"] { border-left-color: #34d399; }
.cs-av-card-overview { padding: 1rem 1.1rem .9rem; }
.cs-av-card-topline,
.cs-av-card-title-row,
.cs-av-card-footer { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.cs-av-card-tags { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.cs-av-card-date { color: #9ca3af; font-size: .75rem; font-variant-numeric: tabular-nums; }
.cs-av-card-type { padding: .22rem .48rem; border: 1px solid rgba(148, 163, 184, .25); border-radius: 4px; color: #cbd5e1; font-size: .68rem; font-weight: 650; }
.cs-av-card-type.is-major { border-color: rgba(248, 113, 113, .4); background: rgba(127, 29, 29, .2); color: #fecaca; }
.cs-av-card-status { flex: 0 0 auto; }
.cs-av-card-title-row { justify-content: flex-start; flex-wrap: wrap; margin-top: .7rem; }
.cs-av-card-equipment { margin: 0; color: #f8fafc; font-size: .98rem; font-weight: 650; }
.cs-av-card-units { color: #cbd5e1; font-size: .76rem; }
.cs-av-card-location { margin: .25rem 0 0; color: #93c5fd; font-size: .75rem; }
.cs-av-card-description { margin: .6rem 0 0; color: #d1d5db; font-size: .83rem; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.cs-av-card-footer { align-items: flex-end; margin-top: .85rem; padding-top: .7rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.cs-av-card-people { display: flex; flex-wrap: wrap; gap: .45rem 1.25rem; }
.cs-av-card-people > span { display: grid; gap: .12rem; color: #e2e8f0; font-size: .76rem; }
.cs-av-card-people small { color: #94a3b8; font-size: .66rem; }
.cs-av-manage-button { min-height: 36px; padding: .45rem .7rem; border: 1px solid rgba(96, 165, 250, .4); border-radius: 5px; background: rgba(96, 165, 250, .1); color: #bfdbfe; font: inherit; font-size: .75rem; white-space: nowrap; cursor: pointer; }
.cs-av-manage-button:hover,
.cs-av-manage-button[aria-expanded="true"] { border-color: #60a5fa; background: rgba(96, 165, 250, .18); color: #fff; }
.cs-av-detail-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .85fr); gap: 1rem 1.35rem; padding: 1rem 1.1rem; border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(2, 6, 23, .26); }
.cs-av-detail-panel[hidden] { display: none; }
.cs-av-detail-summary { grid-column: 1 / -1; padding-bottom: .8rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.cs-av-detail-summary strong,
.cs-av-timeline h4 { color: #f8fafc; font-size: .86rem; }
.cs-av-detail-summary p { margin: .35rem 0; color: #cbd5e1; font-size: .82rem; white-space: normal; }
.cs-av-detail-summary span,
.cs-av-detail-summary a { display: inline-block; margin: .3rem .8rem 0 0; color: #94a3b8; font-size: .74rem; }
.cs-av-detail-summary a { color: #7dd3fc; }
.cs-av-treatment-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; align-content: start; }
.cs-av-treatment-form > label { display: grid; gap: .3rem; color: #cbd5e1; font-size: .76rem; }
.cs-av-treatment-form .csd-input { width: 100%; min-width: 0; font-size: .8rem; }
.cs-av-treatment-form textarea { resize: vertical; }
.cs-av-treatment-form > label:has(textarea),
.cs-av-treatment-form > button { grid-column: 1 / -1; }
.cs-av-treatment-form small { color: #fcd34d; font-size: .7rem; }
.cs-av-unit-picker { grid-column: 1 / -1; min-width: 0; margin: 0; padding: .65rem; border: 1px solid rgba(148, 163, 184, .25); border-radius: 6px; }
.cs-av-unit-picker legend { padding: 0 .25rem; color: #cbd5e1; font-size: .76rem; }
.cs-av-unit-picker-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .4rem; }
.cs-av-unit-picker-list label { display: flex; align-items: center; gap: .45rem; min-height: 36px; padding: .35rem .5rem; border: 1px solid rgba(148, 163, 184, .2); border-radius: 5px; color: #cbd5e1; font-size: .74rem; }
.cs-av-unit-picker-list input { accent-color: #60a5fa; }
.cs-av-unit-assignment { display: grid; align-content: start; gap: .3rem; color: #94a3b8; font-size: .74rem; }
.cs-av-unit-assignment strong { color: #f8fafc; }
.cs-av-timeline { min-width: 0; padding-left: 1rem; border-left: 1px solid rgba(148, 163, 184, .25); }
.cs-av-timeline h4 { margin: 0 0 .7rem; }
.cs-av-timeline > p { color: #94a3b8; font-size: .78rem; }
.cs-av-timeline ol { display: grid; gap: .7rem; max-height: 320px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.cs-av-timeline li { display: grid; gap: .2rem; }
.cs-av-timeline li > span { color: #94a3b8; font-size: .7rem; }
.cs-av-timeline li > strong { color: #e2e8f0; font-size: .78rem; }
.cs-av-timeline li > p { margin: 0; color: #cbd5e1; font-size: .78rem; line-height: 1.45; white-space: normal; }
.cs-av-empty,
.cs-av-noresult { display: grid; gap: .35rem; padding: 1.6rem; border: 1px dashed rgba(148, 163, 184, .3); border-radius: 8px; color: #94a3b8; text-align: center; }
.cs-av-empty strong { color: #e2e8f0; font-size: .9rem; }
.cs-av-empty span { font-size: .8rem; }
.cs-av-noresult[hidden] { display: none; }

@media (max-width: 900px) {
    .cs-health-layout { grid-template-columns: minmax(0, 1fr); }
    .cs-health-equipment-list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 260px; }
    .cs-health-history-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cs-health-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cs-av-detail-panel { grid-template-columns: minmax(0, 1fr); }
    .cs-av-detail-summary { grid-column: auto; }
    .cs-av-timeline { padding-left: 0; border-left: 0; }
}
@media (max-width: 540px) {
    .cs-health-equipment-list { grid-template-columns: minmax(0, 1fr); }
    .cs-health-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
    .cs-health-kpi { min-height: 96px; padding: .65rem .7rem; }
    .cs-health-kpi strong { font-size: 1.35rem; }
    .cs-health-analytics { grid-template-columns: minmax(0, 1fr); }
    .cs-health-history-row { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
    .cs-health-section-heading { align-items: flex-start; }
    .cs-health-section-heading small { max-width: 40%; }
    .cs-av-treatment-form { grid-template-columns: minmax(0, 1fr); }
    .cs-av-treatment-form > label:has(textarea),
    .cs-av-treatment-form > button { grid-column: auto; }
    .cs-av-card-overview,
    .cs-av-detail-panel { padding: .8rem; }
    .cs-av-card-topline { align-items: flex-start; }
    .cs-av-card-status { max-width: 48%; white-space: normal; text-align: center; }
    .cs-av-card-footer { align-items: stretch; flex-direction: column; }
    .cs-av-card-people { justify-content: space-between; }
    .cs-av-manage-button { width: 100%; }
}

.csd-row-filler td {
    height: 32px;
}

.csd-row-empty td,
.csd-row-noresult td {
    padding: 1.5rem 1.25rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 992px) {
    .csd-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .csd-field,
    .csd-input {
        width: 100%;
        min-width: 0;
    }

    .csd-date-row .csd-input {
        flex: 1;
    }

    .csd-journal-actions {
        width: 100%;
    }

    .csd-journal-actions .btn-marketplace {
        flex: 1 1 auto;
    }
}

@media (max-width: 768px) {
    .csd-header-datetime {
        order: -1;
    }
}

/* Parc d'équipements du dashboard */
#tab-equipements .equipements-grid-dash {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    align-items: stretch;
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

#tab-equipements .equipement-card-dash {
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: linear-gradient(155deg, rgba(20, 30, 48, 0.96), rgba(12, 19, 33, 0.96));
    border-color: rgba(148, 163, 184, 0.18);
}

#tab-equipements .equipement-image-dash {
    height: auto;
    aspect-ratio: 16 / 10;
    flex: 0 0 auto;
}

#tab-equipements .equipement-content-dash {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: 1.1rem;
}

#tab-equipements .equipement-name-dash {
    overflow-wrap: anywhere;
    font-size: 1.05rem;
}

#tab-equipements .equipement-meta-dash span {
    color: rgba(226, 232, 240, 0.72);
}

#tab-equipements .equipement-meta-dash .meta-type,
#tab-equipements .equipement-meta-dash .meta-marque {
    color: rgba(226, 232, 240, 0.72);
}

#tab-equipements .equipement-category-badge,
#tab-equipements .equipement-achete-badge,
#tab-equipements .equip-spec-badge,
#tab-equipements .equipement-etat-dash {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(148, 163, 184, 0.1);
    box-shadow: none;
    color: #cbd5e1;
}

#tab-equipements .equipement-card-dash.equipement-achete {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(155deg, rgba(20, 30, 48, 0.96), rgba(12, 19, 33, 0.96));
}

#tab-equipements .equipement-card-dash.equipement-achete:hover {
    border-color: rgba(148, 163, 184, 0.35);
}

#tab-equipements .vente-badge-vendu {
    background: rgba(17, 21, 30, 0.78);
    color: #fca5a5;
}

#tab-equipements .achete-info-text {
    flex: 1;
    color: #fca5a5;
    font-style: normal;
    text-align: left;
}

#tab-equipements .equipement-gallery .gallery-nav:hover,
#tab-equipements .equipement-gallery .gallery-dot.active {
    background: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.28);
}

#tab-equipements .equipement-description {
    display: -webkit-box;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

#tab-equipements .equipement-footer-dash {
    align-content: flex-start;
    margin-top: auto;
}

#tab-equipements .equipement-actions-dash .btn-edit-equip {
    min-height: 44px;
    gap: 0.5rem;
    padding: 0.65rem 0.9rem;
    font-weight: 650;
}

#tab-equipements .equipement-actions-dash .btn-delete-equip {
    min-width: 44px;
    min-height: 44px;
    flex: 0 0 44px;
}

#tab-equipements .equipement-actions-dash button:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

#tab-espace-vente .dashboard-listings-grid,
#tab-espace-locatif .dashboard-listings-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    align-items: stretch;
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

#tab-espace-vente .dashboard-listing-card,
#tab-espace-locatif .dashboard-listing-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: linear-gradient(155deg, rgba(20, 30, 48, 0.96), rgba(12, 19, 33, 0.96));
    border-color: rgba(148, 163, 184, 0.18);
}

#tab-espace-vente .dashboard-listing-card .equipement-image-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-image-dash {
    height: auto;
    aspect-ratio: 16 / 10;
    flex: 0 0 auto;
}

#tab-espace-vente .dashboard-listing-card .equipement-content-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-content-dash {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: 1.1rem;
}

#tab-espace-vente .dashboard-listing-card .equipement-name-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-name-dash {
    overflow-wrap: anywhere;
    font-size: 1.05rem;
}

#tab-espace-vente .dashboard-listing-card .equipement-meta-dash span,
#tab-espace-locatif .dashboard-listing-card .equipement-meta-dash span {
    color: rgba(226, 232, 240, 0.72);
}

#tab-espace-vente .dashboard-listing-card .equipement-category-badge,
#tab-espace-vente .dashboard-listing-card .vente-badge-negociable,
#tab-espace-vente .dashboard-listing-card .equipement-dispo-badge,
#tab-espace-locatif .dashboard-listing-card .equipement-category-badge,
#tab-espace-locatif .dashboard-listing-card .equipement-dispo-badge {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(148, 163, 184, 0.1);
    color: #cbd5e1;
    box-shadow: none;
}

#tab-espace-vente .dashboard-listing-card .equipement-price-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-price-dash {
    color: #f8fafc;
}

#tab-espace-vente .dashboard-listing-card .equipement-dispo-badge,
#tab-espace-locatif .dashboard-listing-card .equipement-dispo-badge {
    white-space: normal;
}

#tab-espace-vente .dashboard-listing-card .equipement-footer-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-footer-dash {
    align-content: flex-start;
    margin-top: auto;
}

#tab-espace-vente .dashboard-listing-card .equipement-description,
#tab-espace-locatif .dashboard-listing-card .equipement-description {
    display: -webkit-box;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

#tab-espace-vente .dashboard-listing-card .vente-badge-vendu,
#tab-espace-locatif .dashboard-listing-card .vente-badge-vendu {
    background: rgba(17, 21, 30, 0.78);
    color: #fca5a5;
}

#tab-espace-vente .dashboard-listing-card.vente-annonce-vendu,
#tab-espace-locatif .dashboard-listing-card.vente-annonce-vendu {
    opacity: 0.85;
}

#tab-espace-vente .dashboard-listing-card .equipement-actions-dash .btn-edit-annonce,
#tab-espace-locatif .dashboard-listing-card .equipement-actions-dash .btn-edit-annonce {
    height: 44px;
    min-height: 44px;
    gap: 0.5rem;
    padding: 0.65rem 0.9rem;
    font-weight: 650;
}

#tab-espace-vente .dashboard-listing-card .equipement-actions-dash .btn-delete-annonce,
#tab-espace-locatif .dashboard-listing-card .equipement-actions-dash .btn-delete-annonce {
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex: 0 0 44px;
}

#tab-espace-vente .dashboard-listing-card .vente-action-inline {
    flex: 0 0 44px;
}

#tab-espace-vente .dashboard-listing-card .vente-action-inline .btn-delete-annonce {
    width: 100%;
}

#tab-espace-vente .dashboard-listing-card .equipement-actions-dash button:focus-visible,
#tab-espace-locatif .dashboard-listing-card .equipement-actions-dash button:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

#edit-equipement-modal .connexion-modal-wrapper {
    max-width: none;
    margin: 0;
    padding: 0;
}

#edit-equipement-modal .connexion-header {
    margin-bottom: 1.25rem;
    text-align: left;
}

#edit-equipement-modal .connexion-title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    text-align: left;
}

#edit-equipement-modal .form-actions {
    flex-wrap: wrap;
}

#edit-equipement-modal .form-actions > button {
    min-height: 44px;
}

@media (hover: none) {
    #tab-equipements .equipement-gallery .gallery-nav,
    #tab-espace-vente .dashboard-listing-card .equipement-gallery .gallery-nav,
    #tab-espace-locatif .dashboard-listing-card .equipement-gallery .gallery-nav {
        width: 44px;
        height: 44px;
        opacity: 1;
    }
}

/* Défilement interne des listes longues du dashboard club */
#tab-equipements .dashboard-equipment-list .equipements-grid-dash {
    max-height: min(740px, 70vh);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.45) rgba(255, 255, 255, 0.04);
    padding-right: 10px;
}

.adherents-list-section .adherents-grid,
.teams-list-section .teams-grid {
    max-height: min(560px, 65vh);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.45) rgba(255, 255, 255, 0.04);
    padding: 4px 10px 4px 0;
    align-content: start;
}

.team-members-grid {
    max-height: min(320px, 45vh);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.45) rgba(255, 255, 255, 0.04);
    padding-right: 8px;
}

.csd-table-scroll {
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.45) rgba(255, 255, 255, 0.04);
}

.csd-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #142033;
}

#ts-list {
    max-height: min(320px, 45vh);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.45) rgba(255, 255, 255, 0.04);
    padding-right: 8px;
}

#tab-equipements .dashboard-equipment-list .equipements-grid-dash::-webkit-scrollbar,
.adherents-list-section .adherents-grid::-webkit-scrollbar,
.teams-list-section .teams-grid::-webkit-scrollbar,
.team-members-grid::-webkit-scrollbar,
.csd-table-scroll::-webkit-scrollbar,
#ts-list::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

#tab-equipements .dashboard-equipment-list .equipements-grid-dash::-webkit-scrollbar-track,
.adherents-list-section .adherents-grid::-webkit-scrollbar-track,
.teams-list-section .teams-grid::-webkit-scrollbar-track,
.team-members-grid::-webkit-scrollbar-track,
.csd-table-scroll::-webkit-scrollbar-track,
#ts-list::-webkit-scrollbar-track {
    background: rgba(17, 21, 30, 0.04);
    border-radius: 4px;
}

#tab-equipements .dashboard-equipment-list .equipements-grid-dash::-webkit-scrollbar-thumb,
.adherents-list-section .adherents-grid::-webkit-scrollbar-thumb,
.teams-list-section .teams-grid::-webkit-scrollbar-thumb,
.team-members-grid::-webkit-scrollbar-thumb,
.csd-table-scroll::-webkit-scrollbar-thumb,
#ts-list::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.45);
    border-radius: 4px;
}

#tab-equipements .dashboard-equipment-list .equipements-grid-dash:focus-visible,
.adherents-list-section .adherents-grid:focus-visible,
.teams-list-section .teams-grid:focus-visible,
.team-members-grid:focus-visible,
.csd-table-scroll:focus-visible,
#ts-list:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

.cahier-config-section {
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
    padding: clamp(1.1rem, 2.2vw, 1.8rem);
    border-color: rgba(127, 168, 255, .22);
    background: linear-gradient(145deg, rgba(17, 21, 30, .98), rgba(24, 33, 48, .96));
}

.cahier-config-section::before {
    position: absolute;
    top: 1.4rem;
    left: 0;
    width: 3px;
    height: 2.8rem;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #22d3ee, #1a6dff);
    content: "";
}

.cahier-config-header {
    align-items: center;
    gap: 1rem;
    margin-bottom: .65rem;
}

.cahier-config-heading {
    display: grid;
    min-width: 0;
    gap: .2rem;
}

.cahier-config-section .locatif-section-title {
    margin: 0;
    color: #f3f6fc;
    font-size: clamp(1.08rem, 1.5vw, 1.25rem);
}

.cahier-config-eyebrow {
    color: #7fa8ff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.cahier-config-description {
    max-width: 76ch;
    margin: .55rem 0 1.2rem;
    color: #aab4c3;
    font-size: .88rem;
    line-height: 1.55;
}

.cahier-config-section .cahier-config-category-form {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.cahier-config-category-form .cahier-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: .7rem;
}

.cahier-config-category-form .cahier-category-pill {
    position: relative;
    width: 100%;
    min-height: 56px;
    padding: .8rem .95rem;
    border-color: rgba(148, 163, 184, .2);
    border-radius: 12px;
    background: linear-gradient(110deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018));
    color: #c7d0de;
    line-height: 1.35;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.cahier-config-category-form .cahier-category-pill::before {
    width: 18px;
    height: 18px;
    border-color: rgba(148, 163, 184, .45);
    border-radius: 5px;
}

.cahier-config-category-form .cahier-category-pill:hover {
    border-color: rgba(127, 168, 255, .42);
    background: rgba(26, 109, 255, .08);
    color: #f3f6fc;
}

.cahier-config-category-form .cahier-category-pill:has(.cahier-category-checkbox:checked) {
    border-color: rgba(91, 145, 255, .65);
    background: linear-gradient(110deg, rgba(26, 109, 255, .18), rgba(26, 109, 255, .07));
    color: #e5eeff;
    box-shadow: inset 0 0 0 1px rgba(91, 145, 255, .12);
}

.cahier-config-category-form .cahier-category-pill:has(.cahier-category-checkbox:focus-visible) {
    outline: 2px solid #7fa8ff;
    outline-offset: 3px;
}

.cahier-config-category-form .cahier-category-name {
    line-height: 1.35;
    white-space: normal;
}

.cahier-config-category-form .cahier-categories-actions { margin-top: 1.1rem; }

.cahier-config-section .cahier-categories-save {
    min-width: 220px;
    justify-content: center;
}

.cahier-config-section .cahier-config-add {
    min-height: 42px;
    padding: .55rem .95rem;
    border: 1px solid rgba(127, 168, 255, .4);
    border-radius: 11px;
    background: rgba(26, 109, 255, .14);
    color: #cfe0ff;
    font-weight: 700;
    transition: border-color .2s ease, background .2s ease;
}

.cahier-config-section .cahier-config-add span {
    font-size: 1.15rem;
    line-height: 1;
}

.cahier-config-section .cahier-config-add:hover {
    border-color: rgba(127, 168, 255, .7);
    background: #1a6dff;
    color: #fff;
}

.cahier-config-editor {
    margin: 0 0 1rem;
    padding: clamp(.9rem, 1.7vw, 1.25rem);
    border: 1px solid rgba(127, 168, 255, .2);
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(26, 109, 255, .1), rgba(17, 21, 30, .65));
    box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.cahier-config-editor-header {
    margin-bottom: 1rem;
}

.cahier-config-editor .locatif-section-title {
    font-size: 1rem;
}

.cahier-config-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: .9rem;
}

.cahier-config-fields--training {
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.cahier-config-field,
.cahier-config-color-field {
    display: grid;
    min-width: 0;
    gap: .45rem;
}

.cahier-config-field > label,
.cahier-config-field > span,
.cahier-config-color-field > label {
    color: #c7d0de;
    font-size: .78rem;
    font-weight: 700;
}

.cahier-config-field strong { color: #7fa8ff; }

.cahier-config-form .form-input-modal {
    min-height: 44px;
    padding: .65rem .8rem;
    border-color: rgba(148, 163, 184, .24);
    border-radius: 10px;
    background: rgba(8, 12, 19, .58);
    color: #f3f6fc;
}

.cahier-config-form .form-input-modal::placeholder { color: #778398; }

.cahier-config-form .form-input-modal:hover,
.cahier-config-form .form-input-modal:focus {
    border-color: rgba(127, 168, 255, .72);
    background: rgba(8, 12, 19, .78);
}

.cahier-config-color-field input[type="color"] {
    width: 58px;
    height: 44px;
    padding: .25rem;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 10px;
    background: rgba(8, 12, 19, .58);
    cursor: pointer;
}

.cahier-config-section .cahier-config-submit {
    min-height: 44px;
    padding: .6rem 1rem;
    border: 1px solid #1a6dff;
    border-radius: 10px;
    background: #1a6dff;
    color: #fff;
    font-weight: 750;
}

.cahier-config-section .cahier-config-submit:hover {
    border-color: #3b82f6;
    background: #3b82f6;
}

.cahier-config-empty {
    padding: 1rem 1.1rem;
    border: 1px dashed rgba(127, 168, 255, .25);
    border-radius: 12px;
    background: rgba(8, 12, 19, .24);
}

.cahier-config-empty p {
    margin: 0;
    color: #aab4c3;
    font-size: .86rem;
    line-height: 1.55;
}

.cahier-config-list {
    display: grid;
    gap: .55rem;
}

.cahier-config-item {
    min-width: 0;
    padding: .72rem .85rem;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 12px;
    background: linear-gradient(110deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018));
    transition: border-color .18s ease, background .18s ease;
}

.cahier-config-item:hover {
    border-color: rgba(127, 168, 255, .34);
    background: linear-gradient(110deg, rgba(26, 109, 255, .1), rgba(255, 255, 255, .025));
}

.cahier-config-item-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
}

.cahier-config-swatch,
.cahier-config-destination-mark {
    display: block;
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(127, 168, 255, .1);
}

.cahier-config-destination-mark {
    background: #22d3ee;
    box-shadow: 0 0 0 4px rgba(34, 211, 238, .1);
}

.cahier-config-item-name {
    min-width: 0;
    color: #e5eaf2;
    font-size: .92rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.cahier-config-item-actions {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.cahier-config-delete-form { display: flex; margin: 0; }

.cahier-config-edit,
.cahier-config-delete {
    min-height: 34px;
    padding: .35rem .65rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.cahier-config-edit { color: #a9c5ff; }
.cahier-config-edit:hover {
    border-color: rgba(127, 168, 255, .25);
    background: rgba(26, 109, 255, .13);
    color: #fff;
}

.cahier-config-delete { color: #fca5a5; }
.cahier-config-delete:hover {
    border-color: rgba(248, 113, 113, .2);
    background: rgba(248, 113, 113, .1);
    color: #fecaca;
}

.cahier-config-edit:focus-visible,
.cahier-config-delete:focus-visible,
.cahier-config-add:focus-visible,
.cahier-config-submit:focus-visible {
    outline: 2px solid #7fa8ff;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .cahier-config-section { padding: 1rem; }
    .cahier-config-header { align-items: flex-start; }
    .cahier-config-section .cahier-config-add { min-height: 40px; }
    .cahier-config-fields--training { grid-template-columns: minmax(0, 1fr) auto; }
    .cahier-config-fields--training .cahier-config-field { grid-column: 1 / -1; }
    .cahier-config-fields--training .cahier-config-submit { grid-column: 1 / -1; width: 100%; }
    .cahier-config-fields:not(.cahier-config-fields--training) { grid-template-columns: minmax(0, 1fr); }
    .cahier-config-fields:not(.cahier-config-fields--training) .cahier-config-submit { width: 100%; }
    .cahier-config-item-main { grid-template-columns: auto minmax(0, 1fr); }
    .cahier-config-item-actions { grid-column: 2; }
}

#tab-espace-vente .dashboard-scroll-list,
#tab-espace-locatif .dashboard-scroll-list {
    max-height: min(740px, 70vh);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.45) rgba(255, 255, 255, 0.04);
    padding-right: 10px;
}

#tab-espace-vente .dashboard-scroll-list::-webkit-scrollbar,
#tab-espace-locatif .dashboard-scroll-list::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

#tab-espace-vente .dashboard-scroll-list::-webkit-scrollbar-track,
#tab-espace-locatif .dashboard-scroll-list::-webkit-scrollbar-track {
    background: rgba(17, 21, 30, 0.04);
    border-radius: 4px;
}

#tab-espace-vente .dashboard-scroll-list::-webkit-scrollbar-thumb,
#tab-espace-locatif .dashboard-scroll-list::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.45);
    border-radius: 4px;
}

#tab-espace-vente .dashboard-scroll-list:focus-visible,
#tab-espace-locatif .dashboard-scroll-list:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
[role="button"],
[class~="btn"],
[class*="btn-"],
[class*="-btn"],
[class*="button"],
.tab-btn,
.csh-choice {
    box-shadow: none !important;
    -webkit-user-select: none;
    user-select: none;
}

button:focus-visible,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible,
input[type="reset"]:focus-visible,
[role="button"]:focus-visible,
[class~="btn"]:focus-visible,
[class*="btn-"]:focus-visible,
[class*="-btn"]:focus-visible,
[class*="button"]:focus-visible,
.csh-choice:focus-visible {
    outline: 2px solid #7fa8ff;
    outline-offset: 2px;
}

#tab-equipements .equipement-card-dash {
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(26, 32, 43, 0.94), rgba(17, 21, 30, 0.9));
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.16);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#tab-equipements .equipement-card-dash:hover {
    border-color: rgba(96, 165, 250, 0.32);
    background: linear-gradient(155deg, rgba(34, 47, 68, 0.98), rgba(17, 21, 30, 0.96));
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.24);
    transform: translateY(-2px);
}

.csv-import-panel,
.csv-import-preview {
    margin: 1rem 0 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: linear-gradient(155deg, rgba(26, 32, 43, 0.96), rgba(17, 21, 30, 0.94));
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.16);
}

.csv-import-panel[hidden] {
    display: none !important;
}

.csv-import-panel {
    border-color: rgba(96, 165, 250, 0.24);
}

.csv-import-form {
    display: grid;
    gap: 1rem;
    padding: clamp(1rem, 2.5vw, 1.5rem);
}

.csv-import-form > .form-label-modal {
    margin: 0;
    color: #f3f4f6;
    font-size: 0.95rem;
    font-weight: 600;
}

.csv-import-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.csv-import-toggle svg {
    flex: 0 0 auto;
}

.csv-import-controls,
.csv-import-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.csv-import-controls input[type="file"] {
    flex: 1 1 280px;
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    padding: 0.35rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 10px;
    background: rgba(10, 14, 22, 0.58);
    color: #cbd5e1;
    font: inherit;
    font-size: 0.85rem;
}

.csv-import-controls input[type="file"]:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.8);
    outline-offset: 2px;
}

.csv-import-controls input[type="file"]::file-selector-button {
    min-height: 38px;
    margin-right: 0.75rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.14);
    color: #dbeafe;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.csv-import-controls input[type="file"]::file-selector-button:hover {
    border-color: #60a5fa;
    background: rgba(59, 130, 246, 0.24);
}

.csv-import-controls .btn-marketplace,
.csv-import-confirm-form .btn-marketplace {
    min-height: 44px;
    padding: 0.6rem 1rem;
    border: 1px solid #1a6dff;
    border-radius: 10px;
    background: #1a6dff;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.csv-import-controls .btn-marketplace:hover,
.csv-import-confirm-form .btn-marketplace:hover {
    border-color: #3b82f6;
    background: #3b82f6;
    color: #fff;
}

.csv-template-link,
.csv-import-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
    color: #dbeafe;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.csv-template-link:hover,
.csv-import-cancel:hover {
    border-color: rgba(96, 165, 250, 0.55);
    background: rgba(59, 130, 246, 0.1);
    color: #fff;
}

.csv-import-cancel {
    cursor: pointer;
}

.csv-import-help {
    margin: 0;
    padding: 0.7rem 0.85rem;
    border-left: 3px solid rgba(96, 165, 250, 0.7);
    border-radius: 0 8px 8px 0;
    background: rgba(59, 130, 246, 0.07);
    color: #b8c4d6;
    font-size: 0.82rem;
    line-height: 1.5;
}

.csv-import-reference {
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 10px;
    background: rgba(10, 14, 22, 0.34);
    color: #cbd5e1;
    font-size: 0.8rem;
}

.csv-import-reference summary {
    cursor: pointer;
    color: #dbeafe;
    font-size: 0.85rem;
    font-weight: 600;
}

.csv-import-reference[open] summary {
    margin-bottom: 0.75rem;
}

.csv-import-guide-wrap {
    margin-top: 0.75rem;
    max-height: 360px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 10px;
    background: rgba(10, 14, 22, 0.42);
    overflow-x: auto;
    overflow-y: auto;
}

.csv-import-guide {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    color: #cbd5e1;
    font-size: 0.78rem;
    line-height: 1.45;
}

.csv-import-guide th,
.csv-import-guide td {
    padding: 0.5rem 0.65rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    text-align: left;
    vertical-align: top;
}

.csv-import-guide th {
    background: rgba(255, 255, 255, 0.035);
    color: #dbeafe;
    font-weight: 600;
}

.csv-import-guide tbody tr:last-child th,
.csv-import-guide tbody tr:last-child td {
    border-bottom: 0;
}

.csv-import-guide tbody th {
    white-space: nowrap;
}

.csv-import-reference ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 0.35rem 1rem;
    max-height: 220px;
    margin: 0.65rem 0 0;
    padding: 0 0 0 1.2rem;
    overflow: auto;
}

.csv-import-reference code,
.csv-import-table code {
    color: #93c5fd;
    overflow-wrap: anywhere;
}

.csv-import-preview {
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border-color: rgba(52, 211, 153, 0.24);
}

.csv-import-preview h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 1.1rem;
    font-weight: 700;
}

.csv-import-preview > p {
    margin: 0.4rem 0 0.8rem;
    color: #aeb7d3;
    font-size: 0.84rem;
}

.csv-import-errors,
.csv-import-warnings {
    display: grid;
    gap: 0.35rem;
    margin: 0.75rem 0;
    padding: 0.75rem 0.9rem 0.75rem 2rem;
    border: 1px solid;
    border-radius: 10px;
    font-size: 0.82rem;
    line-height: 1.45;
}

.csv-import-errors {
    border-color: rgba(248, 113, 113, 0.24);
    background: rgba(127, 29, 29, 0.16);
    color: #fecaca;
}

.csv-import-warnings {
    border-color: rgba(251, 191, 36, 0.24);
    background: rgba(120, 53, 15, 0.14);
    color: #fde68a;
}

.csv-import-table-wrap {
    max-width: 100%;
    max-height: 420px;
    overflow: auto;
}

.csv-import-table {
    width: 100%;
    border-collapse: collapse;
    color: #e2e8f0;
    font-size: 0.8rem;
    text-align: left;
}

.csv-import-table th,
.csv-import-table td {
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    text-align: left;
    vertical-align: top;
}

.csv-import-table th {
    background: rgba(255, 255, 255, 0.035);
    color: #dbeafe;
    font-weight: 600;
}

.csv-import-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.06);
}

.csv-import-table tbody tr:last-child td {
    border-bottom: 0;
}

.csv-import-actions {
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.csv-import-confirm-form {
    margin: 0;
}

@media (max-width: 700px) {
    .csv-import-controls {
        align-items: stretch;
        flex-direction: column;
    }

    .csv-import-controls input[type="file"],
    .csv-import-controls .btn-marketplace,
    .csv-template-link {
        width: 100%;
        max-width: 100%;
    }

    .csv-import-actions {
        align-items: stretch;
    }

    .csv-import-confirm-form,
    .csv-import-confirm-form .btn-marketplace,
    .csv-import-cancel {
        width: 100%;
    }
}

/* Cartes harmonisées des listes équipements, annonces et adhérents */
#tab-equipements .dashboard-equipment-list .equipements-grid-dash,
#tab-espace-vente .dashboard-listings-grid,
#tab-espace-locatif .dashboard-listings-grid,
.adherents-list-section .adherents-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1rem;
    align-items: stretch;
}

#tab-equipements .equipement-card-dash,
#tab-equipements .equipement-card-dash.equipement-achete,
#tab-espace-vente .dashboard-listing-card,
#tab-espace-locatif .dashboard-listing-card,
.adherents-list-section .adherent-member-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: linear-gradient(155deg, rgba(26, 32, 43, 0.96), rgba(17, 21, 30, 0.94));
    box-shadow: 0 8px 22px rgba(2, 6, 23, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

#tab-equipements .equipement-card-dash:hover,
#tab-equipements .equipement-card-dash.equipement-achete:hover,
#tab-espace-vente .dashboard-listing-card:hover,
#tab-espace-locatif .dashboard-listing-card:hover,
.adherents-list-section .adherent-member-card:hover {
    border-color: rgba(96, 165, 250, 0.36);
    background: linear-gradient(155deg, rgba(34, 47, 68, 0.98), rgba(17, 21, 30, 0.96));
    box-shadow: 0 14px 28px rgba(2, 6, 23, 0.25);
    transform: translateY(-2px);
}

#tab-equipements .equipement-card-dash .equipement-image-dash,
#tab-espace-vente .dashboard-listing-card .equipement-image-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-image-dash {
    height: auto;
    aspect-ratio: 16 / 10;
    flex: 0 0 auto;
}

#tab-equipements .equipement-card-dash .equipement-content-dash,
#tab-espace-vente .dashboard-listing-card .equipement-content-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-content-dash {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 1rem;
}

#tab-equipements .equipement-card-dash .equipement-name-dash,
#tab-espace-vente .dashboard-listing-card .equipement-name-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-name-dash {
    margin: 0;
    color: #f3f4f6;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

#tab-equipements .equipement-card-dash .equipement-meta-dash,
#tab-espace-vente .dashboard-listing-card .equipement-meta-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-meta-dash {
    gap: 0.35rem 0.6rem;
    margin: 0.35rem 0 0.75rem;
}

#tab-equipements .equipement-card-dash .equipement-meta-dash span,
#tab-espace-vente .dashboard-listing-card .equipement-meta-dash span,
#tab-espace-locatif .dashboard-listing-card .equipement-meta-dash span {
    color: #aeb7c8;
    font-size: 0.76rem;
    line-height: 1.4;
}

#tab-espace-vente .dashboard-listing-card .equipement-meta-dash .meta-etat,
#tab-espace-locatif .dashboard-listing-card .equipement-meta-dash .meta-etat {
    display: none;
}

#tab-equipements .equipement-card-dash .equipement-description,
#tab-espace-vente .dashboard-listing-card .equipement-description,
#tab-espace-locatif .dashboard-listing-card .equipement-description {
    display: -webkit-box;
    margin: 0 0 0.75rem;
    overflow: hidden;
    line-height: 1.45;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#tab-equipements .equipement-card-dash .equipement-footer-dash,
#tab-espace-vente .dashboard-listing-card .equipement-footer-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-footer-dash {
    align-content: flex-start;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

#tab-equipements .equipement-card-dash .equipement-category-badge,
#tab-espace-vente .dashboard-listing-card .equipement-category-badge,
#tab-espace-locatif .dashboard-listing-card .equipement-category-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0.25rem 0.6rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.82);
    color: #dbe4f0;
    font-size: 0.66rem;
    letter-spacing: 0.04em;
}

#tab-equipements .equipement-card-dash .equip-spec-badge,
#tab-equipements .equipement-card-dash .equipement-etat-dash,
#tab-espace-vente .dashboard-listing-card .equip-spec-badge,
#tab-espace-vente .dashboard-listing-card .equipement-dispo-badge,
#tab-espace-vente .dashboard-listing-card .vente-badge-negociable,
#tab-espace-locatif .dashboard-listing-card .equip-spec-badge,
#tab-espace-locatif .dashboard-listing-card .equipement-dispo-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.3rem 0.6rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(148, 163, 184, 0.08);
    color: #cbd5e1;
    font-size: 0.72rem;
    line-height: 1.25;
}

#tab-espace-vente .dashboard-listing-card .equipement-price-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-price-dash {
    color: #f8fafc;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
}

#tab-equipements .equipement-card-dash .equipement-actions-dash,
#tab-espace-vente .dashboard-listing-card .equipement-actions-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-actions-dash {
    gap: 0.5rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.adherents-list-section .adherent-member-card {
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
}

.adherents-list-section .member-card-header {
    gap: 0.75rem;
}

.adherents-list-section .member-card-heading .adherent-name {
    margin: 0;
    color: #f3f4f6;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.35;
}

.adherents-list-section .member-card-login-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    min-height: 34px;
    max-width: 100%;
    margin-left: auto;
    padding: 0.38rem 0.65rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background: rgba(148, 163, 184, 0.06);
    color: #8793a3;
    font-size: 0.78rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.adherents-list-section .member-card-login-tag code {
    color: #cbd5e1;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 650;
}

.adherents-list-section .member-card-tag,
.adherents-list-section .member-card-team {
    min-height: 28px;
    padding: 0.3rem 0.6rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(148, 163, 184, 0.08);
    color: #cbd5e1;
    font-size: 0.72rem;
}

.adherents-list-section .member-card-details {
    padding: 0.85rem 0 0;
    border-bottom: 0;
}

.adherents-list-section .member-card-account {
    padding-top: 0.85rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.adherents-list-section .member-card-remove-btn {
    width: 40px;
    height: 40px;
    border-color: rgba(248, 113, 113, 0.22);
    background: rgba(248, 113, 113, 0.07);
    color: #fca5a5;
}

.adherents-list-section .member-card-remove-btn:hover {
    border-color: rgba(248, 113, 113, 0.45);
    background: rgba(127, 29, 29, 0.2);
    color: #fecaca;
}

@media (max-width: 600px) {
    #tab-equipements .dashboard-equipment-list .equipements-grid-dash,
    #tab-espace-vente .dashboard-listings-grid,
    #tab-espace-locatif .dashboard-listings-grid,
    .adherents-list-section .adherents-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Présentation sobre des cartes du dashboard, calquée sur les annonces locatives. */
#tab-equipements .dashboard-equipment-list .equipements-grid-dash {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1rem;
}

#tab-espace-vente .dashboard-listings-grid,
#tab-espace-locatif .dashboard-listings-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 1.1rem;
}

.adherents-list-section .adherents-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1rem;
}

#tab-equipements .equipement-card-dash,
#tab-equipements .equipement-card-dash.equipement-achete,
#tab-espace-vente .dashboard-listing-card,
#tab-espace-locatif .dashboard-listing-card,
.adherents-list-section .adherent-member-card {
    overflow: hidden;
    border: 1px solid #293342;
    border-radius: 17px;
    background: #111821;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transform: none;
    transition: none;
}

#tab-equipements .equipement-card-dash:hover,
#tab-equipements .equipement-card-dash.equipement-achete:hover,
#tab-espace-vente .dashboard-listing-card:hover,
#tab-espace-locatif .dashboard-listing-card:hover,
.adherents-list-section .adherent-member-card:hover {
    border-color: #354252;
    background: #111821;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transform: none;
    transition: none;
}

#tab-equipements .equipement-card-dash,
#tab-equipements .equipement-card-dash.equipement-achete,
#tab-espace-vente .dashboard-listing-card,
#tab-espace-locatif .dashboard-listing-card {
    display: flex;
    flex-direction: column;
}

#tab-equipements .equipement-card-dash .equipement-image-dash,
#tab-espace-vente .dashboard-listing-card .equipement-image-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-image-dash {
    height: auto;
    aspect-ratio: 16 / 10;
    flex: 0 0 auto;
    background: #0c1118;
}

#tab-equipements .equipement-card-dash .equipement-content-dash,
#tab-espace-vente .dashboard-listing-card .equipement-content-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-content-dash {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 1rem;
}

#tab-equipements .equipement-card-dash .equipement-category-badge,
#tab-espace-vente .dashboard-listing-card .equipement-category-badge,
#tab-espace-locatif .dashboard-listing-card .equipement-category-badge {
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 7px;
    background: rgba(26, 34, 46, 0.94);
    color: #d3dae4;
    font-size: 0.67rem;
    letter-spacing: 0.035em;
}

#tab-equipements .equipement-card-dash .equipement-name-dash,
#tab-espace-vente .dashboard-listing-card .equipement-name-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-name-dash {
    margin: 0;
    color: #f1f3f6;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

#tab-equipements .equipement-card-dash .equipement-meta-dash,
#tab-espace-vente .dashboard-listing-card .equipement-meta-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-meta-dash {
    gap: 0.25rem 0.6rem;
    margin: 0.45rem 0 0.8rem;
}

#tab-equipements .equipement-card-dash .equipement-meta-dash span,
#tab-espace-vente .dashboard-listing-card .equipement-meta-dash span,
#tab-espace-locatif .dashboard-listing-card .equipement-meta-dash span {
    padding: 0;
    border: 0;
    background: transparent;
    color: #9da8b7;
    font-size: 0.76rem;
    line-height: 1.4;
}

#tab-equipements .equipement-card-dash .equipement-description,
#tab-espace-vente .dashboard-listing-card .equipement-description,
#tab-espace-locatif .dashboard-listing-card .equipement-description {
    display: none;
}

#tab-equipements .equipement-card-dash .equipement-footer-dash,
#tab-espace-vente .dashboard-listing-card .equipement-footer-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-footer-dash {
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 0;
    border-radius: 0;
    background: transparent;
}

#tab-equipements .equipement-card-dash .equip-spec-badge,
#tab-equipements .equipement-card-dash .equipement-achete-badge,
#tab-espace-vente .dashboard-listing-card .vente-badge-negociable,
#tab-espace-vente .dashboard-listing-card .equipement-dispo-badge,
#tab-espace-vente .dashboard-listing-card .equip-spec-badge,
#tab-espace-vente .dashboard-listing-card .vente-date-vendu-badge,
#tab-espace-locatif .dashboard-listing-card .equip-spec-badge,
#tab-espace-locatif .dashboard-listing-card .equipement-dispo-badge:not(.active),
#tab-espace-locatif .dashboard-listing-card .vente-date-vendu-badge {
    display: none;
}

#tab-equipements .equipement-card-dash .equipement-etat-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-dispo-badge.active {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.3rem 0.6rem;
    border: 1px solid #303b4a;
    border-radius: 8px;
    background: #1a222e;
    color: #cbd3df;
    font-size: 0.72rem;
    font-weight: 600;
}

#tab-espace-vente .dashboard-listing-card .equipement-price-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-price-dash {
    color: #f1f3f6;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
}

#tab-equipements .equipement-card-dash .equipement-actions-dash,
#tab-espace-vente .dashboard-listing-card .equipement-actions-dash,
#tab-espace-locatif .dashboard-listing-card .equipement-actions-dash {
    gap: 0.5rem;
    margin-top: 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

#tab-equipements .equipement-card-dash .equipement-actions-dash .btn-edit-equip,
#tab-espace-vente .dashboard-listing-card .equipement-actions-dash .btn-edit-annonce,
#tab-espace-locatif .dashboard-listing-card .equipement-actions-dash .btn-edit-annonce {
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #1b2940;
    color: #3b82f6;
    font-weight: 700;
}

#tab-equipements .equipement-card-dash .equipement-actions-dash .btn-delete-equip,
#tab-espace-vente .dashboard-listing-card .equipement-actions-dash .btn-delete-annonce,
#tab-espace-locatif .dashboard-listing-card .equipement-actions-dash .btn-delete-annonce {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #351e27;
    color: #ef4444;
}

.adherents-list-section .adherent-member-card {
    align-items: stretch;
    gap: 0.8rem;
    padding: 1rem;
}

.adherents-list-section .member-card-heading .adherent-name {
    margin: 0;
    color: #f1f3f6;
    font-size: 1rem;
    font-weight: 700;
}

.adherents-list-section .member-card-heading p,
.adherents-list-section .member-card-label {
    color: #9da8b7;
}

.adherents-list-section .member-card-teams,
.adherents-list-section .member-card-details {
    display: none;
}

.adherents-list-section .member-card-tag,
.adherents-list-section .member-card-team {
    border: 1px solid #303b4a;
    border-radius: 7px;
    background: #1a222e;
    color: #cbd3df;
}

.adherents-list-section .member-card-account {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.adherents-list-section .member-card-remove-btn {
    width: 44px;
    height: 44px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #351e27;
    color: #ef4444;
}

.adherents-list-section .member-card-access-btn,
.adherents-list-section .member-card-actions .adherent-pin-reset-btn {
    min-height: 44px;
    border-color: transparent;
    border-radius: 9px;
    background: #1b2940;
    color: #3b82f6;
}

.adherents-list-section .member-card-access-btn.revoke {
    background: #351e27;
    color: #ef4444;
}

@media (max-width: 600px) {
    #tab-espace-vente .dashboard-listings-grid,
    #tab-espace-locatif .dashboard-listings-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* La grille locative n'a pas la classe dashboard-listings-grid utilisée par la vente. */
#tab-espace-locatif .locatif-annonces-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 1.1rem;
}

.teams-list-section .teams-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1rem;
}

.teams-list-section .team-card {
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid #293342;
    border-radius: 17px;
    background: #111821;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    transform: none;
}

.teams-list-section .team-card-header {
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.teams-list-section .team-card-heading .adherent-name {
    color: #f1f3f6;
    font-size: 1rem;
    font-weight: 700;
}

.teams-list-section .team-card-member-count {
    color: #9da8b7;
    font-size: 0.76rem;
}

.teams-list-section .team-card-delete-btn {
    width: 40px;
    height: 40px;
    border-color: #293342;
    border-radius: 9px;
    background: #1a222e;
    color: #aab4c2;
}

.teams-list-section .team-card:hover {
    border-color: #354252;
    background: #111821;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    transform: none;
}

.teams-list-section .team-card-equipment,
.teams-list-section .team-card-no-equipment {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.teams-list-section .team-card-equipment {
    color: #9da8b7;
}

.teams-list-section .team-card-equipment-info strong {
    color: #e6ebf2;
    font-size: 0.88rem;
}

.teams-list-section .team-card-capacity {
    margin: -0.25rem 0 0 1.85rem;
}

.teams-list-section .team-card-roster {
    gap: 0.7rem;
    padding-top: 0.8rem;
    border-top-color: rgba(255, 255, 255, 0.09);
}

.teams-list-section .team-card-no-equipment {
    color: #9da8b7;
    font-size: 0.78rem;
}

.teams-list-section .team-card-member,
.teams-list-section .team-card-barreur {
    border-color: #303b4a;
    border-radius: 7px;
    background: #1a222e;
    color: #cbd3df;
}

#tab-equipements .equipement-card-dash .equipement-actions-dash button,
#tab-espace-vente .dashboard-listing-card .equipement-actions-dash button,
#tab-espace-locatif .dashboard-listing-card .equipement-actions-dash button,
.adherents-list-section .adherent-member-card button,
.teams-list-section .team-card button {
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

#tab-equipements .equipement-card-dash .equipement-actions-dash .btn-edit-equip:hover,
#tab-espace-vente .dashboard-listing-card .equipement-actions-dash .btn-edit-annonce:hover,
#tab-espace-locatif .dashboard-listing-card .equipement-actions-dash .btn-edit-annonce:hover,
.adherents-list-section .member-card-access-btn:not(.revoke):hover,
.adherents-list-section .member-card-actions .adherent-pin-reset-btn:hover {
    border-color: #3b82f6;
    background: #253957;
    color: #93c5fd;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

#tab-equipements .equipement-card-dash .equipement-actions-dash .btn-delete-equip:hover,
#tab-espace-vente .dashboard-listing-card .equipement-actions-dash .btn-delete-annonce:hover,
#tab-espace-locatif .dashboard-listing-card .equipement-actions-dash .btn-delete-annonce:hover,
.adherents-list-section .member-card-remove-btn:hover,
.teams-list-section .team-card-delete-btn:hover {
    border-color: #a65360;
    background: #4a2632;
    color: #ffd0d5;
    box-shadow: 0 4px 12px rgba(127, 29, 29, 0.22);
}

.adherents-list-section .member-card-access-btn.revoke {
    border: 1px solid rgba(226, 232, 240, 0.22);
    background: rgba(226, 232, 240, 0.1);
    color: #cbd5e1;
    font-weight: 700;
    box-shadow: none;
}

.adherents-list-section .member-card-access-btn.revoke:hover {
    border-color: #fff;
    background: #fff;
    color: #7f1d1d;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.14);
}

.adherents-list-section .member-card-account-heading {
    justify-content: flex-start;
}

.adherents-list-section .member-card-account-label {
    display: none;
}

@media (max-width: 600px) {
    #tab-espace-locatif .locatif-annonces-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

#tab-equipements .equipement-card-dash .equipement-actions-dash .btn-delete-equip,
#tab-espace-vente .dashboard-listing-card .equipement-actions-dash .btn-delete-annonce,
#tab-espace-locatif .dashboard-listing-card .equipement-actions-dash .btn-delete-annonce,
.adherents-list-section .member-card-remove-btn,
.teams-list-section .team-card-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    flex: 0 0 40px;
    padding: 0;
    border: 1px solid #293342;
    border-radius: 9px;
    background: #1a222e;
    color: #aab4c2;
}

#tab-equipements .equipement-card-dash .equipement-actions-dash form,
#tab-espace-locatif .dashboard-listing-card .equipement-actions-dash form,
#tab-espace-vente .dashboard-listing-card .equipement-actions-dash .vente-action-inline {
    width: 40px;
    flex: 0 0 40px;
}

#tab-equipements .equipement-card-dash .equipement-actions-dash .btn-delete-equip:hover,
#tab-espace-vente .dashboard-listing-card .equipement-actions-dash .btn-delete-annonce:hover,
#tab-espace-locatif .dashboard-listing-card .equipement-actions-dash .btn-delete-annonce:hover,
.adherents-list-section .member-card-remove-btn:hover,
.teams-list-section .team-card-delete-btn:hover {
    border-color: #a65360;
    background: #4a2632;
    color: #ffd0d5;
    box-shadow: 0 4px 12px rgba(127, 29, 29, 0.22);
}
