/* ==========================================================================
   AIRNEST ENTERPRISE DESIGN SYSTEM - SOVEREIGN TOTALITY EDITION
   Unified Mega-Platform for Travel, Hospitality, Events & Realty
   With Dynamic 3-Way Palette Switcher (Royal Blue / Rail Heritage / Luxury Emerald)
   Mobile Responsive Perfection • Zero Clutter • High-Converting Aesthetics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root {
    /* -------------------------------------------------------------------------
       DEFAULT THEME: EXECUTIVE ROYAL TRAVEL (MakeMyTrip / Booking.com Caliber)
       ------------------------------------------------------------------------- */
    --theme-primary: #0052cc;
    --theme-primary-hover: #0747a6;
    --theme-primary-light: #ebf3ff;
    --theme-primary-border: #b3d4ff;

    --theme-navy: #0a2540;
    --theme-navy-dark: #061727;
    
    --theme-accent: #ff5a1f; /* Sunset Orange CTA */
    --theme-accent-hover: #e04810;
    --theme-accent-light: #fff3ee;
    --theme-accent-border: #ffd8cc;

    --theme-green: #059669;
    --theme-green-hover: #047857;
    --theme-green-light: #ecfdf5;
    --theme-green-border: #a7f3d0;

    --theme-gold: #d97706;
    --theme-gold-light: #fffbeb;
    --theme-gold-border: #fde68a;

    /* Base Surfaces */
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-surface: #f1f5f9;
    --bg-alt: #ffffff;

    /* Text */
    --text-heading: #0a2540;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    /* Clean Borders & Shadows */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.05);
    --shadow-md: 0 4px 14px -1px rgba(10, 37, 64, 0.07), 0 2px 4px -1px rgba(10, 37, 64, 0.03);
    --shadow-lg: 0 10px 25px -3px rgba(10, 37, 64, 0.09), 0 4px 6px -2px rgba(10, 37, 64, 0.03);
    --shadow-xl: 0 20px 35px -5px rgba(10, 37, 64, 0.12);

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.2s ease-in-out;
}

/* -------------------------------------------------------------------------
   THEME 2: RAIL HERITAGE MAROON & GREEN (RailYatri / IRCTC Authentic)
   ------------------------------------------------------------------------- */
[data-theme="rail"] {
    --theme-primary: #8b0000;
    --theme-primary-hover: #700000;
    --theme-primary-light: #fef2f2;
    --theme-primary-border: #fecaca;

    --theme-navy: #1f2937;
    --theme-navy-dark: #111827;

    --theme-accent: #0d6832;
    --theme-accent-hover: #084c24;
    --theme-accent-light: #f0fdf4;
    --theme-accent-border: #bbf7d0;

    --theme-green: #0d6832;
    --theme-green-hover: #084c24;
    --theme-green-light: #f0fdf4;
    --theme-green-border: #bbf7d0;

    --theme-gold: #b45309;
    --theme-gold-light: #fffbeb;

    --text-heading: #1f2937;
    --text-body: #374151;
}

/* -------------------------------------------------------------------------
   THEME 3: LUXURY EMERALD & SLATE (Fintech / Eco-Hospitality Standard)
   ------------------------------------------------------------------------- */
[data-theme="fintech"] {
    --theme-primary: #0284c7;
    --theme-primary-hover: #0369a1;
    --theme-primary-light: #f0f9ff;
    --theme-primary-border: #bae6fd;

    --theme-navy: #0f172a;
    --theme-navy-dark: #020617;

    --theme-accent: #10b981;
    --theme-accent-hover: #059669;
    --theme-accent-light: #ecfdf5;
    --theme-accent-border: #a7f3d0;

    --theme-green: #10b981;
    --theme-green-hover: #059669;
    --theme-green-light: #ecfdf5;
    --theme-green-border: #a7f3d0;

    --theme-gold: #f59e0b;
    --theme-gold-light: #fef3c7;

    --text-heading: #0f172a;
    --text-body: #334155;
}

/* ==========================================================================
   RESET & TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-page);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-body);
    background-color: var(--bg-page);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-heading);
    line-height: 1.3;
    font-weight: 700;
}

/* ==========================================================================
   TOP UTILITY BAR & LIVE THEME SWITCHER
   ========================================================================== */
