/* ============================================
   TV BnB — Frontend (espace concierge + landing)
   Charte sombre/dorée, identique à l'app TV
   ============================================ */

.tvbnb-front {
    --bg-deep:        #0d1117;
    --bg-elevated:    #161b22;
    --bg-surface:     #1f2733;
    --line:           rgba(255, 255, 255, 0.08);
    --line-strong:    rgba(255, 255, 255, 0.16);
    --accent:         #c9a96e;
    --accent-bright:  #d4b87e;
    --text-primary:   #f5efe6;
    --text-secondary: #b3a99a;
    --text-muted:     #6b6357;
    --success:        #4ade80;
    --error:          #f87171;
    --radius:         12px;
    --radius-lg:      20px;
    --font-display:   'Cormorant Garamond', Georgia, serif;
    --font-body:      'Outfit', -apple-system, system-ui, sans-serif;

    background: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    margin: 0 calc(50% - 50vw); /* échappe au container WP */
    padding: 0;
    line-height: 1.5;
}
.tvbnb-front *, .tvbnb-front *::before, .tvbnb-front *::after { box-sizing: border-box; }

/* Cache la sidebar et le contenu WP autour quand on est sur ces pages */
body:has(.tvbnb-front) #masthead,
body:has(.tvbnb-front) footer.site-footer,
body:has(.tvbnb-front) .site-footer,
body:has(.tvbnb-front) header.site-header {
    display: none;
}

/* === Marque === */
.tvbnb-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.tvbnb-brand-dot {
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent);
}
.tvbnb-brand-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--text-primary);
}

.tvbnb-overline {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    font-weight: 500;
    margin: 0 0 12px;
}

.tvbnb-muted { color: var(--text-muted) !important; }
.tvbnb-muted-help { color: var(--text-muted); font-size: 13px; margin: 0 0 14px; }
.tvbnb-sep { color: var(--text-muted); margin: 0 8px; }

/* === Boutons === */
.tvbnb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--line);
    border-radius: 100px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 200ms ease;
}
.tvbnb-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}
.tvbnb-btn-primary {
    background: var(--accent);
    color: #1a1410;
    border-color: var(--accent);
}
.tvbnb-btn-primary:hover {
    background: var(--accent-bright);
    color: #1a1410;
    border-color: var(--accent-bright);
}
.tvbnb-btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--text-secondary);
}
.tvbnb-btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

/* === Alertes === */
.tvbnb-alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin: 20px 0;
    font-size: 14px;
    border: 1px solid;
}
.tvbnb-alert-success {
    background: rgba(74, 222, 128, 0.08);
    border-color: rgba(74, 222, 128, 0.3);
    color: var(--success);
}
.tvbnb-alert-error {
    background: rgba(248, 113, 113, 0.08);
    border-color: rgba(248, 113, 113, 0.3);
    color: var(--error);
}

/* === Topbar (espace concierge connecté) === */
.tvbnb-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    border-bottom: 1px solid var(--line);
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 10;
}
.tvbnb-topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}
.tvbnb-user {
    color: var(--text-secondary);
    font-size: 14px;
}
.tvbnb-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 200ms;
}
.tvbnb-back-link:hover { color: var(--accent); }

/* === Contenu === */
.tvbnb-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px;
}
.tvbnb-welcome {
    margin-bottom: 48px;
}
.tvbnb-welcome h1 {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 400;
    line-height: 1.05;
    margin: 0 0 16px;
    color: var(--text-primary);
}
.tvbnb-subtitle {
    color: var(--text-secondary);
    font-size: 17px;
    font-weight: 300;
    margin: 0;
}

/* === Empty state === */
.tvbnb-empty {
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-elevated);
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
}
.tvbnb-empty h2 {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-size: 28px;
    margin: 0 0 12px;
}
.tvbnb-empty p { color: var(--text-secondary); }

