/* ═══════════════════════════════════════════════════════════
   BOUDOIR VON ALLMEN — Espace Client CSS
   Design Luxe — Glassmorphism — Dark Gold
   ═══════════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
    --gold: #c9a96e;
    --gold-light: #e8c98a;
    --gold-dark: #a07840;
    --dark: #0a0a0a;
    --dark-2: #121212;
    --dark-3: #1a1a1a;
    --dark-4: #222;
    --glass-bg: rgba(255,255,255,0.04);
    --glass-border: rgba(201,169,110,0.15);
    --glass-hover: rgba(255,255,255,0.07);
    --text-primary: #f0ece4;
    --text-secondary: rgba(240,236,228,0.6);
    --text-muted: rgba(240,236,228,0.35);
    --error: #e57373;
    --success: #81c784;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow-gold: 0 0 40px rgba(201,169,110,0.12);
    --shadow-card: 0 8px 40px rgba(0,0,0,0.5);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Raleway', sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ─── PARTICLES BG ─── */
.particles-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(201,169,110,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 90%, rgba(201,169,110,0.04) 0%, transparent 60%);
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0;
    animation: float-particle var(--dur, 8s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes float-particle {
    0%   { opacity: 0; transform: translateY(0) scale(0.5); }
    20%  { opacity: 0.6; }
    80%  { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-120px) scale(1.5); }
}

/* ─── GOLD ─── */
.gold { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   AUTH SCREEN
   ═══════════════════════════════════════════════════════════ */
.auth-screen {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.auth-header {
    width: 100%;
    max-width: 480px;
    margin-bottom: 20px;
}

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    letter-spacing: 0.05em;
    transition: var(--transition);
}
.auth-back svg { width: 16px; height: 16px; }
.auth-back:hover { color: var(--gold); }

.auth-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 48px 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-card), var(--shadow-gold);
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Logo */
.auth-logo-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}
.auth-logo-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    opacity: 0.4;
    animation: pulse-ring 3s ease-in-out infinite;
}
@keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50%       { transform: scale(1.08); opacity: 0.8; }
}
.auth-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
    border: 2px solid var(--glass-border);
}

/* Brand */
.auth-brand { text-align: center; margin-bottom: 32px; }
.auth-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.auth-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Tabs */
.auth-tabs {
    display: flex;
    gap: 4px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 28px;
    border: 1px solid rgba(255,255,255,0.06);
}
.auth-tab {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 10px 16px;
    border-radius: 7px;
    cursor: pointer;
    transition: var(--transition);
}
.auth-tab.active {
    background: var(--glass-bg);
    background: rgba(201,169,110,0.15);
    color: var(--gold);
    border: 1px solid rgba(201,169,110,0.25);
}

/* Panels */
.auth-panel { display: none; }
.auth-panel.active { display: block; animation: fadeInPanel 0.4s ease; }
@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Fields */
.field-group { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-wrap { display: flex; flex-direction: column; gap: 8px; }
label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.req { color: var(--gold); }
.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon {
    position: absolute;
    left: 14px;
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    pointer-events: none;
    flex-shrink: 0;
}
.input-wrap input {
    width: 100%;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    padding: 12px 40px 12px 42px;
    outline: none;
    transition: var(--transition);
}
.input-wrap input:not(:placeholder-shown):not(.error) {
    border-color: rgba(201,169,110,0.2);
}
.input-wrap input:focus {
    border-color: var(--gold);
    background: rgba(0,0,0,0.5);
    box-shadow: 0 0 0 3px rgba(201,169,110,0.1);
}
.input-wrap input::placeholder { color: var(--text-muted); }
.input-eye {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    transition: color 0.2s;
}
.input-eye svg { width: 16px; height: 16px; }
.input-eye:hover { color: var(--gold); }

/* Password strength */
.password-strength { margin-top: 6px; display: flex; align-items: center; gap: 10px; }
.strength-bar { flex: 1; height: 3px; background: rgba(255,255,255,0.08); border-radius: 10px; overflow: hidden; }
.strength-fill { height: 100%; border-radius: 10px; transition: width 0.4s, background 0.4s; width: 0%; }
.strength-label { font-size: 11px; color: var(--text-muted); white-space: nowrap; }

/* Submit button */
.auth-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    border-radius: 10px;
    color: #0a0a0a;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.auth-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}
.auth-submit:hover::before { opacity: 1; }
.auth-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 25px rgba(201,169,110,0.35); }
.auth-submit:active { transform: translateY(0); }
.auth-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Spinner */
.spin { width: 20px; height: 20px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.auth-error {
    margin-top: 12px;
    font-size: 13px;
    color: var(--error);
    min-height: 18px;
    text-align: center;
}
.auth-forgot {
    display: block;
    width: 100%;
    text-align: center;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    cursor: pointer;
    margin-top: 12px;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}
.auth-forgot:hover { color: var(--gold); }

.auth-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(201,169,110,0.08);
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}
.auth-notice svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--gold); margin-top: 1px; }

