/**
 * Wisdom For Business Conference 2026 — Live Streaming Platform
 * Official Brand System (Royal Cobalt, Sky Cyan, Vibrant Mint & Pure White)
 * Designed for authentic, human-crafted conference UI/UX
 */

:root {
    /* Brand Palette from Official Conference Artwork */
    --brand-royal-dark: #020835;
    --brand-royal: #05146c;
    --brand-royal-mid: #0a218f;
    --brand-royal-light: #1533b8;
    
    --brand-cyan: #38bdf8;
    --brand-cyan-light: #7dd3fc;
    --brand-cyan-glow: rgba(56, 189, 248, 0.25);
    
    --brand-mint: #00e699;
    --brand-mint-light: #34d399;
    --brand-mint-dark: #059669;
    --brand-mint-glow: rgba(0, 230, 153, 0.3);
    
    --surface-bg: #030a3b;
    --surface-card: #081656;
    --surface-card-hover: #0c1e6e;
    --surface-glass: rgba(8, 22, 86, 0.82);
    --surface-border: rgba(56, 189, 248, 0.2);
    --surface-border-strong: rgba(56, 189, 248, 0.45);
    
    --text-white: #ffffff;
    --text-ice: #d8e8fc;
    --text-muted: #8ea8cf;
    --text-dark: #030b3a;

    --status-live: #ef4444;
    --status-live-bg: rgba(239, 68, 68, 0.18);
    --status-active: #00e699;
    --status-active-bg: rgba(0, 230, 153, 0.16);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    /* Radii */
    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-full: 9999px;

    /* Shadows */
    --shadow-card: 0 10px 30px -5px rgba(2, 6, 35, 0.65), 0 0 1px 1px rgba(56, 189, 248, 0.18);
    --shadow-card-hover: 0 20px 40px -10px rgba(2, 6, 35, 0.85), 0 0 1px 1px rgba(56, 189, 248, 0.38), 0 0 24px var(--brand-cyan-glow);
    --shadow-btn-mint: 0 4px 18px rgba(0, 230, 153, 0.35);
    --shadow-btn-cyan: 0 4px 18px rgba(56, 189, 248, 0.35);
}

/* Reset & Mobile-First Foundation */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    background-color: #020726;
    color: var(--text-ice);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.68;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    /* Dimensional Royal Blue stage lighting reminiscent of the conference banner ribbons */
    background-image: 
        radial-gradient(ellipse at 85% 0%, rgba(21, 51, 184, 0.4) 0%, transparent 55%),
        radial-gradient(ellipse at 12% 25%, rgba(56, 189, 248, 0.14) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 100%, rgba(10, 33, 143, 0.3) 0%, transparent 65%);
    background-attachment: fixed;
}

html.nav-lock, body.nav-lock {
    overflow: hidden !important;
    touch-action: none;
}

/* Typography Hierarchy - Scaled for Refined Executive Clarity */
h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-white);
    letter-spacing: -0.025em;
    margin-top: 0;
}

h1 { font-size: clamp(1.75rem, 3.2vw, 2.35rem); margin-bottom: 1rem; line-height: 1.24; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: 0.85rem; line-height: 1.28; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); margin-bottom: 0.7rem; line-height: 1.32; }
h4 { font-size: 0.98rem; margin-bottom: 0.55rem; line-height: 1.4; }

p { 
    margin-bottom: 1.15rem; 
    line-height: 1.68;
}
p:last-child { margin-bottom: 0; }

a {
    color: var(--brand-cyan);
    text-decoration: none;
    transition: color 150ms ease;
}
a:hover {
    color: var(--brand-cyan-light);
}

strong, b { font-weight: 700; color: var(--text-white); }
small, .small { font-size: 0.85rem; }
.muted { color: var(--text-muted); }
.center { text-align: center; }

/* Brand Highlights */
.text-cyan { color: var(--brand-cyan) !important; }
.text-mint { color: var(--brand-mint) !important; }
.text-white { color: var(--text-white) !important; }

/* Containers */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--surface-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 102;
}

