/* Nexus Max Theme 1.3.0 — strict Maxton-native presentation */
:root{--nx-brand-primary:#0088cc;--nx-brand-secondary:#086796;--nx-card:rgba(0, 136, 204, 1);--nx-border:rgba(8, 103, 150, 1);--nx-muted:#9aa4bd;}
html[data-bs-theme="blue-theme"] body{background-color:#0088cc;background-image:url(../images/bg-themes/body-background-1.webp);background-size:cover;background-attachment:fixed;color:#d3d7dc;font-family:"Noto Sans",sans-serif;}
body{min-height:100vh}.main-content{padding:1.5rem 1.5rem 4.5rem}.nexus-max-page{min-height:60vh}.page-footer{font-size:.78rem;opacity:.72;background:transparent!important;border:0!important}.nx-page-toolbar{min-height:46px}
/* shell */
.sidebar-wrapper{width:240px!important}.sidebar-header .logo-name h5{font-weight:700;font-size:1.28rem}.sidebar-header .logo-name small{font-size:.64rem;letter-spacing:.13em;opacity:.65}.nx-max-logo{width:38px;height:38px;object-fit:contain}.nx-plane-logo{font-size:38px;background:linear-gradient(135deg,#03a9f4,#7c4dff,#ff00a8);-webkit-background-clip:text;color:transparent}.top-header .navbar{padding-inline:1rem}.top-header .search-control{background:rgba(15,21,53,.55)!important;border-color:rgba(255,255,255,.18)!important}.top-header .search-control::placeholder{color:#8e98b8!important}.nx-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#ff7a00,#ff006e);color:#fff;font-weight:800;border:2px solid rgba(255,255,255,.25)}.nx-avatar-lg{width:76px;height:76px;font-size:1.5rem}.nx-user-trigger{text-decoration:none}.badge-notify{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;border-radius:10px;background:#f01846;color:#fff;font-size:10px;display:grid;place-items:center;padding:0 4px}.nx-flag-dot{color:#fff}.sidebar-nav .metismenu a{font-size:.92rem}.sidebar-nav .metismenu .menu-label{text-transform:uppercase;font-size:.7rem;letter-spacing:.07em;color:#9ba5c0;margin-top:.8rem}.sidebar-nav .metismenu .mm-active>a,.sidebar-nav .metismenu a:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}
/* Maxton cards */
.card,.nexus-max-page [class*="rounded-["],.nexus-max-page .bg-white,.nexus-max-page .bg-slate-50,.nexus-max-page .bg-slate-100{background-image:linear-gradient(127.09deg,rgba(6,11,40,.96) 19.41%,rgba(10,14,35,.76) 76.65%)!important;background-color:#070c29!important;border:1px solid rgba(255,255,255,.08)!important;color:#d3d7dc!important;box-shadow:none!important}
.card{border-radius:1rem!important;overflow:hidden}.card-header{background:transparent!important;border-color:var(--nx-border)!important;padding:1rem 1.25rem}.card-body{padding:1.25rem}.card-footer{background:transparent!important;border-color:var(--nx-border)!important}.card h1,.card h2,.card h3,.card h4,.card h5,.card h6,.nexus-max-page h1,.nexus-max-page h2,.nexus-max-page h3,.nexus-max-page h4,.nexus-max-page h5,.nexus-max-page h6{color:#f5f7ff}.options{color:#d3d7dc!important;cursor:pointer}.chart-container2{min-height:110px}.dashboard-chart{min-height:300px}.nx-welcome-card{min-height:240px}.nx-welcome-art{max-height:190px}.nx-dashboard-avatar{width:58px;height:58px;border:3px solid #00c8ff;border-radius:50%;padding:2px;display:grid;place-items:center}.nx-dashboard-avatar img,.nx-dashboard-avatar span{width:100%;height:100%;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#181f4a;font-weight:800}.nx-empty-map{height:380px}#pilot-geographic-map{height:380px}
/* typography and legacy Tailwind compatibility */
.nexus-max-page .text-slate-900,.nexus-max-page .text-slate-800,.nexus-max-page .text-slate-700,.nexus-max-page .font-black,.nexus-max-page .font-bold,.nexus-max-page .font-semibold{color:#f2f5ff!important}.nexus-max-page .text-slate-600,.nexus-max-page .text-slate-500,.nexus-max-page .text-slate-400,.text-muted,.text-secondary{color:#9ba5c0!important}.nexus-max-page .border-slate-100,.nexus-max-page .border-slate-200,.nexus-max-page .border-slate-300,.nexus-max-page .border{border-color:var(--nx-border)!important}.nexus-max-page .shadow-sm,.nexus-max-page .shadow-lg{box-shadow:none!important}.nexus-max-page .ring-1{box-shadow:inset 0 0 0 1px var(--nx-border)!important}.nexus-max-page .uppercase{text-transform:uppercase}.nexus-max-page .tracking-tight{letter-spacing:-.02em}.nexus-max-page .tracking-\[0\.16em\],.nexus-max-page .tracking-\[0\.18em\],.nexus-max-page .tracking-\[0\.2em\]{letter-spacing:.12em}.nexus-max-page .w-full{width:100%}.nexus-max-page .flex{display:flex}.nexus-max-page .grid{display:grid}.nexus-max-page .items-center{align-items:center}.nexus-max-page .items-start{align-items:flex-start}.nexus-max-page .justify-between{justify-content:space-between}.nexus-max-page .justify-center{justify-content:center}.nexus-max-page .flex-wrap{flex-wrap:wrap}.nexus-max-page .flex-col{flex-direction:column}.nexus-max-page .gap-2{gap:.5rem}.nexus-max-page .gap-3{gap:.75rem}.nexus-max-page .gap-4{gap:1rem}.nexus-max-page .gap-5{gap:1.25rem}.nexus-max-page .gap-6{gap:1.5rem}.nexus-max-page .p-4{padding:1rem}.nexus-max-page .p-5{padding:1.25rem}.nexus-max-page .p-6{padding:1.5rem}.nexus-max-page .px-4{padding-left:1rem;padding-right:1rem}.nexus-max-page .px-5{padding-left:1.25rem;padding-right:1.25rem}.nexus-max-page .px-6{padding-left:1.5rem;padding-right:1.5rem}.nexus-max-page .py-3{padding-top:.75rem;padding-bottom:.75rem}.nexus-max-page .py-4{padding-top:1rem;padding-bottom:1rem}.nexus-max-page .py-5{padding-top:1.25rem;padding-bottom:1.25rem}.nexus-max-page .py-6{padding-top:1.5rem;padding-bottom:1.5rem}.nexus-max-page .rounded-xl,.nexus-max-page .rounded-2xl,.nexus-max-page [class*="rounded-["]{border-radius:1rem!important}
/* forms */
.form-control,.form-select,.input-group-text,.nexus-max-page input:not([type=checkbox]):not([type=radio]),.nexus-max-page textarea,.nexus-max-page select{background-color:rgba(15,21,53,.72)!important;border:1px solid rgba(255,255,255,.16)!important;color:#eef2ff!important;border-radius:.65rem!important;min-height:42px}.form-control::placeholder,.nexus-max-page input::placeholder,.nexus-max-page textarea::placeholder{color:#7e89aa!important}.form-control:focus,.form-select:focus,.nexus-max-page input:focus,.nexus-max-page textarea:focus,.nexus-max-page select:focus{border-color:#4776ff!important;box-shadow:0 0 0 .2rem rgba(71,118,255,.16)!important}.form-label,label{color:#d9def0}.input-group-text{color:#cdd5ed}
/* tables */
.table-responsive{border-radius:1rem}.table{--bs-table-bg:transparent!important;--bs-table-color:#d3d7dc!important;--bs-table-border-color:rgba(255,255,255,.09)!important}.table>:not(caption)>*>*{padding:.9rem 1rem}.table thead th,.nx-table-head th{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;font-weight:700;color:#9da7c2!important;background:rgba(255,255,255,.035)!important}.table tbody tr:hover>*{background:rgba(255,255,255,.035)!important}.nexus-max-page table:not(.table){width:100%;color:#d3d7dc;border-collapse:collapse}.nexus-max-page table:not(.table) th,.nexus-max-page table:not(.table) td{border-color:var(--nx-border)!important}
/* buttons / pills */
.btn{border-radius:.45rem;font-weight:600}.btn-primary,.btn-grd-primary{background:linear-gradient(135deg,#0088cc,#00b8ff)!important;border:0!important;color:#fff!important}.btn-grd,.bg-grd-primary{background:linear-gradient(135deg,#0062ff,#00c6ff)!important}.bg-grd-success{background:linear-gradient(90deg,#78ff00,#00d885)!important}.bg-grd-danger{background:linear-gradient(90deg,#ff7b00,#ff006e)!important}.btn-outline-primary{border-color:#4776ff!important;color:#72a0ff!important}.btn-outline-primary:hover{background:#4776ff!important;color:#fff!important}.badge,.chip{border-radius:999px;padding:.42rem .7rem;font-weight:600}.chip{display:inline-flex;background:#171e44;border:1px solid var(--nx-border);color:#e0e5f5}.progress{background:rgba(255,255,255,.12);border-radius:99px}.dropdown-menu{background:#101738!important;border:1px solid var(--nx-border)!important;border-radius:.75rem!important;box-shadow:0 18px 50px rgba(0,0,0,.35)!important}.dropdown-item{color:#d3d7dc!important;border-radius:.45rem}.dropdown-item:hover{background:#181f4a!important;color:#fff!important}.alert{border-radius:.8rem!important}
/* profile: match Maxton user-profile snapshot */
.nx-maxton-profile-hero{min-height:285px;overflow:visible!important}.nx-maxton-profile-hero .card-body{min-height:285px;background:linear-gradient(180deg,rgba(4,8,31,.72),rgba(6,11,40,.95))}.nx-profile-photo-wrap{position:absolute;left:50%;top:-42px;transform:translateX(-50%);width:148px;height:148px;border-radius:50%;padding:4px;background:linear-gradient(135deg,#ff7b00,#ff006e,#00c8ff);z-index:2}.nx-profile-photo{width:100%;height:100%;border-radius:50%;object-fit:cover;border:4px solid #0a0e23}.nx-profile-photo-fallback{display:grid;place-items:center;background:#181f4a;color:white;font-size:2.2rem;font-weight:800}.nx-profile-card{background-image:linear-gradient(127.09deg,rgba(6,11,40,.96),rgba(10,14,35,.76))!important}.nx-profile-avatar-wrap{width:120px;height:120px;position:relative}.nx-profile-avatar{width:120px;height:120px;border-radius:50%;object-fit:cover}.nx-profile-avatar--fallback{display:grid;place-items:center;background:#181f4a;color:#fff;font-size:2rem}.nx-profile-detail-item{display:flex;align-items:center;gap:.8rem;padding:.75rem 0;border-bottom:1px solid var(--nx-border)}.nx-profile-detail-item:last-child{border-bottom:0}.nx-profile-detail-icon,.nx-activity-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:.6rem}.nx-profile-detail-item small,.nx-profile-info-box small,.nx-rating-metric small{display:block;color:#8f99b5}.nx-profile-detail-item strong,.nx-profile-info-box strong,.nx-rating-metric strong{display:block;color:#f0f3ff}.nx-profile-info-box,.nx-rating-metric,.nx-profile-rank,.nx-rating-card{background:#0f1535!important;border:1px solid var(--nx-border)!important;border-radius:.8rem!important;padding:1rem}.nx-profile-progress-row{margin-bottom:1.15rem}.nx-profile-progress-row .progress{height:7px;margin-top:.5rem}.nx-profile-section-kicker{font-size:.7rem;letter-spacing:.12em;color:#8793b3}.nx-profile-activity-row{display:flex;align-items:center;gap:.8rem;padding:1rem 1.25rem;border-bottom:1px solid var(--nx-border)}.nx-profile-activity-row:last-child{border-bottom:0}.nx-profile-activity-row small{display:block;color:#8f99b5}.nx-profile-empty{text-align:center;padding:2rem;color:#8f99b5}
/* legacy custom surfaces across Flights, PIREPs, Bids, Dispatch, Wallet, Awards, Ranks, Notifications */
.nexus-hero,.dashboard-hero,.nx-dashboard-hero,.pilot-hero,.profile-hero,.nexus-hero-strip,.pirep-hero,.dispatch-hero,.flight-hero{background-image:linear-gradient(127.09deg,rgba(6,11,40,.96),rgba(10,14,35,.76))!important;background-color:#070c29!important;border:1px solid var(--nx-border)!important;border-radius:1rem!important;color:#f4f6ff!important;box-shadow:none!important}.nexus-hero *,.dashboard-hero *,.nx-dashboard-hero *,.pilot-hero *,.profile-hero *,.pirep-hero *,.dispatch-hero *,.flight-hero *{color:inherit!important}.nexus-page-heading{display:none!important}.nexus-page-eyebrow{color:#8f99b5!important}.pirep-shell,.pirep-card,.dispatch-card,.flight-card,.wallet-card,.award-card,.np-detail,.nx-pilot-screen{background:transparent!important;color:#d3d7dc!important}.crewmail-shell,.email-wrapper,.emailbox-wrapper{background:#070c29!important;border:1px solid var(--nx-border);border-radius:1rem}.email-sidebar,.mail-sidebar,.crewmail-nav{background:#0f1535!important;border-color:var(--nx-border)!important}.email-list-item,.mail-row{border-color:var(--nx-border)!important}.email-list-item:hover,.mail-row:hover{background:#171e44!important}
/* Tailwind buttons/links that survived older theme markup */
.nexus-max-page a[class*="bg-sky"],.nexus-max-page button[class*="bg-sky"],.nexus-max-page a[class*="bg-indigo"],.nexus-max-page button[class*="bg-indigo"]{background:linear-gradient(135deg,#0062ff,#00c6ff)!important;color:#fff!important;border:0!important}.nexus-max-page a[class*="bg-emerald"],.nexus-max-page button[class*="bg-emerald"]{background:linear-gradient(135deg,#00a86b,#00d98b)!important;color:#fff!important}.nexus-max-page .text-sky-600{color:#59a8ff!important}.nexus-max-page .text-emerald-700{color:#37dd9a!important}.nexus-max-page .text-rose-600{color:#ff5f87!important}
@media(max-width:1199px){.nx-welcome-art{max-height:145px}.main-content{padding:1.25rem}.nx-maxton-profile-hero{margin-top:42px}}
@media(max-width:767px){.main-content{padding:1rem 1rem 4rem}.nx-welcome-card{text-align:center}.nx-dashboard-avatar{margin:auto}.nx-welcome-art{display:none}.nx-maxton-profile-hero .pt-5{padding-top:5rem!important}.nx-profile-photo-wrap{width:120px;height:120px}.nx-page-toolbar .dropdown{display:none}}


/* v1.3.0 shell alignment + airline branding */
.sidebar-wrapper{width:260px!important;top:0!important}
.sidebar-wrapper .sidebar-header{height:70px!important;min-height:70px!important;padding:0 1rem!important;border-bottom:1px solid rgba(255,255,255,.10)!important}
.top-header .navbar{left:260px!important;height:70px!important;min-height:70px!important}
.main-wrapper{margin-left:260px!important}.page-footer{left:260px!important}
.nx-brand-header{display:flex!important;align-items:center!important;justify-content:space-between!important}
.nx-brand-lockup{display:flex;align-items:center;min-width:0;gap:.65rem;color:inherit;flex:1}
.nx-airline-logo-wrap{width:42px!important;height:42px!important;min-width:42px;display:grid!important;place-items:center!important;border-radius:10px;background:rgba(255,255,255,.05)}
.nx-max-logo{width:36px!important;height:36px!important;max-width:36px!important;object-fit:contain!important}
.sidebar-header .logo-name{min-width:0}.sidebar-header .logo-name h5{font-size:.98rem!important;line-height:1.15!important;font-weight:650!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0!important}
.nx-dashboard-airline-logo{background:#0f1535!important}.nx-dashboard-airline-logo img{object-fit:contain!important;padding:5px;background:transparent!important}.nx-dashboard-airline-logo .material-icons-outlined{font-size:30px}

/* airline-booking flight schedule */
.flight-command-page .flight-hero-card{background:linear-gradient(115deg,#016597 0%,#0088cc 45%,#12346a 100%)!important;position:relative}
.flight-command-page .flight-hero-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 30%,rgba(0,198,255,.16),transparent 35%);pointer-events:none}
.nx-booking-results{width:100%}.nx-booking-flight-card{border-radius:14px!important;overflow:hidden!important;transition:.2s ease}.nx-booking-flight-card:hover{transform:translateY(-2px);border-color:rgba(55,151,255,.34)!important}.nx-booking-flight-card.has-active-bid{border-color:rgba(255,193,7,.42)!important}
.nx-booking-flight-head{background:rgba(255,255,255,.035);border-bottom:1px solid rgba(255,255,255,.08)}
.nx-booking-airline-logo{width:46px;height:46px;display:grid;place-items:center;border-radius:10px;background:#fff;overflow:hidden;flex:0 0 46px}.nx-booking-airline-logo img{max-width:40px;max-height:40px;object-fit:contain}.nx-booking-airline-logo i{color:#0088cc;font-size:28px}.nx-booking-flight-number{font-size:1.02rem;color:#fff;letter-spacing:.04em}.nx-booking-details{white-space:nowrap}
.nx-booking-route-grid{display:grid;grid-template-columns:minmax(120px,1fr) minmax(180px,1.35fr) minmax(120px,1fr);align-items:center;gap:1.25rem}.nx-booking-airport small,.nx-booking-select-panel>small{display:block;font-size:.66rem;letter-spacing:.12em;color:#7f8bad;font-weight:700}.nx-booking-airport strong{display:block;font-size:2rem;line-height:1.05;color:#fff;margin:.28rem 0}.nx-booking-airport span{display:block;color:#9aa4bd;font-size:.77rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nx-booking-route-line{text-align:center}.nx-booking-route-line>div{display:flex;align-items:center;gap:.45rem;margin:.35rem 0}.nx-booking-route-line>div span{height:1px;flex:1;background:linear-gradient(90deg,transparent,#4c8cff)}.nx-booking-route-line>div span:last-child{background:linear-gradient(90deg,#4c8cff,transparent)}.nx-booking-route-line i{font-size:26px;color:#58b7ff;transform:rotate(0deg)}.nx-booking-duration{font-size:.78rem;color:#e6ebff;font-weight:600}.nx-booking-route-line small{font-size:.7rem;color:#7f8bad}.nx-booking-service-info{display:flex;flex-direction:column;gap:.8rem}.nx-booking-service-info>div{display:flex;align-items:center;gap:.7rem}.nx-booking-service-info i{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:rgba(13,110,253,.13);color:#58a8ff}.nx-booking-service-info small{display:block;color:#7f8bad;font-size:.67rem;text-transform:uppercase;letter-spacing:.08em}.nx-booking-service-info strong{display:block;color:#eef3ff;font-size:.82rem}.nx-booking-select-panel{padding-left:1rem;border-left:1px solid rgba(255,255,255,.09)}.nx-booking-select-panel>strong{display:block;color:#fff;font-size:1rem;margin:.22rem 0 .35rem}

/* CrewMail — mirror Maxton app-emailbox structure */
.nexus-crewmail-app.email-wrapper{position:relative;display:block;min-height:650px;border-radius:0!important;border:0!important;background:transparent!important;overflow:visible!important}
.nexus-crewmail-app .email-sidebar{position:absolute!important;left:0;top:0;bottom:0;width:250px;border-right:1px solid rgba(255,255,255,.10)!important;border-radius:12px 0 0 12px;overflow:hidden;background:#0b1231!important}
.nexus-crewmail-app .email-sidebar-header{height:80px;padding:20px}.nexus-crewmail-app .email-sidebar-content{height:calc(100% - 80px);overflow-y:auto}.nexus-crewmail-app .email-navigation .list-group-item,.nexus-crewmail-app .email-meeting .list-group-item{background:transparent!important;color:#b8c1da!important;border:0!important;padding:.72rem 1.25rem}.nexus-crewmail-app .email-navigation .list-group-item.active{background:rgba(13,110,253,.16)!important;color:#70b6ff!important}.nexus-crewmail-app .crewmail-main-panel{margin-left:250px;min-height:650px;border-radius:0 12px 12px 0;overflow:hidden;background:#080e28;border:1px solid rgba(255,255,255,.08)}
.nexus-crewmail-app .email-header{min-height:72px;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.09);background:#0b1231}.nexus-crewmail-app .email-content{background:#080e28}.nexus-crewmail-app .email-list{max-height:640px;overflow:auto}.nexus-crewmail-app .email-message{position:relative;min-height:48px;border-bottom:1px solid rgba(255,255,255,.055);color:#e8ecf7;cursor:pointer;transition:.15s ease}.nexus-crewmail-app .email-message:hover{background:rgba(255,255,255,.045)!important}.nexus-crewmail-app .email-message.mail-read{background:rgba(255,255,255,.018);color:#a7b0c8}.nexus-crewmail-app .email-actions{width:210px;min-width:210px}.nexus-crewmail-app .nx-mail-sender{width:155px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nexus-crewmail-app .nx-mail-preview{min-width:0;flex:1;white-space:nowrap;overflow:hidden}.nexus-crewmail-app .nx-mail-preview p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nexus-crewmail-app .nx-mail-time{width:90px;text-align:right;flex:0 0 90px}.nexus-crewmail-app .email-star{position:relative;z-index:2;color:#8f99b5}.nexus-crewmail-app .email-message:not(.mail-read) .nx-mail-sender b,.nexus-crewmail-app .email-message:not(.mail-read) .nx-mail-preview strong{font-weight:700;color:#fff}.nexus-crewmail-app .compose-mail-btn{border-radius:7px!important}
@media(max-width:1199px){.nexus-crewmail-app .email-sidebar{transform:translateX(-110%);z-index:15;transition:.25s}.nexus-crewmail-app .email-sidebar.email-sidebar-show{transform:translateX(0)}.nexus-crewmail-app .crewmail-main-panel{margin-left:0}.nx-booking-select-panel{padding-left:0;border-left:0}}
@media(max-width:991px){.sidebar-wrapper{width:260px!important}.top-header .navbar{left:0!important}.main-wrapper{margin-left:0!important}.page-footer{left:0!important}.nx-booking-route-grid{grid-template-columns:1fr 1fr;gap:1rem}.nx-booking-route-line{grid-column:1/-1;grid-row:2}.nx-booking-route-line>div{max-width:300px;margin:.35rem auto}.nx-booking-service-info{flex-direction:row;flex-wrap:wrap}.nx-booking-select-panel{border-top:1px solid rgba(255,255,255,.09);padding-top:1rem}}
@media(max-width:575px){.nx-booking-flight-head{align-items:flex-start!important}.nx-booking-details{display:none}.nx-booking-route-grid{grid-template-columns:1fr 1fr}.nx-booking-airport strong{font-size:1.6rem}.nexus-crewmail-app .email-actions{width:155px;min-width:155px}.nexus-crewmail-app .nx-mail-sender{width:105px}.nexus-crewmail-app .nx-mail-preview{margin-top:.3rem}.nexus-crewmail-app .nx-mail-time{width:auto;flex:auto;text-align:left;margin-top:.25rem}.nexus-crewmail-app .email-message{display:block!important}}

/* v1.4.0 dark-only airline branding */
html, html[data-bs-theme], html[data-bs-theme="blue-theme"] { color-scheme: dark; }
.nx-dashboard-hero-logo{width:min(300px,100%);height:190px;display:flex;align-items:center;justify-content:center;padding:20px;border-radius:24px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08)}
.nx-dashboard-hero-logo img{max-width:100%;max-height:145px;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 12px 28px rgba(0,0,0,.35))}
.nx-dashboard-hero-logo .material-icons-outlined{font-size:92px;color:rgba(255,255,255,.65)}
@media(max-width:575.98px){.nx-dashboard-hero-logo{height:150px;margin:22px auto 0}.nx-dashboard-hero-logo img{max-height:110px}}

/* Nexus Max v1.4.6 profile widgets + compact rank insignia */
.nx-widget-stat{position:relative;overflow:hidden;min-height:168px;padding:18px;border-radius:16px;background:linear-gradient(145deg,#0d1537,#080f2c);border:1px solid rgba(255,255,255,.075);box-shadow:0 12px 28px rgba(0,0,0,.16)}
.nx-widget-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;position:relative;z-index:2}.nx-widget-head span{display:block;color:#8d98b6;font-size:.72rem}.nx-widget-head strong{display:block;color:#fff;font-size:1.65rem;line-height:1.1;margin-top:4px}.nx-widget-head i{font-size:1.55rem;color:var(--nx-accent,#27a9ff)}.nx-widget-stat>small{position:absolute;left:18px;bottom:15px;color:#7f8aa8;font-size:.68rem;z-index:2}
.nx-widget-blue{--nx-accent:#20b7ff}.nx-widget-violet{--nx-accent:#a945ff}.nx-widget-green{--nx-accent:#20d489}.nx-widget-orange{--nx-accent:#ffad22}
.nx-widget-spark{height:50px;display:flex;align-items:flex-end;gap:5px;margin-top:15px}.nx-widget-spark span{flex:1;border-radius:7px 7px 0 0;background:linear-gradient(180deg,var(--nx-accent),rgba(255,255,255,.02))}.nx-widget-spark span:nth-child(1){height:24%}.nx-widget-spark span:nth-child(2){height:42%}.nx-widget-spark span:nth-child(3){height:72%}.nx-widget-spark span:nth-child(4){height:46%}.nx-widget-spark span:nth-child(5){height:64%}.nx-widget-spark span:nth-child(6){height:38%}.nx-widget-spark span:nth-child(7){height:78%}
.nx-widget-line,.nx-widget-wave{height:52px;margin-top:16px;position:relative;overflow:hidden}.nx-widget-line:before,.nx-widget-wave:before{content:"";position:absolute;left:2%;right:2%;bottom:12px;height:35px;border-radius:50%;border-top:4px solid var(--nx-accent);transform:skewX(-18deg) rotate(-2deg);filter:drop-shadow(0 5px 8px color-mix(in srgb,var(--nx-accent) 45%,transparent))}.nx-widget-wave:before{border-top-width:3px;transform:skewX(22deg) rotate(3deg)}
.nx-widget-bars{height:50px;display:flex;gap:6px;align-items:flex-end;margin-top:16px}.nx-widget-bars span{width:12%;border-radius:6px 6px 0 0;background:linear-gradient(180deg,var(--nx-accent),rgba(255,255,255,.04))}.nx-widget-bars span:nth-child(1){height:22%}.nx-widget-bars span:nth-child(2){height:38%}.nx-widget-bars span:nth-child(3){height:58%}.nx-widget-bars span:nth-child(4){height:78%}.nx-widget-bars span:nth-child(5){height:94%}
.nx-profile-rank{display:flex!important;align-items:center!important;gap:.75rem!important;padding:.75rem!important}.nx-profile-rank img{width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important;object-fit:contain!important}.nx-profile-rank small{font-size:.68rem!important}.nx-profile-rank strong{font-size:.88rem!important}


/* Nexus Max v1.4.7 — dark readable ApexCharts hover tooltips */
.apexcharts-tooltip,
.apexcharts-tooltip.apexcharts-theme-light,
.apexcharts-tooltip.apexcharts-theme-dark{
    background:#0b1231!important;
    border:1px solid rgba(118,145,255,.34)!important;
    color:#eef3ff!important;
    box-shadow:0 14px 38px rgba(0,0,0,.45)!important;
    border-radius:10px!important;
    overflow:hidden!important;
}
.apexcharts-tooltip-title{
    background:#121b42!important;
    border-bottom:1px solid rgba(255,255,255,.10)!important;
    color:#fff!important;
    font-weight:700!important;
    padding:8px 10px!important;
}
.apexcharts-tooltip-series-group{background:transparent!important;color:#eef3ff!important;padding:5px 10px!important}
.apexcharts-tooltip-text,
.apexcharts-tooltip-text-y-label,
.apexcharts-tooltip-text-y-value,
.apexcharts-tooltip-text-z-label,
.apexcharts-tooltip-text-z-value{color:#eef3ff!important}
.apexcharts-tooltip-marker{box-shadow:0 0 0 2px rgba(255,255,255,.13)!important}
.apexcharts-xaxistooltip,
.apexcharts-yaxistooltip{
    background:#121b42!important;
    border:1px solid rgba(118,145,255,.34)!important;
    color:#fff!important;
    box-shadow:0 10px 28px rgba(0,0,0,.38)!important;
    border-radius:7px!important;
}
.apexcharts-xaxistooltip:before,.apexcharts-xaxistooltip:after,
.apexcharts-yaxistooltip:before,.apexcharts-yaxistooltip:after{border-bottom-color:#121b42!important;border-top-color:#121b42!important}
.apexcharts-xaxistooltip-text,.apexcharts-yaxistooltip-text{color:#fff!important;font-weight:600!important}


/* Nexus Max v1.4.8 — compact flight schedule pagination */
.nx-flight-pager-card{background:linear-gradient(145deg,#080f2c,#0b1438)!important;border:1px solid rgba(104,123,196,.22)!important;overflow:hidden}
.nx-flight-pager{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px!important}
.nx-flight-pager-summary{display:flex;align-items:center;gap:6px;color:#8e9aba;font-size:.82rem}.nx-flight-pager-summary strong{color:#f4f7ff;font-weight:700}
.nx-flight-pager-nav{display:flex;align-items:center;gap:10px;margin:0!important}
.nx-page-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:38px;padding:8px 14px;border-radius:9px;border:1px solid rgba(92,116,205,.38);background:#111b46;color:#dce5ff!important;text-decoration:none!important;font-size:.8rem;font-weight:700;transition:.16s ease}
.nx-page-btn:hover{background:#1688f8;border-color:#1688f8;color:#fff!important;transform:translateY(-1px)}
.nx-page-btn.disabled{opacity:.42;cursor:not-allowed;pointer-events:none}.nx-page-btn i{font-size:18px;line-height:1}
.nx-page-current{display:inline-flex;align-items:center;gap:4px;min-height:38px;padding:8px 13px;border-radius:9px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);color:#8f9abb;font-size:.78rem;white-space:nowrap}.nx-page-current strong{color:#fff}
.flight-pagination svg,.pagination svg,.nx-flight-pager svg{width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important;display:inline-block!important;flex:0 0 18px!important}
@media(max-width:700px){.nx-flight-pager{flex-direction:column;align-items:stretch}.nx-flight-pager-summary{justify-content:center}.nx-flight-pager-nav{justify-content:space-between}.nx-page-current{flex:1;justify-content:center}.nx-page-btn{padding:8px 10px}}


/* NOTAMS module - Nexus Max dark popup compatibility (module remains untouched) */
#vanexus-notam-overlay{background:rgba(2,6,23,.86)!important;backdrop-filter:blur(14px)!important}
#vanexus-notam-overlay>div{background:linear-gradient(145deg,#080e2b,#0b1234)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 35px 100px rgba(0,0,0,.55)!important;color:#eef3ff!important}
#vanexus-notam-overlay h3{color:#fff!important}
#vanexus-notam-overlay p,#vanexus-notam-overlay div[style*="color:#475569"],#vanexus-notam-overlay div[style*="color:#64748b"]{color:#aeb8d1!important}
#vanexus-notam-overlay div[style*="background:#f8fafc"]{background:#101936!important;border-color:rgba(255,255,255,.10)!important}
#vanexus-notam-overlay div[style*="color:#0f172a"]{color:#fff!important}
#vanexus-notam-overlay div[style*="border-top:1px solid #e2e8f0"]{border-color:rgba(255,255,255,.10)!important}
#vanexus-notam-overlay a[style*="background:#e2e8f0"]{background:#151f45!important;color:#dce6ff!important;border:1px solid rgba(255,255,255,.10)!important}
#vanexus-notam-overlay #vanexus-notam-ack{background:linear-gradient(135deg,#0088cc,#00b7ff)!important;box-shadow:0 12px 26px rgba(13,110,253,.28)!important}