/* === Section Hôtel === */
.tvbnb-hotel-section {
    margin-bottom: 48px;
}
.tvbnb-hotel-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.tvbnb-hotel-header h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}
.tvbnb-rooms-count {
    color: var(--accent);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* === Grille de chambres === */
.tvbnb-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.tvbnb-room-card {
    display: block;
    padding: 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all 250ms ease;
    position: relative;
    overflow: hidden;
}
.tvbnb-room-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: opacity 250ms;
}
.tvbnb-room-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.tvbnb-room-card:hover::before {
    opacity: 1;
}
.tvbnb-room-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}
.tvbnb-room-header h3 {
    font-family: var(--font-display);
    font-size: 22px;
    margin: 0;
    color: var(--text-primary);
}
.tvbnb-room-status {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 500;
}
.tvbnb-room-status-vacant .tvbnb-room-status {
    background: rgba(107, 99, 87, 0.2);
    color: var(--text-muted);
}
.tvbnb-room-status-upcoming .tvbnb-room-status {
    background: rgba(201, 169, 110, 0.15);
    color: var(--accent);
}
.tvbnb-room-status-occupied .tvbnb-room-status {
    background: rgba(74, 222, 128, 0.15);
    color: var(--success);
}
.tvbnb-room-status-past .tvbnb-room-status {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}
.tvbnb-room-guest {
    color: var(--text-primary);
    margin: 8px 0;
    font-size: 15px;
}
.tvbnb-guest-icon { margin-right: 8px; opacity: 0.5; }
.tvbnb-room-dates {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 4px 0 0;
}

/* === Formulaire (login + édition) === */
.tvbnb-form { max-width: 800px; }
.tvbnb-form label {
    display: block;
    margin-bottom: 20px;
}
.tvbnb-form label > span {
    display: block;
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}
.tvbnb-form label > small {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.4;
}
.tvbnb-form input[type=text],
.tvbnb-form input[type=password],
.tvbnb-form input[type=email],
.tvbnb-form input[type=tel],
.tvbnb-form input[type=date],
.tvbnb-form textarea,
.tvbnb-form select {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-deep);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    transition: border-color 200ms;
}
.tvbnb-form input:focus,
.tvbnb-form textarea:focus,
.tvbnb-form select:focus {
    outline: none;
    border-color: var(--accent);
}
.tvbnb-form textarea { resize: vertical; min-height: 80px; }
.tvbnb-form input::placeholder, .tvbnb-form textarea::placeholder { color: var(--text-muted); }
.tvbnb-checkbox {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px !important;
}
.tvbnb-checkbox input { width: auto !important; }
.tvbnb-checkbox > span {
    margin-bottom: 0 !important;
    color: var(--text-secondary);
    font-size: 14px;
}

.tvbnb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tvbnb-fieldset {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 24px;
}
.tvbnb-fieldset legend {
    font-family: var(--font-display);
    color: var(--accent);
    font-size: 18px;
    font-weight: 500;
    padding: 0 12px;
    margin-left: -12px;
}

.tvbnb-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

/* === Écran de login === */
.tvbnb-login-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 32px;
    background:
        radial-gradient(ellipse at top, rgba(201, 169, 110, 0.06) 0%, transparent 50%),
        var(--bg-deep);
}
.tvbnb-login-box {
    max-width: 440px;
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
}
.tvbnb-login-box .tvbnb-brand { margin-bottom: 32px; }
.tvbnb-login-box h1 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 400;
    margin: 0 0 8px;
    color: var(--text-primary);
}
.tvbnb-login-box .tvbnb-subtitle { margin-bottom: 32px; }
.tvbnb-login-box .tvbnb-btn-primary { width: 100%; padding: 14px; }
.tvbnb-login-help {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}
.tvbnb-login-help a {
    color: var(--text-secondary);
    text-decoration: none;
}
.tvbnb-login-help a:hover { color: var(--accent); }

/* === Édition chambre === */
.tvbnb-room-edit-header { margin-bottom: 40px; }
.tvbnb-room-edit-header h1 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 400;
    margin: 4px 0 0;
}

/* === Erreur global === */
.tvbnb-error-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 32px;
}
.tvbnb-error-box {
    max-width: 440px;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}
.tvbnb-error-box h1 {
    font-family: var(--font-display);
    color: var(--accent);
    font-size: 28px;
    margin: 0 0 16px;
}
.tvbnb-error-box p { color: var(--text-secondary); margin: 0 0 12px; }
.tvbnb-error-box .tvbnb-btn { margin-top: 16px; }

/* ============================================
   LANDING PAGE
   ============================================ */

.tvbnb-landing {
    background:
        radial-gradient(ellipse at top right, rgba(201, 169, 110, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(201, 169, 110, 0.04) 0%, transparent 60%),
        var(--bg-deep);
}

.tvbnb-landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 64px;
    max-width: 1400px;
    margin: 0 auto;
}

