/* ============================================
   Le Jardin Interdit — Styles principaux
   Thème : jardin secret, bordeaux & doré
   ============================================ */

:root {
    --bg:           #0D0D12;
    --bg-card:      #16161F;
    --bg-elevated:  #1E1E2A;
    --accent:       #8B2252;
    --accent-light: #A8326A;
    --gold:         #C9A84C;
    --gold-light:   #E0C06A;
    --text:         #F5F0E8;
    --text-muted:   #9B95A8;
    --border:       #2A2A3A;
    --success:      #4CAF7D;
    --error:        #CF4C4C;
    --radius:       12px;
    --radius-sm:    8px;
    --shadow:       0 8px 32px rgba(0,0,0,0.4);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;
    --header-h:     64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.container-sm { max-width: 480px; }
.container-md { max-width: 720px; }

.text-muted { color: var(--text-muted); }
.section-subtitle {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
}

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 13, 18, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
}

.logo-icon { color: var(--accent-light); font-size: 1.4rem; }

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.main-nav a:hover { color: var(--text); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-pseudo {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.25rem;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    border-color: var(--accent-light);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-light), #C04080);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(139, 34, 82, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border-color: transparent;
}

.btn-ghost:hover { color: var(--text); }

.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.35rem 0.85rem; font-size: 0.8rem; }
.btn-block { width: 100%; }

/* ---- Hero ---- */
.hero {
    padding: 5rem 0 4rem;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(139,34,82,0.18) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.08) 0%, transparent 50%),
        var(--bg);
}

.hero-inner { max-width: 700px; }

.hero-badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: rgba(139,34,82,0.2);
    border: 1px solid var(--accent);
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---- Sections ---- */
.section { padding: 4rem 0; }

.section-dark {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header { margin-bottom: 2.5rem; }

.section-header h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.section-header p { color: var(--text-muted); }

/* ---- Creator grid ---- */
.creator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.creator-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: border-color 0.2s, transform 0.2s;
}

.creator-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.creator-avatar {
    position: relative;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent), #4A1040);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
}

.status-live   { background: #E53E3E; }
.status-online { background: var(--success); }
.status-busy   { background: var(--gold); }
.status-offline { background: var(--text-muted); }

.creator-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.creator-status { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.creator-bio { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }

.empty-state {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
}

.empty-state p { margin-bottom: 1.5rem; }

/* ---- Features ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.feature { text-align: center; padding: 1rem; }

.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.feature h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature p { color: var(--text-muted); font-size: 0.9rem; }

/* ---- Auth ---- */
.auth-section { padding: 3rem 0 5rem; }

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.auth-card h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.9rem; }

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ---- Forms ---- */
.form { display: flex; flex-direction: column; gap: 1.1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"] {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: border-color 0.2s;
    width: 100%;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-light);
}

.form-hint { font-size: 0.75rem; color: var(--text-muted); }

.form-check label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
}

.form-check input { margin-top: 0.2rem; accent-color: var(--accent); }

.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.alert-error {
    background: rgba(207, 76, 76, 0.15);
    border: 1px solid var(--error);
    color: #F08080;
}

/* ---- Footer ---- */
.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    background: var(--bg-card);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-nav { display: flex; gap: 1.25rem; }
.footer-nav a { color: var(--text-muted); font-size: 0.8rem; }
.footer-nav a:hover { color: var(--gold); }

main { flex: 1; }

.alert-success {
    background: rgba(76, 175, 125, 0.15);
    border: 1px solid var(--success);
    color: #7DD4A3;
}

.alert-info {
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid var(--gold);
    color: var(--gold-light);
}

/* ---- Wallet ---- */
.wallet-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.wallet-header h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
}

.wallet-balance-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.wallet-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.wallet-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--gold);
}

.wallet-amount small { font-size: 1.5rem; }

/* ---- Packs ---- */
.pack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.pack-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.2s;
}

.pack-card:hover { border-color: var(--accent); }

.pack-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.pack-petals {
    font-size: 1.6rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.pack-price {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.pack-rate {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.pack-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.pack-card-libre { grid-column: 1 / -1; max-width: 360px; }

.pack-form { text-align: left; }

/* ---- Tables ---- */
.table-wrap { overflow-x: auto; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th,
.data-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table tbody tr:hover { background: var(--bg-card); }

.amount-plus { color: var(--success); font-weight: 600; }
.amount-minus { color: var(--error); font-weight: 600; }

.badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    background: var(--bg-elevated);
    color: var(--text-muted);
}

.badge-recharge { background: rgba(76,175,125,0.2); color: var(--success); }
.badge-bonus    { background: rgba(201,168,76,0.2); color: var(--gold); }
.badge-tip      { background: rgba(139,34,82,0.3); color: #E8A0C0; }

/* ---- Admin ---- */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.admin-actions { margin-bottom: 2rem; }

/* ---- Profil ---- */
.profile-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile-avatar-lg {
    position: relative;
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, var(--accent), #4A1040);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 600;
    flex-shrink: 0;
}

.profile-info h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.profile-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(139,34,82,0.3);
    border: 1px solid var(--accent);
    border-radius: 4px;
    font-size: 0.75rem;
    color: #E8A0C0;
    margin-bottom: 0.5rem;
}

.profile-status { font-size: 0.9rem; margin-bottom: 0.25rem; }

.profile-actions {
    margin-left: auto;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.profile-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.profile-section h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }

.tag {
    padding: 0.3rem 0.75rem;
    background: rgba(139,34,82,0.2);
    border: 1px solid var(--accent);
    border-radius: 999px;
    font-size: 0.8rem;
    color: #E8A0C0;
}

.tag-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-check {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: border-color 0.2s;
}

.tag-check:has(input:checked) {
    border-color: var(--accent);
    background: rgba(139,34,82,0.15);
}

.tag-check input { accent-color: var(--accent); }

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0.9rem;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.schedule-day { font-weight: 500; }
.schedule-time { color: var(--text-muted); }

.schedule-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.schedule-row select,
.schedule-row input[type="time"] {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    padding: 0.5rem;
    font-family: var(--font-body);
}

.form-group textarea {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    width: 100%;
    resize: vertical;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-light);
}

/* ---- Live ---- */
.live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.live-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s;
}

.live-card:hover { border-color: var(--accent); }

.live-thumb {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, #1a0a14, var(--bg-elevated));
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(229,62,62,0.9);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.live-avatar {
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent-light);
}

.live-body { padding: 1.25rem; }
.live-body h3 { margin-bottom: 0.25rem; }
.live-title { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.25rem; }

.goal-bar {
    height: 6px;
    background: var(--bg-elevated);
    border-radius: 3px;
    margin: 0.75rem 0 0.25rem;
    overflow: hidden;
}

.goal-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    border-radius: 3px;
    transition: width 0.3s;
}

