/* =========================================================
   Liberty Fly – Theme Override (Public + Member)
   Driver: body[data-pc-theme="light"|"dark"] (Flatable)
   ========================================================= */

/* ================================
   1) Palette (theme-aware)
   ================================ */

/* Light mode (default) */
:root{
    /* Brand */
    --lf-primary: #0C1F3F;               /* Navy */
    --lf-primary-rgb: 12, 31, 63;

    --lf-primary-hover: #09162d;
    --lf-primary-hover-rgb: 9, 22, 45;

    --lf-silver: #A8A8A8;
    --lf-gold: #CFA256;

    /* Neutrals — soft off-white to reduce eye strain */
    --lf-text: #1a2233;
    --lf-text-secondary: #3a4a5a;
    --lf-muted: #5a6370;
    --lf-label: #5a6a7a;
    --lf-separator: #d0dae8;
    --lf-border-rgb: 12, 31, 63;
    --lf-surface: #f4f5f9;
    --lf-surface-2: #eaecf2;

    /* Map to template variables */
    --pc-primary: var(--lf-primary);
    --pc-primary-rgb: var(--lf-primary-rgb);
}

/* Dark mode */
body[data-pc-theme="dark"]{
    /* Brand – lighter for contrast on dark surfaces */
    --lf-primary: #8FB6FF;
    --lf-primary-rgb: 143, 182, 255;

    --lf-primary-hover: #6d9cff;
    --lf-primary-hover-rgb: 109, 156, 255;

    /* Neutrals — brighter text for readability */
    --lf-text: #f1f4fb;
    --lf-text-secondary: #e0e6ed;
    --lf-muted: #bcc5d4;
    --lf-label: #8a9aaa;
    --lf-separator: #1a2030;
    --lf-border-rgb: 143, 182, 255;
    --lf-surface: #131c2e;
    --lf-surface-2: #182842;

    --pc-primary: var(--lf-primary);
    --pc-primary-rgb: var(--lf-primary-rgb);
}

/* ================================
   1b) Body overrides (comfort & contrast)
   ================================ */

/* Light — soft background, larger text, better readability */
body[data-pc-theme="light"],
body:not([data-pc-theme]){
    --bs-body-bg: var(--lf-surface);
    --bs-body-bg-rgb: 244, 245, 249;
    --bs-body-color: var(--lf-text);
    --bs-body-color-rgb: 26, 34, 51;
    --bs-body-font-size: 0.938rem;   /* 15px instead of 14px */
    --bs-body-font-weight: 430;
    background-color: var(--lf-surface) !important;
    color: var(--lf-text) !important;
}

/* Dark — brighter text */
body[data-pc-theme="dark"]{
    --bs-body-bg: var(--lf-surface);
    --bs-body-bg-rgb: 19, 28, 46;
    --bs-body-color: var(--lf-text);
    --bs-body-color-rgb: 241, 244, 251;
    background-color: var(--lf-surface) !important;
    color: var(--lf-text) !important;
}

/* ================================
   1c) Links (theme-aware)
   ================================ */

body[data-pc-theme="light"] a:not(.btn):not(.nav-link):not(.pc-link),
body:not([data-pc-theme]) a:not(.btn):not(.nav-link):not(.pc-link){
    color: #0C1F3F;
}
body[data-pc-theme="light"] a:not(.btn):not(.nav-link):not(.pc-link):hover,
body:not([data-pc-theme]) a:not(.btn):not(.nav-link):not(.pc-link):hover{
    color: #1a5276;
}

/* ================================
   1d) Light mode polish (inputs, tables, transitions)
   ================================ */

/* Smooth theme transitions */
body, .card, .stats-panel, .dash-quick-link, .lb-tab{
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}

/* Light inputs — softer borders, subtle focus */
body[data-pc-theme="light"] .form-control,
body:not([data-pc-theme]) .form-control,
body[data-pc-theme="light"] .form-select,
body:not([data-pc-theme]) .form-select{
    background-color: #ffffff;
    border-color: #d0d8e4;
    color: var(--lf-text);
}
body[data-pc-theme="light"] .form-control:focus,
body:not([data-pc-theme]) .form-control:focus,
body[data-pc-theme="light"] .form-select:focus,
body:not([data-pc-theme]) .form-select:focus{
    border-color: #8fb6ff;
    box-shadow: 0 0 0 .2rem rgba(12,31,63,.08);
}

/* Light tables — cleaner rows */
body[data-pc-theme="light"] .table,
body:not([data-pc-theme]) .table{
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(12,31,63,.02);
    --bs-table-hover-bg: rgba(12,31,63,.04);
    color: var(--lf-text);
}

/* Light alerts — softer */
body[data-pc-theme="light"] .alert-info,
body:not([data-pc-theme]) .alert-info{
    background-color: #e8f0fe;
    border-color: #c8ddf8;
    color: #1a3a5c;
}
body[data-pc-theme="light"] .alert-warning,
body:not([data-pc-theme]) .alert-warning{
    background-color: #fef8e8;
    border-color: #f8e8c0;
    color: #5a4a1a;
}