.tvbnb-hero {
    max-width: 900px;
    margin: 80px auto 120px;
    padding: 0 64px;
    text-align: center;
}
.tvbnb-hero h1 {
    font-family: var(--font-display);
    font-size: 80px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0 0 32px;
    color: var(--text-primary);
}
.tvbnb-hero h1 em {
    color: var(--accent);
    font-style: italic;
}
.tvbnb-hero-sub {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tvbnb-features {
    max-width: 1280px;
    margin: 0 auto 120px;
    padding: 0 64px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}
.tvbnb-feature {
    padding: 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.tvbnb-feature-num {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}
.tvbnb-feature h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 12px;
}
.tvbnb-feature p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.tvbnb-demo-form {
    max-width: 720px;
    margin: 0 auto 120px;
    padding: 0 64px;
    text-align: center;
}
.tvbnb-demo-form h2 {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 16px;
}
.tvbnb-demo-form > p {
    color: var(--text-secondary);
    font-size: 17px;
    margin: 0 0 40px;
}
.tvbnb-demo-form-fields { text-align: left; }
.tvbnb-demo-form-fields .tvbnb-form-actions { justify-content: center; }
.tvbnb-demo-form-fields .tvbnb-btn-large { min-width: 240px; }

.tvbnb-landing-footer {
    text-align: center;
    padding: 40px 64px;
    border-top: 1px solid var(--line);
    color: var(--text-muted);
    font-size: 13px;
}

/* === Responsive === */
@media (max-width: 768px) {
    .tvbnb-topbar { padding: 16px 24px; }
    .tvbnb-content { padding: 32px 24px; }
    .tvbnb-welcome h1 { font-size: 36px; }
    .tvbnb-hero { padding: 0 24px; margin: 40px auto 80px; }
    .tvbnb-hero h1 { font-size: 44px; }
    .tvbnb-hero-sub { font-size: 16px; }
    .tvbnb-features { padding: 0 24px; }
    .tvbnb-demo-form { padding: 0 24px; }
    .tvbnb-demo-form h2 { font-size: 30px; }
    .tvbnb-form-row { grid-template-columns: 1fr; }
    .tvbnb-landing-nav { padding: 20px 24px; }
    .tvbnb-room-edit-header h1 { font-size: 36px; }
}

/* ============================================
   Bannière d'impersonation (admin "voit comme")
   ============================================ */
.tvbnb-impersonate-banner {
    background: linear-gradient(90deg, rgba(201, 169, 110, 0.18), rgba(201, 169, 110, 0.08));
    border-bottom: 1px solid rgba(201, 169, 110, 0.4);
    color: #f5efe6;
    font-family: 'Outfit', -apple-system, system-ui, sans-serif;
    margin: 0 calc(50% - 50vw); /* déborde aussi du container WP */
}
.tvbnb-impersonate-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
}
.tvbnb-impersonate-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #c9a96e;
    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.25);
    flex-shrink: 0;
}
.tvbnb-impersonate-text { flex: 1; }
.tvbnb-impersonate-text strong { color: #d4b87e; font-weight: 500; }
.tvbnb-impersonate-stop {
    color: #f5efe6;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.15s;
    white-space: nowrap;
}
.tvbnb-impersonate-stop:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* ============================================
   Landing v1.5.2 — sections additionnelles
   ============================================ */

/* ── Nav : language switch ── */
.tvbnb-landing-nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.tvbnb-lang-switch {
    display: flex;
    gap: 4px;
    font-size: 12px;
    letter-spacing: 0.06em;
}
.tvbnb-lang-switch a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.15s;
}
.tvbnb-lang-switch a:hover { color: var(--text-secondary); }
.tvbnb-lang-switch a.tvbnb-lang-active {
    color: var(--accent);
    border-color: var(--accent);
}

/* ── Hero : actions row + price ── */
.tvbnb-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.tvbnb-hero-price {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin: 0;
}
.tvbnb-hero-price strong {
    color: var(--accent);
    font-weight: 500;
    font-size: 15px;
    margin-right: 6px;
}

/* ── TV mockup illustratif ── */
.tvbnb-tv-mockup-wrap {
    max-width: 900px;
    margin: 0 auto 120px;
    padding: 0 64px;
}
.tvbnb-tv-frame {
    background: #0a0d12;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.tvbnb-tv-screen {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1812;
}