.brand-svg-logo {
    height: 48px;
    width: auto;
    max-width: 220px;
    display: block;
    transition: transform 150ms ease;
}
.brand-svg-logo:hover {
    transform: scale(1.02);
}

@media (max-width: 640px) {
    .header-inner { height: 64px; }
    .brand-svg-logo { height: 40px; max-width: 170px; }
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--surface-border);
    border-radius: var(--r-sm);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    z-index: 102;
    padding: 0;
    transition: all 150ms ease;
}

.mobile-toggle:hover, .mobile-toggle:focus {
    border-color: var(--brand-cyan);
    outline: none;
}

.hamburger-bar {
    width: 20px;
    height: 2px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: all 250ms ease;
}

.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--brand-mint);
}
.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--brand-mint);
}

/* Mobile Backdrop */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 35, 0.8);
    backdrop-filter: blur(6px);
    z-index: 98;
    opacity: 0;
    transition: opacity 250ms ease;
}
.nav-backdrop.is-visible {
    display: block;
    opacity: 1;
}

/* Navigation - Mobile Drawer (< 860px) */
@media (max-width: 859px) {
    .mobile-toggle { display: flex; }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 86vw);
        background: #051048;
        border-left: 1px solid var(--surface-border-strong);
        box-shadow: -15px 0 45px rgba(0, 0, 0, 0.8);
        padding: 5.5rem 1.75rem 2.5rem;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        z-index: 99;
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), visibility 350ms ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav.is-open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .nav-link {
        font-size: 1rem !important;
        font-weight: 600;
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--text-ice) !important;
    }

    .nav-link.active { color: var(--brand-mint) !important; }

    .nav-form-item {
        width: 100%;
        margin-top: auto;
    }

    .nav-signout-btn {
        width: 100%;
        text-align: center;
        padding: 0.85rem !important;
        background: rgba(255, 255, 255, 0.08);
        border-radius: var(--r-md);
        color: var(--text-ice);
    }
}

/* Navigation - Desktop (>= 860px) */
@media (min-width: 860px) {
    .nav {
        display: flex;
        align-items: center;
        gap: 1.75rem;
    }

    .nav-link {
        font-family: var(--font-heading);
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        color: rgba(216, 232, 252, 0.85);
        transition: color 150ms ease;
        padding: 0.4rem 0;
        position: relative;
    }

    .nav-link:hover { color: var(--text-white); }
    .nav-link.active {
        color: var(--brand-cyan);
    }
    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--brand-cyan);
        border-radius: var(--r-full);
    }

    .nav-external {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: var(--brand-mint);
    }

    .nav-admin-badge {
        background: rgba(0, 230, 153, 0.12) !important;
        color: var(--brand-mint) !important;
        border: 1px solid rgba(0, 230, 153, 0.35) !important;
        padding: 0.35rem 0.85rem !important;
        border-radius: var(--r-full);
        font-size: 0.78rem !important;
        font-weight: 700 !important;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        transition: all 150ms ease;
    }
    .nav-admin-badge:hover {
        background: rgba(0, 230, 153, 0.22) !important;
        border-color: var(--brand-mint) !important;
        color: #ffffff !important;
        box-shadow: 0 0 12px rgba(0, 230, 153, 0.25);
    }
}

