/* ==========================================================================
   RESTAURANT MANAGEMENT 3D INTERACTIVE WEB
   Enterprise Commercial Edition - Professional & Futuristic Design System
   ========================================================================== */

:root {
    --res-gold: #f59e0b;
    --res-gold-dark: #d97706;
    --res-gold-glow: rgba(245, 158, 11, 0.28);
    --res-accent: #ea580c;
    --res-obsidian: #090d16;
    --res-slate-dark: #0f172a;
    --res-slate-surface: rgba(15, 23, 42, 0.82);
    --res-glass-border: rgba(245, 158, 11, 0.22);
    --res-glass-border-hover: rgba(245, 158, 11, 0.5);
    --res-text-main: #f8fafc;
    --res-text-muted: #94a3b8;
}

/* ==========================================================================
   1. FULLSCREEN WEBGL 3D CANVAS & WRAPPER
   ========================================================================== */
.restaurant-3d-viewport {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #060911;
    z-index: 1;
    touch-action: none;
}

#restaurant-3d-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: default;
    transition: opacity 0.4s ease;
}

#restaurant-3d-canvas.is-navigating {
    cursor: crosshair;
}

/* Vignette & Cinematic Ambient Tone */
.restaurant-cinematic-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 50% 50%, transparent 60%, rgba(6, 9, 17, 0.75) 100%),
        linear-gradient(180deg, rgba(6, 9, 17, 0.35) 0%, transparent 20%, transparent 80%, rgba(6, 9, 17, 0.6) 100%);
    pointer-events: none;
    z-index: 2;
}

/* ==========================================================================
   2. EXECUTIVE LOADING SCREEN
   ========================================================================== */
.restaurant-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #090d16;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
}

.restaurant-loading-screen.is-loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-brand-logo {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 34px;
    box-shadow: 0 12px 36px rgba(234, 88, 12, 0.45);
    margin-bottom: 24px;
    animation: loaderLogoPulse 2.5s ease-in-out infinite;
}

@keyframes loaderLogoPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 12px 36px rgba(234, 88, 12, 0.45); }
    50% { transform: scale(1.05); box-shadow: 0 18px 48px rgba(245, 158, 11, 0.65); }
}

.loader-title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #f8fafc;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.loader-status-text {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 24px;
}

.loader-progress-track {
    width: 280px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.loader-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ea580c, #f59e0b, #fbbf24);
    border-radius: 999px;
    transition: width 0.25s ease;
    box-shadow: 0 0 12px var(--res-gold);
}

/* ==========================================================================
   3. TOP HUD & VIEW MODE CONTROLS
   ========================================================================== */
.restaurant-hud-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 50;
    pointer-events: none;
}

.hud-brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--res-glass-border);
    border-radius: 999px;
    color: #f8fafc;
    font-size: 0.84rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    pointer-events: auto;
}

.hud-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: hudPulse 2s infinite;
}

@keyframes hudPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.hud-controls-group {
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
}

/* 3D / 2D View Toggle Button */
.view-mode-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--res-glass-border);
    border-radius: 999px;
    color: #f8fafc;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.view-mode-toggle-btn:hover {
    border-color: var(--res-gold);
    color: var(--res-gold);
    transform: translateY(-1px);
}

.view-mode-toggle-btn .mode-badge {
    padding: 2px 7px;
    border-radius: 6px;
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}

/* ==========================================================================
   4. EXECUTIVE 3D HOSTESS TERMINAL (LOGIN & REGISTRATION OVERLAY)
   ========================================================================== */
.executive-terminal-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Terminal docked on right side for wide view */
    justify-content: flex-start;
    padding-top: max(82px, 6vh);
    padding-bottom: max(95px, 8vh);
    padding-right: clamp(20px, 5vw, 100px);
    padding-left: 20px;
    z-index: 20;
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: auto; /* Natural scrolling everywhere */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 158, 11, 0.4) transparent;
}

.executive-terminal-layer::-webkit-scrollbar {
    width: 7px;
}

.executive-terminal-layer::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.35);
    border-radius: 999px;
}

.executive-terminal-card {
    pointer-events: auto;
    width: 100%;
    max-width: 460px;
    background: rgba(15, 23, 42, 0.86);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--res-glass-border);
    border-radius: 26px;
    padding: 38px 34px;
    box-shadow: 
        0 35px 80px -15px rgba(0, 0, 0, 0.75),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 45px -10px var(--res-gold-glow);
    color: var(--res-text-main);
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
    transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s ease;
}

.executive-terminal-card:hover {
    border-color: var(--res-glass-border-hover);
    box-shadow: 
        0 40px 90px -15px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(245, 158, 11, 0.3),
        0 0 55px -8px var(--res-gold-glow);
}

/* Terminal Glass Highlight Sheen */
.executive-terminal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 380px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Terminal Security Badge */
.terminal-security-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fbbf24;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Terminal Title & Headers */
.terminal-title {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f8fafc;
    margin-bottom: 4px;
}

.terminal-subtitle {
    font-size: 0.88rem;
    color: var(--res-text-muted);
    margin-bottom: 24px;
}