/* ── Section heads (overline + h2 centrés) ── */
.tvbnb-section-head {
    max-width: 720px;
    margin: 0 auto 60px;
    padding: 0 32px;
    text-align: center;
}
.tvbnb-section-head h2 {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-primary);
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}
.tvbnb-section-head p { color: var(--text-secondary); margin: 0; font-size: 17px; }

/* ── Features header (existant garde 3 colonnes fixes) ── */
.tvbnb-features {
    grid-template-columns: repeat(3, 1fr);
}

/* ── Comment ça marche ── */
.tvbnb-how {
    max-width: 1280px;
    margin: 0 auto 120px;
    padding: 0 64px;
}
.tvbnb-how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.tvbnb-how-step {
    text-align: center;
    padding: 24px;
}
.tvbnb-how-step-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--accent);
}
.tvbnb-how-step h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 12px;
}
.tvbnb-how-step p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
}

/* ── Pour qui ── */
.tvbnb-forwho {
    max-width: 1280px;
    margin: 0 auto 120px;
    padding: 0 64px;
}
.tvbnb-forwho-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.tvbnb-forwho-card {
    padding: 40px;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.tvbnb-overline-muted { color: var(--text-muted) !important; }
.tvbnb-forwho-card h3 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 8px 0 16px;
}
.tvbnb-forwho-card > p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 24px;
}
.tvbnb-forwho-list {
    padding: 0;
    margin: 0 0 24px;
    list-style: none;
}
.tvbnb-forwho-list li {
    padding: 10px 0;
    border-top: 1px solid var(--line);
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.tvbnb-forwho-list li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 500;
    flex-shrink: 0;
}
.tvbnb-forwho-price {
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--accent);
    font-size: 15px;
    font-weight: 500;
}
.tvbnb-forwho-price em {
    color: var(--text-muted);
    font-style: normal;
    font-size: 12px;
    font-weight: 400;
    margin-left: 4px;
}