.top-nav-bar,
.top-utility-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.82rem;
    padding: 8px 2rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1001;
}

.top-nav-container,
.top-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-left-status,
.top-left-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.status-bullet,
.top-info-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.status-bullet strong,
.top-info-tag strong {
    color: var(--theme-primary);
    font-weight: 700;
}

.theme-selector-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.theme-label-txt {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme-pill-choice {
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    border: 1.5px solid var(--border-medium);
    background: var(--bg-surface);
    color: var(--text-body);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.theme-pill-choice:hover {
    border-color: var(--theme-primary);
    color: var(--theme-primary);
    background: #ffffff;
}

.theme-pill-choice.active {
    background: var(--theme-primary);
    color: #ffffff;
    border-color: var(--theme-primary);
    box-shadow: 0 2px 8px rgba(0, 82, 204, 0.25);
}

.theme-sep-divider {
    color: var(--border-medium);
    margin: 0 4px;
}

.top-nav-link {
    color: var(--text-body);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    transition: var(--transition);
}

.top-nav-link:hover {
    color: var(--theme-primary);
}

/* ==========================================================================
   MAIN SITE HEADER (CLEAN & STATELY)
   ========================================================================== */
.main-header,
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.header-container,
.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.85rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-emblem-box,
.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-shield,
.brand-crest {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.2);
    flex-shrink: 0;
}

.brand-logo-shield svg,
.brand-crest svg {
    width: 24px;
    height: 24px;
}

.brand-name-block,
.brand-headings {
    display: flex;
    flex-direction: column;
}

.brand-title,
.brand-logo-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--theme-navy);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.brand-subtitle,
.brand-tagline {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--theme-primary);
}

.nav-links-menu,
.header-nav-menu {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    list-style: none;
}

.nav-link,
.nav-link-anchor {
    text-decoration: none;
    color: var(--text-body);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 6px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active,
.nav-link-anchor:hover,
.nav-link-anchor.active {
    color: var(--theme-primary);
}

.nav-link::after,
.nav-link-anchor::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--theme-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-link-anchor:hover::after,
.nav-link-anchor.active::after {
    width: 100%;
}

.header-action-dock,
.header-action-buttons {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.btn-login-outline,
.btn-auth-outline {
    padding: 0.6rem 1.3rem;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-medium);
    background: #ffffff;
    color: var(--text-heading);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-login-outline:hover,
.btn-auth-outline:hover {
    border-color: var(--theme-primary);
    color: var(--theme-primary);
    background: var(--theme-primary-light);
}

.btn-dashboard-main,
.btn-primary-action {
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-md);
    background: var(--theme-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.25);
    white-space: nowrap;
}

.btn-dashboard-main:hover,
.btn-primary-action:hover {
    background: var(--theme-primary-hover);
    transform: translateY(-1px);
}

/* ==========================================================================
   HERO ZONE & UNIVERSAL MULTI-VERTICAL BOOKING ENGINE
   ========================================================================== */
.hero-booking-zone {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 3.5rem 2rem 2.5rem;
    border-bottom: 1px solid var(--border-light);
}

.hero-inner-max,
.hero-content-max {
    max-width: 1350px;
    margin: 0 auto;
}

.hero-heading-block,
.hero-header-box {
    text-align: center;
    max-width: 950px;
    margin: 0 auto 2.5rem;
}

.hero-badge-pill,
.hero-kicker-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    background: var(--theme-primary-light);
    border: 1px solid var(--theme-primary-border);
    color: var(--theme-primary);
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.live-beacon-dot,
.live-green-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--theme-green);
    display: inline-block;
}

.hero-title,
.hero-main-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-heading);
    letter-spacing: -0.5px;
    margin-bottom: 1.1rem;
}

.hero-title span.color-highlight,
.hero-main-heading span.crimson {
    color: var(--theme-primary);
}

.hero-title span.color-accent,
.hero-main-heading span.green {
    color: var(--theme-green);
}