/* Light header — clean white bar */
body[data-pc-theme="light"] .pc-header,
body:not([data-pc-theme]) .pc-header{
    background: rgba(255,255,255,.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e0e6ee;
}

/* ================================
   2) Buttons (brand)
   ================================ */

.btn{
    border-radius: 8px;
}
.btn-primary{
    background-color: var(--lf-primary) !important;
    border-color: var(--lf-primary) !important;
    color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus{
    background-color: var(--lf-primary-hover) !important;
    border-color: var(--lf-primary-hover) !important;
}

.btn-outline-primary{
    color: var(--lf-primary) !important;
    border-color: rgba(var(--lf-primary-rgb), .35) !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus{
    background-color: rgba(var(--lf-primary-rgb), .12) !important;
    border-color: var(--lf-primary) !important;
    color: var(--lf-primary) !important;
}

/* Accent (Gold) – useful for secondary CTAs */
.btn-accent,
.btn-warning{
    background-color: var(--lf-gold) !important;
    border-color: var(--lf-gold) !important;
    color: #0b1220 !important;
}
.btn-accent:hover,
.btn-warning:hover{
    filter: brightness(0.95);
}

/* Focus ring (accessibility) */
.btn:focus,
.btn:focus-visible,
.pc-link:focus,
.pc-link:focus-visible{
    box-shadow: 0 0 0 .2rem rgba(207, 162, 86, .25) !important;
}

/* ================================
   3) Cards / borders / text
   ================================ */

/* Cards: white in light mode, elevated surface in dark mode */
.card{
    border-color: rgba(var(--lf-border-rgb), .12) !important;
    background-color: var(--lf-surface-2) !important;
    border-radius: 10px !important;
}
body[data-pc-theme="light"] .card,
body:not([data-pc-theme]) .card{
    background-color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04) !important;
}
body[data-pc-theme="light"] .card:hover,
body:not([data-pc-theme]) .card:hover{
    box-shadow: 0 2px 8px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.05) !important;
}
.card-header{
    border-bottom-color: rgba(var(--lf-border-rgb), .12) !important;
}

.text-muted{
    color: var(--lf-muted) !important;
}

.badge.bg-primary{
    background-color: var(--lf-primary) !important;
}

/* ================================
   4) Sidebar / menu (Flatable)
   ================================ */

.pc-navbar .pc-link:hover{
    color: var(--lf-primary) !important;
}

.pc-navbar > .pc-item.active > .pc-link,
.pc-navbar > .pc-item > .pc-link.active{
    color: var(--lf-primary) !important;
    background: rgba(var(--lf-primary-rgb), .10) !important;
    border-bottom: 2px solid rgba(207, 162, 86, .85) !important; /* gold underline */
}

.pc-caption label{
    color: rgba(var(--lf-primary-rgb), .65) !important;
}

/* Header offset (avoid hardcoding when topnav-only) */
@media (min-width: 992px){
    body:not(.lf-topnav-only) .pc-header{
        left: 330px;
    }
}

/* ================================
   5) RP / Level badges
   ================================ */

.lf-badge-category{
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lf-badge-humanitarian_ops { background-color: #e74c3c; }
.lf-badge-exploration_ops  { background-color: #1abc9c; }
.lf-badge-cargo_ops        { background-color: #f39c12; }
.lf-badge-bush_ops         { background-color: #27ae60; }
.lf-badge-vip_ops          { background-color: #9b59b6; }
.lf-badge-coastal_ops      { background-color: #2980b9; }
.lf-badge-mountain_ops     { background-color: #95a5a6; }
.lf-badge-historical_ops   { background-color: #d35400; }

.lf-level-badge{
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
}
.lf-level-0 { background-color: #343a40; }
.lf-level-1 { background-color: #0d6efd; }
.lf-level-2 { background-color: #20c997; }
.lf-level-3 { background-color: #ffc107; color: #000; }
.lf-level-4 { background-color: #fd7e14; }
.lf-level-5 { background-color: #dc3545; }

/* ================================
   6) Logos (theme switch)
   ================================ */

.lf-logo-dark{ display:none; }
body[data-pc-theme="dark"] .lf-logo-light{ display:none; }
body[data-pc-theme="dark"] .lf-logo-dark{ display:inline-block; }

/* ================================
   7) Map / Live Map
   ================================ */

#lf-map{
    position: relative;
    overflow: hidden;
    width: 100%;
    /* One source of truth: responsive height, capped */
    height: clamp(520px, 50vh, 800px);
    border-radius: 12px;
}

/* Scanlines overlay */
#lf-map::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background: repeating-linear-gradient(
            to bottom,
            rgba(255,255,255,0.03),
            rgba(255,255,255,0.03) 1px,
            rgba(0,0,0,0.00) 3px,
            rgba(0,0,0,0.00) 6px
    );
    mix-blend-mode: overlay;
    opacity: .25;
    z-index: 500;
}

/* Vignette overlay */
#lf-map::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background: radial-gradient(circle at center,
    rgba(0,0,0,0.00) 55%,
    rgba(0,0,0,0.35) 100%
    );
    opacity: .35;
    z-index: 501;
}

body[data-pc-theme="dark"] #lf-map::before{ opacity:.18; }
body[data-pc-theme="dark"] #lf-map::after{ opacity:.45; }

/* Live map table */
#lf-flights-table thead th{ background: var(--bs-body-bg); }
tr.is-selected td{ background: rgba(var(--bs-primary-rgb), .12) !important; }

.lf-scroll{
    max-height: 360px;
    overflow: auto;
    border-radius: .75rem;
}

.lf-age-stale{ opacity:.9; }

/* Markers coloring */
.marker-plane svg,
.marker-plane svg *{
    fill: var(--bs-primary) !important;
    stroke: var(--bs-primary) !important;
}
.marker-parked svg,
.marker-parked svg *{
    fill: var(--bs-warning) !important;
    stroke: var(--bs-warning) !important;
}

/* ACARS signal halo on markers */
.leaflet-marker-icon.lf-sig-ok{ filter: drop-shadow(0 0 6px rgba(var(--bs-success-rgb), .70)); }
.leaflet-marker-icon.lf-sig-weak{ filter: drop-shadow(0 0 6px rgba(var(--bs-warning-rgb), .75)); }
.leaflet-marker-icon.lf-sig-stale{ filter: drop-shadow(0 0 6px rgba(var(--bs-danger-rgb), .75)); }

/* Filter / sort group */
.lf-filter{ min-width: 420px; }
@media (max-width: 768px){ .lf-filter{ min-width: 100%; } }
@media (max-width: 576px){ #lf-flights-table{ font-size: .9rem; } }

/* Active button in filters */
.btn.lf-active{
    background:#111;
    border-color:#111;
    color:#fff;
}
body[data-pc-theme="dark"] .btn.lf-active{
    background:#eee;
    color:#000;
    border-color:#eee;
}

/* ================================
   8) Flight panel / leaderboard highlight
   ================================ */

#lf-flight-panel-wrap{
    overflow:hidden;
    max-height:0;
    opacity:0;
    transform: translateY(-6px);
    transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
}
#lf-flight-panel-wrap.is-open{
    max-height:520px;
    opacity:1;
    transform: translateY(0);
}

.lb-me{ background: rgba(13,110,253,.10); }
.lb-me td{ font-weight: 600; }

/* ================================
   9) Pills / Profile helpers
   ================================ */

.lf-hero{
    background: color-mix(in srgb, var(--bs-body-bg) 92%, var(--bs-primary) 8%);
}
body[data-pc-theme="dark"] .lf-hero{
    background: color-mix(in srgb, var(--bs-body-bg) 88%, var(--bs-primary) 12%);
}

/* One canonical lf-pill */
.lf-pill{
    display:inline-flex;
    align-items:center;
    gap:.35rem;
    padding:6px 10px;
    border-radius:999px;
    border:1px solid color-mix(in srgb, var(--bs-border-color) 75%, transparent);
    background: color-mix(in srgb, var(--bs-body-bg) 96%, var(--bs-secondary) 4%);
    font-size:.85rem;
    line-height:1;
}

/* ================================
   10) Awards (grid + tiles)
   ================================ */

.lf-awards-grid{
    display:grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: .75rem;
}
@media (min-width: 768px){
    .lf-awards-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px){
    .lf-awards-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.lf-award-tile{
    background: color-mix(in srgb, var(--bs-body-bg) 98%, var(--bs-secondary) 2%);
}
body[data-pc-theme="dark"] .lf-award-tile{
    background: color-mix(in srgb, var(--bs-body-bg) 92%, var(--bs-secondary) 8%);
}

/* New award tile style (profile) */
.award-tile{
    border: 0;
    transition: transform .12s ease, box-shadow .12s ease;
}
.award-tile:hover{
    transform: translateY(-2px);
}

.award-media{
    width: 120px;
    height: 120px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius: 12px;
}
.award-media img{
    width:100%;
    height:100%;
    object-fit: cover;
}
.award-title{
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.15;
}
.award-date{
    margin-top: 2px;
    font-size: .8rem;
    opacity: .7;
}

/* ================================
   11) METAR widget wrapper
   ================================ */

.metar-widget{
    padding: 1rem;
    background: var(--bs-body-bg);
    border-radius: .5rem;
}

body[data-pc-theme="light"] .metar-widget{
    background: #fff3cd;
}
body[data-pc-theme="dark"] .metar-widget{
    background: #262d38;
}

/* ================================
   12) Topbar + env banner + layout fixes
   ================================ */

/* Horizontal header: allow overflow (no invisible items) */
.pc-header .pc-navbar{ overflow: visible; }

/* Topbar sticky, compatible env banner */
header.lf-topbar{
    position: sticky;
    z-index: 1020;
    background: var(--pc-sidebar-background);
    border-bottom: var(--pc-sidebar-border);
    box-shadow: var(--pc-sidebar-shadow);
}

/* Brand row follows sidebar background */
header.lf-topbar .lf-brand-row{
    background: var(--pc-sidebar-background);
}

/* Navbar row */
header.lf-topbar .navbar{
    background: var(--pc-sidebar-background) !important;
}

/* Links */
header.lf-topbar .navbar .nav-link,
header.lf-topbar .navbar .navbar-brand{
    color: var(--pc-sidebar-color) !important;
    font-size: 14px;
    font-weight: 400;
}

/* Icons inherit nav text color (DO NOT override globally) */
header.lf-topbar .navbar .nav-link i{
    color: inherit;
    font-size: 18px;
    vertical-align: -1px;
}

header.lf-topbar .navbar .nav-link{
    padding: 10px 14px;
    border-radius: var(--bs-border-radius);
}

header.lf-topbar .navbar .nav-link:hover{
    color: #fff !important;
    background: rgba(var(--pc-sidebar-color-rgb), 0.15);
    text-decoration: none;
}

/* Active menu – Liberty Fly bronze underline */
header.lf-topbar .navbar .nav-link.active{
    background: rgba(var(--lf-primary-rgb), .10) !important;
    color: var(--lf-primary) !important;
    border-bottom: 2px solid var(--lf-gold) !important;
    border-radius: 0;
}

/* Dropdown */
header.lf-topbar .dropdown-menu{
    background: var(--pc-sidebar-background);
    border: var(--pc-sidebar-border);
    box-shadow: var(--pc-sidebar-shadow);
    border-radius: var(--bs-border-radius);
    padding: 8px;
}

header.lf-topbar .dropdown-item{
    color: var(--pc-sidebar-color);
    font-size: 14px;
    border-radius: var(--bs-border-radius);
    padding: 10px 12px;
}
header.lf-topbar .dropdown-item:hover,
header.lf-topbar .dropdown-item:focus{
    background: rgba(var(--pc-sidebar-color-rgb), 0.12);
    color: var(--pc-sidebar-color);
}
header.lf-topbar .dropdown-item.active{
    background: var(--pc-sidebar-active-color);
    color: #fff;
}

/* Toggler (mobile) */
header.lf-topbar .navbar-toggler{
    border-color: rgba(var(--pc-sidebar-color-rgb), 0.25);
}
header.lf-topbar .navbar-toggler-icon{
    filter: invert(1);
}

/* Icon buttons (notif/darkmode) */
header.lf-topbar .lf-icon-btn{
    border: none !important;
    background: transparent !important;
    color: var(--pc-sidebar-color) !important;
    padding: 8px 10px;
    border-radius: var(--bs-border-radius);
    box-shadow: none !important;
}
header.lf-topbar .lf-icon-btn:hover{
    background: rgba(var(--pc-sidebar-color-rgb), 0.12) !important;
    color: #fff !important;
}
header.lf-topbar .lf-icon-btn:focus{
    outline: none !important;
    box-shadow: none !important;
}
header.lf-topbar .lf-icon-btn:focus-visible{
    outline: 2px solid rgba(var(--pc-sidebar-color-rgb), 0.35);
    outline-offset: 2px;
}

/* Layout without sidebar */
body.lf-topnav-only .pc-container,
body.lf-topnav-only .pc-content,
body.lf-topnav-only .pc-wrapper,
body.lf-topnav-only .pc-main-container,
body.lf-topnav-only .pc-footer{
    margin-left: 0 !important;
}
body.lf-topnav-only .pc-container{
    padding-left: 0 !important;
}

/* Env banner */
body.has-env-banner{ --env-banner-h: 36px; }

#env-banner{
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--env-banner-h);
    line-height: var(--env-banner-h);
    z-index: 99999;
    background: #b00020;
    color: #fff;
    text-align: center;
    font-weight: 700;
}

/* Header lowered when env banner is present */
body.has-env-banner header.lf-topbar{ top: var(--env-banner-h) !important; }

/* Push main containers down */
body.has-env-banner .pc-container,
body.has-env-banner .pc-main-container,
body.has-env-banner .pc-content,
body.has-env-banner .pc-wrapper,
body.has-env-banner .pc-sidebar,
body.has-env-banner .pc-body{
    padding-top: var(--env-banner-h);
}
@media (max-width: 991.98px){
    body.has-env-banner .pc-container,
    body.has-env-banner .pc-main-container,
    body.has-env-banner .pc-content,
    body.has-env-banner .pc-wrapper,
    body.has-env-banner .pc-sidebar,
    body.has-env-banner .pc-body{
        padding-top: var(--env-banner-h);
    }
}

/* ================================
   13) Home – Hero banner
   ================================ */

.hero-banner{
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    padding: 60px 40px;
}
.hero-banner::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            90deg,
            rgba(10, 20, 40, 0.85) 0%,
            rgba(10, 20, 40, 0.75) 40%,
            rgba(10, 20, 40, 0.35) 70%,
            rgba(10, 20, 40, 0.15) 100%
    );
}
.hero-content{
    position: relative;
    z-index: 2;
    max-width: 600px;
}

/* ================================
   14) Home – World Ops panel + flags
   ================================ */

.fi,
.avatar .fi{
    width: 22px;
    height: 16px;
    border-radius: 3px;
}

.ops-region{
    background: linear-gradient(135deg, rgba(30,40,70,.55), rgba(20,30,55,.85));
    border-radius: 14px;
    padding: 14px;
    min-height: 100%;
}
.ops-region-title{
    font-weight: 700;
    font-size: .95rem;
    opacity: .85;
    margin-bottom: 10px;
    letter-spacing: .2px;
}
.ops-city{ padding: 6px 0; }
.ops-city-time{ margin-top: 6px; }
.ops-city-time .clock{
    display: inline-block;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
}
.ops-sep{ margin: 10px 0; opacity: .15; }

.ops-daynight{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:18px;height:18px;
    border-radius:999px;
    font-size:12px;
    opacity:.9;
}
.ops-daynight.is-day{ background: rgba(255,200,0,.18); color: #ffd36a; }
.ops-daynight.is-night{ background: rgba(120,160,255,.16); color: #9fc2ff; }

/* ================================
   15) FIDS — Airport Departure Board
   ================================ */

.fids-board{
    background: #111827;
    border-radius: 12px;
    border: 1px solid #243350;
    overflow: hidden;
    font-family: 'Share Tech Mono', monospace;
    position: relative;
}

/* Scanlines overlay */
.fids-board::after{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.02) 0px,
        rgba(255,255,255,0.02) 1px,
        transparent 1px,
        transparent 3px
    );
    z-index: 1;
}

.fids-header{
    background: linear-gradient(135deg, #0c1a2e, #132744);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #1a3050;
}

.fids-header-title{
    color: #ffbf00;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.fids-header-clock{
    color: #ffbf00;
    font-size: 1rem;
    letter-spacing: 1px;
    opacity: .85;
}

.fids-columns{
    display: grid;
    grid-template-columns: 100px 1fr 1fr 80px 70px 60px 90px 90px;
    padding: 10px 20px;
    background: #152030;
    border-bottom: 1px solid #243350;
    gap: 8px;
    align-items: center;
}

.fids-col-head{
    color: #6a8aaa;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
}

.fids-body{
    position: relative;
    z-index: 2;
}

.fids-row{
    display: grid;
    grid-template-columns: 100px 1fr 1fr 80px 70px 60px 90px 90px;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255,255,255,.04);
    gap: 8px;
    align-items: center;
    transition: background .15s ease;
}

.fids-row:hover{
    background: rgba(255,191,0,.04);
}

.fids-row:last-child{
    border-bottom: none;
}

.fids-row.is-inactive{
    opacity: .4;
}

/* Cell styles */
.fids-flight{
    color: #ffbf00;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: 1px;
}

.fids-airport{
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.fids-icao{
    color: #ffffff;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.fids-icao a{
    color: #ffffff;
    text-decoration: none;
}
.fids-icao a:hover{
    color: #ffbf00;
    text-decoration: underline;
}

.fids-city{
    color: #6a8aaa;
    font-size: .65rem;
    letter-spacing: .5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

.fids-aircraft{
    color: #ffbf00;
    font-size: .8rem;
    opacity: .75;
    letter-spacing: .5px;
}

.fids-dist{
    color: #7a8a9a;
    font-size: .8rem;
    text-align: right;
    letter-spacing: .5px;
}

.fids-rp{
    text-align: right;
}

.fids-rp-badge{
    display: inline-block;
    background: rgba(0,230,118,.12);
    color: #00e676;
    font-size: .75rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: .5px;
}

.fids-status{
    text-align: center;
}

.fids-status-open{
    color: #00e676;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.fids-status-suspended{
    color: #ff5252;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.fids-action{
    text-align: center;
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
}

.fids-btn{
    display: inline-block;
    background: transparent;
    color: #ffbf00;
    border: 1px solid rgba(255,191,0,.35);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: .72rem;
    font-family: 'Share Tech Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all .15s ease;
}

.fids-btn:hover{
    background: rgba(255,191,0,.12);
    border-color: #ffbf00;
    color: #ffbf00;
    text-decoration: none;
}
.fids-btn--flight{
    padding: 4px 8px;
    margin-left: 4px;
    font-size: .82rem;
}

.fids-empty{
    padding: 40px 20px;
    text-align: center;
    color: #6a8aaa;
    font-size: .9rem;
    letter-spacing: 1px;
}

.fids-count{
    padding: 10px 20px;
    text-align: right;
    color: #5a7a9a;
    font-size: .7rem;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255,255,255,.04);
}

/* Responsive: stack on mobile */
@media (max-width: 991.98px){
    .fids-columns{
        grid-template-columns: 80px 1fr 1fr 70px 60px 50px 70px 70px;
        padding: 8px 12px;
        gap: 4px;
    }
    .fids-row{
        grid-template-columns: 80px 1fr 1fr 70px 60px 50px 70px 70px;
        padding: 8px 12px;
        gap: 4px;
    }
    .fids-city{ max-width: 120px; }
}

@media (max-width: 767.98px){
    .fids-columns{ display: none; }
    .fids-row{
        display: flex;
        flex-wrap: wrap;
        gap: 6px 12px;
        padding: 12px 16px;
    }
    .fids-flight{ flex: 0 0 auto; }
    .fids-airport{ flex: 1 1 45%; }
    .fids-aircraft{ flex: 0 0 auto; }
    .fids-dist{ flex: 0 0 auto; text-align: left; }
    .fids-rp{ flex: 0 0 auto; text-align: left; }
    .fids-status{ flex: 0 0 auto; text-align: left; }
    .fids-action{ flex: 0 0 100%; text-align: left; margin-top: 4px; }
    .fids-city{ max-width: 160px; }
}

/* FIDS – Missions variant (wider title, difficulty column) */
.fids-board--missions .fids-columns,
.fids-board--missions .fids-row{
    grid-template-columns: 110px 1.5fr 1fr 1fr 80px 70px 80px 90px;
}

.fids-difficulty{
    display: flex;
    gap: 3px;
    align-items: center;
}

.fids-diff-dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,191,0,.2);
    border: 1px solid rgba(255,191,0,.25);
}
.fids-diff-dot.is-filled{
    background: #ffbf00;
    border-color: #ffbf00;
    box-shadow: 0 0 4px rgba(255,191,0,.3);
}

.fids-title{
    color: #c8d8e8;
    font-size: .8rem;
    letter-spacing: .3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 991.98px){
    .fids-board--missions .fids-columns,
    .fids-board--missions .fids-row{
        grid-template-columns: 90px 1.2fr 1fr 1fr 70px 60px 70px 70px;
    }
}

@media (max-width: 767.98px){
    .fids-board--missions .fids-row{
        display: flex;
        flex-wrap: wrap;
    }
    .fids-title{ flex: 1 1 60%; white-space: normal; }
    .fids-difficulty{ flex: 0 0 auto; }
}

/* FIDS – My Flights variant (7 columns, date column) */
.fids-board--myflights .fids-columns,
.fids-board--myflights .fids-row{
    grid-template-columns: 100px 1fr 1fr 80px 100px 60px 100px;
}

.fids-date{
    color: #6a8aaa;
    font-size: .75rem;
    text-align: right;
    letter-spacing: .5px;
    padding-right: 8px;
}

.fids-status-inflight{
    color: #42a5f5;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1px;
    animation: fids-blink 1.5s ease-in-out infinite;
}

.fids-status-planned{
    color: #6a8aaa;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

@keyframes fids-blink{
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

@media (prefers-reduced-motion: reduce){
    .fids-status-inflight{ animation: none; }
}

@media (max-width: 991.98px){
    .fids-board--myflights .fids-columns,
    .fids-board--myflights .fids-row{
        grid-template-columns: 80px 1fr 1fr 70px 85px 50px 85px;
    }
}

@media (max-width: 767.98px){
    .fids-board--myflights .fids-columns{ display: none; }
    .fids-board--myflights .fids-row{
        display: flex;
        flex-wrap: wrap;
        gap: 6px 12px;
    }
    .fids-date{ flex: 0 0 auto; text-align: left; }
}

/* FIDS – My Missions variant (7 columns, progress bar) */
.fids-board--mymissions .fids-columns,
.fids-board--mymissions .fids-row{
    grid-template-columns: 100px 1.5fr 100px 130px 60px 100px 100px;
}

.fids-progress-cell{
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fids-progress-text{
    color: #c8d8e8;
    font-size: .7rem;
    letter-spacing: .5px;
}

.fids-progress-bar-wrap{
    height: 4px;
    background: rgba(255,191,0,.12);
    border-radius: 2px;
    overflow: hidden;
}

.fids-progress-bar-fill{
    height: 100%;
    background: #ffbf00;
    border-radius: 2px;
    transition: width .3s ease;
    box-shadow: 0 0 4px rgba(255,191,0,.25);
}

.fids-last-result{
    color: #6a8aaa;
    font-size: .6rem;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.fids-status-pending{
    color: #ffc107;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

@media (max-width: 991.98px){
    .fids-board--mymissions .fids-columns,
    .fids-board--mymissions .fids-row{
        grid-template-columns: 80px 1.2fr 85px 110px 50px 85px 70px;
    }
}

@media (max-width: 767.98px){
    .fids-board--mymissions .fids-columns{ display: none; }
    .fids-board--mymissions .fids-row{
        display: flex;
        flex-wrap: wrap;
        gap: 6px 12px;
    }
    .fids-progress-cell{ flex: 1 1 50%; }
    .fids-last-result{ display: none; }
}

/* FIDS – ACARS Flights variant (9 columns, with pilot + pagination) */
.fids-board--acarsflights .fids-columns,
.fids-board--acarsflights .fids-row{
    grid-template-columns: 100px 120px 80px 80px 1fr 100px 55px 95px 70px;
}
.fids-pilot{
    color: #d0dae8;
    font-size: .82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fids-pagination{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .6rem 1.2rem;
    border-top: 1px solid #243350;
    background: rgba(10,14,20,.6);
}
.fids-pagination-info{
    font-family: 'Share Tech Mono', monospace;
    font-size: .78rem;
    color: #ffbf00;
    letter-spacing: 1px;
}
.fids-pagination .pagination{
    --bs-pagination-bg: transparent;
    --bs-pagination-border-color: #283a50;
    --bs-pagination-color: #8899aa;
    --bs-pagination-hover-bg: rgba(255,191,0,.12);
    --bs-pagination-hover-border-color: #ffbf00;
    --bs-pagination-hover-color: #ffbf00;
    --bs-pagination-active-bg: #ffbf00;
    --bs-pagination-active-border-color: #ffbf00;
    --bs-pagination-active-color: #111827;
    --bs-pagination-disabled-bg: transparent;
    --bs-pagination-disabled-border-color: #1a2538;
    --bs-pagination-disabled-color: #344a60;
    --bs-pagination-font-size: .78rem;
    font-family: 'Share Tech Mono', monospace;
}

@media (max-width: 991.98px){
    .fids-board--acarsflights .fids-columns,
    .fids-board--acarsflights .fids-row{
        grid-template-columns: 90px 100px 70px 70px 1fr 85px 50px 85px 65px;
    }
}

@media (max-width: 767.98px){
    .fids-board--acarsflights .fids-columns{ display: none; }
    .fids-board--acarsflights .fids-row{
        display: flex;
        flex-wrap: wrap;
        gap: 6px 12px;
    }
    .fids-pilot{ flex: 1 1 40%; }
    .fids-pagination{ flex-direction: column; align-items: flex-start; }
}

/* FIDS – Passenger Routes variant (9 columns, with flights count) */
.fids-board--paxroutes .fids-columns,
.fids-board--paxroutes .fids-row{
    grid-template-columns: 100px 1fr 1fr 80px 70px 60px 65px 100px 90px;
}
.fids-flights-badge{
    display: inline-block;
    background: rgba(255,191,0,.15);
    color: #ffbf00;
    font-family: 'Share Tech Mono', monospace;
    font-size: .78rem;
    padding: 1px 8px;
    border-radius: 3px;
    letter-spacing: 1px;
}

@media (max-width: 991.98px){
    .fids-board--paxroutes .fids-columns,
    .fids-board--paxroutes .fids-row{
        grid-template-columns: 80px 1fr 1fr 70px 60px 50px 55px 85px 70px;
    }
}

@media (max-width: 767.98px){
    .fids-board--paxroutes .fids-columns{ display: none; }
    .fids-board--paxroutes .fids-row{
        display: flex;
        flex-wrap: wrap;
        gap: 6px 12px;
    }
    .fids-flights-count{ flex: 0 0 auto; }
}

/* ================================
   16) CRT — Terminal briefing effect
   ================================ */

.crt-wrapper{
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.crt-bezel{
    background: #151515;
    padding: 1rem;
    border-radius: 14px;
    box-shadow: 0 0 0 1px #111, 0 0 18px rgba(0,0,0,0.9);
}

.crt-label{
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.crt-screen{
    position: relative;
    border-radius: 8px;
    background: radial-gradient(circle at 20% 20%, #141c14 0, #020302 60%);
    border: 1px solid #222;
    overflow: hidden;
}

.crt-content{
    max-height: 52vh;
    overflow: auto;
    padding: 1.2rem 1.4rem;
}

.crt-screen pre{
    margin: 0;
    font-family: "Fira Code","SF Mono",ui-monospace,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
    font-size: 0.82rem;
    line-height: 1.35;
    color: #a7ff9b;
    text-shadow: 0 0 1px rgba(167,255,155,0.7), 0 0 4px rgba(0,255,100,0.35);
    white-space: pre-wrap;
}

/* Scanlines + grid */
.crt-screen::before{
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(to bottom, rgba(0,0,0,0.65) 0px, rgba(0,0,0,0.65) 1px, transparent 1px, transparent 3px),
        repeating-linear-gradient(to right, rgba(0,255,120,0.12) 0px, rgba(0,255,120,0.12) 1px, transparent 1px, transparent 3px);
    mix-blend-mode: screen;
    opacity: 0.9;
}

/* Flicker + glow */
.crt-screen::after{
    content: "";
    pointer-events: none;
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(circle at 20% 0, rgba(255,255,255,0.12), transparent 55%),
        radial-gradient(circle at 80% 120%, rgba(0,0,0,0.7), transparent 70%);
    mix-blend-mode: screen;
    opacity: 0.9;
    animation: crt-flicker 1.4s infinite alternate;
}

@keyframes crt-flicker{
    0%   { opacity: 0.85; transform: translateY(0);     filter: brightness(1); }
    15%  { opacity: 0.75; transform: translateY(-0.3px); filter: brightness(1.02); }
    30%  { opacity: 0.9;  transform: translateY(0.2px);  filter: brightness(1.03); }
    45%  { opacity: 0.7;  transform: translateY(-0.4px); filter: brightness(0.98); }
    60%  { opacity: 0.88; transform: translateY(0.1px);  filter: brightness(1.01); }
    80%  { opacity: 0.78; transform: translateY(-0.2px); filter: brightness(1.04); }
    100% { opacity: 0.9;  transform: translateY(0);      filter: brightness(1); }
}

@media (prefers-reduced-motion: reduce){
    .crt-screen::after{ animation: none; }
}

/* Mission meta (detail page) */
.mission-meta dt{
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #8891a3;
    letter-spacing: 0.08em;
}
.mission-meta dd{
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
}

.badge-mission-active{ background-color: #198754; }
.badge-mission-inactive{ background-color: #6c757d; }

.mission-action-bar{
    padding: .6rem 1rem;
    background: var(--bs-dark, #1a1d21);
    border-radius: .5rem;
    border: 1px solid rgba(255,255,255,.08);
}
.mission-token-badge{
    font-size: .85rem;
    letter-spacing: .5px;
    padding: .4em .8em;
}

.table-legs{ font-size: 0.9rem; }
.table-legs td,
.table-legs th{ vertical-align: middle; }

/* ================================
   17) Stats — Operations Center
   ================================ */

.stats-panel{
    background: #111827;
    border: 1px solid #243350;
    border-radius: .75rem;
    overflow: hidden;
    color: #d0dae8;
    font-family: 'Share Tech Mono', monospace;
}
.stats-panel--full{ display: flex; flex-direction: column; }
.stats-panel-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .55rem 1.2rem;
    background: linear-gradient(135deg, #1a2740 0%, #1e3050 100%);
    border-bottom: 2px solid #243a55;
    font-size: .82rem;
    font-weight: 700;
    color: #ffbf00;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.stats-panel-clock{
    font-size: .78rem;
    color: #42a5f5;
    letter-spacing: 1px;
}
.stats-panel-legend{
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .72rem;
    color: #8899aa;
    letter-spacing: .5px;
    font-weight: 400;
}
.stats-legend-dot{
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 2px;
}
.stats-empty{
    padding: 2rem;
    text-align: center;
    color: #4a5a6a;
    font-size: .85rem;
    letter-spacing: 2px;
}

/* KPI Grid */
.stats-kpi-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1px;
    background: #243350;
}
.stats-kpi{
    background: #111827;
    padding: 1rem .8rem;
    text-align: center;
}
.stats-kpi-value{
    font-size: 1.65rem;
    font-weight: 700;
    color: #ffbf00;
    line-height: 1.2;
    text-shadow: 0 0 12px rgba(255,191,0,.25);
}
.stats-kpi-label{
    font-size: .65rem;
    color: #6a8aaa;
    letter-spacing: 2px;
    margin-top: .25rem;
    text-transform: uppercase;
}

/* Activity Chart 30 days */
.stats-chart-30d{
    display: flex;
    align-items: flex-end;
    gap: 2px;
    padding: .8rem 1rem .4rem;
    height: 160px;
}
.stats-chart-col{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    height: 100%;
}
.stats-chart-bars{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.stats-chart-seg{
    min-height: 0;
    border-radius: 1px 1px 0 0;
    transition: height .3s ease;
}
.stats-chart-seg--acars{
    background: #42a5f5;
    opacity: .85;
}
.stats-chart-seg--missions{
    background: #ffbf00;
    border-radius: 1px 1px 0 0;
}
.stats-chart-label{
    text-align: center;
    font-size: .55rem;
    color: #5a7a9a;
    padding-top: 3px;
    line-height: 1;
}
.stats-chart-col:hover .stats-chart-seg--acars{ opacity: 1; }
.stats-chart-col:hover .stats-chart-seg--missions{ filter: brightness(1.2); }
.stats-chart-col:hover .stats-chart-label{ color: #ffbf00; }

/* Stats Tables */
.stats-table-wrap{
    flex: 1;
    overflow-x: auto;
    padding: .5rem 0;
}
.stats-table{
    width: 100%;
    border-collapse: collapse;
    font-size: .8rem;
}
.stats-table thead th{
    padding: .4rem .8rem;
    color: #6a8aaa;
    font-size: .7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid #243350;
    white-space: nowrap;
}
.stats-table tbody tr{
    border-bottom: 1px solid rgba(26,34,51,.6);
    transition: background .15s;
}
.stats-table tbody tr:hover{
    background: rgba(255,191,0,.04);
}
.stats-table tbody td{
    padding: .45rem .8rem;
    vertical-align: middle;
    white-space: nowrap;
}
.stats-rank{
    color: #5a7a9a;
    font-weight: 700;
    font-size: .75rem;
    width: 28px;
}
.stats-pilot-link{
    color: #ffbf00;
    text-decoration: none;
    font-weight: 700;
}
.stats-pilot-link:hover{ color: #ffe082; text-decoration: underline; }
.stats-pilot-name{
    display: block;
    color: #6a8aaa;
    font-size: .7rem;
}
.stats-mission-title{
    color: #8899aa;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.stats-val-rp{ color: #00e676; font-weight: 700; }
.stats-val-ok{ color: #66bb6a; }
.stats-val-ko{ color: #ef5350; }

.stats-diff-dot{
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #283a50;
    margin: 0 1px;
    vertical-align: middle;
}
.stats-diff-dot.is-filled{ background: #ffbf00; box-shadow: 0 0 4px rgba(255,191,0,.4); }

/* Horizontal Bar Charts */
.stats-bars-wrap{
    padding: .6rem .8rem;
    flex: 1;
}
.stats-bar-row{
    display: grid;
    grid-template-columns: minmax(80px, 140px) 1fr 40px;
    align-items: center;
    gap: 8px;
    padding: .3rem 0;
}
.stats-bar-row--compact{
    grid-template-columns: minmax(60px, 120px) 1fr 40px;
    padding: .25rem 0;
}
.stats-bar-label{
    display: flex;
    align-items: baseline;
    gap: 5px;
    min-width: 0;
    overflow: hidden;
}
.stats-bar-icao{
    color: #ffbf00;
    font-weight: 700;
    font-size: .8rem;
    text-decoration: none;
}
.stats-bar-icao:hover{ color: #ffe082; text-decoration: underline; }
.stats-bar-arrow{
    color: #5a7a9a;
    font-size: .75rem;
}
.stats-bar-name{
    color: #6a8aaa;
    font-size: .72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.stats-bar-desc{
    color: #5a7a9a;
    font-size: .62rem;
    white-space: nowrap;
}
.stats-bar-track{
    height: 6px;
    background: #1a2538;
    border-radius: 3px;
    overflow: hidden;
}
.stats-bar-fill{
    height: 100%;
    border-radius: 3px;
    transition: width .4s ease;
    min-width: 2px;
}
.stats-bar-fill--amber{ background: linear-gradient(90deg, #e6a800, #ffbf00); }
.stats-bar-fill--blue{ background: linear-gradient(90deg, #1565c0, #42a5f5); }
.stats-bar-fill--green{ background: linear-gradient(90deg, #2e7d32, #66bb6a); }
.stats-bar-val{
    text-align: right;
    font-size: .75rem;
    color: #8899aa;
    font-weight: 600;
}

/* Flight Quality Gauges */
.stats-quality-grid{
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 1.2rem;
    padding: 1rem;
    align-items: center;
}
.stats-quality-gauge{ text-align: center; }
.stats-quality-circle{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #00e676;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto .4rem;
    background: rgba(0,230,118,.04);
}
.stats-quality-circle--fpm{
    border-color: #ffbf00;
    background: rgba(255,191,0,.04);
}
.stats-quality-pct{
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.stats-quality-sub{
    font-size: .6rem;
    color: #6a8aaa;
    letter-spacing: 1px;
}
.stats-quality-label{
    font-size: .7rem;
    color: #6a8aaa;
    letter-spacing: 1px;
}
.stats-quality-bars{ min-width: 0; }

@media (max-width: 767.98px){
    .stats-kpi-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-kpi-value{ font-size: 1.3rem; }
    .stats-chart-30d{ height: 120px; }
    .stats-chart-label{ font-size: .45rem; }
    .stats-quality-grid{
        grid-template-columns: 1fr 1fr;
    }
    .stats-quality-bars{
        grid-column: 1 / -1;
    }
    .stats-bar-row{
        grid-template-columns: minmax(60px, 100px) 1fr 35px;
    }
    .stats-mission-title{ max-width: 120px; }
}

/* Leaderboard */
.lb-tabs{
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.lb-tab{
    display: inline-flex;
    align-items: center;
    padding: .45rem 1rem;
    background: #162032;
    border: 1px solid #243a55;
    border-radius: .4rem;
    color: #6a8aaa;
    font-family: 'Share Tech Mono', monospace;
    font-size: .82rem;
    letter-spacing: .5px;
    text-decoration: none;
    transition: all .15s;
}
.lb-tab:hover{
    background: #1e3050;
    color: #ffbf00;
    border-color: #344a60;
}
.lb-tab--active{
    background: linear-gradient(135deg, #243a55 0%, #1a2740 100%);
    color: #ffbf00;
    border-color: #ffbf00;
    box-shadow: 0 0 8px rgba(255,191,0,.15);
}
.lb-board{ margin-bottom: 1.5rem; }
.lb-table tbody tr{ cursor: default; }
.lb-rank{
    font-weight: 700;
    color: #5a7a9a;
    font-size: .82rem;
    text-align: center;
}
.lb-medal{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: .82rem;
    font-weight: 900;
}
.lb-gold .lb-medal{
    background: linear-gradient(135deg, #f9a825, #ffd54f);
    color: #4a3500;
    box-shadow: 0 0 10px rgba(255,213,79,.4);
}
.lb-silver .lb-medal{
    background: linear-gradient(135deg, #90a4ae, #cfd8dc);
    color: #37474f;
    box-shadow: 0 0 8px rgba(207,216,220,.3);
}
.lb-bronze .lb-medal{
    background: linear-gradient(135deg, #a1887f, #d7ccc8);
    color: #4e342e;
    box-shadow: 0 0 8px rgba(215,204,200,.3);
}
.lb-gold td{ border-bottom-color: rgba(255,213,79,.15) !important; }
.lb-silver td{ border-bottom-color: rgba(207,216,220,.1) !important; }
.lb-bronze td{ border-bottom-color: rgba(215,204,200,.1) !important; }

.lb-me{
    background: rgba(255,191,0,.06) !important;
}
.lb-me td{
    border-bottom-color: rgba(255,191,0,.2) !important;
}
.lb-me-badge{
    display: inline-block;
    padding: .1em .45em;
    margin-left: .4rem;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #111827;
    background: #42a5f5;
    border-radius: 3px;
    vertical-align: middle;
}

.lb-primary-val{
    color: #fff !important;
    font-size: .9rem;
    font-weight: 700;
}
.lb-level{
    display: inline-block;
    padding: .15em .5em;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffbf00;
    background: rgba(255,191,0,.1);
    border: 1px solid rgba(255,191,0,.25);
    border-radius: 3px;
}

.lb-footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .5rem 1.2rem;
    border-top: 1px solid #243350;
    font-size: .72rem;
    color: #ffbf00;
    letter-spacing: 1px;
}
.lb-footer-hint{
    color: #5a7a9a;
    letter-spacing: 0;
    font-size: .7rem;
}

@media (max-width: 767.98px){
    .lb-tab{ padding: .35rem .7rem; font-size: .75rem; }
    .lb-primary-val{ font-size: .82rem; }
    .lb-footer{ flex-direction: column; align-items: flex-start; }
}

/* Roster */
.roster-table thead th{ font-size: .65rem; }
.roster-name{
    color: #6a8aaa;
    font-size: .78rem;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.roster-rank-code{
    display: inline-block;
    padding: .12em .45em;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #42a5f5;
    background: rgba(66,165,245,.08);
    border: 1px solid rgba(66,165,245,.2);
    border-radius: 3px;
}
.roster-icao{
    color: #ffbf00;
    font-weight: 600;
    font-size: .78rem;
    text-decoration: none;
    letter-spacing: .5px;
}
.roster-icao:hover{ color: #ffe082; text-decoration: underline; }

/* Profile (pilot_view + pilot_profile) */
.profile-header{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.2rem 1.5rem;
}
.profile-identity{ flex: 1; min-width: 0; }
.profile-callsign{
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffbf00;
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 0 0 12px rgba(255,191,0,.2);
}
.profile-name{
    color: #8899aa;
    font-size: .9rem;
    margin-bottom: .5rem;
}
.profile-meta{
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: .5rem;
}
.profile-meta-text{
    color: #6a8aaa;
    font-size: .78rem;
}
.profile-locations{
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 1.5rem;
    margin-bottom: .4rem;
}
.profile-loc{
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .82rem;
    color: #6a8aaa;
}
.profile-loc i{ font-size: 1rem; }
.profile-loc-name{
    color: #5a7a9a;
    font-size: .72rem;
}
.profile-email{
    color: #5a7a9a;
    font-size: .75rem;
    margin-bottom: .15rem;
}
.profile-joined{
    color: #5a7a9a;
    font-size: .72rem;
    letter-spacing: .5px;
}
.profile-insignia{
    flex: 0 0 auto;
}
.profile-insignia img{
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(255,191,0,.15));
}

/* Profile Home ICAO form */
.profile-home-form{
    padding: .5rem 1.5rem .7rem;
    border-top: 1px solid #243350;
    background: rgba(255,191,0,.03);
}
.profile-home-label{
    font-family: 'Share Tech Mono', monospace;
    font-size: .72rem;
    color: #ffbf00;
    letter-spacing: 1px;
    margin-right: .5rem;
}
.profile-home-input{
    background: #162032 !important;
    border-color: #243a55 !important;
    color: #d0dae8 !important;
    font-family: 'Share Tech Mono', monospace !important;
}
.profile-home-hint{
    font-size: .68rem;
    color: #5a7a9a;
    letter-spacing: .5px;
}

/* Profile ACARS section */
.profile-acars-section{
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem 2rem;
}
.profile-acars-label{
    display: block;
    font-family: 'Share Tech Mono', monospace;
    font-size: .68rem;
    color: #6a8aaa;
    letter-spacing: 1px;
    margin-bottom: .3rem;
}
.profile-acars-downloads{
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.profile-acars-hint{
    font-size: .68rem;
    color: #5a7a9a;
}

/* Awards grid */
.profile-awards{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: .5rem;
    padding: .8rem;
}
.profile-award{
    text-align: center;
    padding: .5rem .3rem;
    border-radius: .4rem;
    transition: background .15s;
}
.profile-award:hover{ background: rgba(255,191,0,.05); }
.profile-award img{
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: .3rem;
    filter: drop-shadow(0 0 4px rgba(255,191,0,.15));
}
.profile-award-label{
    font-size: .65rem;
    color: #8899aa;
    line-height: 1.2;
    font-family: 'Share Tech Mono', monospace;
}
.profile-award-date{
    font-size: .58rem;
    color: #5a7a9a;
}

/* Next objectives */
.profile-next-awards{
    padding: .6rem .8rem;
    border-top: 1px solid #243350;
}
.profile-next-title{
    font-family: 'Share Tech Mono', monospace;
    font-size: .68rem;
    color: #6a8aaa;
    letter-spacing: 1px;
    margin-bottom: .4rem;
}
.profile-next-row{
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .2rem 0;
}
.profile-next-label{
    font-size: .72rem;
    color: #6a8aaa;
    white-space: nowrap;
    min-width: 100px;
}

@media (max-width: 767.98px){
    .profile-header{ flex-direction: column; padding: 1rem; }
    .profile-callsign{ font-size: 1.2rem; }
    .profile-insignia img{ width: 56px; height: 56px; }
    .profile-awards{ grid-template-columns: repeat(auto-fill, minmax(75px, 1fr)); }
    .profile-acars-section{ flex-direction: column; align-items: flex-start; }
}

/* ── 21) Flight Detail ──────────────────────────────────────────── */

/* Route strip: DEP → ARR */
.fd-route{
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #243350;
}
.fd-airport{ text-align: center; min-width: 80px; }
.fd-airport--dep{ text-align: left; }
.fd-airport--arr{ text-align: right; }
.fd-icao{
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    text-decoration: none;
    text-shadow: 0 0 8px rgba(255,255,255,.15);
}
.fd-icao:hover{ color: #ffbf00; }
.fd-airport-name{
    font-size: .72rem;
    color: #6a8aaa;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fd-time{
    font-family: 'Share Tech Mono', monospace;
    font-size: .78rem;
    color: #ffbf00;
    margin-top: .15rem;
}

/* Route line */
.fd-route-line{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 100px;
}
.fd-route-track{
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00e676, #ffbf00 50%, #ff5252);
    opacity: .6;
    border-radius: 1px;
}
.fd-route-plane{
    color: #ffbf00;
    font-size: 1.2rem;
    margin-top: .15rem;
}
.fd-route-info{
    display: flex;
    gap: .8rem;
    margin-top: .15rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: .72rem;
    color: #6a8aaa;
}

/* Map */
.fd-map-wrap{
    padding: 0;
    overflow: hidden;
}
#fd-map{
    height: 480px;
    width: 100%;
    background: #111827;
}
.fd-map-footer{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: .5rem .8rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: .72rem;
    color: #6a8aaa;
    border-top: 1px solid #243350;
}

/* Flight result */
.fd-result{
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem .8rem;
    border-bottom: 1px solid #243350;
}
.fd-result-badge{
    font-family: 'Share Tech Mono', monospace;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.fd-result-type{
    font-size: .72rem;
    color: #6a8aaa;
    letter-spacing: 1px;
}

/* Violations grid */
.fd-violations{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 1px;
    background: #243350;
}
.fd-violation{
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .6rem;
    background: #162032;
    font-size: .78rem;
}
.fd-violation--ok{ color: #2a8a5a; }
.fd-violation--ko{ color: #ff5252; }
.fd-violation--ok .fd-violation-val{ color: #1a6a3a; }
.fd-violation--ko .fd-violation-val{ color: #ff5252; font-weight: 700; }
.fd-violation-label{
    flex: 1;
    font-size: .72rem;
}
.fd-violation-val{
    font-family: 'Share Tech Mono', monospace;
    font-size: .82rem;
}

/* Info list */
.fd-info-list{ padding: .4rem 0; }
.fd-info-row{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: .5rem;
    padding: .35rem .8rem;
    border-bottom: 1px solid #1a2538;
}
.fd-info-row:last-child{ border-bottom: none; }
.fd-info-label{
    font-size: .72rem;
    color: #6a8aaa;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.fd-info-value{
    font-size: .82rem;
    color: #d0dae8;
    text-align: right;
}

/* Track points scrollable */
.fd-track-wrap{
    max-height: 360px;
    overflow-y: auto;
}

/* Altitude profile */
.fd-alt-chart{
    display: flex;
    align-items: flex-end;
    gap: 1px;
    height: 120px;
    padding: .6rem .4rem .3rem;
}
.fd-alt-bar{
    flex: 1;
    min-width: 2px;
    background: linear-gradient(180deg, #ffbf00 0%, #244a6a 100%);
    border-radius: 1px 1px 0 0;
    opacity: .7;
    transition: opacity .15s;
}
.fd-alt-bar:hover{ opacity: 1; }

@media (max-width: 767.98px){
    .fd-route{ flex-direction: column; gap: .5rem; text-align: center; }
    .fd-airport--dep, .fd-airport--arr{ text-align: center; }
    .fd-icao{ font-size: 1.1rem; }
    #fd-map{ height: 320px; }
    .fd-violations{ grid-template-columns: repeat(2, 1fr); }
}

/* ── 22) Dashboard ──────────────────────────────────────────────── */

.dash-pilot-banner{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #243350;
}
.dash-pilot-identity{ flex: 1; min-width: 0; }

/* Rank progress bar */
.dash-rank-progress{
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem 1rem;
    border-bottom: 1px solid #243350;
}
.dash-rank-current,
.dash-rank-next{
    display: flex;
    align-items: center;
    gap: .3rem;
    white-space: nowrap;
}

/* Daily mission */
.dash-daily{
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .8rem 1rem;
}
.dash-daily-route{
    display: flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
}
.dash-daily-info{ flex: 1; min-width: 0; }
.dash-daily-title{
    font-family: 'Share Tech Mono', monospace;
    font-size: .88rem;
    color: #d0dae8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dash-daily-meta{
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .72rem;
    color: #6a8aaa;
    margin-top: .15rem;
}
.dash-daily-synopsis{
    font-size: .72rem;
    color: #5a7a9a;
    margin-top: .3rem;
}
.dash-daily-action{ white-space: nowrap; }

/* Quick access grid */
.dash-quick-links{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1px;
    background: #243350;
}
.dash-quick-link{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    padding: .8rem .5rem;
    background: #162032;
    color: #6a8aaa;
    text-decoration: none;
    font-size: .75rem;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: .5px;
    transition: background .15s, color .15s;
}
.dash-quick-link i{ font-size: 1.3rem; }
.dash-quick-link:hover{
    background: #1a2b42;
    color: #ffbf00;
}

@media (max-width: 767.98px){
    .dash-pilot-banner{ flex-direction: column; padding: 1rem; }
    .dash-daily{ flex-direction: column; align-items: flex-start; }
    .dash-quick-links{ grid-template-columns: repeat(4, 1fr); }
}

/* ── 23) Career Page ────────────────────────────────────────────── */

.career-rank-hero{
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #243350;
}
.career-insignia img{
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255,191,0,.2));
}
.career-rank-info{ flex: 1; min-width: 0; }
.career-rank-code{
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffbf00;
    letter-spacing: 2px;
    text-shadow: 0 0 12px rgba(255,191,0,.2);
}
.career-rank-name{
    font-size: .92rem;
    color: #d0dae8;
}
.career-rank-group{
    font-size: .72rem;
    color: #6a8aaa;
    margin-top: .15rem;
}
.career-rp-display{ text-align: right; }
.career-rp-value{
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffbf00;
    text-shadow: 0 0 16px rgba(255,191,0,.25);
    line-height: 1;
}
.career-rp-label{
    font-size: .68rem;
    color: #6a8aaa;
    letter-spacing: 1px;
}

/* Progress bar */
.career-progress{
    padding: .6rem 1rem;
    border-bottom: 1px solid #243350;
}
.career-progress-labels{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .3rem;
}

/* Ranks ladder */
.career-ladder{ padding: .3rem 0; }
.career-group-header{
    font-family: 'Share Tech Mono', monospace;
    font-size: .68rem;
    color: #5a7a9a;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: .5rem .8rem .2rem;
    border-bottom: 1px solid #1a2538;
}
.career-rank-row{
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem .8rem;
    border-bottom: 1px solid #162032;
    transition: background .15s;
}
.career-rank-row:hover{ background: #1a2b42; }
.career-rank-row--current{ background: #0f1e2e; border-left: 3px solid #ffbf00; }
.career-rank-row--earned{ opacity: 1; }
.career-rank-row--locked{ opacity: .45; }

.career-rank-dot{ width: 14px; flex-shrink: 0; text-align: center; }
.career-dot{
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.career-dot--current{ background: #ffbf00; box-shadow: 0 0 6px rgba(255,191,0,.5); }
.career-dot--earned{ background: #00e676; }
.career-dot--locked{ background: #344a60; }

.career-rank-img{
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}
.career-rank-detail{
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
}
.career-rank-code-sm{
    font-family: 'Share Tech Mono', monospace;
    font-size: .82rem;
    color: #d0dae8;
    font-weight: 600;
}
.career-rank-name-sm{
    font-size: .75rem;
    color: #6a8aaa;
}
.career-rank-rp{
    font-family: 'Share Tech Mono', monospace;
    font-size: .75rem;
    color: #5a7a9a;
    white-space: nowrap;
}

@media (max-width: 767.98px){
    .career-rank-hero{ flex-direction: column; text-align: center; padding: 1rem; }
    .career-rp-display{ text-align: center; }
    .career-insignia img{ width: 60px; height: 60px; }
}

/* ── 24) System Alerts ─────────────────────────────────────────── */

.lf-system-alerts-wrap{ width: 100%; }
.lf-system-alert{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .55rem 1.2rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: .82rem;
    letter-spacing: .5px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.lf-system-alert--info{
    background: #162a45;
    color: #79c0ff;
    border-left: 3px solid #42a5f5;
}
.lf-system-alert--success{
    background: #0d2218;
    color: #56d364;
    border-left: 3px solid #00e676;
}
.lf-system-alert--warning{
    background: #1a1a0d;
    color: #ffbf00;
    border-left: 3px solid #ffbf00;
}
.lf-system-alert--danger{
    background: #1f0d0d;
    color: #ff5252;
    border-left: 3px solid #ff5252;
}
.lf-system-alert__body{ flex: 1; min-width: 0; }
.lf-system-alert__title{ margin-right: .5rem; }
.lf-system-alert__msg{ opacity: .9; }
.lf-system-alert__close{
    background: none;
    border: none;
    color: inherit;
    opacity: .5;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 .3rem;
    line-height: 1;
}
.lf-system-alert__close:hover{ opacity: 1; }

/* ── 25) Donate Modal ──────────────────────────────────────────── */

.donate-modal{
    background: #131c2e;
    border: 1px solid #243a55;
    border-radius: .5rem;
    overflow: hidden;
    color: #d0dae8;
}
.donate-modal__header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .7rem 1.2rem;
    border-bottom: 1px solid #243350;
}
.donate-modal__title{
    font-family: 'Share Tech Mono', monospace;
    font-size: .88rem;
    font-weight: 700;
    color: #ffbf00;
    letter-spacing: 2px;
}
.donate-modal__close{
    background: none;
    border: none;
    color: #6a8aaa;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}
.donate-modal__close:hover{ color: #fff; }
.donate-modal__body{ padding: 0; }

/* CTA column */
.donate-modal__cta{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1.2rem;
    border-right: 1px solid #243350;
}
.donate-modal__award{ margin-bottom: 1rem; }
.donate-modal__award-img{
    width: 110px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(255,191,0,.25));
}
.donate-modal__text{
    font-size: .85rem;
    color: #8899aa;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}
.donate-modal__text strong{ color: #ffbf00; }
.donate-modal__btn{
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1.5rem;
    background: linear-gradient(135deg, #00c853 0%, #00e676 100%);
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .5px;
    border-radius: .4rem;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 0 12px rgba(0,200,83,.2);
}
.donate-modal__btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0,200,83,.35);
    color: #fff;
}
.donate-modal__btn i{ font-size: 1.1rem; }
.donate-modal__hint{
    display: block;
    margin-top: .5rem;
    font-size: .72rem;
    color: #5a7a9a;
    letter-spacing: .5px;
}

/* Donors column */
.donate-modal__donors{
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: 260px;
}
.donate-modal__donors-header{
    font-family: 'Share Tech Mono', monospace;
    font-size: .72rem;
    color: #6a8aaa;
    letter-spacing: 2px;
    padding: .6rem .8rem;
    border-bottom: 1px solid #243350;
}
.donate-modal__donors-list{
    flex: 1;
    overflow-y: auto;
    max-height: 320px;
}
.donate-modal__donor-row{
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .8rem;
    border-bottom: 1px solid #1a2538;
    font-family: 'Share Tech Mono', monospace;
    font-size: .78rem;
    transition: background .15s;
}
.donate-modal__donor-row:hover{ background: #1a2b42; }
.donate-modal__donor-name{
    flex: 1;
    color: #6a8aaa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.donate-modal__donor-amount{
    color: #ffbf00;
    font-weight: 600;
    white-space: nowrap;
}
.donate-modal__donor-date{
    color: #5a7a9a;
    font-size: .7rem;
    white-space: nowrap;
}
.donate-modal__empty{
    padding: 2rem 1rem;
    text-align: center;
    color: #5a7a9a;
    font-size: .82rem;
}
.donate-modal__footer{
    padding: .5rem 1rem;
    border-top: 1px solid #243350;
    text-align: right;
}

@media (max-width: 767.98px){
    .donate-modal__cta{ border-right: none; border-bottom: 1px solid #243350; padding: 1.2rem 1rem; }
    .donate-modal__award-img{ width: 80px; height: 80px; }
    .donate-modal__donors{ min-height: auto; }
    .donate-modal__donors-list{ max-height: 200px; }
}

/* ── 26) Passenger Route ─────────────────────────────────────────── */

.pax-route-notes{
    padding: .8rem 1rem;
    border-top: 1px solid #243350;
    font-size: .85rem;
    color: #6a8aaa;
    line-height: 1.6;
}
.pax-route-actions{
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .8rem 1rem;
    border-top: 1px solid #243350;
}
.pax-route-howto{
    list-style: none;
    counter-reset: howto;
    padding: .6rem 1rem;
    margin: 0;
    font-size: .82rem;
    color: #8899aa;
    line-height: 1.7;
}
.pax-route-howto li{
    counter-increment: howto;
    padding: .35rem 0;
    border-bottom: 1px solid #1a2538;
}
.pax-route-howto li:last-child{ border-bottom: none; }
.pax-route-howto li::before{
    content: counter(howto);
    font-family: 'Share Tech Mono', monospace;
    font-weight: 700;
    color: #ffbf00;
    margin-right: .6rem;
}
.pax-route-howto strong{ color: #d0dae8; }

/* ── 27) Airport View ──────────────────────────────────────────── */

.apt-header-name{
    padding: .6rem 1.2rem 0;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(255,255,255,.12);
}
.apt-header-sub{
    padding: .15rem 1.2rem .4rem;
    font-size: .78rem;
    color: #6a8aaa;
    letter-spacing: .5px;
}
.apt-codes{
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .5rem 1.2rem;
    border-top: 1px solid #243350;
}
.apt-code{
    display: inline-flex;
    align-items: baseline;
    gap: .3rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: .78rem;
}
.apt-code-label{ color: #6a8aaa; }
.apt-code-value{ color: #ffbf00; font-weight: 700; }

.apt-links{
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    padding: .55rem 1.2rem;
    border-top: 1px solid #243350;
}
.apt-links a{
    font-family: 'Share Tech Mono', monospace;
    font-size: .78rem;
    color: #42a5f5;
    text-decoration: none;
    letter-spacing: .5px;
}
.apt-links a:hover{ color: #ffbf00; }

.apt-wx-wrap{
    padding: .8rem;
    background: #141d2b;
    border-radius: 0 0 .75rem .75rem;
}

/* ================================================================
   28) FIDS LIGHT THEME
   ================================================================
   Activated by body[data-pc-theme="light"].
   Dark theme stays untouched — these are purely additive overrides.
   ================================================================ */

/* --- Color palette reference ---
   bg-board:     #f5f7fa     border:       #d0dae8
   bg-header:    #e8eef5     border-head:  #c0ccda
   bg-colhead:   #eaf0f6     bg-surface-2: #ffffff
   accent-navy:  #0C1F3F     accent-gold:  #b38600
   text-primary: #1a2030     text-secondary:#5a6a7a
   text-muted:   #8a96a4     text-dimmed:  #a0aab4
   green:        #1b8a4a     red:          #d32f2f
   blue:         #1565c0     amber-hover:  rgba(179,134,0,.06)
   --------------------------------------------------- */

/* ── FIDS Board ─────────────────────────────────── */

body[data-pc-theme="light"] .fids-board{
    background: #f5f7fa;
    border-color: #d0dae8;
}
body[data-pc-theme="light"] .fids-board::after{
    background: repeating-linear-gradient(
        to bottom,
        rgba(0,0,0,.015) 0px,
        rgba(0,0,0,.015) 1px,
        transparent 1px,
        transparent 3px
    );
}
body[data-pc-theme="light"] .fids-header{
    background: linear-gradient(135deg, #e8eef5, #dce5f0);
    border-bottom-color: #c0ccda;
}
body[data-pc-theme="light"] .fids-header-title{
    color: #0C1F3F;
}
body[data-pc-theme="light"] .fids-header-clock{
    color: #b38600;
}
body[data-pc-theme="light"] .fids-columns{
    background: #eaf0f6;
    border-bottom-color: #d0dae8;
}
body[data-pc-theme="light"] .fids-col-head{
    color: #5a6a7a;
}
body[data-pc-theme="light"] .fids-row{
    border-bottom-color: #e4ecf4;
}
body[data-pc-theme="light"] .fids-row:hover{
    background: rgba(12,31,63,.04);
}
body[data-pc-theme="light"] .fids-flight{
    color: #0C1F3F;
}
body[data-pc-theme="light"] .fids-icao{
    color: #1a2030;
}
body[data-pc-theme="light"] .fids-icao a{
    color: #1a2030;
}
body[data-pc-theme="light"] .fids-icao a:hover{
    color: #b38600;
}
body[data-pc-theme="light"] .fids-city{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .fids-aircraft{
    color: #5a6a7a;
    opacity: .85;
}
body[data-pc-theme="light"] .fids-dist{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .fids-rp-badge{
    background: rgba(27,138,74,.1);
    color: #1b8a4a;
}
body[data-pc-theme="light"] .fids-flights-badge{
    background: rgba(180,130,0,.1);
    color: #8a6d00;
}
body[data-pc-theme="light"] .fids-status-open{
    color: #1b8a4a;
}
body[data-pc-theme="light"] .fids-status-suspended{
    color: #d32f2f;
}
body[data-pc-theme="light"] .fids-btn{
    color: #0C1F3F;
    border-color: rgba(12,31,63,.3);
}
body[data-pc-theme="light"] .fids-btn:hover{
    background: rgba(12,31,63,.06);
    border-color: #0C1F3F;
    color: #0C1F3F;
}
body[data-pc-theme="light"] .fids-empty{
    color: #8a96a4;
}
body[data-pc-theme="light"] .fids-count{
    color: #8a96a4;
    border-top-color: #e4ecf4;
}

/* FIDS – Difficulty dots */
body[data-pc-theme="light"] .fids-diff-dot{
    background: rgba(12,31,63,.1);
    border-color: rgba(12,31,63,.15);
}
body[data-pc-theme="light"] .fids-diff-dot.is-filled{
    background: #b38600;
    border-color: #b38600;
    box-shadow: 0 0 4px rgba(179,134,0,.3);
}
body[data-pc-theme="light"] .fids-title{
    color: #2a3a4a;
}

/* FIDS – My Flights */
body[data-pc-theme="light"] .fids-date{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .fids-status-inflight{
    color: #1565c0;
}
body[data-pc-theme="light"] .fids-status-planned{
    color: #8a96a4;
}

/* FIDS – My Missions */
body[data-pc-theme="light"] .fids-progress-text{
    color: #2a3a4a;
}
body[data-pc-theme="light"] .fids-progress-bar-wrap{
    background: rgba(12,31,63,.08);
}
body[data-pc-theme="light"] .fids-progress-bar-fill{
    background: #b38600;
    box-shadow: 0 0 4px rgba(179,134,0,.2);
}
body[data-pc-theme="light"] .fids-last-result{
    color: #8a96a4;
}
body[data-pc-theme="light"] .fids-status-pending{
    color: #b38600;
}

/* FIDS – ACARS Flights */
body[data-pc-theme="light"] .fids-pilot{
    color: #2a3a4a;
}
body[data-pc-theme="light"] .fids-pagination{
    border-top-color: #d0dae8;
    background: #eaf0f6;
}
body[data-pc-theme="light"] .fids-pagination-info{
    color: #0C1F3F;
}
body[data-pc-theme="light"] .fids-pagination .pagination{
    --bs-pagination-border-color: #c0ccda;
    --bs-pagination-color: #5a6a7a;
    --bs-pagination-hover-bg: rgba(12,31,63,.06);
    --bs-pagination-hover-border-color: #0C1F3F;
    --bs-pagination-hover-color: #0C1F3F;
    --bs-pagination-active-bg: #0C1F3F;
    --bs-pagination-active-border-color: #0C1F3F;
    --bs-pagination-active-color: #ffffff;
    --bs-pagination-disabled-border-color: #e4ecf4;
    --bs-pagination-disabled-color: #a0aab4;
}

/* ── CRT (optional scanline block) ──────────────── */

body[data-pc-theme="light"] .crt-terminal{
    background: #f5f7fa;
    border-color: #d0dae8;
    color: #1a2030;
    text-shadow: none;
}

/* ── Stats Panel ────────────────────────────────── */

body[data-pc-theme="light"] .stats-panel{
    background: #ffffff;
    border-color: transparent;
    color: #2a3a4a;
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
}
body[data-pc-theme="light"] .stats-panel-header{
    background: linear-gradient(135deg, #f0f3f8 0%, #e8eef5 100%);
    border-bottom-color: #e0e6ee;
    color: #0C1F3F;
}
body[data-pc-theme="light"] .stats-panel-clock{
    color: #1565c0;
}
body[data-pc-theme="light"] .stats-panel-legend{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .stats-empty{
    color: #8a96a4;
}

/* KPI Grid */
body[data-pc-theme="light"] .stats-kpi-grid{
    background: #e8ecf2;
}
body[data-pc-theme="light"] .stats-kpi{
    background: #ffffff;
}
body[data-pc-theme="light"] .stats-kpi-value{
    color: #0C1F3F;
    text-shadow: none;
}
body[data-pc-theme="light"] .stats-kpi-label{
    color: #6a7a8a;
}

/* Activity Chart */
body[data-pc-theme="light"] .stats-chart-label{
    color: #8a96a4;
}
body[data-pc-theme="light"] .stats-chart-col:hover .stats-chart-label{
    color: #0C1F3F;
}

/* Stats Tables */
body[data-pc-theme="light"] .stats-table thead th{
    color: #5a6a7a;
    border-bottom-color: #d0dae8;
}
body[data-pc-theme="light"] .stats-table tbody tr{
    border-bottom-color: #eaf0f6;
}
body[data-pc-theme="light"] .stats-table tbody tr:hover{
    background: rgba(12,31,63,.03);
}
body[data-pc-theme="light"] .stats-rank{
    color: #8a96a4;
}
body[data-pc-theme="light"] .stats-pilot-link{
    color: #0C1F3F;
}
body[data-pc-theme="light"] .stats-pilot-link:hover{
    color: #b38600;
}
body[data-pc-theme="light"] .stats-pilot-name{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .stats-mission-title{
    color: #5a6a7a;
}
body[data-pc-theme="light"] .stats-val-rp{ color: #1b8a4a; }
body[data-pc-theme="light"] .stats-val-ok{ color: #2e7d32; }
body[data-pc-theme="light"] .stats-val-ko{ color: #d32f2f; }

body[data-pc-theme="light"] .stats-diff-dot{
    background: #d0dae8;
}
body[data-pc-theme="light"] .stats-diff-dot.is-filled{
    background: #b38600;
    box-shadow: 0 0 4px rgba(179,134,0,.3);
}

/* Horizontal Bar Charts */
body[data-pc-theme="light"] .stats-bar-icao{
    color: #0C1F3F;
}
body[data-pc-theme="light"] .stats-bar-icao:hover{
    color: #b38600;
}
body[data-pc-theme="light"] .stats-bar-arrow{
    color: #8a96a4;
}
body[data-pc-theme="light"] .stats-bar-name{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .stats-bar-desc{
    color: #8a96a4;
}
body[data-pc-theme="light"] .stats-bar-track{
    background: #e4ecf4;
}
body[data-pc-theme="light"] .stats-bar-val{
    color: #5a6a7a;
}

/* Flight Quality Gauges */
body[data-pc-theme="light"] .stats-quality-circle{
    border-color: #1b8a4a;
    background: rgba(27,138,74,.05);
}
body[data-pc-theme="light"] .stats-quality-circle--fpm{
    border-color: #b38600;
    background: rgba(179,134,0,.05);
}
body[data-pc-theme="light"] .stats-quality-pct{
    color: #1a2030;
}
body[data-pc-theme="light"] .stats-quality-sub{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .stats-quality-label{
    color: #6a7a8a;
}

/* ── Leaderboard ────────────────────────────────── */

body[data-pc-theme="light"] .lb-tab{
    background: #ffffff;
    border-color: #e0e6ee;
    color: #5a6a7a;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
body[data-pc-theme="light"] .lb-tab:hover{
    background: #f0f3f8;
    color: #0C1F3F;
    border-color: #d0dae8;
}
body[data-pc-theme="light"] .lb-tab--active{
    background: linear-gradient(135deg, #dce5f0 0%, #e8eef5 100%);
    color: #0C1F3F;
    border-color: #0C1F3F;
    box-shadow: 0 0 8px rgba(12,31,63,.1);
}
body[data-pc-theme="light"] .lb-rank{
    color: #8a96a4;
}
body[data-pc-theme="light"] .lb-me{
    background: rgba(12,31,63,.04) !important;
}
body[data-pc-theme="light"] .lb-me td{
    border-bottom-color: rgba(12,31,63,.15) !important;
}
body[data-pc-theme="light"] .lb-me-badge{
    color: #ffffff;
    background: #1565c0;
}
body[data-pc-theme="light"] .lb-primary-val{
    color: #1a2030 !important;
}
body[data-pc-theme="light"] .lb-level{
    color: #0C1F3F;
    background: rgba(12,31,63,.06);
    border-color: rgba(12,31,63,.2);
}
body[data-pc-theme="light"] .lb-footer{
    border-top-color: #d0dae8;
    color: #0C1F3F;
}
body[data-pc-theme="light"] .lb-footer-hint{
    color: #8a96a4;
}

/* ── Roster ─────────────────────────────────────── */

body[data-pc-theme="light"] .roster-name{
    color: #5a6a7a;
}
body[data-pc-theme="light"] .roster-rank-code{
    color: #1565c0;
    background: rgba(21,101,192,.06);
    border-color: rgba(21,101,192,.15);
}
body[data-pc-theme="light"] .roster-icao{
    color: #0C1F3F;
}
body[data-pc-theme="light"] .roster-icao:hover{
    color: #b38600;
}

/* ── Profile ────────────────────────────────────── */

body[data-pc-theme="light"] .profile-callsign{
    color: #0C1F3F;
    text-shadow: none;
}
body[data-pc-theme="light"] .profile-name{
    color: #5a6a7a;
}
body[data-pc-theme="light"] .profile-meta-text{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .profile-loc{
    color: #5a6a7a;
}
body[data-pc-theme="light"] .profile-loc-name{
    color: #8a96a4;
}
body[data-pc-theme="light"] .profile-email{
    color: #8a96a4;
}
body[data-pc-theme="light"] .profile-joined{
    color: #8a96a4;
}
body[data-pc-theme="light"] .profile-insignia img{
    filter: drop-shadow(0 0 6px rgba(12,31,63,.1));
}
body[data-pc-theme="light"] .profile-home-form{
    border-top-color: #d0dae8;
    background: rgba(12,31,63,.02);
}
body[data-pc-theme="light"] .profile-home-label{
    color: #0C1F3F;
}
body[data-pc-theme="light"] .profile-home-input{
    background: #f5f7fa !important;
    border-color: #d0dae8 !important;
    color: #1a2030 !important;
}
body[data-pc-theme="light"] .profile-home-hint{
    color: #8a96a4;
}
body[data-pc-theme="light"] .profile-acars-label{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .profile-acars-hint{
    color: #8a96a4;
}
body[data-pc-theme="light"] .profile-award:hover{
    background: rgba(12,31,63,.04);
}
body[data-pc-theme="light"] .profile-award img{
    filter: drop-shadow(0 0 4px rgba(12,31,63,.1));
}
body[data-pc-theme="light"] .profile-award-label{
    color: #5a6a7a;
}
body[data-pc-theme="light"] .profile-award-date{
    color: #8a96a4;
}
body[data-pc-theme="light"] .profile-next-awards{
    border-top-color: #d0dae8;
}
body[data-pc-theme="light"] .profile-next-title{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .profile-next-label{
    color: #6a7a8a;
}

/* ── Flight Detail ──────────────────────────────── */

body[data-pc-theme="light"] .fd-route{
    border-bottom-color: #d0dae8;
}
body[data-pc-theme="light"] .fd-icao{
    color: #0C1F3F;
    text-shadow: none;
}
body[data-pc-theme="light"] .fd-icao:hover{
    color: #b38600;
}
body[data-pc-theme="light"] .fd-airport-name{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .fd-time{
    color: #b38600;
}
body[data-pc-theme="light"] .fd-route-plane{
    color: #b38600;
}
body[data-pc-theme="light"] .fd-route-info{
    color: #6a7a8a;
}
body[data-pc-theme="light"] #fd-map{
    background: #e8eef5;
}
body[data-pc-theme="light"] .fd-map-footer{
    color: #6a7a8a;
    border-top-color: #d0dae8;
}
body[data-pc-theme="light"] .fd-result{
    border-bottom-color: #d0dae8;
}
body[data-pc-theme="light"] .fd-result-type{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .fd-violations{
    background: #d0dae8;
}
body[data-pc-theme="light"] .fd-violation{
    background: #f5f7fa;
}
body[data-pc-theme="light"] .fd-violation--ok{ color: #2e7d32; }
body[data-pc-theme="light"] .fd-violation--ko{ color: #d32f2f; }
body[data-pc-theme="light"] .fd-violation--ok .fd-violation-val{ color: #1b8a4a; }
body[data-pc-theme="light"] .fd-violation--ko .fd-violation-val{ color: #d32f2f; }
body[data-pc-theme="light"] .fd-info-row{
    border-bottom-color: #eaf0f6;
}
body[data-pc-theme="light"] .fd-info-label{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .fd-info-value{
    color: #2a3a4a;
}
body[data-pc-theme="light"] .fd-alt-bar{
    background: linear-gradient(180deg, #b38600 0%, #90b8d8 100%);
}

/* ── Dashboard ──────────────────────────────────── */

body[data-pc-theme="light"] .dash-pilot-banner{
    border-bottom-color: #d0dae8;
}
body[data-pc-theme="light"] .dash-rank-progress{
    border-bottom-color: #d0dae8;
}
body[data-pc-theme="light"] .dash-daily-title{
    color: #2a3a4a;
}
body[data-pc-theme="light"] .dash-daily-meta{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .dash-daily-synopsis{
    color: #8a96a4;
}
body[data-pc-theme="light"] .dash-quick-links{
    background: #e8ecf2;
}
body[data-pc-theme="light"] .dash-quick-link{
    background: #ffffff;
    color: #3a4a5a;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
body[data-pc-theme="light"] .dash-quick-link:hover{
    background: #f0f3f8;
    color: #0C1F3F;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

/* ── Career Page ────────────────────────────────── */

body[data-pc-theme="light"] .career-rank-hero{
    border-bottom-color: #d0dae8;
}
body[data-pc-theme="light"] .career-insignia img{
    filter: drop-shadow(0 0 10px rgba(12,31,63,.12));
}
body[data-pc-theme="light"] .career-rank-code{
    color: #0C1F3F;
    text-shadow: none;
}
body[data-pc-theme="light"] .career-rank-name{
    color: #2a3a4a;
}
body[data-pc-theme="light"] .career-rank-group{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .career-rp-value{
    color: #0C1F3F;
    text-shadow: none;
}
body[data-pc-theme="light"] .career-rp-label{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .career-progress{
    border-bottom-color: #d0dae8;
}
body[data-pc-theme="light"] .career-group-header{
    color: #8a96a4;
    border-bottom-color: #e4ecf4;
}
body[data-pc-theme="light"] .career-rank-row{
    border-bottom-color: #eaf0f6;
}
body[data-pc-theme="light"] .career-rank-row:hover{
    background: #f0f4f8;
}
body[data-pc-theme="light"] .career-rank-row--current{
    background: #eaf0f6;
    border-left-color: #0C1F3F;
}
body[data-pc-theme="light"] .career-dot--current{
    background: #0C1F3F;
    box-shadow: 0 0 6px rgba(12,31,63,.3);
}
body[data-pc-theme="light"] .career-dot--earned{
    background: #1b8a4a;
}
body[data-pc-theme="light"] .career-dot--locked{
    background: #c0ccda;
}
body[data-pc-theme="light"] .career-rank-code-sm{
    color: #1a2030;
}
body[data-pc-theme="light"] .career-rank-name-sm{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .career-rank-rp{
    color: #8a96a4;
}

/* ── System Alerts ──────────────────────────────── */

body[data-pc-theme="light"] .lf-system-alert{
    border-bottom-color: #e4ecf4;
}
body[data-pc-theme="light"] .lf-system-alert--info{
    background: #e8f0fd;
    color: #1565c0;
}
body[data-pc-theme="light"] .lf-system-alert--success{
    background: #e6f5eb;
    color: #1b8a4a;
}
body[data-pc-theme="light"] .lf-system-alert--warning{
    background: #fdf5e0;
    color: #b38600;
}
body[data-pc-theme="light"] .lf-system-alert--danger{
    background: #fde8e8;
    color: #d32f2f;
}

/* ── Donate Modal ───────────────────────────────── */

body[data-pc-theme="light"] .donate-modal{
    background: #ffffff;
    border-color: #d0dae8;
    color: #2a3a4a;
}
body[data-pc-theme="light"] .donate-modal__header{
    border-bottom-color: #d0dae8;
}
body[data-pc-theme="light"] .donate-modal__title{
    color: #0C1F3F;
}
body[data-pc-theme="light"] .donate-modal__close{
    color: #8a96a4;
}
body[data-pc-theme="light"] .donate-modal__close:hover{
    color: #1a2030;
}
body[data-pc-theme="light"] .donate-modal__text{
    color: #5a6a7a;
}
body[data-pc-theme="light"] .donate-modal__text strong{
    color: #0C1F3F;
}
body[data-pc-theme="light"] .donate-modal__cta{
    border-right-color: #d0dae8;
}
body[data-pc-theme="light"] .donate-modal__award-img{
    filter: drop-shadow(0 0 16px rgba(12,31,63,.12));
}
body[data-pc-theme="light"] .donate-modal__hint{
    color: #8a96a4;
}
body[data-pc-theme="light"] .donate-modal__donors-header{
    color: #6a7a8a;
    border-bottom-color: #d0dae8;
}
body[data-pc-theme="light"] .donate-modal__donor-row{
    border-bottom-color: #eaf0f6;
}
body[data-pc-theme="light"] .donate-modal__donor-row:hover{
    background: #f5f7fa;
}
body[data-pc-theme="light"] .donate-modal__donor-name{
    color: #5a6a7a;
}
body[data-pc-theme="light"] .donate-modal__donor-amount{
    color: #0C1F3F;
}
body[data-pc-theme="light"] .donate-modal__donor-date{
    color: #8a96a4;
}
body[data-pc-theme="light"] .donate-modal__empty{
    color: #8a96a4;
}
body[data-pc-theme="light"] .donate-modal__footer{
    border-top-color: #d0dae8;
}

/* ── Passenger Route ────────────────────────────── */

body[data-pc-theme="light"] .pax-route-notes{
    border-top-color: #d0dae8;
    color: #5a6a7a;
}
body[data-pc-theme="light"] .pax-route-actions{
    border-top-color: #d0dae8;
}
body[data-pc-theme="light"] .pax-route-howto{
    color: #5a6a7a;
}
body[data-pc-theme="light"] .pax-route-howto li{
    border-bottom-color: #eaf0f6;
}
body[data-pc-theme="light"] .pax-route-howto li::before{
    color: #0C1F3F;
}
body[data-pc-theme="light"] .pax-route-howto strong{
    color: #1a2030;
}

/* ── Airport View ───────────────────────────────── */

body[data-pc-theme="light"] .apt-header-name{
    color: #1a2030;
    text-shadow: none;
}
body[data-pc-theme="light"] .apt-header-sub{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .apt-codes{
    border-top-color: #d0dae8;
}
body[data-pc-theme="light"] .apt-code-label{
    color: #6a7a8a;
}
body[data-pc-theme="light"] .apt-code-value{
    color: #0C1F3F;
}
body[data-pc-theme="light"] .apt-links{
    border-top-color: #d0dae8;
}
body[data-pc-theme="light"] .apt-links a{
    color: #1565c0;
}
body[data-pc-theme="light"] .apt-links a:hover{
    color: #0C1F3F;
}
body[data-pc-theme="light"] .apt-wx-wrap{
    background: #f5f7fa;
}