/* Buttons (Pill-shaped, touch friendly 50px) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 50px;
    padding: 0.85rem 2rem;
    border-radius: var(--r-full);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 200ms ease;
    line-height: 1.25;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

/* Primary Button: Mint Green (Matches official flyer ticket button) */
.btn-primary {
    background: linear-gradient(135deg, #00f0a0 0%, #00d48c 100%);
    color: var(--text-dark) !important;
    box-shadow: 0 4px 18px rgba(0, 230, 153, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #25f4ab 0%, #05df94 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(0, 230, 153, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-primary:active { transform: translateY(0); }

/* Secondary Button: Cyan outline */
.btn-secondary {
    background: rgba(56, 189, 248, 0.08);
    color: var(--text-white) !important;
    border-color: rgba(56, 189, 248, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(2, 6, 35, 0.25);
}
.btn-secondary:hover {
    background: rgba(56, 189, 248, 0.18);
    color: #ffffff !important;
    border-color: var(--brand-cyan);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
}

.btn-header-cta {
    background: linear-gradient(135deg, #00f0a0 0%, #00d48c 100%);
    color: var(--text-dark) !important;
    min-height: 42px;
    padding: 0.6rem 1.45rem;
    font-size: 0.825rem;
    box-shadow: 0 2px 12px rgba(0, 230, 153, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-header-cta:hover {
    background: linear-gradient(135deg, #25f4ab 0%, #05df94 100%);
    box-shadow: 0 4px 18px rgba(0, 230, 153, 0.45);
    transform: translateY(-1px);
}

.btn-block { width: 100%; }

.link-button {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.5rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition: color 150ms ease;
}
.link-button:hover { color: var(--text-white); }

/* Main Content Area */
.main {
    flex: 1;
    padding-top: 2.5rem;
    padding-bottom: max(4.5rem, env(safe-area-inset-bottom));
}

/* Alerts */
.alert {
    padding: 1.15rem 1.45rem;
    border-radius: var(--r-md);
    margin-bottom: 2.25rem;
    font-size: 0.95rem;
    line-height: 1.55;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border: 1.5px solid transparent;
}
.alert-error {
    background-color: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.45);
    color: #fca5a5;
}
.alert-success {
    background-color: rgba(0, 230, 153, 0.15);
    border-color: rgba(0, 230, 153, 0.45);
    color: #6ee7b7;
}
.alert-info {
    background-color: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.45);
    color: #bae6fd;
}

/* Hero Section (Replicating official conference visuals) */
.hero {
    position: relative;
    padding: 2.75rem 2rem;
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, #071a7d 0%, #030b42 100%);
    border: 1.5px solid var(--surface-border-strong);
    box-shadow: 0 20px 50px -10px rgba(2, 6, 35, 0.85), 0 0 1px 1px rgba(56, 189, 248, 0.25);
    margin-bottom: 2.75rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding: 3.5rem 3rem;
        border-radius: var(--r-xl);
    }
}

.hero-presenter {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-cyan);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    display: inline-block;
}

.hero-title {
    margin-bottom: 1.15rem;
    line-height: 1.22;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-ice);
    line-height: 1.68;
    max-width: 680px;
    margin-bottom: 1.85rem;
}

.hero-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: rgba(6, 21, 98, 0.7);
    border: 1.5px solid var(--surface-border);
    border-radius: var(--r-full);
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-white);
}

.meta-pill-mint {
    background: rgba(0, 230, 153, 0.15);
    border-color: rgba(0, 230, 153, 0.45);
    color: var(--brand-mint);
}

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

@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
        align-items: center;
    }
}