.hero-desc,
.hero-lead-paragraph {
    font-size: 1.12rem;
    color: var(--text-body);
    line-height: 1.7;
    max-width: 850px;
    margin: 0 auto;
}

/* TRAVEL SEARCH BOX (CLEAN, EXPANSIVE, 8-VERTICAL ENGINE) */
.travel-search-box,
.rail-search-engine-card {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 1.75rem 2rem;
    margin-bottom: 3.5rem;
    text-align: left;
}

.search-service-tabs,
.rail-tabs-nav {
    display: flex;
    gap: 0.6rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.1rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.service-tab,
.rail-tab-item {
    padding: 9px 18px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background: var(--bg-surface);
    color: var(--text-body);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.service-tab:hover,
.service-tab.active,
.rail-tab-item:hover,
.rail-tab-item.active {
    background: var(--theme-primary);
    color: #ffffff;
    border-color: var(--theme-primary);
    box-shadow: 0 2px 8px rgba(0, 82, 204, 0.2);
}

.search-inputs-grid,
.rail-form-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.3fr 1fr 1.1fr auto;
    gap: 1rem;
    align-items: center;
}

.search-field-unit,
.rail-field-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.search-field-unit:focus-within,
.rail-field-box:focus-within {
    border-color: var(--theme-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px var(--theme-primary-light);
}

.search-field-unit label,
.rail-field-box label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--theme-primary);
    display: block;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}

.search-field-unit input,
.search-field-unit select,
.rail-field-box input,
.rail-field-box select {
    width: 100%;
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
    outline: none;
}

.btn-search-go,
.btn-rail-search {
    padding: 0.95rem 1.8rem;
    border-radius: var(--radius-md);
    background: var(--theme-accent);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(255, 90, 31, 0.35);
    white-space: nowrap;
}

.btn-search-go:hover,
.btn-rail-search:hover {
    background: var(--theme-accent-hover);
    transform: translateY(-1px);
}

/* REAL LIVE SEARCH RESULTS DISPLAY (EXPANDS WHEN CLICKED) */
.live-results-board,
.live-search-results-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 1.5rem;
    display: none;
}

.results-strip-head,
.results-header-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 8px;
}

.results-strip-head h4,
.results-header-strip h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--theme-primary);
}

.result-card-row,
.results-train-row {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.35rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    flex-wrap: wrap;
    gap: 12px;
}

.result-card-row:hover,
.results-train-row:hover {
    border-color: var(--theme-primary);
    box-shadow: var(--shadow-md);
}

.train-headline h5,
.train-title-block h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--theme-primary);
}

.train-timing-strip,
.train-schedule-info {
    display: flex;
    gap: 1.5rem;
    font-size: 0.88rem;
    color: var(--text-body);
    align-items: center;
}

.fare-block,
.train-fare-cell {
    text-align: right;
}

.fare-price,
.train-fare-amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--theme-green);
}

/* ==========================================================================
   THE 12-VERTICALS TOTALITY GRID
   ========================================================================== */
.verticals-master-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.vertical-card-unit {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    text-align: left;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
}

.vertical-card-unit:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--theme-primary);
}

.vertical-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--theme-primary-light);
    color: var(--theme-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.vertical-card-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: var(--bg-surface);
    color: var(--text-muted);
}

.vertical-card-unit h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.vertical-card-unit p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.vertical-card-action {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--theme-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    text-decoration: none;
}

/* ==========================================================================
   PRIMARY SECTION: AIRNEST TRAVEL, VENUES & SALARY PROTOCOL
   ========================================================================== */
.section-full-wrapper,
.content-section-wrap {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-head-center,
.section-headline-center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3.5rem;
}

.section-kicker-tag,
.section-badge-category {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--theme-primary);
    background: var(--theme-primary-light);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 0.75rem;
}

.section-main-title,
.section-title-large {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.5px;
    margin-bottom: 0.85rem;
}

.section-subtitle-copy,
.section-description-text {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.7;
}

.airnest-duo-grid,
.airnest-duo-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* SALARY SIMULATOR CONSOLE */
.salary-simulator-card,
.salary-console-clean {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 2.2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.simulator-top-bar,
.console-heading-strip {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    gap: 10px;
}

.simulator-top-bar h3,
.console-heading-strip h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-heading);
}