/* Confirm panel */
.confirm-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.confirm-icon svg { width: 28px; height: 28px; color: var(--gold); }
.confirm-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    text-align: center;
    margin-bottom: 12px;
}
.confirm-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 24px;
}
.auth-tab-link {
    display: block;
    width: 100%;
    text-align: center;
    background: none;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    padding: 12px;
    cursor: pointer;
    transition: var(--transition);
}
.auth-tab-link:hover { border-color: var(--gold); color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   DASHBOARD
   ═══════════════════════════════════════════════════════════ */
.dashboard {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Topbar */
.client-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 64px;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}
.topbar-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.topbar-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--glass-border);
}
.topbar-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-greeting {
    font-size: 13px;
    color: var(--text-secondary);
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.client-logout-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    padding: 7px;
    cursor: pointer;
    display: flex;
    transition: var(--transition);
}
.client-logout-btn svg { width: 18px; height: 18px; }
.client-logout-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Main */
.client-main { flex: 1; padding: 0 24px 60px; max-width: 900px; margin: 0 auto; width: 100%; }

/* Welcome */
.welcome-section {
    padding: 48px 0 36px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 36px;
}
.welcome-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.welcome-eyebrow {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}
.welcome-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 400;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}
.welcome-sub { font-size: 14px; color: var(--text-secondary); }

.btn-reserve {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #0a0a0a;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 10px;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(201,169,110,0.25);
}
.btn-reserve svg { width: 18px; height: 18px; }
.btn-reserve:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,169,110,0.4); }

/* Stats */
.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}
.stat-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(20px);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}
.stat-glass:hover { background: var(--glass-hover); transform: translateY(-2px); }
.stat-glass--gold { border-color: rgba(201,169,110,0.3); background: rgba(201,169,110,0.06); }
.stat-icon { color: var(--gold); flex-shrink: 0; }
.stat-icon svg { width: 24px; height: 24px; }
.stat-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-lbl { font-size: 12px; color: var(--text-secondary); letter-spacing: 0.05em; }

/* Section titles */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.section-title-dash {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}
.title-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, var(--glass-border)); max-width: 60px; }

/* Next RDV */
.next-rdv-section { margin-bottom: 48px; }
.next-rdv-card {
    background: linear-gradient(135deg, rgba(201,169,110,0.1) 0%, rgba(201,169,110,0.04) 100%);
    border: 1px solid rgba(201,169,110,0.25);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    overflow: hidden;
    animation: shimmerIn 0.6s ease;
}
@keyframes shimmerIn {
    from { opacity: 0; transform: scale(0.98); }
    to   { opacity: 1; transform: scale(1); }
}
.next-rdv-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,169,110,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.next-rdv-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(201,169,110,0.2);
    border: 1px solid rgba(201,169,110,0.3);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