/* ── FAQ ── */
.tvbnb-faq {
    max-width: 800px;
    margin: 0 auto 120px;
    padding: 0 32px;
}
.tvbnb-faq-item {
    border-bottom: 1px solid var(--line);
    padding: 24px 4px;
}
.tvbnb-faq-item:first-of-type { border-top: 1px solid var(--line); }
.tvbnb-faq-q {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 12px;
    line-height: 1.4;
}
.tvbnb-faq-a {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* ── Responsive landing v1.5.2 ── */
@media (max-width: 880px) {
    .tvbnb-features { grid-template-columns: 1fr; }
    .tvbnb-how-steps { grid-template-columns: 1fr; gap: 16px; }
    .tvbnb-forwho-grid { grid-template-columns: 1fr; }
    .tvbnb-how, .tvbnb-forwho, .tvbnb-tv-mockup-wrap { padding: 0 24px; margin-bottom: 80px; }
    .tvbnb-section-head h2 { font-size: 32px; }
    .tvbnb-forwho-card { padding: 24px; }
    .tvbnb-forwho-card h3 { font-size: 24px; }
    .tvbnb-faq-q { font-size: 16px; }
    .tvbnb-faq-a { font-size: 14px; }
    .tvbnb-faq { padding: 0 24px; }
    .tvbnb-tv-frame { padding: 10px; border-radius: 10px; }
}

/* ============================================
   Template page-blank (v1.5.3)
   ============================================ */
body.tvbnb-blank-page {
    background: #0d1117 !important;
    color: #f5efe6 !important;
    font-family: 'Outfit', -apple-system, system-ui, sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.tvbnb-blank-page .tvbnb-front {
    margin: 0 !important;        /* override le hack legacy "0 calc(50% - 50vw)" */
    min-height: 100vh;
}

/* ============================================
   v1.6.0 — Page édition hôtel (concierge)
   Interface en anglais, charte sombre/dorée
   ============================================ */

/* Header de carte hôtel avec bouton Edit */
.tvbnb-front .tvbnb-hotel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.tvbnb-front .tvbnb-hotel-header-info {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.tvbnb-front .tvbnb-btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.tvbnb-front .tvbnb-btn-large {
    padding: 14px 28px;
    font-size: 15px;
}

.tvbnb-front .tvbnb-btn-link {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.tvbnb-front .tvbnb-btn-link:hover { color: var(--accent); }

/* Description sous le legend d'un fieldset */
.tvbnb-front .tvbnb-fieldset-desc {
    color: var(--text-secondary);
    font-size: 13px;
    margin: -4px 0 16px 0;
}

/* Photo picker (welcome + background) */
.tvbnb-front .tvbnb-photo-picker {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tvbnb-front .tvbnb-photo-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.tvbnb-front .tvbnb-photo-preview {
    aspect-ratio: 16 / 9;
    background: var(--bg-surface);
    border: 1px dashed var(--line-strong);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.tvbnb-front .tvbnb-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tvbnb-front .tvbnb-photo-empty {
    color: var(--text-muted);
    font-size: 13px;
}
.tvbnb-front .tvbnb-photo-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.tvbnb-front .tvbnb-photo-picker small {
    color: var(--text-muted);
    font-size: 11px;
}

/* Form actions (bouton Save + Cancel en bas) */
.tvbnb-front .tvbnb-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* Layout général de la page hotel-edit */
.tvbnb-front.tvbnb-hotel-edit .tvbnb-fieldset {
    margin-bottom: 16px;
}

/* v1.6.4 — Statut save inline (fetch JSON via REST) */
.tvbnb-front .tvbnb-save-status {
    font-size: 13px;
    margin-left: 12px;
    align-self: center;
}
.tvbnb-front .tvbnb-save-status-ok  { color: var(--success); }
.tvbnb-front .tvbnb-save-status-err { color: var(--error); }

/* ============================================
   v1.7.0 — Page Reservations
   ============================================ */

.tvbnb-front .tvbnb-hotel-header-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tvbnb-front .tvbnb-bookings-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.tvbnb-front .tvbnb-bookings-header h1 {
    margin: 4px 0 6px;
}

.tvbnb-front .tvbnb-bookings-group-title {
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 28px 0 10px;
}
.tvbnb-front .tvbnb-bookings-group-title:first-child {
    margin-top: 0;
}

.tvbnb-front .tvbnb-booking-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.03);
    margin-bottom: 8px;
}
.tvbnb-front .tvbnb-booking-active {
    background: rgba(74,222,128,0.08);
    border-color: rgba(74,222,128,0.25);
}
.tvbnb-front .tvbnb-booking-cancelled {
    opacity: 0.55;
}

.tvbnb-front .tvbnb-booking-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(201,169,110,0.18);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 500; font-size: 13px;
    flex-shrink: 0;
}
.tvbnb-front .tvbnb-booking-info { flex: 1; min-width: 0; }
.tvbnb-front .tvbnb-booking-name { margin: 0; font-weight: 500; }
.tvbnb-front .tvbnb-booking-meta { margin: 2px 0 0; color: var(--text-secondary); font-size: 12px; }

.tvbnb-front .tvbnb-pill {
    display: inline-block;
    font-size: 11px;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 400;
}
.tvbnb-front .tvbnb-pill-active    { color: var(--success); background: rgba(74,222,128,0.15); }
.tvbnb-front .tvbnb-pill-upcoming  { color: var(--accent);  background: rgba(201,169,110,0.15); }
.tvbnb-front .tvbnb-pill-past      { color: var(--text-muted); background: rgba(255,255,255,0.05); }
.tvbnb-front .tvbnb-pill-cancelled { color: var(--error);   background: rgba(248,113,113,0.12); }

/* Modal */
.tvbnb-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.tvbnb-modal[hidden] { display: none !important; }
.tvbnb-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
    z-index: 0;
}
.tvbnb-modal-dialog {
    position: relative;
    z-index: 1;
    background: #1f2733;
    border: 1px solid rgba(201, 169, 110, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    color: #f5efe6;
}
.tvbnb-modal-dialog input[type="text"],
.tvbnb-modal-dialog input[type="email"],
.tvbnb-modal-dialog input[type="date"],
.tvbnb-modal-dialog select,
.tvbnb-modal-dialog textarea {
    background: #0d1117 !important;
    color: #f5efe6 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
}
.tvbnb-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tvbnb-modal-header h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    color: #f5efe6;
}
.tvbnb-modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    padding: 0 8px;
    line-height: 1;
}
.tvbnb-modal-close:hover { color: var(--text-primary); }

.tvbnb-front .tvbnb-alert-warning {
    background: rgba(201,169,110,0.12);
    border: 1px solid rgba(201,169,110,0.3);
    color: var(--accent-bright);
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
}