.goal-text { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.75rem; }

/* ---- Live salon ---- */
.live-page {
    min-height: calc(100vh - var(--header-h));
    background: var(--bg);
}

.live-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    min-height: calc(100vh - var(--header-h));
}

.live-video-wrap {
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    height: calc(100vh - var(--header-h));
}

.live-video-wrap video {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - var(--header-h));
    object-fit: contain;
    background: #000;
}

.remote-video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    z-index: 1;
}

.remote-video-container video {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - var(--header-h));
    object-fit: contain;
}

.live-overlay-top {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0,0,0,0.6);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.live-status {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    background: rgba(0,0,0,0.7);
    pointer-events: none;
}

.live-status-ok { color: var(--success); }
.live-status-error { color: #F08080; }
.live-status-info { color: var(--text-muted); }

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.75);
    z-index: 10;
    cursor: pointer;
}

.play-overlay.hidden { display: none; }

.autoplay-hint {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    max-width: 320px;
    text-align: center;
    color: #f0c674;
}

.autoplay-help {
    position: absolute;
    inset: 0;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(20, 10, 14, 0.95);
    text-align: center;
}

.autoplay-help[hidden] { display: none; }

.autoplay-help-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #f0c674;
    margin: 0;
}

.autoplay-help-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-muted);
    max-width: 420px;
    margin: 0;
    text-align: left;
    white-space: pre-line;
}

.live-sidebar {
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--header-h));
}

.live-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.live-sidebar-header h2 { font-size: 1rem; }

.wallet-mini {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
}

.goal-section { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
.goal-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.35rem; }

.tip-buttons { padding: 1rem; border-bottom: 1px solid var(--border); }
.tip-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.tip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.5rem; }
.tip-custom { display: flex; gap: 0.5rem; }
.tip-custom input {
    flex: 1;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    padding: 0.4rem 0.6rem;
}

.chat-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
}

.chat-msg { margin-bottom: 0.5rem; line-height: 1.4; }
.chat-msg strong { color: var(--gold); }

.chat-input-row {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid var(--border);
}

.chat-input-row input {
    flex: 1;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    padding: 0.5rem 0.75rem;
}

.tip-animation {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    pointer-events: none;
}

.tip-float {
    display: block;
    animation: tipFloat 2.5s ease-out forwards;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

@keyframes tipFloat {
    0%   { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-120px) scale(1.3); }
}

@media (max-width: 900px) {
    .live-layout { grid-template-columns: 1fr; }
    .live-sidebar { max-height: 50vh; border-left: none; border-top: 1px solid var(--border); }
}

.form-group select {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    width: 100%;
}

.form-group select:focus {
    outline: none;
    border-color: var(--accent-light);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1rem 1.25rem;
        gap: 0.75rem;
    }

    .main-nav.open { display: flex; }

    .nav-toggle { display: block; }

    .hero { padding: 3rem 0 2.5rem; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    .auth-card { padding: 1.5rem; }

    .footer-inner { flex-direction: column; text-align: center; }
}

/* ---- Pages légales ---- */
.container-narrow { max-width: 720px; }

.legal-page h1 { margin-bottom: 1rem; }

.legal-content {
    margin-top: 1.5rem;
    line-height: 1.7;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: 1.75rem 0 0.5rem;
    color: var(--gold-light);
}

.legal-content ul {
    margin: 0.5rem 0 1rem 1.25rem;
}

.legal-draft-notice { margin: 1rem 0 1.5rem; }

.legal-updated { margin-top: 2rem; font-size: 0.85rem; }

/* ---- Wallet retrait ---- */
.wallet-header-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.info-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
}

.info-box p { margin: 0.25rem 0; }

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.badge-pending { background: rgba(201, 168, 76, 0.2); color: var(--gold); }
.badge-paid { background: rgba(76, 175, 125, 0.2); color: var(--success); }
.badge-rejected { background: rgba(207, 76, 76, 0.2); color: var(--error); }

.admin-actions-cell {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.inline-form { display: inline; }

.btn-danger-text { color: var(--error) !important; border-color: var(--error) !important; }
