:root { --bg-dark: #050505; --panel-bg: rgba(5, 15, 10, 0.98); --pia-gold: #C5A065; --pia-green: #004422; --text: #ffffff; }
body { margin: 0; padding: 0; background: #000; color: #fff; font-family: 'Rajdhani', sans-serif; overflow: hidden; }

/* ======= CESIUM ATTRIBUTION HIDE ======= */
.cesium-credit-container,
.cesium-credit-logoContainer,
.cesium-credit-textContainer,
.cesium-widget-credits { display: none !important; }

/* ======= SPLASH RADAR ANIMATION ======= */
.splash-radar {
    position: relative;
    width: 260px; height: 260px;
    display: flex; align-items: center; justify-content: center;
}
.splash-radar-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(197,160,101,0.25);
}
.splash-radar-ring.r1 { width: 260px; height: 260px; }
.splash-radar-ring.r2 { width: 180px; height: 180px; border-color: rgba(197,160,101,0.35); }
.splash-radar-ring.r3 { width: 100px; height: 100px; border-color: rgba(197,160,101,0.45); }
.splash-radar-sweep {
    position: absolute;
    width: 130px; height: 2px;
    left: 50%; top: 50%;
    transform-origin: 0% 50%;
    background: linear-gradient(90deg, transparent, rgba(197,160,101,0.9));
    animation: radarSweep 2.5s linear infinite;
    border-radius: 0 2px 2px 0;
}
.splash-radar-center {
    position: absolute;
    width: 10px; height: 10px;
    background: var(--pia-gold);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--pia-gold);
}
.splash-logo-wrap {
    position: absolute;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
@keyframes radarSweep {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ======= MOBILE OPTIMIZATIONS ======= */
@media (max-width: 768px) {
    #sidebar {
        width: 100% !important;
        max-width: 100vw !important;
        height: 50vh !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        border-radius: 16px 16px 0 0;
        border-top: 2px solid var(--pia-gold);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    #sidebar.collapsed {
        height: 48px !important;
        overflow: hidden;
    }
    .acc-btn { font-size: 11px; padding: 8px 10px; }
    .acc-panel { font-size: 11px; }
    .modal-box { width: 96% !important; padding: 12px !important; max-height: 80vh !important; }
    #ghost-info-popup { right: 10px !important; left: 10px !important; width: auto !important; }
    #airport-card { left: 10px !important; right: 10px !important; width: auto !important; }
    .cesium-layers-btn { top: 55px !important; }
    #cesium-layers-panel { top: 100px !important; max-height: 55vh !important; overflow-y: auto !important; }
}
#map { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; background: #0a0a0a; }
.leaflet-control-layers { display: none !important; }
#map { width: 100%; height: 100%; position: absolute; z-index: 0; }
.cesium-viewer { width: 100%; height: 100%; }

/* MODALS */
.modal-wrapper { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 11000; align-items: center; justify-content: center; flex-direction: column; }
.modal-box { width: 90%; max-width: 600px; background: #111; border: 2px solid var(--pia-gold); padding: 20px; border-radius: 10px; overflow-y: auto; max-height: 85%; position: relative; }

/* CHART VIEWER */
#chart-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 20000; overflow: hidden; }
#chart-container { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; cursor: grab; }
#chart-container:active { cursor: grabbing; }
#chart-img { max-width: 90%; max-height: 90%; transition: transform 0.1s; transform-origin: center center; user-select: none; }
.chart-btn { display: block; width: 100%; text-align: left; background: #111; color: #ccc; padding: 8px; margin-bottom: 5px; border: 1px solid #333; border-left: 3px solid var(--pia-gold); cursor: pointer; font-size: 12px; font-family: 'Rajdhani'; text-transform: uppercase; }
.chart-btn:hover { background: var(--pia-gold); color: #000; }
.chart-section-title { color: var(--pia-gold); font-weight: bold; margin-top: 15px; border-bottom: 1px solid #444; font-size: 12px; margin-bottom: 5px; }

/* TOWER ICON & LABELS */
.atc-tower-icon { width: 40px !important; height: 40px !important; filter: drop-shadow(0 0 5px #000); cursor: pointer !important; z-index: 9999 !important; pointer-events: auto !important; transition:0.2s; }
.atc-tower-icon:hover { transform: scale(1.2); }
.pva-label { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); background: #000; color: var(--pia-gold); padding: 1px 5px; font-size: 10px; font-weight: 800; border: 1px solid var(--pia-gold); border-radius: 3px; white-space: nowrap; pointer-events: none; z-index: 500; box-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.pva-icon-div { width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; background: transparent; }
.pva-icon-img { width: 45px; height: 45px; object-fit: contain; filter: drop-shadow(0 5px 5px rgba(0,0,0,0.8)); transition: transform 0.2s linear; }

/* UI ELEMENTS */
.dash-box { background: rgba(255,255,255,0.05); padding: 10px; margin-bottom: 10px; border-radius: 5px; border: 1px solid #333; }
.airline-logo-box { background-color: #fff; border-radius: 8px; margin-bottom: 10px; border: 2px solid var(--pia-gold); box-shadow: 0 0 15px rgba(255,255,255,0.1); width: 100%; height: 80px; background-size: contain; background-repeat: no-repeat; background-position: center; }
.event-logo { width: 100%; height: 80px; background-color: #fff; border-radius: 8px; background-size: contain; background-repeat: no-repeat; background-position: center; border: 2px solid var(--pia-gold); margin-bottom: 15px; }

/* PANELS */
#sidebar { position: fixed; top: 35px; left: -360px; width: 350px; height: calc(100% - 35px); background: var(--panel-bg); border-right: 3px solid var(--pia-gold); z-index: 5000; transition: 0.3s; display: flex; flex-direction: column; backdrop-filter: blur(10px); }
#sidebar.active { left: 0; }
.sidebar-toggle { position: absolute; top: 50%; right: -40px; width: 40px; height: 60px; background: var(--pia-green); border: 2px solid var(--pia-gold); border-left: none; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--pia-gold); font-size: 20px; }
#panel { position: fixed; top: 35px; right: -380px; width: 360px; height: calc(100% - 35px); background: var(--panel-bg); border-left: 3px solid var(--pia-gold); z-index: 5000; transition: 0.3s; display: flex; flex-direction: column; backdrop-filter: blur(10px); }
#panel.active { right: 0; }

/* BUTTONS */
#settings-btn { position: absolute; top: 50px; right: 20px; width: 45px; height: 45px; background: rgba(0,0,0,0.8); border: 2px solid var(--pia-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; cursor: pointer; z-index: 4000; color: var(--pia-gold); }

/* RGB BAR */
.flight-progress { height: 12px; background: #222; border-radius: 6px; border: 1px solid #444; position: relative; margin-bottom: 5px; overflow: visible; }
.progress-fill { height: 100%; width: 0%; border-radius: 6px; background: linear-gradient(90deg, #ff8c00, #C5A065, #ffd700); box-shadow: 0 0 15px #C5A065; transition: width 0.5s; }
.plane-icon-bar { position: absolute; top: -14px; left: 0%; margin-left: -12px; font-size: 24px; color: #fff; transition: left 0.5s; text-shadow: 0 2px 5px #000; z-index: 10; }

/* HEADER */
#top-marquee { position: fixed; top: 0; left: 0; width: 100%; height: 35px; background: linear-gradient(90deg, #002211, #000, #002211); border-bottom: 2px solid var(--pia-gold); z-index: 9000; display: none; align-items: center; overflow: hidden; }
.marquee-content { display: inline-block; white-space: nowrap; color: #fff; font-weight: bold; font-size: 16px; animation: scroll-left 25s linear infinite; padding-left: 100%; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
.ev-badge { background: var(--pia-gold); color: #000; padding: 2px 6px; border-radius: 3px; margin-right: 10px; font-weight: 900; }

#splash-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 30, 10, 0.95); backdrop-filter: blur(15px); z-index: 12000; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; transition: opacity 1.5s ease-out; }
.splash-logo-box { background: rgba(255, 255, 255, 0.15); padding: 20px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.2); margin-bottom: 20px; box-shadow: 0 0 30px rgba(197, 160, 101, 0.2); }
.splash-logo { width: 220px; filter: drop-shadow(0 0 20px #C5A065); }

/* EXTRAS */
.pilot-item { padding: 8px; border-bottom: 1px solid #333; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.pilot-item:hover { background: rgba(197, 160, 101, 0.1); border-left: 3px solid var(--pia-gold); }
.admin-input { width: 100%; padding: 10px; margin-bottom: 10px; background: #222; border: 1px solid #555; color: #fff; box-sizing: border-box; }
.sett-opt { padding: 8px 0; cursor: pointer; color: #ddd; font-size: 14px; display: flex; align-items: center; }
.radio-circle, .checkbox-square { width: 12px; height: 12px; border: 1px solid #777; margin-right: 10px; display: inline-block; }
.active .radio-circle, .active .checkbox-square { background: var(--pia-gold); border-color: var(--pia-gold); }
.acc-btn { background: #151515; color: var(--pia-gold); cursor: pointer; padding: 10px; width: 100%; text-align: left; border: none; font-weight: bold; display: flex; justify-content: space-between; margin-top: 5px; }
.acc-panel { padding: 0 10px; background-color: #0a0a0a; max-height: 0; overflow: hidden; transition: max-height 0.2s ease-out; border: 1px solid #333; border-top: none; }
.wp-row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed #333; font-size: 11px; color: #ccc; }
.atc-group { border: 1px solid var(--pia-gold); margin-bottom: 5px; border-radius: 4px; background: #000; }
.atc-head { background: var(--pia-green); padding: 8px; color: var(--pia-gold); font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; }
.atc-content { display: none; background: rgba(20, 20, 20, 0.9); padding: 5px; }
.atc-row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid #333; font-size: 11px; color: #ccc; align-items: center; }
.weather-info-box { background: rgba(0, 50, 80, 0.4); border: 1px solid #3498db; padding: 10px; margin-bottom: 15px; border-radius: 5px; }
.w-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; text-align: center; }
.w-label { color: #3498db; font-size: 10px; font-weight: bold; }
.w-val { color: #fff; font-weight: bold; font-size: 14px; }
.lb-row { display: flex; justify-content: space-between; padding: 8px 10px; border-bottom: 1px solid #333; font-size: 12px; align-items: center; }
                /* --- YENİ EKLENEN: KAYDIRMALI ŞALTER TASARIMI (DÜZELTİLDİ) --- */
.toggle-box { display: flex; justify-content: space-between; align-items: center; padding: 10px; background: rgba(0,0,0,0.5); border: 1px solid #333; margin-bottom: 10px; border-radius: 5px; cursor: pointer; border-left: 3px solid #555; transition: 0.3s; }
.toggle-box.active { border-left: 3px solid var(--pia-gold); background: rgba(197, 160, 101, 0.1); }
.toggle-text { color: #ccc; font-weight: bold; font-size: 12px; transition: 0.3s; }
.toggle-box.active .toggle-text { color: #fff; }

.t-switch { width: 40px; height: 22px; background: #444; border-radius: 11px; position: relative; transition: 0.3s; border: 1px solid #222; }
.t-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background: #aaa; border-radius: 50%; transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1), background 0.3s; box-shadow: 0 2px 4px rgba(0,0,0,0.8); }

.toggle-box.active .t-switch { background: var(--pia-gold); border-color: var(--pia-gold); }
.toggle-box.active .t-switch::after { transform: translateX(18px); background: #000; }
/* ----------------------------------------------------------- */
/* --- FLIGHT ENGINEER PANEL (YENİ) --- */
.engineer-box { margin-top:15px; background:#0a0a0a; border:1px solid #333; border-radius:5px; padding:10px; border-left:3px solid var(--pia-gold); }
.eng-header { display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid #333; padding-bottom:5px; margin-bottom:10px; }
.eng-title { font-size:12px; font-weight:bold; color:var(--pia-gold); letter-spacing:1px; }
.eng-phase { font-size:10px; background:#333; padding:2px 5px; border-radius:3px; color:#fff; }
.eng-row { display:flex; justify-content:space-between; font-size:11px; color:#ccc; margin-bottom:4px; }
.eng-val { color:#fff; font-weight:bold; font-family:monospace; }
.tod-bar { width:100%; height:4px; background:#222; margin-top:2px; margin-bottom:8px; border-radius:2px; overflow:hidden; }
.tod-fill { height:100%; width:0%; background:var(--pia-gold); transition:width 1s; }
.eng-alert { text-align:center; font-weight:bold; font-size:11px; margin-top:5px; padding:4px; border-radius:3px; display:none; }
/* --- TCAS ALERT BOX --- */
.tcas-box { margin-top: 10px; background: #220000; border: 2px solid #ff0000; border-radius: 5px; padding: 10px; display: none; animation: tcas-blink 1s infinite; }
.tcas-title { color: #ff0000; font-weight: 900; font-size: 14px; text-align: center; margin-bottom: 5px; }
.tcas-info { font-size: 11px; color: #fff; text-align: center; }
@keyframes tcas-blink { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

/* --- MAINTENANCE SCREEN --- */
#maintenance-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle, #002211 0%, #000 100%);
    z-index: 20000; /* Her şeyin üstünde */
    display: none; /* Başlangıçta kapalı */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
}
.maint-icon { font-size: 60px; margin-bottom: 20px; animation: maint-pulse 2s infinite; }
@keyframes maint-pulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.7; } 100% { transform: scale(1); opacity: 1; } }

/* --- PVA YOLCU EKRANI (IFE) --- */
#ife-screen {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, #111b3d 0%, #050a1f 100%);
    z-index: 30000; color: #fff; font-family: 'Rajdhani', sans-serif;
    flex-direction: column;
}
.ife-header { background: #0a1128; padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid #C5A065; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.ife-title { font-size: 28px; font-weight: 900; color: #C5A065; letter-spacing: 3px; }
.ife-close-btn { background: #e74c3c; color: white; border: none; padding: 10px 25px; cursor: pointer; border-radius: 5px; font-weight: bold; font-size: 16px; transition: 0.3s; }
.ife-close-btn:hover { background: #c0392b; }

.ife-content { display: flex; flex-wrap: wrap; flex: 1; padding: 50px; gap: 30px; justify-content: center; align-items: center; }
.ife-widget { background: rgba(255, 255, 255, 0.05); padding: 40px; border-radius: 20px; border: 1px solid rgba(197, 160, 101, 0.3); width: 250px; text-align: center; backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: transform 0.3s; }
.ife-widget:hover { transform: translateY(-10px); border-color: #C5A065; }
.ife-value { font-size: 45px; font-weight: 900; color: #4facfe; margin: 15px 0; text-shadow: 0 0 15px rgba(79, 172, 254, 0.5); }
.ife-label { font-size: 16px; color: #aaa; text-transform: uppercase; letter-spacing: 2px; }

/* --- PVA VIP SUPPORTER (HAREKETLİ ANİMASYONLAR) --- */

/* 1. NEON CYBERPUNK (Yanıp Sönen Pembe/Mavi) */
.vip-neon {
    color: #ffffff !important; 
    background-color: #006633 !important; /* PIA Yeşili */
    border: 2px solid #ffcc00 !important;   /* Altın Çerçeve */

    /* Sadece VIP'lere özel genişlik */
    min-width: 25px !important;  
    padding: 6px 12px !important; 
    font-size: 13px !important; /* VIP ismi biraz daha büyük ve okunaklı */

    /* Efektler */
    text-shadow: 0 0 5px #fff, 0 0 10px #006633 !important;
    box-shadow: 0 0 15px rgba(0, 102, 51, 0.8) !important;
    animation: neon-flash 1.5s ease-in-out infinite alternate !important;
}
@keyframes neon-flash {
    from { opacity: 0.8; box-shadow: 0 0 5px #006633; }
    to { opacity: 1; box-shadow: 0 0 20px #006633, 0 0 30px #ffcc00; }
}

/* 2. RAINBOW FLOW (Akan Gökkuşağı - Oyuncu Klavyesi) */
.vip-rainbow {
    background-image: linear-gradient(270deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff, #ff0000);
    background-size: 200% auto;
    color: transparent !important;
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 900 !important;
    display: inline-block;
    animation: rainbow-flow 2s linear infinite !important;
}
@keyframes rainbow-flow {
    0% { background-position: 200% center; }
    100% { background-position: 0% center; }
}

/* 3. PVA GOLD ELITE (Parlayan Altın) */
.vip-gold {
    color: #FFDF00 !important;
    font-weight: 900 !important;
    display: inline-block;
    animation: gold-pulse 1.5s infinite alternate !important;
}
@keyframes gold-pulse {
    0% { text-shadow: 0 0 5px rgba(255,223,0,0.5); }
    100% { text-shadow: 0 0 15px rgba(255,223,0,1), 0 0 25px rgba(255,255,255,0.8); }
}

/* --- SAĞ PANEL VIP ÖZEL ARKAPLAN --- */
.vip-header-bg {
    background-image: url('/static/logos/vıp.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    padding: 10px 5px !important; /* İsmin etrafında boşluk bırakır */
    border-radius: 8px;
    display: block;
    width: 100%;
}

/* Sağ paneldeki ismin kendisi için ek neon parlama */
.panel-vip-text {
    color: #ffffff !important;
    text-shadow: 0 0 10px #ff00de, 0 0 20px #ff00de, 0 0 30px #00e5ff !important;
    font-weight: bold;
}

/* --- MAP VIP LABEL SYSTEM --- */
.pva-label-vip {
    position: relative;
    padding: 2px 6px !important;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
    display: inline-block;
}

.pva-label.vip-neon {
    /* 📏 BOYUTLARI STANDARTLA EŞİTLEDİK */
    padding: 2px 6px !important;  /* Standart uçakla birebir aynı iç boşluk */
    font-size: 11px !important;   /* Standart uçakla birebir aynı yazı boyutu */
    min-width: auto !important;   /* Genişletme zorlamasını kaldırdık */

    /* Renk ve Kimlik (Sadece Renkler VIP Kalır) */
    background-color: #006633 !important; /* PIA Yeşili */
    color: #ffffff !important;
    border: 1.5px solid #ffcc00 !important; /* İnce Altın Çerçeve */

    /* Neon Efekti (Hafifletildi, Göz Yormaz) */
    text-shadow: 0 0 3px #fff !important;
    box-shadow: 0 0 8px rgba(0, 102, 51, 0.7) !important;
    animation: pia-neon-pulse 1.5s ease-in-out infinite alternate !important;
    z-index: 9999 !important;
}

/* Sağ üstteki küçük taç efekti */
.vip-crown::after {
    content: 'VIP'; 
    position: absolute;
    top: -16px;    /* Yazıyı kapatmaması için biraz daha yukarı aldım */
    right: -8px;  /* Biraz daha sağa çektim */
    font-size: 14px;
    /* Altın sarısı parlama efekti */
    filter: drop-shadow(0 0 3px #ffcc00) drop-shadow(0 0 5px #ffcc00);
    animation: crown-float 1.2s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 1000;
}

/* Tacın hafifçe havada süzülme animasyonu */
@keyframes crown-float {
    from { transform: translateY(0); }
    to { transform: translateY(-3px); }
}

/* --- YUMUŞAK HAREKET (FLIGHTRADAR24 GİBİ KESİNTİSİZ KAYMA) --- */
.pva-icon {
    /* Radar 15s'de bir güncelleniyor, uçak da 15s boyunca hiç durmadan kaysın! */
    transition: transform 15s linear !important; 
}
.pva-icon-img {
    /* Burnunu dönerken 1 saniyede kıvrılarak dönsün */
    transition: transform 1s ease-in-out !important;
}

/* 🛡️ ZOOM YAPARKEN HARİTADAN UÇMAYI ENGELLEYEN KALKAN */
.leaflet-zoom-anim .pva-icon,
.leaflet-zoom-anim .pva-icon-img,
.leaflet-pan-anim .pva-icon {
    transition: none !important;
}
/* ---------------------------------------- 

/* --- GLOBE LAYERS BUTTON & PANEL --- */
#cesium-layers-btn { 
    position: fixed; 
    top: 10px; 
    left: 50%; /* Ekranın tam ortasına hizala */
    transform: translateX(-50%); /* Kendi genişliğinin yarısı kadar geri çekip tam ortala */
    z-index: 9000; 
    background: rgba(0,0,0,0.80); 
    color: #C5A065; 
    border: 1px solid #C5A065; 
    padding: 7px 14px; 
    font-family: 'Rajdhani', sans-serif; 
    font-weight: 700; 
    font-size: 13px; 
    letter-spacing: 1px; 
    cursor: pointer; 
    border-radius: 4px; 
    transition: background 0.2s; 
}
#cesium-layers-btn:hover { background: rgba(197,160,101,0.15); }

#cesium-layers-panel { 
    position: fixed; 
    top: 48px; 
    left: 50%; /* Paneli de tam ortala */
    transform: translateX(-50%); /* Paneli de tam ortala */
    z-index: 9001; 
    background: rgba(0,0,0,0.90); 
    border: 1px solid #C5A065; 
    border-radius: 6px; 
    padding: 12px; 
    width: 200px; 
    backdrop-filter: blur(6px); 
    box-shadow: 0 4px 24px rgba(0,0,0,0.7); 
}
.clp-title {
    color: #C5A065;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    border-bottom: 1px solid #333;
    padding-bottom: 6px;
    margin-bottom: 8px;
}
.clp-section {
    color: #888;
    font-family: 'Rajdhani', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}
.layer-btn {
    display: block;
    width: 100%;
    padding: 7px 10px;
    margin-bottom: 4px;
    background: #111;
    color: #ccc;
    border: 1px solid #333;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s, border-color 0.15s;
}
.layer-btn:hover    { background: #1a1a1a; border-color: #555; }
.active-layer       { border-color: #C5A065 !important; color: #C5A065 !important; }
.layer-on           { border-color: #2ecc71 !important; color: #2ecc71 !important; }

.alt-legend {
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    color: #ccc;
}
.alt-legend > div {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 2px 0;
}
.alt-legend span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.2);
}

/* --- GHOST INFO POPUP --- */
#ghost-info-popup {
    font-family: 'Rajdhani', sans-serif;
}

/* --- HUB AIRPORT QUICK BUTTONS --- */
.hub-airport-btn {
    background: rgba(197,160,101,0.06);
    border: 1px solid #222;
    border-radius: 5px;
    padding: 8px 5px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}
.hub-airport-btn:hover {
    background: rgba(197,160,101,0.15);
    border-color: var(--pia-gold);
}

/* --- AIRPORT MARKER ON LEAFLET --- */
.airport-marker-icon {
    background: rgba(0,34,17,0.9);
    border: 1.5px solid var(--pia-gold);
    border-radius: 4px;
    padding: 3px 7px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 900;
    font-size: 11px;
    color: var(--pia-gold);
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(197,160,101,0.3);
}
.airport-marker-icon:hover {
    background: rgba(197,160,101,0.2);
}

/* --- PILOT STATS MODAL --- */
.pst-stat-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid #222;
    border-radius: 5px;
    padding: 10px 5px;
    text-align: center;
}
.pst-stat-val {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
}
.pst-stat-lbl {
    color: #555;
    font-size: 9px;
    letter-spacing: 1px;
    margin-top: 3px;
}