.simulator-top-bar p,
.console-heading-strip p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.badge-live-tag,
.badge-live-calculation {
    background: var(--theme-green-light);
    color: var(--theme-green);
    border: 1px solid var(--theme-green-border);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-block;
}

.slider-lane-box,
.slider-container-box {
    margin-bottom: 2rem;
}

.slider-meta-row,
.slider-top-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.slider-meta-title,
.slider-label-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
}

.slider-meta-number,
.slider-count-number {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--theme-primary);
}

.clean-input-range,
.native-rail-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: var(--border-medium);
    outline: none;
    cursor: pointer;
}

.clean-input-range::-webkit-slider-thumb,
.native-rail-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--theme-primary);
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 82, 204, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.clean-input-range::-webkit-slider-thumb:hover,
.native-rail-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.slider-ladder-marks,
.slider-ticks-ladder {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* THREE STAT METRIC BOXES */
.salary-metrics-triad,
.salary-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.75rem;
}

.metric-unit-cell,
.metric-cell-card {
    text-align: center;
    border-right: 1px solid var(--border-light);
}

.metric-unit-cell:last-child,
.metric-cell-card:last-child {
    border-right: none;
}

.metric-unit-label,
.metric-cell-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
}

.metric-unit-val,
.metric-cell-value {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-heading);
}

.metric-unit-badge,
.metric-level-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    background: var(--theme-primary);
    color: #ffffff;
}

.salary-notice-banner,
.salary-explanation-box {
    background: var(--theme-primary-light);
    border: 1px solid var(--theme-primary-border);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.4rem;
    font-size: 0.92rem;
    color: var(--text-heading);
    line-height: 1.65;
}

/* SALARY TABLE STRUCTURE */
.salary-table-box,
.salary-table-card {
    margin-top: 3.5rem;
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.table-head-strip,
.table-title-header {
    padding: 1.25rem 1.75rem;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.table-head-strip h4,
.table-title-header h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
}

.clean-tabular-data,
.rail-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.clean-tabular-data th,
.rail-data-table th {
    text-align: left;
    padding: 14px 18px;
    background: #ffffff;
    color: var(--text-muted);
    font-weight: 700;
    border-bottom: 2px solid var(--border-light);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clean-tabular-data td,
.rail-data-table td {
    padding: 15px 18px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-body);
    font-weight: 500;
}

.clean-tabular-data tr:hover td,
.rail-data-table tr:hover td {
    background: var(--bg-surface);
}

/* MULTI-VERTICAL FRANCHISE SIMULATOR */
.vertical-pill-choice {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-medium);
    background: var(--bg-surface);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-heading);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.vertical-pill-choice:hover {
    border-color: var(--theme-primary);
    background: #ffffff;
}

.vertical-pill-choice.active {
    border-color: var(--theme-primary);
    background: var(--theme-primary-light);
    color: var(--theme-primary);
}

/* ==========================================================================
   PARTNER DASHBOARD SECTION (AUTHENTIC FULL FEATURED WORKING DESK)
   ========================================================================== */
.partner-desk-section,
.dashboard-full-section {
    background: #ffffff;
    border-top: 2px solid var(--theme-primary);
    padding: 4.5rem 2rem;
    border-bottom: 1px solid var(--border-light);
}

.desk-container-max,
.dashboard-max-bounds {
    max-width: 1400px;
    margin: 0 auto;
}

.desk-profile-strip,
.dash-profile-card {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-navy) 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    flex-wrap: wrap;
    gap: 15px;
}

.desk-profile-left,
.profile-identity-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.desk-avatar-icon,
.profile-avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--theme-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    flex-shrink: 0;
}

.desk-meta-info h3,
.profile-details-wrap h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
}