/* Wide Terminal Card (Registration Forms - 1.3x Expanded Width) */
.executive-terminal-layer.is-wide {
    align-items: center; /* Centered in viewport for balanced dual-column view */
    justify-content: flex-start;
    padding: max(80px, 5vh) 24px max(90px, 6vh) 24px;
}

.executive-terminal-card.card-wide {
    max-width: 1120px; /* 1.3x expansion for compact dual-panel grid */
    margin-top: 0;
    margin-bottom: 0;
    padding: 30px 36px 32px;
}

.executive-terminal-card.card-medium {
    max-width: 840px; /* 1.3x expansion for ergonomic layout */
    margin-top: 0;
    margin-bottom: 0;
    padding: 30px 36px 32px;
}

/* ==========================================================================
   4.1 HALF-SCREEN REGISTRATION CONSOLE (50% SCREEN WIDTH SPLIT VIEW)
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

body.page-half-screen {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    min-height: 100vh !important;
    background: #060911 !important;
}

body.page-half-screen::-webkit-scrollbar {
    width: 9px;
}

body.page-half-screen::-webkit-scrollbar-track {
    background: #090d16;
}

body.page-half-screen::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f59e0b, #ea580c);
    border-radius: 999px;
}

body.page-half-screen .restaurant-3d-viewport {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

body.page-half-screen .restaurant-cinematic-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 2;
}

.executive-terminal-layer.is-half-screen {
    position: relative;
    margin-left: 50vw;
    width: 50vw;
    height: auto !important;
    min-height: 100vh !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    display: block;
    padding: max(80px, 6vh) clamp(24px, 3.5vw, 56px) 140px clamp(24px, 3.5vw, 56px);
    background: linear-gradient(165deg, rgba(13, 19, 36, 0.95) 0%, rgba(7, 11, 22, 0.98) 100%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-left: 1px solid rgba(245, 158, 11, 0.22);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.75);
    z-index: 25;
    pointer-events: auto;
}

.executive-terminal-card.card-half-screen {
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    margin-top: 0;
    margin-bottom: 0;
}

.executive-terminal-card.card-half-screen::before {
    display: none;
}

/* Floating Scroll Hint Indicator */
.form-scroll-hint {
    position: fixed;
    bottom: 24px;
    right: 25vw;
    transform: translateX(50%);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(245, 158, 11, 0.5);
    border-radius: 999px;
    color: #fbbf24;
    font-size: 0.78rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    z-index: 30;
    pointer-events: auto;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: bounceDown 2s infinite;
}

.form-scroll-hint:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: #fbbf24;
    color: #fff;
}

.form-scroll-hint.is-hidden {
    opacity: 0;
    transform: translate(50%, 12px);
    pointer-events: none;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translate(50%, 0); }
    40% { transform: translate(50%, 4px); }
    60% { transform: translate(50%, 2px); }
}

.is-half-screen .terminal-subpanel {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 20px 22px;
    margin-bottom: 16px;
    transition: all 0.25s ease;
}

.is-half-screen .terminal-subpanel:hover {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.is-half-screen .terminal-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    margin-top: 2px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.is-half-screen .form-control {
    padding: 9.5px 14px;
    font-size: 0.9rem;
    border-radius: 10px;
}

.is-half-screen .form-label {
    font-size: 0.83rem;
    margin-bottom: 4px;
    color: #cbd5e1;
}

.terminal-subpanel {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 20px 22px 24px;
    height: 100%;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.terminal-subpanel:hover {
    border-color: rgba(245, 158, 11, 0.25);
    background: rgba(255, 255, 255, 0.035);
}

.terminal-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    margin-top: 2px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}



.terminal-section-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    display: grid;
    place-items: center;
    font-size: 14px;
}

.terminal-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
    letter-spacing: 0.02em;
}

.terminal-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.terminal-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    text-decoration: none;
}


/* Form Controls Inside Terminal */
.executive-terminal-card .form-label {
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.executive-terminal-card .form-control {
    background: rgba(30, 41, 59, 0.65) !important;
    border: 1px solid rgba(51, 65, 85, 0.9) !important;
    color: #f8fafc !important;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.executive-terminal-card .form-control:focus {
    background: rgba(30, 41, 59, 0.95) !important;
    border-color: var(--res-gold) !important;
    box-shadow: 0 0 0 4px var(--res-gold-glow) !important;
}

.executive-terminal-card .form-control::placeholder {
    color: #64748b;
}

/* Password Field Wrapper & Interactive Toggle Button */
.password-toggle-wrap,
.password-field-group {
    position: relative;
    width: 100%;
    display: block;
}

.password-toggle-wrap .form-control,
.password-field-group .form-control {
    padding-right: 48px !important;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    outline: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    line-height: 1;
    border-radius: 8px;
    z-index: 5;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.password-toggle-btn:hover {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.15);
    transform: translateY(-50%) scale(1.08);
}

.password-toggle-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.password-toggle-btn:focus-visible {
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.5);
}

