:root {
            /* Refined Blue-Purple Theme */
            --bg-primary: #1e3a5f;
            --bg-secondary: #2d4a7c;
            --bg-card: rgba(20, 30, 50, 0.85);
            --bg-card-solid: #1a2744;
            --accent-primary: #a78bfa;
            --accent-secondary: #c4b5fd;
            --accent-glow: rgba(167, 139, 250, 0.3);
            --text-primary: #f8fafc;
            --text-secondary: #cbd5e1;
            --text-muted: #94a3b8;
            --border-color: rgba(255, 255, 255, 0.15);
            --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-card: linear-gradient(145deg, rgba(20, 30, 50, 0.92) 0%, rgba(35, 50, 75, 0.88) 100%);

            /* Weather Card Colors - More Visible */
            --color-current: #22d3ee;
            --color-previous: #a78bfa;
        }

        body {
            font-family: 'Prompt', sans-serif;
            background: linear-gradient(145deg,
                    #1e3a5f 0%,
                    #2d4a7c 15%,
                    #4a6fa5 30%,
                    #6b8cbe 50%,
                    #8fa7cf 70%,
                    #b8c9e0 85%,
                    #d4e0ed 100%);
            background-attachment: fixed;
            min-height: 100vh;
            color: var(--text-primary);
        }

        /* Increase base font size for small text */
        .text-xs {
            font-size: 13px !important;
        }

        .text-sm {
            font-size: 15px !important;
        }

        .main-card {
            background: linear-gradient(145deg,
                    rgba(20, 30, 50, 0.95) 0%,
                    rgba(30, 45, 70, 0.92) 50%,
                    rgba(35, 50, 75, 0.90) 100%);
            backdrop-filter: blur(25px) saturate(150%);
            -webkit-backdrop-filter: blur(25px) saturate(150%);
            border: 1.5px solid rgba(167, 139, 250, 0.35);
            border-radius: 1.5rem;
            padding: 1.5rem;
            box-shadow: 0 10px 40px rgba(20, 30, 50, 0.4),
                0 4px 12px rgba(167, 139, 250, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.15),
                inset 0 -1px 0 rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }

        .main-card.sky-slice-section {
            overflow: visible;
        }

        .main-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -50%;
            width: 200%;
            height: 100%;
            background: linear-gradient(90deg,
                    transparent 0%,
                    rgba(167, 139, 250, 0.05) 45%,
                    rgba(167, 139, 250, 0.1) 50%,
                    rgba(167, 139, 250, 0.05) 55%,
                    transparent 100%);
            pointer-events: none;
            z-index: 0;
        }

        .main-card>* {
            position: relative;
            z-index: 1;
        }

        .card-title {
            color: var(--text-primary);
            font-weight: 600;
        }

        .card-subtitle {
            color: var(--text-secondary);
            opacity: 0.8;
        }

        select,
        button {
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.25);
            color: var(--text-primary);
            backdrop-filter: blur(10px);
        }

        select:focus,
        button:focus {
            outline: none;
            border-color: var(--accent-primary);
            box-shadow: 0 0 0 3px var(--accent-glow);
        }

        select option {
            background: var(--bg-card-solid);
            color: var(--text-primary);
        }

        .btn-primary {
            background: var(--gradient-purple);
            color: white;
            font-weight: 600;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4),
                0 0 20px rgba(167, 139, 250, 0.3);
        }

        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 10, 30, 0.95);
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(10px);
            transition: opacity 0.3s ease;
        }

        .spinner {
            border: 4px solid rgba(167, 139, 250, 0.2);
            border-radius: 50%;
            border-top: 4px solid var(--accent-primary);
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* Map Containers */
        #map {
            height: 350px;
            border-radius: 0.75rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            margin-bottom: 1rem;
            z-index: 0;
            position: relative;
            border: 1px solid var(--border-color);
        }

        #vis-map {
            height: 400px;
            border-radius: 0.75rem;
            box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
            margin-bottom: 1rem;
            position: relative;
            overflow: hidden;
            border: 1px solid var(--border-color);
        }

        /* RVR Map Container */
        #rvr-map {
            height: 380px;
            border-radius: 0.75rem;
            box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
            position: relative;
            overflow: hidden;
            border: 1px solid var(--border-color);
        }

        /* Glass Morphism Overlays */
        .glass-overlay {
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 12px;
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
        }

        .vis-info-overlay {
            position: absolute;
            top: 12px;
            left: 12px;
            color: white;
            padding: 14px 18px;
            z-index: 10;
            font-family: 'Prompt', sans-serif;
            pointer-events: none;
        }

        .vis-info-overlay h3 {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--text-secondary);
            margin-bottom: 6px;
            font-weight: 600;
        }

        .vis-info-overlay .year-big {
            font-size: 36px;
            font-weight: 800;
            line-height: 1;
            background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .vis-legend-overlay {
            position: absolute;
            bottom: 12px;
            left: 12px;
            color: white;
            padding: 12px 14px;
            z-index: 10;
            font-family: 'Prompt', sans-serif;
            max-width: 220px;
        }

        /* Visibility Legend Below Map - Left aligned */
        .vis-legend-below-map {
            background: rgba(20, 30, 50, 0.85);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            padding: 14px 16px;
            color: white;
            font-family: 'Prompt', sans-serif;
        }

        .vis-legend-title {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--text-secondary);
            margin-bottom: 10px;
            font-weight: 600;
        }

        .vis-legend-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 4px 0;
            font-size: 12px;
            transition: all 0.2s ease;
        }

        .vis-legend-color {
            width: 12px;
            height: 12px;
            border-radius: 4px;
            flex-shrink: 0;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .vis-legend-label {
            flex: 1;
            color: rgba(226, 232, 240, 0.9);
            font-weight: 500;
        }

        .vis-legend-value {
            font-weight: 700;
            color: var(--text-primary);
            min-width: 50px;
            text-align: right;
            font-size: 13px;
        }

        /* Hide Logos */
        .maplibregl-ctrl-logo {
            display: none !important;
        }

        /* Wind Info Box */
        .wind-info-box {
            position: absolute;
            top: 12px;
            left: 12px;
            background: linear-gradient(135deg, rgba(20, 30, 50, 0.95) 0%, rgba(35, 50, 75, 0.9) 100%);
            backdrop-filter: blur(16px);
            color: white;
            padding: 14px 18px;
            border-radius: 14px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
            z-index: 1000;
            font-family: 'Prompt', sans-serif;
            min-width: 140px;
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        .wind-info-box .title {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 4px;
        }

        .wind-info-box .direction {
            font-size: 42px;
            font-weight: 800;
            line-height: 1;
            background: linear-gradient(135deg, #22d3ee 0%, #67e8f9 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .wind-info-box .speed {
            font-size: 24px;
            font-weight: 700;
            margin-top: 4px;
            color: var(--text-primary);
        }

        .wind-info-box .speed span {
            font-size: 12px;
            color: var(--text-secondary);
            font-weight: 600;
            margin-left: 4px;
            text-transform: uppercase;
        }

        /* Wind Compass - White for visibility */
        .wind-compass-overlay {
            background: transparent;
            border-radius: 50%;
            width: 260px;
            height: 260px;
            border: 5px solid rgba(255, 255, 255, 0.95);
            box-shadow: 0 0 30px rgba(255, 255, 255, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .compass-ring {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 50%;
        }

        .tick-mark {
            position: absolute;
            left: 50%;
            top: 0;
            transform-origin: 50% 128px;
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
        }

        .tick-major {
            width: 6px;
            height: 16px;
        }

        .tick-minor {
            width: 3px;
            height: 9px;
        }

        .compass-label {
            position: absolute;
            left: 50%;
            top: 14px;
            transform-origin: 50% 114px;
            transform: translateX(-50%);
            font-size: 15px;
            font-weight: 900;
            color: rgba(255, 255, 255, 0.98);
            text-align: center;
            width: 32px;
            text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 8px rgba(255, 255, 255, 0.3);
        }

        .compass-label.cardinal {
            font-size: 26px;
            font-weight: 900;
            top: 6px;
            transform-origin: 50% 122px;
            color: #ffffff;
            text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9), 0 0 12px rgba(255, 255, 255, 0.4);
            letter-spacing: 0.05em;
        }

        .wind-indicator-wrapper {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .wind-triangle {
            position: absolute;
            left: 50%;
            top: -12px;
            width: 0;
            height: 0;
            border-left: 22px solid transparent;
            border-right: 22px solid transparent;
            border-top: 40px solid #00e5ff;
            filter: drop-shadow(0 0 3px rgba(0, 0, 0, 1)) drop-shadow(0 0 1px rgba(0, 0, 0, 1)) drop-shadow(0 0 10px rgba(0, 229, 255, 0.6));
            transform: translateX(-50%);
        }

        /* RVR Legend Grid */
        .rvr-legend-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
        }

        .rvr-legend-grid .vis-legend-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            transition: background 0.2s ease;
        }

        .rvr-legend-grid .vis-legend-item:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        /* Weather Cards */
        .weather-card {
            background: linear-gradient(145deg, rgba(15, 25, 45, 0.95) 0%, rgba(25, 35, 55, 0.88) 100%);
            border: 2px solid rgba(100, 120, 160, 0.3);
            border-radius: 1rem;
            backdrop-filter: blur(15px) saturate(180%);
        }

        .weather-card-nodata {
            opacity: 0.5;
        }

        .weather-card-higher {
            box-shadow: 0 0 30px rgba(239, 68, 68, 0.4), 0 0 60px rgba(239, 68, 68, 0.15), inset 0 0 20px rgba(239, 68, 68, 0.1);
            border: 2px solid rgba(239, 68, 68, 0.7);
            background: linear-gradient(145deg, rgba(50, 20, 20, 0.95) 0%, rgba(60, 30, 30, 0.88) 100%);
        }

        .weather-card-lower {
            box-shadow: 0 0 30px rgba(96, 165, 250, 0.4), 0 0 60px rgba(96, 165, 250, 0.15), inset 0 0 20px rgba(96, 165, 250, 0.1);
            border: 2px solid rgba(96, 165, 250, 0.7);
            background: linear-gradient(145deg, rgba(15, 25, 50, 0.95) 0%, rgba(25, 40, 70, 0.88) 100%);
        }

        .header-logo {
            height: 55px;
            width: auto;
            filter: drop-shadow(0 2px 8px rgba(167, 139, 250, 0.3));
        }

        /* Modern Visibility Range Buttons */
        .vis-range-btn {
            padding: 8px 14px;
            font-size: 12px;
            font-weight: 600;
            border-radius: 18px;
            border: 1px solid transparent;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            background: rgba(20, 30, 50, 0.6);
            color: var(--text-secondary);
        }

        .vis-range-btn:hover {
            transform: translateY(-1px);
            background: rgba(45, 35, 75, 0.8);
        }

        .vis-range-btn.active {
            transform: translateY(-1px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
            color: white;
        }

        /* Purple Gradient Buttons */
        .vis-btn-800m.active {
            background: linear-gradient(135deg, #f87171, #dc2626);
            border-color: #ef4444;
        }

        .vis-btn-1500m.active {
            background: linear-gradient(135deg, #fb923c, #ea580c);
            border-color: #f97316;
        }

        .vis-btn-3000m.active {
            background: linear-gradient(135deg, #fbbf24, #d97706);
            border-color: #f59e0b;
        }

        .vis-btn-5000m.active {
            background: linear-gradient(135deg, #4ade80, #16a34a);
            border-color: #22c55e;
        }

        .vis-btn-8000m.active {
            background: linear-gradient(135deg, #22d3ee, #0891b2);
            border-color: #06b6d4;
        }

        .vis-btn-good.active {
            background: linear-gradient(135deg, #60a5fa, #2563eb);
            border-color: #3b82f6;
        }

        .vis-btn-all.active {
            background: var(--gradient-purple);
            border-color: var(--accent-primary);
        }

        /* Section Headers - No Icon, Larger Font */
        .section-header {
            margin-bottom: 1.25rem;
        }

        .section-title {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.25rem;
            text-shadow: 0 0 20px rgba(167, 139, 250, 0.4), 0 0 40px rgba(167, 139, 250, 0.2), 0 2px 4px rgba(0, 0, 0, 0.3);
            letter-spacing: 0.02em;
        }

        .section-subtitle {
            font-size: 0.875rem;
            color: var(--text-secondary);
            opacity: 0.85;
        }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(30, 22, 54, 0.5);
            border-radius: 3px;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--accent-primary);
            border-radius: 3px;
        }

        /* ApexCharts Dark Theme Override */
        .apexcharts-tooltip {
            background: var(--bg-card-solid) !important;
            border: 1px solid var(--border-color) !important;
            color: var(--text-primary) !important;
        }

        .apexcharts-tooltip-title {
            background: rgba(167, 139, 250, 0.1) !important;
            border-bottom: 1px solid var(--border-color) !important;
        }

        /* ============================================ */
        /* RVR SECTION STYLES */
        /* ============================================ */

        .rvr-cockpit-frame {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 5;
            background:
                linear-gradient(to right, rgba(10, 13, 20, 0.6) 0%, transparent 5%, transparent 95%, rgba(10, 13, 20, 0.6) 100%),
                linear-gradient(to bottom, rgba(10, 13, 20, 0.5) 0%, transparent 10%, transparent 100%);
            border-radius: 0.75rem;
        }

        .rvr-fog-gradient {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 40%;
            pointer-events: none;
            z-index: 6;
            background: linear-gradient(0deg,
                    rgba(255, 140, 80, 0.25) 0%,
                    rgba(255, 180, 120, 0.15) 20%,
                    rgba(255, 220, 180, 0.08) 40%,
                    transparent 100%);
            mix-blend-mode: screen;
            transition: opacity 0.5s ease;
            border-radius: 0 0 0.75rem 0.75rem;
        }

        .rvr-runway-info {
            position: absolute;
            top: 12px;
            left: 12px;
            z-index: 10;
            text-align: center;
        }

        .rvr-runway-number {
            font-family: 'JetBrains Mono', monospace;
            font-size: 2.5rem;
            font-weight: 900;
            color: #22d3ee;
            line-height: 1;
            text-shadow: 0 0 20px rgba(34, 211, 238, 0.5), 0 2px 10px rgba(0, 0, 0, 0.5);
        }

        .rvr-runway-bearing {
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin-top: 2px;
        }

        .rvr-legend-panel {
            position: absolute;
            bottom: 12px;
            right: 12px;
            z-index: 10;
            min-width: 200px;
        }

        /* RVR Color Scheme */
        .rvr-color-175 {
            background: linear-gradient(90deg, #ea580cee, #ea580c88);
        }

        .rvr-color-300 {
            background: linear-gradient(90deg, #f97316ee, #f9731688);
        }

        .rvr-color-550 {
            background: linear-gradient(90deg, #fb923cee, #fb923c88);
        }

        .rvr-color-800 {
            background: linear-gradient(90deg, #fbbf24ee, #fbbf2488);
        }

        .rvr-color-1500 {
            background: linear-gradient(90deg, #84cc16ee, #84cc1688);
        }

        .rvr-color-good {
            background: linear-gradient(90deg, #22d3eeee, #22d3ee88);
        }

        /* ============================================ */
        /* THE SOLID CEILING LID STYLES - ATC TOWER VIEW */
        /* ============================================ */

        /* Main ATC Window Container - Modern Style */
        #atc-ceiling-window {
            position: relative;
            min-height: 480px;
            border-radius: 1rem;
            overflow: hidden;
            /* Modern gradient sky */
            background: linear-gradient(180deg,
                    #0f172a 0%,
                    #1e3a5f 15%,
                    #2563eb 35%,
                    #3b82f6 50%,
                    #60a5fa 65%,
                    #93c5fd 80%,
                    #bfdbfe 90%,
                    #dbeafe 100%);
            box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.2);
        }

        /* Runway/Airport Background - Cleaner modern look */
        .bg-airport-runway {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 20%;
            background: linear-gradient(180deg,
                    rgba(148, 163, 184, 0.4) 0%,
                    #64748b 15%,
                    #475569 40%,
                    #334155 70%,
                    #1e293b 100%);
            z-index: 1;
        }

        /* Runway markings - perspective center line */
        .bg-airport-runway::before {
            content: '';
            position: absolute;
            top: 10%;
            left: 50%;
            transform: translateX(-50%) perspective(400px) rotateX(60deg);
            width: 6px;
            height: 90%;
            background: repeating-linear-gradient(0deg,
                    rgba(255, 255, 255, 0.9) 0px, rgba(255, 255, 255, 0.9) 15px,
                    transparent 15px, transparent 30px);
            opacity: 0.7;
        }

        /* Runway threshold markers */
        .bg-airport-runway::after {
            content: '';
            position: absolute;
            bottom: 5%;
            left: 50%;
            transform: translateX(-50%) perspective(150px) rotateX(25deg);
            width: 100px;
            height: 12px;
            background: repeating-linear-gradient(90deg,
                    rgba(255, 255, 255, 0.8) 0px, rgba(255, 255, 255, 0.8) 6px,
                    transparent 6px, transparent 12px);
            opacity: 0.6;
        }

        /* ATC Window Frame Overlay - Subtle dividers */
        .atc-frame-overlay {
            position: absolute;
            inset: 0;
            z-index: 50;
            pointer-events: none;
            /* 10 Subtle vertical dividers */
            background:
                linear-gradient(to right,
                    rgba(30, 41, 59, 0.8) 0%, transparent 0.4%,
                    transparent 9.6%, rgba(30, 41, 59, 0.5) 10%,
                    rgba(30, 41, 59, 0.5) 10%, transparent 10.4%,
                    transparent 19.6%, rgba(30, 41, 59, 0.5) 20%,
                    rgba(30, 41, 59, 0.5) 20%, transparent 20.4%,
                    transparent 29.6%, rgba(30, 41, 59, 0.5) 30%,
                    rgba(30, 41, 59, 0.5) 30%, transparent 30.4%,
                    transparent 39.6%, rgba(30, 41, 59, 0.5) 40%,
                    rgba(30, 41, 59, 0.5) 40%, transparent 40.4%,
                    transparent 49.6%, rgba(30, 41, 59, 0.5) 50%,
                    rgba(30, 41, 59, 0.5) 50%, transparent 50.4%,
                    transparent 59.6%, rgba(30, 41, 59, 0.5) 60%,
                    rgba(30, 41, 59, 0.5) 60%, transparent 60.4%,
                    transparent 69.6%, rgba(30, 41, 59, 0.5) 70%,
                    rgba(30, 41, 59, 0.5) 70%, transparent 70.4%,
                    transparent 79.6%, rgba(30, 41, 59, 0.5) 80%,
                    rgba(30, 41, 59, 0.5) 80%, transparent 80.4%,
                    transparent 89.6%, rgba(30, 41, 59, 0.5) 90%,
                    rgba(30, 41, 59, 0.5) 90%, transparent 90.4%,
                    transparent 99.6%, rgba(30, 41, 59, 0.8) 100%);
            box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.25);
            border-radius: 1rem;
        }

        /* Multi-layer cloud styles */
        .multi-cloud {
            position: absolute;
            z-index: 20;
            transition: all 0.3s ease;
        }

        .multi-cloud svg {
            width: 100%;
            height: 100%;
        }

        /* Critical cloud (below 500ft) subtle glow */
        .critical-cloud {
            filter: drop-shadow(0 4px 12px rgba(239, 68, 68, 0.4));
        }

        /* Critical Red Zone below cloud - when below 500ft */
        .critical-zone {
            position: absolute;
            left: 3%;
            right: 3%;
            z-index: 15;
            background: linear-gradient(180deg,
                    rgba(220, 38, 38, 0.55) 0%,
                    rgba(220, 38, 38, 0.35) 40%,
                    rgba(220, 38, 38, 0.15) 80%,
                    transparent 100%);
            border-radius: 0 0 10px 10px;
            pointer-events: none;
            animation: criticalPulse 2s ease-in-out infinite;
        }

        @keyframes criticalPulse {

            0%,
            100% {
                opacity: 0.8;
            }

            50% {
                opacity: 1;
            }
        }

        /* "BELOW MINIMA!" Label */
        .below-minima-label {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(220, 38, 38, 0.95);
            color: white;
            font-size: 9px;
            font-weight: 800;
            padding: 3px 8px;
            border-radius: 4px;
            z-index: 35;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
            white-space: nowrap;
            box-shadow: 0 2px 8px rgba(220, 38, 38, 0.5);
        }

        /* Landing Minima Line (500ft) */
        .landing-minima-line {
            position: absolute;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg,
                    rgba(220, 38, 38, 0.6),
                    rgba(239, 68, 68, 0.9),
                    rgba(220, 38, 38, 0.6));
            z-index: 45;
            box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
        }

        .landing-minima-line::before,
        .landing-minima-line::after {
            content: 'LANDING MINIMA (500ft)';
            position: absolute;
            top: -20px;
            font-size: 11px;
            font-weight: 700;
            color: #dc2626;
            background: rgba(255, 255, 255, 0.92);
            padding: 2px 6px;
            border-radius: 3px;
            white-space: nowrap;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
        }

        .landing-minima-line::before {
            left: 8px;
        }

        .landing-minima-line::after {
            right: 8px;
        }

        /* Altitude Scale (left side) */
        .altitude-scale {
            position: absolute;
            left: 6px;
            top: 8%;
            bottom: 22%;
            width: 55px;
            z-index: 55;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            pointer-events: none;
        }

        .altitude-label {
            font-size: 12px;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.95);
            text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6), 0 0 8px rgba(0, 0, 0, 0.3);
            background: rgba(0, 0, 0, 0.35);
            padding: 2px 5px;
            border-radius: 3px;
        }

        /* Grid lines - matching ceiling levels */
        .altitude-grid-line {
            position: absolute;
            left: 55px;
            right: 0;
            height: 1px;
            background: rgba(255, 255, 255, 0.3);
            z-index: 5;
        }

        .altitude-grid-line.minima {
            height: 2px;
            background: rgba(220, 38, 38, 0.5);
        }

        /* Grid line labels on right side */
        .grid-label-right {
            position: absolute;
            right: 8px;
            font-size: 12px;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.95);
            text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6), 0 0 8px rgba(0, 0, 0, 0.3);
            transform: translateY(-50%);
            z-index: 55;
            background: rgba(0, 0, 0, 0.35);
            padding: 2px 5px;
            border-radius: 3px;
        }

        /* Year Panel */
        .year-panel {
            position: relative;
            flex: 1;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-end;
            overflow: visible;
        }

        .year-label-bottom {
            position: absolute;
            bottom: 5%;
            left: 50%;
            transform: translateX(-50%);
            font-size: 14px;
            font-weight: 900;
            color: #1e3a5f;
            text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.9), -1px -1px 0 rgba(255, 255, 255, 0.9);
            z-index: 55;
        }

        /* Tooltip for cloud - Show centered in panel */
        .cloud-tooltip {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(15, 23, 42, 0.98);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 10px 12px;
            border-radius: 10px;
            min-width: 150px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.15s ease;
            z-index: 9999;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(12px);
            margin-bottom: 8px;
        }

        .cloud-hover-area:hover .cloud-tooltip {
            opacity: 1;
        }

        .multi-cloud {
            pointer-events: none;
        }

        .multi-cloud:hover {
            transform: translate(-50%, -50%) scale(1.1);
        }

        .critical-cloud {
            animation: criticalPulse 2s ease-in-out infinite;
        }

        .tooltip-header {
            font-weight: 700;
            font-size: 12px;
            color: #ffffff;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            padding-bottom: 6px;
            margin-bottom: 6px;
        }

        .tooltip-row {
            display: flex;
            justify-content: space-between;
            font-size: 10px;
            margin-bottom: 3px;
            align-items: center;
        }

        .tooltip-label {
            color: #94a3b8;
        }

        .tooltip-value {
            font-weight: 700;
            color: #ffffff;
            padding: 1px 6px;
            border-radius: 3px;
            background: rgba(255, 255, 255, 0.1);
        }

        .tooltip-value.critical {
            color: #fca5a5;
            background: rgba(220, 38, 38, 0.3);
        }

        .tooltip-value.good {
            color: #6ee7b7;
            background: rgba(16, 185, 129, 0.3);
        }

        .tooltip-color-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 4px;
        }