.desk-chips-row,
.profile-tags-cluster {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.desk-chip,
.profile-chip {
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-desk-withdraw,
.btn-withdraw-action {
    background: #ffffff;
    color: var(--theme-primary);
    border: none;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.btn-desk-withdraw:hover,
.btn-withdraw-action:hover {
    background: var(--bg-surface);
    transform: translateY(-1px);
}

/* 4 METRIC TILES */
.desk-kpi-quad,
.dashboard-kpi-quad {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.desk-tile-card,
.kpi-tile-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition);
}

.desk-tile-card:hover,
.kpi-tile-card:hover {
    border-color: var(--theme-primary);
    box-shadow: var(--shadow-sm);
}

.desk-tile-head,
.kpi-tile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.desk-tile-label,
.kpi-tile-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.desk-tile-value,
.kpi-tile-amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-heading);
}

.desk-tile-sub,
.kpi-tile-sub {
    font-size: 0.82rem;
    color: var(--text-body);
    margin-top: 4px;
}

/* DASHBOARD INTERNAL TABS */
.desk-tabs-bar,
.dashboard-tabs-strip {
    display: flex;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.75rem;
    overflow-x: auto;
}

.desk-tab-btn,
.dash-tab-pill {
    padding: 10px 20px;
    background: none;
    border: none;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.desk-tab-btn.active,
.dash-tab-pill.active {
    color: var(--theme-primary);
}

.desk-tab-btn.active::after,
.dash-tab-pill.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--theme-primary);
}

.desk-pane,
.dash-view-pane {
    display: none;
}

.desk-pane.active,
.dash-view-pane.active {
    display: block;
}

/* ==========================================================================
   AUTHENTIC AUTH MODAL (LOGIN & REGISTRATION - NO DB REQUIRED)
   ========================================================================== */
.auth-modal-mask,
.auth-overlay-dialog {
    position: fixed;
    inset: 0;
    background: rgba(10, 37, 64, 0.65);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.auth-modal-mask.open,
.auth-overlay-dialog.open {
    display: flex;
}

.auth-card-unit,
.auth-window-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 440px;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid var(--border-medium);
}

.auth-card-top,
.auth-window-header {
    background: var(--theme-navy);
    color: #ffffff;
    padding: 1.25rem 1.75rem;
    position: relative;
}

.auth-card-top h3,
.auth-window-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}

.auth-card-top p,
.auth-window-header p {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-top: 2px;
}

.auth-x-btn,
.auth-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.auth-x-btn:hover,
.auth-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.auth-tab-switch,
.auth-tab-bar {
    display: flex;
    border-bottom: 1px solid var(--border-light);
}

.auth-tab-btn,
.auth-switch-btn {
    flex: 1;
    padding: 0.85rem;
    background: var(--bg-surface);
    border: none;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-body);
    cursor: pointer;
    transition: var(--transition);
}

.auth-tab-btn.active,
.auth-switch-btn.active {
    background: #ffffff;
    color: var(--theme-primary);
    border-bottom: 2px solid var(--theme-primary);
}

.auth-form-content,
.auth-form-fields {
    padding: 1.75rem;
}

.auth-field-row,
.auth-input-group {
    margin-bottom: 1.1rem;
}

.auth-field-row label,
.auth-input-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-heading);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.auth-field-row input,
.auth-input-group input {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-medium);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-heading);
    outline: none;
    transition: var(--transition);
}

.auth-field-row input:focus,
.auth-input-group input:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 2px var(--theme-primary-light);
}