/* Submit Action Button */
.btn-executive-submit {
    width: 100%;
    padding: 13px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.4);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-executive-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(245, 158, 11, 0.55);
    background: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
    color: #ffffff;
}

.btn-executive-submit:active {
    transform: translateY(0);
}

/* Links inside Terminal */
.executive-terminal-card a {
    color: #fbbf24;
    text-decoration: none;
    transition: color 0.2s ease;
}

.executive-terminal-card a:hover {
    color: #fde68a;
    text-decoration: underline;
}

/* ==========================================================================
   5. 3D SPEECH BUBBLE & AVATAR PROMPT (FLOATING HUD)
   ========================================================================== */
.avatar-speech-hud {
    position: fixed;
    z-index: 30;
    pointer-events: none;
    transform: translate(-50%, -100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.avatar-speech-hud.is-visible {
    opacity: 1;
}

.avatar-speech-pill {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--res-glass-border-hover);
    padding: 10px 18px;
    border-radius: 16px;
    color: #f8fafc;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    max-width: 280px;
    text-align: center;
    position: relative;
}

.avatar-speech-pill::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px 6px 0;
    border-style: solid;
    border-color: rgba(15, 23, 42, 0.92) transparent transparent;
}

/* Interaction Key Prompt (e.g. "Click to Interact") */
.avatar-prompt-badge {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: #fbbf24;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==========================================================================
   6. BOTTOM NAVIGATION GUIDE HUD
   ========================================================================== */
.restaurant-bottom-hud {
    position: fixed;
    bottom: 24px;
    left: 32px;
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 30;
    pointer-events: none;
}

.hud-key-guide {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--res-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
}

.hud-key {
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #f8fafc;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: inherit;
}

/* ==========================================================================
   7. 2D CLEAN FALLBACK MODE
   ========================================================================== */
body.mode-2d-clean .restaurant-3d-viewport,
body.mode-2d-clean .avatar-speech-hud,
body.mode-2d-clean .restaurant-bottom-hud {
    display: none !important;
}

body.mode-2d-clean {
    background: radial-gradient(circle at 10% 20%, rgba(234, 88, 12, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 45%),
                linear-gradient(135deg, #090d16 0%, #0f172a 60%, #1e293b 100%) !important;
}

body.mode-2d-clean .executive-terminal-layer {
    justify-content: center;
    padding-right: 0;
    padding: 30px 20px;
    position: relative;
    min-height: 100vh;
}

body.mode-2d-clean .executive-terminal-card {
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Language Switcher Position Fix on 3D Auth Pages */
.login-page .position-fixed.bottom-0.end-0 {
    bottom: 18px !important;
    right: 20px !important;
    z-index: 40 !important;
}

/* On Half-Screen pages, position Language Switcher in top bar near 3D/2D toggle to keep form bottom clean */
.page-half-screen .position-fixed.bottom-0.end-0,
body:has(.is-half-screen) .position-fixed.bottom-0.end-0 {
    top: 18px !important;
    bottom: auto !important;
    right: 88px !important;
    z-index: 60 !important;
}

@media (max-height: 850px) {
    .executive-terminal-layer.is-half-screen {
        padding-top: max(55px, 4vh);
        padding-bottom: 120px !important;
    }
    .is-half-screen .terminal-security-badge {
        margin-bottom: 8px;
        padding: 3px 9px;
        font-size: 0.68rem;
    }
    .is-half-screen .terminal-title {
        font-size: 1.4rem;
        margin-bottom: 2px;
    }
    .is-half-screen .terminal-subtitle {
        font-size: 0.82rem;
        margin-bottom: 12px;
    }
    .is-half-screen .terminal-subpanel {
        padding: 14px 18px;
        margin-bottom: 12px;
    }
    .is-half-screen .terminal-section-heading {
        margin-bottom: 10px;
        padding-bottom: 6px;
    }
    .is-half-screen .form-control {
        padding: 7px 12px;
        font-size: 0.86rem;
    }
    .is-half-screen .form-label {
        font-size: 0.8rem;
        margin-bottom: 2px;
    }
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1199.98px) {
    .executive-terminal-layer.is-wide {
        align-items: center; /* Center registration card on medium viewports */
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media (max-width: 991.98px) {
    .executive-terminal-layer {
        align-items: center;
        justify-content: flex-start;
        padding: 85px 16px 95px;
    }

    .executive-terminal-layer.is-half-screen {
        margin-left: 0;
        width: 100vw;
        height: auto !important;
        overflow-y: visible !important;
        overflow-x: visible !important;
        border-left: none;
        padding: max(75px, 6vh) 20px 120px 20px;
        background: rgba(10, 15, 29, 0.96);
    }

    .executive-terminal-card {
        max-width: 480px;
        padding: 30px 24px;
    }

    .executive-terminal-card.card-wide {
        max-width: 100%;
        padding: 28px 20px 32px;
    }

    .executive-terminal-card.card-medium {
        max-width: 100%;
        padding: 28px 20px 32px;
    }

    .restaurant-bottom-hud {
        display: none;
    }

    .restaurant-hud-header {
        padding: 14px 16px;
    }
}

