    .amx-norank-overlay {
        position: fixed; inset: 0; z-index: 99999;
        display: flex; align-items: center; justify-content: center;
        backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
        background: rgba(0, 0, 0, 0.6);
    }
    .amx-norank-modal {
        max-width: 620px; width: 92%; margin: 20px;
        background: linear-gradient(135deg, #4a0824 0%, #0a0a0a 100%);
        border-radius: 20px;
        border: 1px solid rgba(105, 12, 54, 0.35);
        box-shadow: 0 0 60px rgba(105, 12, 54, 0.25), 0 20px 60px rgba(0, 0, 0, 0.5);
        padding: 48px 40px;
        text-align: center;
        animation: amx-norank-fadein 0.5s ease;
    }
    @keyframes amx-norank-fadein {
        from { opacity: 0; transform: translateY(30px) scale(0.96); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .amx-norank-icon {
        width: 72px; height: 72px; margin: 0 auto 24px;
        border-radius: 50%;
        background: rgba(105, 12, 54, 0.15);
        border: 2px solid rgba(105, 12, 54, 0.4);
        display: flex; align-items: center; justify-content: center;
        box-shadow: 0 0 30px rgba(105, 12, 54, 0.3);
    }
    .amx-norank-icon i {
        font-size: 1.8rem; color: #ffffff;
        animation: amx-norank-icon-pulse 2s ease-in-out infinite;
    }
    @keyframes amx-norank-icon-pulse {
        0%, 100% { transform: scale(1) rotate(0deg); }
        25% { transform: scale(1.15) rotate(-8deg); }
        50% { transform: scale(1) rotate(0deg); }
        75% { transform: scale(1.1) rotate(6deg); }
    }
    .amx-norank-title {
        font-size: 1.6rem; font-weight: 800; color: #ffffff;
        margin-bottom: 8px; letter-spacing: -0.02em;
    }
    .amx-norank-subtitle {
        font-size: 1.05rem; font-weight: 600; color: rgba(255,255,255,0.85);
        margin-bottom: 24px;
    }
    .amx-norank-body {
        color: rgba(255,255,255,0.8); font-size: 0.9rem; line-height: 1.7;
        text-align: justify; margin-bottom: 32px;
    }
    .amx-norank-body p { margin-bottom: 14px; }
    .amx-norank-body p:last-child { margin-bottom: 0; }
    .amx-norank-body strong { color: #ffffff; font-weight: 700; }
    .amx-norank-body em { color: #690c36; font-style: normal; font-weight: 700; }
    .amx-norank-cta {
        display: inline-flex; align-items: center; gap: 10px;
        padding: 14px 36px; border-radius: 100px;
        background: linear-gradient(135deg, #690c36 0%, #c70067 100%);
        color: #ffffff; font-weight: 700; font-size: 1rem;
        text-decoration: none; border: none;
        box-shadow: 0 8px 24px rgba(105, 12, 54, 0.4);
        transition: all 0.3s ease;
    }
    .amx-norank-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 32px rgba(105, 12, 54, 0.5);
        color: #ffffff;
    }
    .amx-norank-cta i { font-size: 1.1rem; }
    @media (max-width: 600px) {
        .amx-norank-modal { padding: 32px 24px; }
        .amx-norank-title { font-size: 1.3rem; }
    }
    /* === AEROMEXICO MINIMAL THEME === */
    :root {
        --vsa-primary: #690c36; --amx-pink: #690c36;
        --vsa-primary-dark: #4a0824; --amx-blue-dark: #4a0824;
        
        /* LIGHT MODE */
        --bg-page: #f8f9fa;
        --bg-card: #ffffff;
        --text-primary: #1a1a1a;
        --text-secondary: #6c757d;
        --border: #e9ecef;
        --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
        --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
        --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    }

    [data-bs-theme="dark"] {
        --bg-page: #0d1117;
        --bg-card: #161b22;
        --text-primary: #e6edf3;
        --text-secondary: #7d8590;
        --border: #30363d;
        --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
        --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
        --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
    }

    body { 
        background-color: var(--bg-page) !important; 
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }

    /* === STAT CARDS (ORIGINAL) === */
    .stat-card-rich {
        background: linear-gradient(135deg, var(--amx-blue-dark) 0%, #0a0a0a 100%);
        border-radius: 12px; position: relative; overflow: hidden; height: 100%;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        border: 1px solid rgba(255,255,255,0.06);
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
        display: flex; flex-direction: column;
    }
    .stat-card-rich:hover {
        border-color: rgba(105, 12, 54, 0.2);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 0 0 1px rgba(105, 12, 54, 0.18);
    }
    .stat-header { 
        flex-shrink: 0;
        background: rgba(255,255,255,0.03); padding: 15px 20px; 
        border-bottom: 1px solid rgba(255,255,255,0.02); 
        display: flex; justify-content: space-between; align-items: center; 
    }
    .stat-icon-box { 
        width: 45px; height: 45px; border-radius: 8px; 
        background: rgba(255,255,255,0.05); 
        display: flex; align-items: center; justify-content: center; 
        border: 1px solid rgba(255,255,255,0.02); 
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 2;
    }
    .stat-card-rich:hover .stat-icon-box {
        background: rgba(105, 12, 54, 0.2); border-color: var(--amx-pink);        
        box-shadow: 0 0 15px rgba(105, 12, 54, 0.6); transform: scale(1.1);
    }
    .stat-card-rich:hover .stat-icon-box i { color: #ffffff !important; transform: scale(1.1); }
    .stat-icon-box i { color: #ffffff !important; transition: transform 0.3s ease; }
    .stat-body { flex: 1; min-height: 0; padding: 20px; position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
    .stat-bg-watermark { 
        position: absolute; bottom: -20px; right: -20px; font-size: 6rem; 
        color: rgba(255,255,255,0.02); transform: rotate(-15deg); 
        z-index: 1; pointer-events: none; transition: all 0.5s ease;
    }
    .stat-card-rich:hover .stat-bg-watermark {
        transform: rotate(0deg) scale(1.2); color: rgba(255,255,255,0.05); 
        bottom: -10px; right: -10px;
    }
    .stat-card-rich .amx-stat-fake-currency-badge {
        background: rgba(105, 12, 54, 0.22) !important;
        color: #f5d0e0 !important;
        border: 1px solid rgba(105, 12, 54, 0.65) !important;
        box-shadow: 0 0 12px rgba(105, 12, 54, 0.25);
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }
    .stat-footer { 
        flex-shrink: 0; margin-top: auto;
        background: rgba(0,0,0,0.2); padding: 10px 20px; 
        border-top: 1px solid rgba(255,255,255,0.02); 
        font-size: 0.8rem; color: rgba(255,255,255,0.6); 
        display: flex; justify-content: space-between; 
    }

    /* === HERO SLIDER === */
    .hero-slider {
        border-radius: 16px; border: none; box-shadow: var(--shadow-lg);
        min-height: 400px; position: relative; overflow: hidden;
        display: flex; flex-direction: column;
        z-index: 100;
        margin-bottom: 2rem;
    }
    /* Hero overlay: same as weather widget – blue to dark blue with opacity so image shows through */
    .hero-overlay {
        background: linear-gradient(135deg, rgba(74, 8, 36, 0.88) 0%, rgba(10, 10, 10, 0.92) 100%);
        position: absolute; inset: 0; z-index: 1;
    }
    .hero-overlay::after {
        content: ''; position: absolute; inset: 0;
        background: linear-gradient(135deg, rgba(105, 12, 54, 0.08) 0%, transparent 50%);
        pointer-events: none;
    }
    .hero-content { flex-grow: 1; justify-content: center !important; }
    .weather-widget,
    .hero-gallery-panel {
        position: absolute; top: 50%; right: 24px; width: 320px;
        transform: translateY(-50%);
        background: linear-gradient(135deg, var(--amx-blue-dark) 0%, #0a0a0a 100%) !important; 
        backdrop-filter: blur(20px);
        border-radius: 14px;
        padding: 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.1); z-index: 10;
    }
    .hero-gallery-panel { overflow: hidden; min-height: 280px; display: flex; flex-direction: column; }
    .hero-gallery-slides-wrap { flex: 1; position: relative; min-height: 220px; display: flex; flex-direction: column; }
    .hero-gallery-slide {
        position: absolute;
        inset: 0;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        display: flex;
        flex-direction: column;
        width: 100%; height: 100%;
    }
    .hero-gallery-slide-airport { padding: 0; }
    .hero-gallery-slide-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .hero-gallery-slide:not(.hero-gallery-slide-active) { pointer-events: none; }
    .hero-gallery-panel * { color: #ffffff !important; }
    /* Airport slide – image covers entire container (full-bleed) */
    .hero-gallery-airport-wrap-full {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100%; height: 100%; min-height: 100%;
        background-size: cover; background-position: center; background-repeat: no-repeat;
        overflow: hidden;
    }
    .hero-gallery-airport-wrap-full::before {
        content: ''; position: absolute; inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.42) 38%, rgba(0,0,0,0.88) 100%);
    }
    .hero-gallery-airport-wrap-full::after {
        content: ''; position: absolute; inset: 0;
        background: linear-gradient(135deg, rgba(105, 12, 54, 0.12) 0%, transparent 45%, rgba(105, 12, 54, 0.06) 100%);
        pointer-events: none;
    }
    .hero-gallery-aotm-image-link {
        position: absolute; inset: 0; z-index: 0;
    }
    .hero-gallery-aotm-topbar {
        position: absolute;
        top: 12px;
        left: 12px;
        right: 12px;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 0;
    }
    .hero-gallery-airport-inner {
        position: absolute; z-index: 1; bottom: 0; left: 0; right: 0;
        padding: 10px 12px 8px;
        display: flex; flex-direction: column; gap: 4px;
        background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 100%);
    }
    .hero-gallery-title-aotm-label {
        font-size: 0.66rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        opacity: 1;
        text-shadow: 0 2px 8px rgba(0,0,0,0.75);
        padding: 4px 8px;
        border-radius: 999px;
        background: rgba(0,0,0,0.45);
        border: 1px solid rgba(255,255,255,0.28);
        backdrop-filter: blur(2px);
    }
    .hero-gallery-aotm-main {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    .hero-gallery-aotm-heading {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 6px 10px;
    }
    .hero-gallery-aotm-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
    .hero-gallery-aotm-tag {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        padding: 2px 7px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.46);
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(2px);
    }
    .hero-gallery-aotm-tag i {
        font-size: 0.6rem;
    }
    .hero-gallery-icao { font-size: 1.2rem; font-weight: 800; letter-spacing: 2px; margin: 0; }
    .hero-gallery-name { font-size: 0.75rem; opacity: 0.9; margin: 0; }
    .hero-gallery-link { font-size: 0.72rem; font-weight: 600; text-decoration: none; opacity: 0.9; }
    .hero-gallery-link:hover { opacity: 1; }
    .hero-gallery-footer-row {
        display: flex; justify-content: space-between; align-items: center;
        padding-top: 6px;
    }
    .hero-gallery-footer-btns {
        display: inline-flex; align-items: center; gap: 6px;
        margin-top: 2px;
    }
    .hero-gallery-month { font-size: 0.7rem; opacity: 0.9; }
    /* Redesigned buttons – pill style */
    .hero-gallery-btn {
        font-size: 0.7rem; font-weight: 600; color: #fff !important;
        padding: 4px 8px; border-radius: 999px; text-decoration: none;
        background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
        display: inline-flex; align-items: center; gap: 4px;
        transition: background 0.2s, border-color 0.2s;
    }
    .hero-gallery-btn:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.35); color: #fff !important; }
    .hero-gallery-btn-pin {
        width: 26px;
        height: 26px;
        padding: 0;
        justify-content: center;
        background: rgba(0,0,0,0.5);
        border-color: rgba(255,255,255,0.35);
        backdrop-filter: blur(2px);
    }
    .hero-gallery-btn-pin:hover { background: rgba(230,0,126,0.32); border-color: #690c36; color: #fff !important; }
    .hero-gallery-btn-pin:hover i { color: #fff !important; }
    .hero-gallery-btn-pin i { font-size: 0.66rem; }
    .hero-gallery-btn-wiki {
        background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2);
    }
    .hero-gallery-btn-wiki:hover { background: rgba(255,255,255,0.15); }
    /* Bottom dots – vertically centered in section */
    .hero-gallery-toggles {
        display: flex; justify-content: center; align-items: center;
        gap: 8px; padding: 0 14px;
        height: 28px; min-height: 28px;
        margin: 0; border-top: 1px solid rgba(255,255,255,0.1);
        flex-shrink: 0;
    }
    .hero-gallery-dot {
        width: 7px; height: 7px; border-radius: 50%;
        background: rgba(255,255,255,0.35); border: none; padding: 0; cursor: pointer;
        transition: background 0.2s, transform 0.2s;
    }
    .hero-gallery-dot:hover { background: rgba(255,255,255,0.6); }
    .hero-gallery-dot.active { background: #fff; transform: scale(1.2); }
    /* Pink bar at bottom of hero: latest approved PIREP – single row, small; slides down after 10s */
    .hero-latest-pirep-wrap {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2.5rem;
        overflow: hidden;
        transition: height 0.5s ease;
        z-index: 5;
    }
    .hero-latest-pirep-wrap.hero-latest-pirep-wrap--hidden { height: 0; }
    .hero-latest-pirep-bar {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0 0.5rem;
        padding: 5px 1rem;
        background: linear-gradient(90deg, rgba(105, 12, 54, 0.25) 0%, rgba(105, 12, 54, 0.35) 50%, rgba(105, 12, 54, 0.25) 100%);
        border-top: 2px solid var(--amx-pink);
        color: #fff;
        font-size: 0.75rem;
        transition: transform 0.5s ease;
    }
    .hero-latest-pirep-wrap--hidden .hero-latest-pirep-bar { transform: translateY(100%); }
    .hero-latest-pirep-text { display: inline; }
    .hero-latest-pirep-bar .fa-check-circle,
    .hero-latest-pirep-bar .hero-latest-pirep-text i { color: #fff !important; }
    /* Callsign: pop bigger then back */
    .hero-latest-pirep-callsign {
        display: inline-block;
        animation: hero-pirep-callsign-pop 1.5s ease-out 0.5s 1 normal both;
    }
    @keyframes hero-pirep-callsign-pop {
        0%, 100% { transform: scale(1); }
        25% { transform: scale(1.2); }
        45% { transform: scale(1.2); }
        70% { transform: scale(1); }
    }
    /* "APPROVED" – bold green text, no container */
    .hero-latest-pirep-approved {
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #22c55e !important;
    }
    .hero-latest-pirep-rejected {
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #ef4444 !important;
    }
    .hero-latest-pirep-link {
        color: #fff;
        font-weight: 600;
        font-size: 0.75rem;
        text-decoration: underline;
        text-underline-offset: 2px;
        white-space: nowrap;
    }
    .hero-latest-pirep-link:hover { color: #fff; opacity: 0.9; text-decoration: underline; }
    /* Weather slide – single block, no scroll; ICAO only in header */
    .hero-gallery-slide-weather { padding: 12px 18px 10px; }
    .hero-gallery-slide-weather h5 {
        font-size: 0.8rem; font-weight: 600; margin-bottom: 10px;
        display: flex; align-items: center; gap: 6px;
        color: rgba(255,255,255,0.95) !important;
    }
    .weather-widget h5 { font-size: 0.8rem !important; }
    .weather-widget * { color: #ffffff !important; }
    .hero-gallery-slide-weather .hero-weather-inner {
        flex: 1; min-height: 0; overflow: hidden;
        font-size: 0.8rem; line-height: 1.3;
    }
    /* Hero layout: left avatar + rank level vertically with welcome + progress card */
    .hero-top { align-items: center; }
    .hero-left { flex-shrink: 0; align-self: center; }
    .hero-avatar-wrap {
        width: 72px; height: 72px; margin: 0 auto;
        border-radius: 50%;
        border: 2px solid rgba(105, 12, 54, 0.6);
        box-shadow: 0 0 20px rgba(105, 12, 54, 0.4), 0 0 40px rgba(105, 12, 54, 0.2);
        overflow: hidden;
    }
    .hero-avatar {
        width: 100%; height: 100%; object-fit: cover; display: block;
    }
    .hero-current-rank-btn {
        display: inline-block;
        padding: 0.4rem 1rem;
        border-radius: 100px;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.25);
        color: #fff;
        font-size: 0.8rem;
        font-weight: 600;
        white-space: nowrap;
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .hero-welcome-block { max-width: none; }
    .hero-cta-stack {
        display: inline-flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        max-width: 100%;
    }
    .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    .hero-welcome-title {
        font-size: 1.5rem; font-weight: 700; color: #fff;
        letter-spacing: -0.02em; text-shadow: 0 2px 8px rgba(0,0,0,0.3);
        margin-bottom: 14px;
    }
    .hero-welcome-name { color: #fff; font-weight: 700; }
    .hero-welcome-cta {
        display: inline-block; font-size: 0.8rem; color: #fff;
        text-decoration: underline; text-underline-offset: 3px; margin-top: 4px;
    }
    .hero-welcome-cta:hover { color: rgba(255,255,255,0.9); }
    /* Progress card: full width of CTA stack (matches button row on wide screens) */
    .hero-progress-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0.8rem 1.1rem;
        border-radius: 12px;
        background: rgba(30, 40, 60, 0.5);
        border: 1px solid rgba(105, 12, 54, 0.5);
        box-shadow: 0 0 24px rgba(105, 12, 54, 0.3), 0 0 0 1px rgba(105, 12, 54, 0.18), inset 0 1px 0 rgba(255,255,255,0.05);
    }
    .hero-progress-card-title {
        font-size: 0.95rem; font-weight: 700; color: #fff;
        margin-bottom: 2px;
    }
    .hero-progress-card-sub {
        font-size: 0.78rem; color: rgba(255,255,255,0.85);
        margin-bottom: 8px;
    }
    .hero-progress-track-wrap {
        position: relative;
        display: flex;
        align-items: center;
        margin-bottom: 6px;
    }
    .hero-welcome-progress-track {
        flex: 1; height: 9px; min-width: 0;
        background: rgba(0,0,0,0.35);
        border-radius: 10px;
        overflow: hidden;
    }
    .hero-welcome-progress-bar {
        height: 100%; min-width: 3px;
        background: linear-gradient(90deg, #2563eb 0%, #3b82f6 42%, #22c55e 100%);
        border-radius: 8px;
        transition: width 0.4s ease, background 0.35s ease, box-shadow 0.35s ease;
        box-shadow: 0 0 10px rgba(37, 99, 235, 0.45), 0 0 6px rgba(34, 197, 94, 0.25);
    }
    .hero-welcome-progress-bar--complete {
        background: linear-gradient(90deg, #16a34a 0%, #4ade80 100%);
        box-shadow: 0 0 14px rgba(34, 197, 94, 0.55);
    }
    .hero-progress-marker {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 13px;
        background: rgba(34, 197, 94, 0.95);
        border-radius: 2px;
        box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
    }
    .hero-progress-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.74rem;
        font-weight: 600;
        color: #fff;
    }
    .hero-progress-hours-left { opacity: 0.95; }
    .hero-progress-hours-total { opacity: 0.9; }
    .hero-progress-training-link {
        color: #fff;
        text-decoration: underline;
        text-underline-offset: 2px;
        font-weight: 600;
    }
    .hero-progress-training-link:hover { color: rgba(255,255,255,0.95); }

    /* Weather slide in hero – taller panel, clean look, keep dots */
    .hero-gallery-slide-weather {
        display: flex; flex-direction: column; min-height: 0;
    }
    .hero-gallery-slide-weather .hero-weather-inner {
        flex: 1; min-height: 0; overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    /* VSA slide - keep container size, prioritize image coverage */
    .hero-gallery-slide-vsa {
        padding: 0;
    }
    .hero-vsa-event-wrap {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .hero-vsa-event-wrap::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 18% 18%, rgba(52, 211, 255, 0.22), transparent 28%),
            radial-gradient(circle at 82% 12%, rgba(105, 12, 54, 0.22), transparent 30%),
            linear-gradient(180deg, rgba(2, 6, 23, 0.2) 0%, rgba(2, 6, 23, 0.42) 42%, rgba(2, 6, 23, 0.96) 100%);
    }
    .hero-vsa-event-wrap::after {
        content: '';
        position: absolute;
        inset: 0;
        background:
            linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
            linear-gradient(180deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
            linear-gradient(135deg, rgba(105, 12, 54, 0.2) 0%, transparent 46%, rgba(52, 211, 255, 0.14) 100%);
        background-size: 38px 38px, 38px 38px, auto;
        mix-blend-mode: screen;
        opacity: 0.72;
    }
    .hero-vsa-event-link {
        position: absolute;
        inset: 0;
        z-index: 1;
    }
    .hero-vsa-topbar {
        position: absolute;
        top: 12px;
        left: 12px;
        right: 12px;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    .hero-vsa-label-pill {
        font-size: 0.66rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        opacity: 1;
        text-shadow: 0 2px 8px rgba(0,0,0,0.75);
        padding: 4px 8px;
        border-radius: 999px;
        background: rgba(2, 6, 23, 0.72);
        border: 1px solid rgba(52, 211, 255, 0.42);
        box-shadow: 0 0 18px rgba(52, 211, 255, 0.16);
        backdrop-filter: blur(2px);
    }
    .hero-vsa-status-pill {
        font-size: 0.62rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        border-radius: 999px;
        padding: 2px 8px;
        background: rgba(105, 12, 54, 0.18);
        border: 1px solid rgba(105, 12, 54, 0.6);
        box-shadow: 0 0 16px rgba(105, 12, 54, 0.18);
    }
    .hero-vsa-event-inner {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        padding: 10px 12px 12px;
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
    }
    .hero-vsa-heading {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .hero-vsa-title {
        margin: 0;
        font-size: 0.95rem;
        font-weight: 800;
        line-height: 1.25;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hero-vsa-subtitle {
        margin: 0;
        font-size: 0.68rem;
        font-weight: 600;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        opacity: 0.9;
    }
    .hero-vsa-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
    .hero-vsa-tag {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        padding: 2px 7px;
        border-radius: 999px;
        background: rgba(2, 6, 23, 0.62);
        border: 1px solid rgba(52, 211, 255, 0.24);
        backdrop-filter: blur(2px);
    }
    .hero-vsa-tag i {
        font-size: 0.6rem;
    }
    .hero-vsa-footer-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 6px;
        margin-top: 2px;
    }
    .hero-vsa-footer-label {
        font-size: 0.7rem;
        opacity: 0.9;
    }
    .hero-vsa-footer-btns {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    .hero-vsa-cta {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        width: fit-content;
        padding: 4px 9px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.16);
        border: 1px solid rgba(255, 255, 255, 0.28);
        text-decoration: none;
        font-size: 0.68rem;
        font-weight: 700;
    }
    .hero-vsa-cta:hover {
        background: rgba(255, 255, 255, 0.24);
        color: #fff !important;
    }
    .hero-vsa-empty {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
        padding: 14px;
    }
    .hero-vsa-empty-card {
        width: 100%;
        text-align: center;
        padding: 14px 12px;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.42);
        border: 1px solid rgba(255, 255, 255, 0.16);
        backdrop-filter: blur(4px);
    }
    .hero-vsa-empty-card h6 {
        margin: 0 0 6px;
        font-size: 0.88rem;
        font-weight: 700;
    }
    .hero-vsa-empty-card p {
        margin: 0 0 10px;
        font-size: 0.72rem;
        opacity: 0.9;
    }

    /* === AEROMEXICO PREMIUM HERO BUTTONS === */
    .hero-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.65rem;
        padding: 0.8rem 1.32rem;
        min-width: 122px;
        border-radius: 100px;
        background: rgba(255, 255, 255, 0.08); /* Slightly more visible glass */
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #fff !important;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.85rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        white-space: nowrap;
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(12px);
    }
    
    /* The Sliding Light Streak (Same as footer capsules) */
    .hero-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(105, 12, 54, 0.2), transparent);
        transition: left 0.5s ease;
        z-index: 1;
    }
    
    .hero-btn:hover {
        background: rgba(105, 12, 54, 0.15); /* Pinkish tint on hover */
        border-color: var(--amx-pink);
        color: #fff !important;
        transform: translateY(-3px); /* Subtle lift */
        box-shadow: 0 8px 20px rgba(105, 12, 54, 0.3); /* Premium pink glow */
    }
    
    .hero-btn:hover::before {
        left: 100%; /* Triggers the streak */
    }
    
    /* Icon Animation */
    .hero-btn i {
        font-size: 1rem;
        transition: transform 0.3s ease;
        position: relative;
        z-index: 2;
    }
    
    .hero-btn:hover i {
        transform: scale(1.15) rotate(-5deg); /* Adds a little "kick" to the icon */
    }
    
    .hero-btn span {
        position: relative;
        z-index: 2;
    }

    button.hero-btn {
        border: 1px solid rgba(255, 255, 255, 0.15);
        cursor: pointer;
        font-family: inherit;
    }

    .hero-btn.show,
    .hero-btn.dropdown-toggle.show {
        background: rgba(105, 12, 54, 0.15);
        border-color: var(--amx-pink);
        color: #fff !important;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(105, 12, 54, 0.3);
    }

    .hero-btn.dropdown-toggle::after {
        margin-left: 0.35em;
        vertical-align: 0.15em;
        border-top-color: #fff;
        opacity: 0.9;
        position: relative;
        z-index: 2;
    }

    /* === CLEAN SECTION === */
    .section-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 1.5rem;
        letter-spacing: -0.02em;
    }

    /* === MINIMAL CARD === */
    .clean-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 12px;
        box-shadow: var(--shadow-sm);
        overflow: hidden;
        height: 100%;
        transition: all 0.2s ease;
    }
    .clean-card:hover {
        border-color: rgba(105, 12, 54, 0.2);
        box-shadow: var(--shadow-md), 0 0 0 1px rgba(105, 12, 54, 0.18);
    }
    .clean-card-body {
        padding: 1.5rem;
    }

    /* PIREP state badge (Recent Flights) */
    .amx-pirep-state-badge {
        font-size: 0.65rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        padding: 4px 8px;
        border-radius: 6px;
        flex-shrink: 0;
    }
    .amx-pirep-state-accepted { background: rgba(34, 197, 94, 0.15); color: var(--text-primary); border: 1px solid rgba(34, 197, 94, 0.4); }
    .amx-pirep-state-rejected { background: rgba(239, 68, 68, 0.15); color: var(--text-primary); border: 1px solid rgba(239, 68, 68, 0.4); }
    .amx-pirep-state-pending  { background: rgba(234, 179, 8, 0.15); color: var(--text-primary); border: 1px solid rgba(234, 179, 8, 0.4); }
    .amx-view-pirep-btn {
        font-size: 0.7rem; font-weight: 600; color: var(--text-primary); text-decoration: none;
        padding: 4px 10px; border-radius: 6px; border: 1px solid rgba(105, 12, 54, 0.35);
        background: rgba(105, 12, 54, 0.08); white-space: nowrap; flex-shrink: 0;
        display: inline-flex; align-items: center; gap: 4px; transition: background 0.2s, border-color 0.2s;
    }
    .amx-view-pirep-btn:hover { background: rgba(105, 12, 54, 0.18); border-color: var(--amx-pink); color: var(--text-primary); }

    /* Shared dashboard section cards – same height, same header style */
    .amx-dashboard-col-card {
        min-height: 480px !important;
        overflow: hidden;
        border-radius: 12px;
    }
    /* Mobile: allow full content (no cut-off rank, flight data) */
    @media (max-width: 991px) {
        .amx-dashboard-col-card {
            min-height: 0 !important;
            overflow: visible;
        }
        .amx-dashboard-item {
            height: auto !important;
            min-height: 180px;
            overflow: visible !important;
        }
        .amx-dashboard-item > div:last-child {
            min-height: 0;
        }
    }
    .amx-section-header {
        display: flex; align-items: center; gap: 10px;
        padding: 14px 18px; background: linear-gradient(135deg, var(--amx-blue-dark) 0%, #0a0a0a 100%);
        border-bottom: 1px solid var(--border); border-radius: 12px 12px 0 0;
    }
    .amx-section-header-icon {
        width: 36px; height: 36px; border-radius: 8px;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.02);
        display: flex; align-items: center; justify-content: center;
        color: #fff !important; font-size: 1rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .clean-card:hover .amx-section-header-icon {
        background: rgba(105, 12, 54, 0.2); border-color: var(--amx-pink);
        box-shadow: 0 0 15px rgba(105, 12, 54, 0.6); transform: scale(1.1);
    }
    .clean-card:hover .amx-section-header-icon i { color: #ffffff !important; }
    .amx-section-header-icon i { color: #ffffff !important; transition: transform 0.3s ease; }
    .amx-section-header-title { font-size: 1rem; font-weight: 700; color: #fff !important; margin: 0; }
    .amx-dashboard-list { display: flex; flex-direction: column; gap: 12px; padding: 12px 16px 16px; }
    .amx-dashboard-item {
        min-height: 180px; height: 180px; display: flex; flex-direction: column;
        background: var(--bg-page); border: 1px solid var(--border); border-radius: 12px;
        padding: 16px; transition: all 0.3s ease;
        overflow: hidden;
    }
    .amx-dashboard-item > div:first-child { flex-shrink: 0; }
    .amx-dashboard-item > div:last-child { flex: 1; min-height: 0; }

    /* Pilot stats — full-width bar above welcome hero */
    .amx-pilot-stats-section {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 1.25rem;
    }
    .amx-pilot-stats-bar {
        min-height: 0 !important;
        overflow: visible;
        box-shadow: var(--shadow-md);
    }
    .amx-pilot-stats-bar:hover {
        border-color: rgba(105, 12, 54, 0.28);
    }
    .amx-pilot-stats-header.amx-section-header {
        overflow: visible;
        flex-shrink: 0;
        min-height: 52px;
    }
    .amx-pilot-stats-header .amx-section-header-icon {
        flex-shrink: 0;
    }
    .amx-pilot-stats-header .amx-section-header-title {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0 !important;
        line-height: 1.35;
        letter-spacing: 0.02em;
        overflow: visible;
        white-space: normal;
        word-break: normal;
    }
    .amx-pilot-stats-body {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        background: var(--bg-card);
        overflow: hidden;
        border-radius: 0 0 12px 12px;
    }
    .amx-pilot-stat-cell {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        padding: 1.15rem 1.35rem 1.2rem;
        min-width: 0;
        border-right: 1px solid var(--border);
        transition: background 0.2s ease, box-shadow 0.2s ease;
    }
    .amx-pilot-stat-cell:last-child {
        border-right: none;
    }
    .amx-pilot-stat-cell:hover {
        background: var(--bg-page);
        box-shadow: inset 0 0 0 1px rgba(105, 12, 54, 0.12);
    }
    .amx-pilot-stat-head {
        display: flex;
        align-items: center;
        gap: 0.85rem;
        min-width: 0;
    }
    .amx-pilot-stat-icon-wrap {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(105, 12, 54, 0.08);
        border: 1px solid rgba(105, 12, 54, 0.22);
        box-shadow: 0 0 0 1px rgba(105, 12, 54, 0.06);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .amx-pilot-stat-cell:hover .amx-pilot-stat-icon-wrap {
        border-color: rgba(105, 12, 54, 0.45);
        box-shadow: 0 0 12px rgba(105, 12, 54, 0.18);
    }
    .amx-pilot-stat-icon-wrap i {
        font-size: 1rem;
        color: var(--amx-pink);
    }
    .amx-pilot-stat-copy {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
        min-width: 0;
        flex: 1;
    }
    .amx-pilot-stat-label {
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        color: var(--text-secondary);
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .amx-pilot-stat-value {
        font-size: 1.65rem;
        font-weight: 800;
        color: var(--text-primary);
        line-height: 1.1;
        letter-spacing: -0.03em;
        font-variant-numeric: tabular-nums;
    }
    .amx-pilot-stat-value--icao {
        font-size: 1.35rem;
        letter-spacing: 0.08em;
    }
    .amx-pilot-stat-value--compact {
        font-size: 1.2rem;
        line-height: 1.2;
        word-break: break-word;
    }
    .amx-pilot-stat-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
        padding-top: 0.65rem;
        border-top: 1px dashed var(--border);
    }
    .amx-pilot-stat-tag {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        font-size: 0.68rem;
        font-weight: 600;
        color: var(--text-secondary);
        line-height: 1.25;
    }
    .amx-pilot-stat-tag--up {
        color: #16a34a;
    }
    [data-bs-theme="dark"] .amx-pilot-stat-icon-wrap {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.55);
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
    }
    [data-bs-theme="dark"] .amx-pilot-stat-cell:hover .amx-pilot-stat-icon-wrap {
        border-color: rgba(255, 255, 255, 0.85);
        box-shadow: 0 0 14px rgba(255, 255, 255, 0.2);
    }
    [data-bs-theme="dark"] .amx-pilot-stat-icon-wrap i {
        color: #ffffff !important;
    }
    [data-bs-theme="dark"] .amx-pilot-stat-tag--up {
        color: #4ade80;
    }
    .amx-pilot-stat-tag--accent {
        padding: 0.15rem 0.5rem;
        border-radius: 100px;
        background: rgba(105, 12, 54, 0.12);
        border: 1px solid rgba(105, 12, 54, 0.28);
        color: var(--text-primary);
        font-size: 0.62rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }
    .amx-pilot-stat-secondary {
        display: inline-flex;
        align-items: baseline;
        gap: 0.35rem;
        margin-left: auto;
        text-align: right;
        min-width: 0;
    }
    .amx-pilot-stat-secondary-label {
        font-size: 0.62rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--text-secondary);
    }
    .amx-pilot-stat-secondary-value {
        font-size: 0.8rem;
        font-weight: 800;
        color: var(--text-primary);
        font-variant-numeric: tabular-nums;
    }
    @media (max-width: 991px) {
        .amx-pilot-stats-section {
            margin-top: 0.5rem;
            scroll-margin-top: 8rem;
        }
        .at-dashboard-page .hero-welcome-title {
            display: none;
        }
        .at-dashboard-page .hero-welcome-block {
            width: 100%;
        }
        .amx-pilot-stats-body {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        .amx-pilot-stat-cell {
            border-right: none;
            border-bottom: 1px solid var(--border);
        }
        .amx-pilot-stat-cell:nth-child(odd) {
            border-right: 1px solid var(--border);
        }
        .amx-pilot-stat-cell:nth-child(3),
        .amx-pilot-stat-cell:nth-child(4) {
            border-bottom: none;
        }
    }
    @media (max-width: 575px) {
        .amx-pilot-stats-section.row {
            margin-left: 0;
            margin-right: 0;
        }
        .amx-pilot-stats-section > .col-12 {
            padding-left: 0;
            padding-right: 0;
        }
        .amx-pilot-stats-header.amx-section-header {
            padding: 14px 16px;
            min-height: 48px;
        }
        .amx-pilot-stats-header .amx-section-header-title {
            font-size: 0.95rem !important;
            line-height: 1.4;
        }
        .amx-pilot-stats-bar:hover .amx-section-header-icon,
        .amx-pilot-stats-bar .amx-section-header-icon {
            transform: none;
        }
        .amx-pilot-stats-body {
            grid-template-columns: 1fr;
        }
        .amx-pilot-stat-cell,
        .amx-pilot-stat-cell:nth-child(odd) {
            border-right: none;
            border-bottom: 1px solid var(--border);
        }
        .amx-pilot-stat-cell:last-child {
            border-bottom: none;
        }
    }

    /* Latest NOTAMs / News – NOTAM-style redesign */
    .amx-notams-card .clean-card-body {
        padding: 0 !important;
    }
    .amx-notams-header {
        display: flex; align-items: center; gap: 10px;
        padding: 14px 18px; background: linear-gradient(135deg, var(--amx-blue-dark) 0%, #0a0a0a 100%);
        border-bottom: 1px solid var(--border); border-radius: 12px 12px 0 0;
    }
    .amx-notams-header-icon {
        width: 36px; height: 36px; border-radius: 8px;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.02);
        display: flex; align-items: center; justify-content: center;
        color: #fff !important; font-size: 1rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .amx-notams-card:hover .amx-notams-header-icon {
        background: rgba(105, 12, 54, 0.2); border-color: var(--amx-pink);
        box-shadow: 0 0 15px rgba(105, 12, 54, 0.6); transform: scale(1.1);
    }
    .amx-notams-card:hover .amx-notams-header-icon i { color: #ffffff !important; }
    .amx-notams-header-icon i { color: #ffffff !important; transition: transform 0.3s ease; }
    .amx-notams-header-title { font-size: 1rem; font-weight: 700; color: #fff !important; margin: 0; }
    .amx-notams-list { display: flex; flex-direction: column; gap: 12px; padding: 6px 16px 16px; }
    .amx-notam-item {
        padding: 0;
        background: rgba(30, 32, 38, 0.95);
        border-radius: 0 10px 10px 0;
        margin-bottom: 0;
        border: 1px solid rgba(255,255,255,0.06);
        border-left: none;
        box-shadow: 0 4px 16px rgba(0,0,0,0.3);
        overflow: hidden;
        position: relative;
    }
    .amx-notam-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--amx-pink);
    }
    .amx-notam-item-inner { padding: 16px 20px 18px 22px; }
    .amx-notam-item:last-of-type { margin-bottom: 0; }
    .amx-notam-head { margin-bottom: 10px; color: #fff !important; font-weight: 700; font-size: 1rem; line-height: 1.3; display: flex; align-items: flex-start; gap: 10px; }
    .amx-notam-head i { color: var(--amx-pink) !important; font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
    .amx-notam-head strong { color: #fff !important; }
    .amx-notam-meta { font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-bottom: 12px; letter-spacing: 0.02em; }
    .amx-notam-body { color: rgba(255,255,255,0.92) !important; line-height: 1.55; font-size: 0.85rem; text-align: justify; }
    .amx-notam-body strong { color: #fff !important; }
    .amx-notam-body p { margin-bottom: 0.75em; }
    .amx-notam-body p:last-child { margin-bottom: 0; }
    .amx-notams-footer {
        display: flex; justify-content: space-between; align-items: center;
        margin: 0 16px 14px; padding-top: 12px; border-top: 1px solid var(--border);
        font-size: 0.8rem;
    }
    .amx-notams-link { color: var(--amx-pink); font-weight: 600; text-decoration: none; }
    .amx-notams-link:hover { text-decoration: underline; }
    [data-bs-theme="dark"] .amx-notams-card .amx-notams-link,
    html[data-bs-theme="dark"] .amx-notams-card .amx-notams-link {
        color: #ffffff !important;
    }
    [data-bs-theme="dark"] .amx-notams-card .amx-notams-link:hover,
    html[data-bs-theme="dark"] .amx-notams-card .amx-notams-link:hover {
        color: #ffffff !important;
        opacity: 0.88;
        text-decoration: underline;
    }
    .amx-notams-count { color: var(--text-secondary); font-weight: 600; }
    .amx-notams-news { padding: 12px 16px 16px; }
    .amx-notams-news .card, .amx-notams-news .list-group-item { border-radius: 8px; border-color: var(--border); }

    /* News cards: same style as Newest Pilots (avatar row + content box) */
    .amx-news-list { gap: 12px; }
    .amx-news-card {
        min-height: auto; height: auto;
        display: flex; flex-direction: column;
        background: var(--bg-page); border: 1px solid var(--border); border-radius: 12px;
        padding: 16px; transition: all 0.3s ease;
    }
    .amx-news-card:hover { border-color: rgba(105, 12, 54, 0.2); box-shadow: 0 6px 20px rgba(105, 12, 54, 0.08); }
    .amx-news-header {
        display: flex; align-items: center; gap: 10px;
        margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
    }
    .amx-news-avatar-wrap { position: relative; flex-shrink: 0; }
    .amx-news-avatar {
        width: 38px; height: 38px; border-radius: 50%;
        border: 2px solid var(--border); object-fit: cover;
        transition: all 0.3s ease;
    }
    .amx-news-card:hover .amx-news-avatar { border-color: var(--amx-pink); transform: scale(1.05); }
    .amx-news-meta { flex: 1; min-width: 0; }
    .amx-news-subject {
        font-size: 0.9rem; font-weight: 700; color: var(--text-primary);
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        margin-bottom: 2px;
    }
    .amx-news-by { font-size: 0.7rem; color: var(--text-secondary); }
    .amx-news-badge { text-align: right; flex-shrink: 0; }
    .amx-news-badge-label { display: block; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); font-weight: 700; margin-bottom: 3px; }
    .amx-news-badge-value { font-size: 0.8rem; font-weight: 800; color: var(--text-primary); }
    .amx-news-body-wrap {
        background: var(--bg-card); padding: 14px 16px; border-radius: 10px;
        border: 1px solid var(--border);
    }
    .amx-news-body {
        color: var(--text-primary); line-height: 1.5; font-size: 0.85rem;
    }
    .amx-news-body strong { color: var(--text-primary); font-weight: 700; }
    .amx-news-body p { margin-bottom: 0.6em; }
    .amx-news-body p:last-child { margin-bottom: 0; }
    .amx-news-body a { color: var(--amx-pink); font-weight: 600; }
    .amx-notams-card .amx-news-body {
        text-align: justify;
        text-wrap: pretty;
        hyphens: auto;
        overflow-wrap: break-word;
    }
    .amx-notams-card .amx-notam-body-wrap { margin-top: 0; }
    .amx-notams-card .amx-notam-body-clamp {
        max-height: 9rem;
        overflow: hidden;
        position: relative;
        transition: max-height 0.25s ease;
    }
    .amx-notams-card .amx-notam-body-clamp::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 2.25rem;
        pointer-events: none;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--bg-card));
    }
    .amx-notams-card .amx-notam-body-clamp.is-expanded {
        max-height: none;
        overflow: visible;
    }
    .amx-notams-card .amx-notam-body-clamp.is-expanded::after { display: none; }
    .amx-notams-card .amx-notam-body-toggle {
        margin-top: 8px;
        padding-left: 0 !important;
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--amx-pink) !important;
        text-decoration: none;
    }
    .amx-notams-card .amx-notam-body-toggle:hover { text-decoration: underline; color: var(--amx-pink) !important; }
    .amx-notams-news a { color: var(--amx-pink); font-weight: 600; }
    .amx-notams-news a:hover { text-decoration: underline; }
    .amx-notams-empty { text-align: center; padding: 24px 16px; }
    .amx-notams-empty-icon { font-size: 2.5rem; color: var(--border); margin-bottom: 12px; }
    .amx-notams-empty-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
    .amx-notams-empty-text { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.5; }

    /* NOTAMs index page (/notams) — matches dashboard NOTAM cards */
    .amx-notams-index-page .amx-notams-index-card {
        min-height: 0 !important;
        overflow: visible;
        border-radius: 12px;
    }
    .amx-notams-index-page .amx-notams-index-card .clean-card-body,
    .amx-notams-index-page .amx-notams-index-body {
        padding: 0 !important;
    }
    .amx-notams-index-intro {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px 16px;
        padding: 12px 18px;
        border-bottom: 1px solid var(--border);
        background: var(--bg-page);
    }
    .amx-notams-index-subtitle {
        margin: 0;
        font-size: 0.88rem;
        font-weight: 600;
        color: var(--text-secondary);
        line-height: 1.45;
        flex: 1;
        min-width: 200px;
    }
    .amx-notams-index-page .amx-notams-count {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0.4rem 0.75rem;
        border-radius: 999px;
        background: var(--bg-card);
        border: 1px solid var(--border);
        color: var(--text-primary);
        font-size: 0.78rem;
        font-weight: 800;
        white-space: nowrap;
    }
    .amx-notams-index-page .amx-notams-count i {
        color: var(--amx-pink);
        font-size: 0.85rem;
    }
    [data-bs-theme="dark"] .amx-notams-index-page .amx-section-header-icon i {
        color: #ffffff !important;
    }
    [data-bs-theme="dark"] .amx-notams-index-page .amx-notams-count i {
        color: #ffffff !important;
    }
    [data-bs-theme="dark"] .amx-notams-index-subtitle {
        color: rgba(255, 255, 255, 0.78);
    }
    [data-bs-theme="dark"] .amx-notams-index-page .amx-notam-body-full,
    [data-bs-theme="dark"] .amx-notams-index-page .amx-notam-body-full p,
    [data-bs-theme="dark"] .amx-notams-index-page .amx-notam-body-full span,
    [data-bs-theme="dark"] .amx-notams-index-page .amx-notam-body-full div,
    [data-bs-theme="dark"] .amx-notams-index-page .amx-notam-body-full li,
    [data-bs-theme="dark"] .amx-notams-index-page .amx-notam-body-full td,
    [data-bs-theme="dark"] .amx-notams-index-page .amx-notam-body-full th {
        background-color: transparent !important;
        color: #e6edf3 !important;
    }
    [data-bs-theme="dark"] .amx-notams-index-page .amx-notam-body-full strong,
    [data-bs-theme="dark"] .amx-notams-index-page .amx-notam-body-full b {
        color: #ffffff !important;
    }
    [data-bs-theme="dark"] .amx-notams-card .amx-news-body,
    [data-bs-theme="dark"] .amx-notams-card .amx-news-body p,
    [data-bs-theme="dark"] .amx-notams-card .amx-news-body span,
    [data-bs-theme="dark"] .amx-notams-card .amx-news-body div,
    [data-bs-theme="dark"] .amx-notams-card .amx-news-body li {
        background-color: transparent !important;
        color: #e6edf3 !important;
    }
    [data-bs-theme="dark"] .amx-notams-card .amx-news-body strong,
    [data-bs-theme="dark"] .amx-notams-card .amx-news-body b {
        color: #ffffff !important;
    }
    .amx-notams-index-grid {
        padding: 12px 16px 4px;
        margin: 0;
    }
    .amx-notams-index-page .amx-notams-index-item {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .amx-notams-index-page .amx-notams-index-item .amx-news-body-wrap {
        flex: 1;
    }
    .amx-notams-index-page .amx-notams-index-item .amx-news-header {
        flex-wrap: wrap;
    }
    .amx-notams-index-page .amx-notams-index-item .amx-news-by {
        white-space: normal;
        line-height: 1.35;
        word-break: break-word;
    }
    .amx-notams-index-page .amx-notams-index-item .amx-news-subject {
        white-space: normal;
    }
    .amx-notams-index-page .amx-notam-body-full {
        text-align: justify;
        text-wrap: pretty;
        hyphens: auto;
        overflow-wrap: break-word;
        line-height: 1.55;
        font-size: 0.85rem;
    }
    .amx-notams-index-page .amx-notam-body-full p { margin-bottom: 0.65em; }
    .amx-notams-index-page .amx-notam-body-full p:last-child { margin-bottom: 0; }
    .amx-notams-index-pagination {
        justify-content: center;
        margin: 0 16px 16px;
        padding-top: 14px;
    }
    .amx-notams-index-pagination .pagination {
        margin: 0;
        gap: 4px;
    }
    @media (max-width: 575px) {
        .amx-notams-index-intro {
            flex-direction: column;
            align-items: flex-start;
        }
        .amx-notams-index-page .amx-news-header {
            flex-wrap: wrap;
        }
        .amx-notams-index-page .amx-news-badge {
            width: 100%;
            text-align: left;
            margin-top: 4px;
        }
    }

    /* Airline news (dashboard) */
    .amx-airline-news-card .clean-card-body,
    .amx-airline-news-body {
        padding: 0 !important;
    }
    .amx-airline-news-carousel {
        padding: 12px 16px 0;
    }
    .amx-airline-news-slide.amx-news-card {
        margin: 0;
        border: none;
        background: transparent;
        padding: 4px 2px 8px;
        box-shadow: none;
    }
    .amx-airline-news-slide.amx-news-card:hover {
        border-color: transparent;
        box-shadow: none;
    }
    .amx-airline-news-body-content {
        text-align: justify;
        text-wrap: pretty;
        overflow-wrap: break-word;
    }
    .amx-airline-news-body-content p { margin-bottom: 0.65em; }
    .amx-airline-news-body-content p:last-child { margin-bottom: 0; }
    .amx-airline-news-body-content a { color: var(--amx-pink); font-weight: 600; }
    [data-bs-theme="dark"] .amx-airline-news-body-content span,
    [data-bs-theme="dark"] .amx-airline-news-body-content p,
    [data-bs-theme="dark"] .amx-airline-news-body-content div {
        background-color: transparent !important;
        color: var(--text-primary) !important;
    }
    [data-bs-theme="dark"] .amx-airline-news-body-content strong,
    [data-bs-theme="dark"] .amx-airline-news-body-content b {
        color: var(--text-primary) !important;
    }
    .amx-airline-news-empty {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 20px 18px 22px;
        color: var(--text-secondary);
    }
    .amx-airline-news-empty i {
        font-size: 1.35rem;
        color: var(--amx-pink);
        opacity: 0.55;
        flex-shrink: 0;
    }
    .amx-airline-news-empty p {
        margin: 0;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-primary);
    }
    .amx-airline-news-footer {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 8px 16px 16px;
        border-top: 1px solid var(--border);
        margin-top: 4px;
    }
    .amx-airline-news-nav {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        border: 1px solid var(--border);
        background: var(--bg-card);
        color: var(--text-primary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        flex-shrink: 0;
        transition: all 0.2s ease;
    }
    .amx-airline-news-nav:hover {
        border-color: var(--amx-pink);
        color: var(--amx-pink);
        background: rgba(105, 12, 54, 0.08);
    }
    .amx-airline-news-dots {
        position: static;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .amx-airline-news-dots button {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        border: none;
        margin: 0;
        opacity: 0.45;
        background-color: var(--border) !important;
        transition: all 0.2s ease;
    }
    .amx-airline-news-dots button.active {
        width: 22px;
        border-radius: 4px;
        opacity: 1;
        background-color: var(--amx-pink) !important;
    }

    /* Newest Pilots – profile link hover */
    .pilot-card-hover a[href*="profile"]:hover { color: var(--amx-pink) !important; }

    .amx-newest-pilot-rank {
        color: var(--amx-pink);
    }
    [data-bs-theme="dark"] .amx-newest-pilot-rank,
    html[data-bs-theme="dark"] .amx-newest-pilot-rank {
        color: #c9a961 !important;
    }

    /* === RECENT FLIGHTS COMPACT DESIGN === */
    .amx-recent-flight {
        padding: 16px 20px;
        transition: all 0.2s ease;
        border-bottom: 1px solid var(--border);
    }
    .amx-recent-flight:last-child {
        border-bottom: none;
    }
    .amx-recent-flight:hover {
        background: rgba(105, 12, 54, 0.02);
        padding-left: 24px;
    }
    .amx-rf-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }
    .amx-rf-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--border);
        transition: all 0.2s ease;
        flex-shrink: 0;
    }
    .amx-recent-flight:hover .amx-rf-avatar {
        border-color: var(--amx-pink);
        transform: scale(1.08);
    }
    .amx-rf-pilot-info {
        flex: 1;
        min-width: 0;
    }
    .amx-rf-pilot-name {
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--text-primary);
        line-height: 1.2;
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .amx-rf-time {
        font-size: 0.7rem;
        color: var(--text-secondary);
    }
    .amx-rf-route {
        display: flex;
        align-items: center;
        gap: 8px;
        background: linear-gradient(135deg, rgba(105, 12, 54, 0.03) 0%, rgba(74, 8, 36, 0.03) 100%);
        padding: 10px 12px;
        border-radius: 6px;
        border: 1px solid var(--border);
    }
    .amx-rf-airport {
        flex: 1;
        text-align: center;
        min-width: 0;
    }
    .amx-rf-airport-code {
        font-size: 0.95rem;
        font-weight: 800;
        color: var(--text-primary);
        letter-spacing: 0.3px;
        line-height: 1;
    }
    .amx-rf-arrow {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
    }
    .amx-rf-arrow i {
        font-size: 0.9rem;
        color: var(--amx-pink);
        transform: rotate(45deg);
    }
    .amx-rf-flight-number {
        font-size: 0.65rem;
        font-weight: 700;
        color: var(--text-primary);
        background: var(--bg-card);
        padding: 2px 6px;
        border-radius: 8px;
        white-space: nowrap;
    }

    /* === MAP CONTAINER === */
    .map-container {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        margin-bottom: 2rem;
    }
    .map-container h3,
    .map-container h4,
    .map-container .card-header {
        display: none !important;
    }

    /* === ACTIVE BIDS - PROFESSIONAL DESIGN === */
    .amx-bids-premium {
        background: transparent;
        border: none;
        margin-bottom: 2rem;
    }

    .amx-bids-premium-header {
        padding: 0 0 20px 0;
        border-bottom: none;
        background: transparent;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .amx-bids-premium-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--text-primary);
        margin: 0;
        letter-spacing: -0.02em;
    }

    .amx-bids-premium-subtitle {
        display: none;
    }

    .amx-bids-count {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(105, 12, 54, 0.05);
        padding: 8px 16px;
        border-radius: 20px;
        border: 1px solid rgba(105, 12, 54, 0.15);
    }

    .amx-bids-count-icon {
        font-size: 1rem;
        color: var(--amx-pink);
    }

    .amx-bids-count-info {
        display: flex;
        align-items: baseline;
        gap: 6px;
    }

    .amx-bids-count-number {
        font-size: 1.2rem;
        font-weight: 800;
        color: var(--text-primary);
        line-height: 1;
    }

    .amx-bids-count-label {
        font-size: 0.75rem;
        color: var(--text-secondary);
        font-weight: 500;
    }

    .amx-bids-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        gap: 20px;
    }

    .amx-bid-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 24px;
        transition: all 0.2s ease;
    }

    .amx-bid-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
        border-color: rgba(105, 12, 54, 0.2);
    }

    /* Airline Logo */
    .amx-bid-airline {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        background: var(--bg-page);
        border-radius: 10px;
        min-height: 75px;
        border: 1px solid var(--border);
        margin-bottom: 20px;
    }

    .amx-bid-airline img {
        max-width: 130px;
        max-height: 50px;
        object-fit: contain;
    }

    /* Flight & Pilot Info - Professional Layout */
    .amx-bid-info {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
    }

    /* Flight number + pilot (labels from locale, not CSS content) */
    .amx-bid-flight-badge,
    .amx-bid-pilot-tag {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 12px 16px;
        background: var(--bg-page);
        border-radius: 8px;
        border: 1px solid var(--border);
    }
    .amx-bid-meta-label {
        font-size: 0.7rem;
        color: var(--text-secondary);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .amx-bid-flight-number-value {
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--text-primary);
        letter-spacing: 0.5px;
    }
    .amx-bid-pilot-tag {
        color: var(--text-primary);
        font-size: 0.85rem;
        font-weight: 600;
    }
    .amx-bid-pilot-tag-inner {
        display: flex;
        align-items: center;
        gap: 6px;
        min-width: 0;
        width: 100%;
    }

    .amx-bid-pilot-tag i {
        color: var(--amx-pink);
        font-size: 0.9rem;
    }

    .amx-bid-pilot-tag-inner span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
        min-width: 0;
    }

    /* Route Display */
    .amx-bid-route {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }

    .amx-bid-airport {
        flex: 1;
        text-align: center;
        background: var(--bg-page);
        padding: 14px 10px;
        border-radius: 10px;
        border: 1px solid var(--border);
    }

    .amx-bid-airport-label {
        font-size: 0.65rem;
        color: var(--text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .amx-bid-airport-code {
        font-size: 1.2rem;
        font-weight: 900;
        color: var(--text-primary);
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .amx-bid-airport-code i {
        font-size: 0.9rem;
    }

    .amx-bid-arrow {
        color: var(--amx-pink);
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    @media (max-width: 991px) {
        .amx-bids-grid {
            grid-template-columns: 1fr;
        }
        .amx-bids-premium-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }
    }

    /* === EMPTY STATE === */
    .empty-state {
        text-align: center;
        padding: 3rem 1.5rem;
    }
    .empty-icon {
        font-size: 3rem;
        color: var(--text-secondary);
        opacity: 0.3;
        margin-bottom: 1rem;
    }
    .empty-title {
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 0.5rem;
    }
    .empty-text {
        font-size: 0.875rem;
        color: var(--text-secondary);
    }

    /* === RESPONSIVE === */
    @media (max-width: 991px) {
        .hero-slider { min-height: auto !important; }
        .hero-content { padding: 2rem 1.5rem !important; }
        .weather-widget {
            position: relative !important; top: auto !important; right: auto !important;
            width: 100% !important; margin: 0 !important;
            background: rgba(0, 20, 50, 0.7) !important; border: none !important;
            border-top: 1px solid rgba(255,255,255,0.1) !important; border-radius: 0 !important;
        }
        .hero-overlay {
            background: linear-gradient(135deg, rgba(74, 8, 36, 0.88) 0%, rgba(10, 10, 10, 0.92) 100%);
        }
        .hero-top { flex-direction: column; align-items: center; }
        .hero-welcome-block { text-align: center; max-width: 100%; display: flex; flex-direction: column; align-items: center; width: 100%; }
        .hero-cta-stack { width: 100%; max-width: 90%; margin-left: auto; margin-right: auto; align-items: center; }
        .hero-progress-card { width: 100%; max-width: 100%; margin-left: auto; margin-right: auto; }
        .hero-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; max-width: 100%; margin-left: auto; margin-right: auto; }
        .hero-btn { width: 100%; justify-content: center; padding: 12px 24px; }
        .amx-bids-grid {
            grid-template-columns: 1fr;
        }
        .amx-bids-premium-header {
            flex-direction: column;
            text-align: center;
        }
    }

    /* HIDE WIDGET INTERNAL TITLES */
    .clean-card-body > div > h3,
    .clean-card-body > div > h4,
    .clean-card-body .card-header {
        display: none !important;
    }
    .clean-card-body .card {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
    }
    .clean-card-body .card-body {
        padding: 0 !important;
    }
    .pilot-card-hover:hover {
        border-color: rgba(105, 12, 54, 0.2) !important;
        transform: translateX(4px);
        box-shadow: 0 6px 20px rgba(105, 12, 54, 0.08);
    }
    
    .pilot-card-hover:hover .pilot-avatar {
        border-color: var(--amx-pink) !important;
        transform: scale(1.05);
    }

/* === MOBILE FIX - SHOW ICAO CODES CORRECTLY === */

    @media (max-width: 1199px) {
        .weather-widget {
            display: none !important;
        }
    }

    @media (max-width: 991px) {
        .row.g-4 {
            gap: 2rem !important;
        }

        .col-12.col-lg-4 {
            margin-bottom: 2rem !important;
        }

        h2.section-title {
            margin-bottom: 0.5rem !important;
            margin-top: 0 !important;
        }

        .map-container {
            margin-top: 0 !important;
            margin-bottom: 2rem !important;
        }

        .flight-card-hover > div:first-child > div:nth-child(2),
        .pilot-card-hover > div:first-child > div:nth-child(2) {
            overflow: hidden !important;
            min-width: 0 !important;
        }

        .flight-card-hover > div:first-child > div:nth-child(2) > div:first-child,
        .pilot-card-hover > div:first-child > div:nth-child(2) > div:first-child {
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }
    }

    /* PORTRAIT MODE */
    @media (max-width: 991px) and (orientation: portrait),
           (max-width: 767px) {

        .flight-card-hover,
        .pilot-card-hover {
            padding: 14px !important;
        }

        .flight-avatar,
        .pilot-avatar {
            width: 32px !important;
            height: 32px !important;
        }

        .flight-card-hover > div:last-child {
            flex-direction: column !important;
            gap: 12px !important;
        }

        .flight-card-hover > div:last-child > div:first-child,
        .flight-card-hover > div:last-child > div:last-child {
            width: 100% !important;
            flex: none !important;
        }

        .flight-card-hover > div:last-child > div:nth-child(2) {
            flex-direction: row !important;
            justify-content: center !important;
        }

        .flight-card-hover > div:last-child > div:nth-child(2) i.fa-plane {
            transform: rotate(90deg) !important;
        }

        .pilot-card-hover > div:last-child {
            flex-direction: column !important;
            gap: 12px !important;
        }

        .pilot-card-hover > div:last-child > div:nth-child(2) {
            display: none !important;
        }

        .pilot-card-hover > div:last-child > div:first-child,
        .pilot-card-hover > div:last-child > div:last-child {
            width: 100% !important;
            flex: none !important;
        }

        .pilot-card-hover > div:last-child > div:first-child {
            border-bottom: 1px solid var(--border);
            padding-bottom: 12px !important;
        }

        /* Ensure Rank + flight route boxes are fully visible (no clipping) */
        .flight-card-hover > div:last-child,
        .pilot-card-hover > div:last-child {
            overflow: visible !important;
        }
    }

    /* LANDSCAPE MODE - SHOW ICAO ONLY */
    @media (max-width: 1199px) and (orientation: landscape) {

        .flight-card-hover,
        .pilot-card-hover {
            padding: 8px 10px !important;
            margin-bottom: 8px !important;
        }

        .flight-avatar,
        .pilot-avatar {
            width: 28px !important;
            height: 28px !important;
        }

        /* === RECENT FLIGHTS === */
        .flight-card-hover > div:first-child {
            margin-bottom: 8px !important;
            padding-bottom: 6px !important;
        }

        .flight-card-hover > div:first-child > div:nth-child(2) > div:first-child {
            font-size: 0.75rem !important;
        }

        .flight-card-hover > div:first-child > div:nth-child(2) > div:last-child {
            font-size: 0.65rem !important;
        }

        .flight-card-hover > div:last-child {
            padding: 8px 6px !important;
            gap: 6px !important;
        }

        .flight-card-hover > div:last-child > div:first-child,
        .flight-card-hover > div:last-child > div:last-child {
            padding: 6px 4px !important;
            min-width: 60px !important;
        }

        /* Departure/Arrival airport boxes have 2 divs:
           1st div = ICAO code (SHOW THIS)
           2nd div = location name (HIDE THIS) */

        /* Show ICAO code (first div inside airport box) */
        .flight-card-hover > div:last-child > div:first-child > div:first-child,
        .flight-card-hover > div:last-child > div:last-child > div:first-child {
            font-size: 0.95rem !important;
            font-weight: 900 !important;
            margin: 0 !important;
            display: block !important;
        }

        /* Hide location name (second div inside airport box) */
        .flight-card-hover > div:last-child > div:first-child > div:last-child,
        .flight-card-hover > div:last-child > div:last-child > div:last-child {
            display: none !important;
        }

        .flight-card-hover > div:last-child > div:nth-child(2) i.fa-plane {
            font-size: 0.85rem !important;
        }

        .flight-card-hover > div:last-child > div:nth-child(2) > div {
            font-size: 0.6rem !important;
            padding: 2px 6px !important;
        }

        /* === NEWEST PILOTS - EXACT MATCH === */
        .pilot-card-hover > div:first-child {
            margin-bottom: 8px !important;
            padding-bottom: 6px !important;
        }

        .pilot-card-hover > div:first-child > div:nth-child(2) > div:first-child {
            font-size: 0.75rem !important;
        }

        .pilot-card-hover > div:first-child > div:nth-child(2) > div:last-child {
            font-size: 0.65rem !important;
        }

        .pilot-card-hover > div:first-child > div:last-child > div:first-child {
            display: none !important;
        }

        .pilot-card-hover > div:first-child > div:last-child > div:last-child {
            font-size: 0.7rem !important;
        }

        .pilot-card-hover > div:last-child {
            padding: 8px 6px !important;
            gap: 6px !important;
        }

        .pilot-card-hover > div:last-child > div:nth-child(2) {
            width: 1px !important;
            height: 24px !important;
        }

        .pilot-card-hover > div:last-child > div:first-child,
        .pilot-card-hover > div:last-child > div:last-child {
            padding: 6px 4px !important;
            min-width: 60px !important;
        }

        /* Number - EXACT MATCH to ICAO size */
        .pilot-card-hover > div:last-child > div:first-child > div:first-child {
            font-size: 0.95rem !important;
            font-weight: 900 !important;
            margin: 0 0 4px 0 !important;
        }

        .pilot-card-hover > div:last-child > div:first-child > div:last-child {
            font-size: 0 !important;
        }

        .pilot-card-hover > div:last-child > div:first-child > div:last-child::after {
            content: {!! json_encode(__('dashboard.pilot_landscape_total_flights_css'), JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_AMP | JSON_HEX_QUOT | JSON_UNESCAPED_UNICODE) !!} !important;
            font-size: 0.6rem !important;
        }

        .pilot-card-hover > div:last-child > div:last-child > div:first-child {
            font-size: 0.6rem !important;
            margin-bottom: 4px !important;
        }

        .pilot-card-hover > div:last-child > div:last-child > div:nth-child(2) {
            font-size: 0.7rem !important;
            max-width: 90px !important;
            line-height: 1.2 !important;
            max-height: 2.4em !important;
            overflow: hidden !important;
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
        }

        .pilot-card-hover > div:last-child > div:last-child > div:last-child {
            font-size: 0.5rem !important;
            padding: 2px 6px !important;
        }
    }

/* Flight card hover (moved from dashboard Blade) */
@keyframes fly {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.flight-card-hover:hover {
    border-color: rgba(105, 12, 54, 0.2) !important;
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(105, 12, 54, 0.08);
}

.flight-card-hover:hover .flight-avatar {
    border-color: var(--amx-pink) !important;
    transform: scale(1.05);
}

/* === ORIGINAL VSA STAT CARDS (below hero) === */
.at-stats-row {
    --stat-icon-bg: rgba(105, 12, 54, 0.12);
    --stat-icon-color: #690c36;
}
[data-bs-theme="dark"] .at-stats-row {
    --stat-icon-bg: rgba(105, 12, 54, 0.22);
    --stat-icon-color: #c97a9a;
}
.at-stat-card {
    background: var(--bg-card, #ffffff);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--border, #e2e8f0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 16px -4px rgba(105, 12, 54, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
    z-index: 5;
}
.at-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -8px rgba(105, 12, 54, 0.2), 0 4px 12px -2px rgba(0, 0, 0, 0.06);
    border-color: rgba(105, 12, 54, 0.35);
}
.at-stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #690c36 0%, #4a0824 100%);
    border-radius: 20px 20px 0 0;
}
.at-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}
.at-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--stat-icon-bg);
    color: var(--stat-icon-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(105, 12, 54, 0.08);
}
.at-stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary, #6c757d);
}
.at-stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary, #1a1a1a);
    line-height: 1;
    margin-top: 8px;
}
.at-stat-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border, #e2e8f0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-secondary, #6c757d);
}
.at-trend-pill {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.at-trend-pill.positive {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}
.at-trend-pill.neutral {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}
.at-stat-label-sm {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary, #6c757d);
    opacity: 0.8;
    display: block;
    margin-bottom: 2px;
}
.at-stats-row .text-brand {
    color: #690c36 !important;
}
[data-bs-theme="dark"] .at-stats-row .text-brand {
    color: #c97a9a !important;
}
.badge-at {
    background: rgba(105, 12, 54, 0.1);
    color: #690c36;
    border: 1px solid rgba(105, 12, 54, 0.2);
}
[data-bs-theme="dark"] .badge-at {
    background: rgba(105, 12, 54, 0.25);
    color: #e8b4c8;
    border-color: rgba(201, 122, 154, 0.35);
}