.btn-submit-action,
.btn-auth-submit {
    width: 100%;
    padding: 0.9rem;
    border-radius: var(--radius-sm);
    background: var(--theme-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit-action:hover,
.btn-auth-submit:hover {
    background: var(--theme-primary-hover);
}

/* ==========================================================================
   CONCIERGE & MOBILE BOTTOM APP BAR
   ========================================================================== */
.concierge-pill-dock,
.concierge-pill-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    background: var(--theme-primary);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    border: none;
    font-weight: 700;
    font-size: 0.92rem;
    transition: var(--transition);
}

.concierge-pill-dock:hover,
.concierge-pill-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.concierge-chat-window,
.concierge-dialog-box {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    width: 380px;
    max-width: calc(100vw - 2rem);
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.concierge-chat-window.open,
.concierge-dialog-box.open {
    display: flex;
}

.chat-window-head,
.concierge-head {
    padding: 1rem 1.25rem;
    background: var(--theme-navy);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-dialog-area,
.concierge-body {
    padding: 1.25rem;
    max-height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.chat-msg-bubble,
.chat-bubble-clean {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    line-height: 1.55;
    max-width: 90%;
}

.chat-msg-bubble.bot,
.chat-bubble-clean.bot {
    background: var(--bg-surface);
    color: var(--text-heading);
    align-self: flex-start;
}

.chat-msg-bubble.user,
.chat-bubble-clean.user {
    background: var(--theme-primary);
    color: #ffffff;
    align-self: flex-end;
}

.chat-prompts-tray,
.concierge-quick-queries {
    padding: 0.85rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--border-light);
}

.chat-prompt-pill,
.quick-q-pill {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-heading);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.chat-prompt-pill:hover,
.quick-q-pill:hover {
    background: var(--theme-primary-light);
    color: var(--theme-primary);
}

/* MOBILE NATIVE BOTTOM APP BAR */
.mobile-app-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #ffffff;
    border-top: 1px solid var(--border-medium);
    z-index: 998;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.mobile-app-link,
.mobile-app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    transition: var(--transition);
}

.mobile-app-link.active,
.mobile-app-link:hover,
.mobile-app-item.active,
.mobile-app-item:hover {
    color: var(--theme-primary);
}

/* ==========================================================================
   ENTERPRISE FOOTER
   ========================================================================== */
.site-master-footer,
.site-footer-balanced {
    background: var(--theme-navy-dark);
    color: #e2e8f0;
    padding: 4.5rem 2rem 2.5rem;
    border-top: 3px solid var(--theme-primary);
}

.footer-inner-grid,
.footer-inner-bounds {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand-blurb p,
.footer-brand-summary p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-nav-col h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-nav-links,
.footer-links-group {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-nav-links a,
.footer-links-group a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-nav-links a:hover,
.footer-links-group a:hover {
    color: #ffffff;
}

.footer-bottom-line,
.footer-legal-bar {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 10px;
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE VIEWPORT PERFECTION
   ========================================================================== */
@media (max-width: 1100px) {
    .verticals-master-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .search-inputs-grid,
    .rail-form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .airnest-duo-grid,
    .airnest-duo-layout {
        grid-template-columns: 1fr;
    }
    .desk-kpi-quad,
    .dashboard-kpi-quad {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-inner-grid,
    .footer-inner-bounds {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }

    /* Clean, non-overlapping mobile header */
    .header-container,
    .header-inner {
        padding: 0.65rem 1rem;
        gap: 8px;
    }
    .brand-title,
    .brand-logo-name {
        font-size: 1.3rem;
    }
    .brand-subtitle,
    .brand-tagline {
        display: none !important; /* Prevents awkward 3-line wrap seen on mobile */
    }
    .header-action-dock,
    .header-action-buttons {
        gap: 6px;
    }
    .btn-login-outline,
    .btn-auth-outline {
        padding: 0.45rem 0.75rem;
        font-size: 0.82rem;
    }
    .btn-dashboard-main,
    .btn-primary-action {
        padding: 0.45rem 0.85rem;
        font-size: 0.82rem;
    }

    .top-nav-bar,
    .top-utility-bar,
    .nav-links-menu,
    .header-nav-menu {
        display: none;
    }
    .mobile-app-bar {
        display: flex;
    }
    .verticals-master-grid {
        grid-template-columns: 1fr;
    }
    .search-inputs-grid,
    .rail-form-grid,
    .salary-metrics-triad,
    .salary-metrics-row,
    .desk-kpi-quad,
    .dashboard-kpi-quad {
        grid-template-columns: 1fr;
    }
    .metric-unit-cell,
    .metric-cell-card {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 0.75rem;
    }
    .desk-profile-strip,
    .dash-profile-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .footer-inner-grid,
    .footer-inner-bounds {
        grid-template-columns: 1fr;
    }
    .hero-title,
    .hero-main-heading {
        font-size: 2.1rem;
    }
    .section-full-wrapper,
    .content-section-wrap {
        padding: 3rem 1.25rem;
    }
    .concierge-pill-dock,
    .concierge-pill-button {
        bottom: 5rem;
        right: 1.25rem;
    }
}