.next-rdv-prestation {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 400;
    margin-bottom: 8px;
}
.next-rdv-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.next-rdv-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}
.next-rdv-meta-item svg { width: 16px; height: 16px; color: var(--gold); }
.next-rdv-price {
    font-size: 22px;
    font-weight: 300;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 20px;
}
.next-rdv-actions { display: flex; gap: 12px; }
.btn-cancel-rdv {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(229,115,115,0.1);
    border: 1px solid rgba(229,115,115,0.3);
    border-radius: 8px;
    color: #e57373;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.btn-cancel-rdv svg { width: 16px; height: 16px; }
.btn-cancel-rdv:hover { background: rgba(229,115,115,0.2); }

/* Countdown */
.countdown-wrap { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(201,169,110,0.15); }
.countdown-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.countdown-units { display: flex; gap: 16px; }
.countdown-unit { text-align: center; }
.countdown-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--gold);
    line-height: 1;
}
.countdown-unit-label { font-size: 10px; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }

/* Loyalty */
.loyalty-section { margin-bottom: 48px; }
.loyalty-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px;
    backdrop-filter: blur(20px);
}
.loyalty-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.loyalty-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #0a0a0a;
    flex-shrink: 0;
}
.loyalty-meta { flex: 1; }
.loyalty-title { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.loyalty-sub { font-size: 13px; color: var(--text-secondary); }
.loyalty-badge {
    background: rgba(201,169,110,0.15);
    border: 1px solid rgba(201,169,110,0.25);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.loyalty-progress-wrap { margin-bottom: 24px; }
.loyalty-progress-bar {
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}
.loyalty-progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--gold-dark), var(--gold));
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.loyalty-milestones { display: flex; justify-content: space-between; }
.milestone { font-size: 11px; color: var(--text-muted); }

.loyalty-rewards { display: flex; flex-direction: column; gap: 12px; }
.reward-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.reward-item.unlocked {
    background: rgba(201,169,110,0.08);
    border-color: rgba(201,169,110,0.2);
}
.reward-icon { font-size: 22px; flex-shrink: 0; }
.reward-text { flex: 1; }
.reward-title { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.reward-sub { font-size: 12px; color: var(--text-secondary); }
.reward-status { font-size: 18px; }

/* Bookings sections */
.bookings-section { margin-bottom: 48px; }
.history-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    padding: 8px 14px;
    cursor: pointer;
    transition: var(--transition);
}
.history-toggle svg { width: 16px; height: 16px; transition: transform 0.3s; }
.history-toggle.open svg { transform: rotate(180deg); }
.history-toggle:hover { border-color: var(--gold); color: var(--gold); }

/* RDV List */
.rdv-list { display: flex; flex-direction: column; gap: 12px; }
.rdv-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: var(--transition);
    animation: slideInCard 0.4s ease backwards;
}
.rdv-card:hover { background: var(--glass-hover); border-color: rgba(201,169,110,0.2); }
@keyframes slideInCard {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}
.rdv-card--past { opacity: 0.6; }
.rdv-card--cancelled { opacity: 0.4; filter: grayscale(0.5); }
.rdv-card-left { flex: 1; min-width: 0; }
.rdv-card-date {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}
.rdv-card-presta {
    font-family: 'Cormorant Garamond', serif;
    font-size: 19px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rdv-card-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-secondary); }