/* Cards */
.card {
    background: linear-gradient(145deg, #071754 0%, #040e3d 100%);
    border: 1.5px solid var(--surface-border);
    border-radius: var(--r-lg);
    padding: 1.85rem;
    box-shadow: 0 10px 30px -5px rgba(2, 6, 35, 0.65), 0 0 1px 1px rgba(56, 189, 248, 0.18);
    transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .card {
        padding: 2.25rem;
    }
}

.card:hover {
    background: linear-gradient(145deg, #091c66 0%, #05124a 100%);
    border-color: var(--surface-border-strong);
    box-shadow: 0 20px 45px -10px rgba(2, 6, 35, 0.85), 0 0 1px 1px rgba(56, 189, 248, 0.4), 0 0 24px var(--brand-cyan-glow);
    transform: translateY(-3px);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.card-desc {
    color: var(--text-ice);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
    .event-layout-grid { grid-template-columns: 1.75fr 1.25fr; gap: 2rem; }
}

/* Auth Cards */
.auth-wrap {
    width: 100%;
    max-width: 480px;
    margin: 1.5rem auto 3rem;
}

.auth-wrap-register {
    max-width: 600px;
}

.auth-card {
    background: linear-gradient(160deg, #081a6d 0%, #030b3d 100%);
    border: 1.5px solid var(--surface-border-strong);
    border-radius: var(--r-xl);
    padding: 2.25rem 2rem;
    box-shadow: 0 20px 60px -10px rgba(2, 6, 35, 0.9), 0 0 1px 1px rgba(56, 189, 248, 0.35);
}

@media (min-width: 540px) {
    .auth-card {
        padding: 2.75rem 2.5rem;
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.auth-header img {
    height: 52px;
    width: auto;
    max-width: 220px;
    margin-bottom: 0.85rem;
}

.auth-title {
    font-size: 1.85rem;
    margin-bottom: 0.45rem;
    line-height: 1.25;
}

.auth-sub {
    font-size: 0.925rem;
    color: var(--text-ice);
    line-height: 1.55;
}

/* 2-Column Responsive Form Row */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 520px) {
    .form-row-2 {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
}

/* High-End Event Pass Summary Strip */
.pass-summary-card {
    background: linear-gradient(135deg, rgba(8, 26, 110, 0.65) 0%, rgba(4, 13, 66, 0.85) 100%);
    border: 1.5px solid var(--surface-border-strong);
    border-radius: var(--r-md);
    padding: 1.15rem 1.35rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(2, 6, 35, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pass-summary-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pass-summary-tag {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-cyan);
}

.pass-summary-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
}

.pass-summary-meta {
    font-size: 0.78rem;
    color: var(--text-ice);
}

.pass-summary-price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--brand-mint);
    white-space: nowrap;
    text-align: right;
    letter-spacing: -0.02em;
}

/* Security Badge under auth submit */
.auth-security-badge {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 1.25rem;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--r-full);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1;
}

.badge-live {
    background: var(--status-live-bg);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.45);
}
.badge-live::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

.badge-active {
    background: var(--status-active-bg);
    color: var(--brand-mint);
    border: 1px solid rgba(0, 230, 153, 0.4);
}

.badge-upcoming {
    background: rgba(56, 189, 248, 0.15);
    color: var(--brand-cyan);
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.badge-ended {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Event Details & Metadata */
.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.35rem;
    padding: 0.95rem 0;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
    font-size: 0.875rem;
    color: var(--text-ice);
    line-height: 1.5;
}

.event-meta-item strong {
    color: var(--text-white);
}

.price-display {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--brand-mint);
    letter-spacing: -0.02em;
    line-height: 1;
}

/* Forms (16px base font prevents mobile iOS auto-zoom) */
.form-group {
    margin-bottom: 1.35rem;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-white);
    margin-bottom: 0.55rem;
}

.form-control {
    width: 100%;
    min-height: 50px;
    padding: 0.85rem 1.25rem;
    background-color: rgba(3, 10, 44, 0.85);
    border: 1.5px solid var(--surface-border);
    border-radius: var(--r-md);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 16px;
    transition: all 180ms ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 3px var(--brand-cyan-glow);
    background-color: #051048;
}

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

/* Checkbox Label with Custom Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-ice);
    line-height: 1.55;
    cursor: pointer;
    margin-top: 1.15rem;
    margin-bottom: 1.65rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-mint);
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

/* Cinema Player */
.player-container {
    background: #000;
    border: 1.5px solid var(--surface-border-strong);
    border-radius: var(--r-lg);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.85), 0 0 30px var(--brand-cyan-glow);
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 2rem;
}

.player-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.player-takeover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 10, 48, 0.94);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 50;
}