.rdv-card-meta svg { width: 14px; height: 14px; color: var(--text-muted); }
.rdv-card-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.rdv-card-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: var(--gold);
    font-weight: 500;
}
.rdv-card-status {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.rdv-card-status--confirmed { background: rgba(129,199,132,0.15); color: var(--success); border: 1px solid rgba(129,199,132,0.3); }
.rdv-card-status--cancelled { background: rgba(229,115,115,0.15); color: var(--error); border: 1px solid rgba(229,115,115,0.3); }
.btn-rdv-cancel {
    background: none;
    border: 1px solid rgba(229,115,115,0.3);
    border-radius: 8px;
    color: rgba(229,115,115,0.7);
    padding: 7px 14px;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-rdv-cancel:hover { background: rgba(229,115,115,0.1); color: var(--error); border-color: var(--error); }

/* Loading */
.rdv-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px;
    color: var(--text-muted);
    font-size: 14px;
}
.loading-ring {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(201,169,110,0.15);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.rdv-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}
.rdv-empty-icon { font-size: 36px; margin-bottom: 12px; }

/* Contact section */
.contact-section { margin-bottom: 48px; }
.contact-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.contact-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    margin-bottom: 6px;
}
.contact-text { font-size: 14px; color: var(--text-secondary); }
.contact-actions { display: flex; gap: 12px; flex-shrink: 0; }
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.contact-btn svg { width: 18px; height: 18px; }
.contact-btn--tel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}
.contact-btn--tel:hover { border-color: var(--gold); color: var(--gold); }
.contact-btn--ig {
    background: linear-gradient(135deg, rgba(201,169,110,0.2) 0%, rgba(201,169,110,0.08) 100%);
    border: 1px solid rgba(201,169,110,0.3);
    color: var(--gold);
}
.contact-btn--ig:hover { background: linear-gradient(135deg, rgba(201,169,110,0.3) 0%, rgba(201,169,110,0.15) 100%); }

/* Footer */
.client-footer {
    border-top: 1px solid var(--glass-border);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}
.client-footer a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.client-footer a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   CANCEL MODAL
   ═══════════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInOverlay 0.2s ease;
}
@keyframes fadeInOverlay { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
    background: var(--dark-3);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 36px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}
.modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(229,115,115,0.1);
    border: 1px solid rgba(229,115,115,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.modal-icon svg { width: 26px; height: 26px; color: var(--error); }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; margin-bottom: 12px; }
.modal-text { font-size: 14px; color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.modal-warning { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 28px; }
.modal-actions { display: flex; gap: 12px; }
.modal-btn {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.modal-btn--outline {
    background: none;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
}
.modal-btn--outline:hover { border-color: var(--text-secondary); color: var(--text-primary); }
.modal-btn--danger {
    background: linear-gradient(135deg, rgba(229,115,115,0.8) 0%, rgba(183,28,28,0.8) 100%);
    border: 1px solid rgba(229,115,115,0.4);
    color: white;
}
.modal-btn--danger:hover { background: linear-gradient(135deg, #e57373 0%, #c62828 100%); }

/* ═══════════════════════════════════════════════════════════
   TOASTS
   ═══════════════════════════════════════════════════════════ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(20px);
    font-size: 14px;
    font-family: 'Raleway', sans-serif;
    max-width: 320px;
    box-shadow: var(--shadow-card);
    animation: slideInToast 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes slideInToast {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
.toast--success {
    background: rgba(18, 28, 20, 0.95);
    border: 1px solid rgba(129,199,132,0.3);
    color: var(--success);
}
.toast--error {
    background: rgba(28, 18, 18, 0.95);
    border: 1px solid rgba(229,115,115,0.3);
    color: var(--error);
}
.toast--info {
    background: rgba(18, 18, 28, 0.95);
    border: 1px solid rgba(201,169,110,0.3);
    color: var(--gold);
}
.toast-icon { font-size: 18px; flex-shrink: 0; }
.toast.fade-out { animation: fadeOutToast 0.3s ease forwards; }
@keyframes fadeOutToast {
    to { opacity: 0; transform: translateX(40px); }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .auth-container { padding: 32px 24px; }
    .field-row { grid-template-columns: 1fr; }
    .stats-section { grid-template-columns: 1fr; }
    .welcome-inner { flex-direction: column; align-items: flex-start; }
    .btn-reserve { width: 100%; justify-content: center; }
    .contact-glass { flex-direction: column; }
    .contact-actions { flex-direction: column; width: 100%; }
    .contact-btn { justify-content: center; }
    .rdv-card { flex-direction: column; align-items: flex-start; }
    .rdv-card-right { width: 100%; justify-content: space-between; }
    .client-footer { flex-direction: column; gap: 8px; text-align: center; }
    .next-rdv-card { padding: 24px 20px; }
    .countdown-units { gap: 10px; }
    .topbar-greeting { display: none; }
}