/* Responsive Table System & Data Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--r-md);
    border: 1px solid var(--surface-border);
    background: rgba(3, 10, 48, 0.5);
    box-shadow: 0 4px 16px rgba(2, 6, 35, 0.35);
}

.table-responsive:has(+ .table-pagination) {
    border-bottom: none;
    border-radius: var(--r-md) var(--r-md) 0 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.875rem;
    white-space: normal;
}

.data-table thead tr {
    background: rgba(4, 15, 68, 0.9);
    border-bottom: 1px solid var(--surface-border-strong);
}

.data-table th {
    padding: 1rem 1.25rem;
    color: var(--brand-cyan);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.data-table tbody tr {
    border-bottom: 1px solid rgba(56, 189, 248, 0.09);
    transition: background-color 150ms ease;
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background-color: rgba(56, 189, 248, 0.05);
}

.data-table td {
    padding: 1rem 1.25rem;
    color: var(--text-ice);
    vertical-align: middle;
    font-size: 0.88rem;
    line-height: 1.5;
}

.data-table .table-primary {
    color: #ffffff;
    font-weight: 600;
}

.data-table .table-mono {
    font-family: var(--font-mono);
    font-size: 0.815rem;
    color: #bae6fd;
}

.data-table .table-price {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--brand-mint);
}

.text-right { text-align: right !important; }
.text-center { text-align: center !important; }

/* Responsive column hiding */
@media (max-width: 640px) {
    .hide-mobile { display: none !important; }
    .data-table th, .data-table td { padding: 0.75rem 0.85rem; }
}

@media (max-width: 860px) {
    .hide-tablet { display: none !important; }
}

/* Pagination Bar */
.table-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.75rem 1.15rem;
    background: rgba(3, 10, 48, 0.75);
    border: 1px solid var(--surface-border);
    border-radius: 0 0 var(--r-md) var(--r-md);
    font-size: 0.815rem;
    color: var(--text-muted);
}

.table-pagination-info strong {
    color: var(--text-white);
}

.table-pagination-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.table-page-btn {
    min-height: 30px;
    min-width: 30px;
    padding: 0.2rem 0.6rem;
    border-radius: var(--r-xs);
    border: 1px solid var(--surface-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-ice);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 150ms ease;
    user-select: none;
}

.table-page-btn:hover:not(:disabled) {
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--brand-cyan);
    color: var(--text-white);
}

.table-page-btn.is-active {
    background: var(--brand-cyan);
    color: var(--brand-royal-dark);
    border-color: var(--brand-cyan);
    font-weight: 800;
}

.table-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Admin Dashboard Header, Tabs & Stat Cards */
.admin-console-header {
    background: linear-gradient(145deg, #071758 0%, #030a38 100%);
    border: 1px solid var(--surface-border);
    border-radius: var(--r-md);
    padding: 1.25rem 1.5rem 0;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-card);
}

.admin-console-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

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

.admin-tab-bar {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid rgba(56, 189, 248, 0.15);
    margin: 0 -1.5rem;
    padding: 0 1rem;
}

.admin-tab-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 0.95rem;
    font-family: var(--font-heading);
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 2.5px solid transparent;
    white-space: nowrap;
    transition: all 150ms ease;
}

.admin-tab-link:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.03);
}

.admin-tab-link.active {
    color: var(--brand-mint);
    border-bottom-color: var(--brand-mint);
    background: rgba(0, 230, 153, 0.06);
}

/* KPI Stat Cards */
.stat-card {
    background: linear-gradient(145deg, rgba(8, 22, 86, 0.8) 0%, rgba(3, 10, 48, 0.95) 100%);
    border: 1px solid var(--surface-border);
    border-radius: var(--r-md);
    padding: 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    box-shadow: 0 4px 18px rgba(2, 6, 35, 0.35);
    transition: transform 150ms ease, border-color 150ms ease;
}

.stat-card:hover {
    border-color: var(--surface-border-strong);
    transform: translateY(-1px);
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

.stat-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

/* Footer */
.site-footer {
    background-color: #020626;
    border-top: 1px solid var(--surface-border);
    padding: 2.75rem 0 max(2rem, env(safe-area-inset-bottom));
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: 1.8fr 1.1fr 1.1fr;
        gap: 3rem;
    }
}

.footer-logo {
    height: 54px;
    width: auto;
    max-width: 240px;
    display: block;
    opacity: 0.95;
    transition: all 150ms ease;
    margin-bottom: 1.15rem;
}
.footer-logo:hover {
    opacity: 1;
    transform: scale(1.02);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-cyan);
    margin-bottom: 0.85rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.85rem;
}

.footer-links a {
    color: var(--text-ice);
    transition: color 150ms ease;
}

.footer-links a:hover {
    color: var(--brand-mint);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Utilities */
.hidden, [hidden] {
    display: none !important;
}

