/* Design System / Variables */
:root {
    --bg-dark: #070a13;
    --bg-card: rgba(15, 23, 42, 0.45);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.15);
    
    /* Neon accents */
    --color-cyan: #00f0ff;
    --color-cyan-glow: rgba(0, 240, 255, 0.35);
    --color-purple: #a855f7;
    --color-purple-glow: rgba(168, 85, 247, 0.3);
    --color-green: #10b981;
    --color-green-glow: rgba(16, 185, 129, 0.3);
    --color-orange: #f59e0b;
    --color-orange-glow: rgba(245, 158, 11, 0.3);
    --color-red: #ef4444;
    --color-red-glow: rgba(239, 68, 68, 0.3);
    
    /* Text */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Fonts */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Base resets & styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.5;
}

/* Background glows for premium look */
.radar-glow-container {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.07) 0%, rgba(168, 85, 247, 0.04) 50%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

/* Main wrapper */
.app-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    position: relative;
    z-index: 1;
}

/* Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.radar-icon-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 50%;
}

.radar-icon {
    color: var(--color-cyan);
    width: 24px;
    height: 24px;
}

.radar-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-cyan);
    border-radius: 50%;
    animation: ping-pulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.app-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #fff 0%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Glassmorphism Panel style */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass:hover {
    border-color: var(--border-glass-hover);
}

/* Status Badge */
.status-badge {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-glass);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.success {
    background-color: var(--color-green);
    box-shadow: 0 0 8px var(--color-green-glow);
}

.status-dot.warning {
    background-color: var(--color-orange);
    box-shadow: 0 0 8px var(--color-orange-glow);
    animation: flash 1.5s infinite;
}

.status-dot.danger {
    background-color: var(--color-red);
    box-shadow: 0 0 8px var(--color-red-glow);
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Location / Control Panel */
.control-panel {
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.control-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .control-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-glass);
    padding-top: 1.25rem;
}

@media (max-width: 600px) {
    .action-row {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
}

.radius-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.radius-segmented-control {
    display: flex;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 2px;
    gap: 2px;
}

.btn-segment {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-segment:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.btn-segment.active {
    color: #000;
    background: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan-glow);
}

/* Ensure segments layout cleanly in glasses mode and handle hover/active correctly */
.glasses-mode .btn-segment.active {
    color: #000;
    background: var(--color-cyan);
}


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    border: none;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-purple) 100%);
    color: #000;
    font-weight: 700;
    box-shadow: 0 4px 14px 0 rgba(0, 240, 255, 0.2);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(0, 240, 255, 0.35);
    color: #000;
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.action-btn-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

@media (max-width: 600px) {
    .action-btn-group {
        flex-direction: column;
        align-items: stretch;
    }
}

.btn-secondary.active {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* Spin animation for icons on hover */
.icon-spin-hover {
    transition: transform 0.6s ease;
}
.btn:hover .icon-spin-hover {
    transform: rotate(360deg);
}

/* Filter / Search Bar */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

@media (max-width: 600px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
}

.search-input-wrapper {
    position: relative;
    flex-grow: 1;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 16px;
    height: 16px;
}

.search-input-wrapper input {
    width: 100%;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 0.6rem 1rem 0.6rem 2.25rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s;
}

.search-input-wrapper input:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.15);
    background: rgba(15, 23, 42, 0.8);
}

.search-input-wrapper input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.plane-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--border-glass);
}

/* States Display */
.state-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.state-container h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.state-container p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 400px;
}

.hidden {
    display: none !important;
}

/* Radar loading animation */
.loader-radar {
    position: relative;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(0, 240, 255, 0.15);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.loader-radar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--color-cyan);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--color-cyan);
}

.radar-sweep {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg at 50% 50%, rgba(0, 240, 255, 0.4) 0deg, transparent 90deg, transparent 360deg);
    border-radius: 50%;
    animation: rotate 1.8s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Empty State Styling */
.empty-icon-wrapper {
    background: rgba(255, 255, 255, 0.02);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border-glass-hover);
    margin-bottom: 1.5rem;
}

.empty-icon {
    width: 32px;
    height: 32px;
    color: var(--text-muted);
}

/* Error State Styling */
.error-state {
    border-color: rgba(239, 68, 68, 0.2);
}

.error-icon-wrapper {
    background: rgba(239, 68, 68, 0.1);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(239, 68, 68, 0.2);
    margin-bottom: 1.5rem;
}

.error-icon {
    width: 32px;
    height: 32px;
    color: var(--color-red);
}

.mt-3 {
    margin-top: 1rem;
}

/* Aircraft Grid Layout */
.aircraft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

/* Plane Card Design */
.plane-card {
    position: relative;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
}

.plane-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--color-purple);
    transition: background 0.3s;
}

/* Style cards based on categories if we want, or just a cool purple border */
.plane-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px 0 rgba(168, 85, 247, 0.08);
}

.plane-card:hover::before {
    background: var(--color-cyan);
}

/* Plane Card Header */
.plane-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.callsign-box {
    display: flex;
    flex-direction: column;
}

.callsign {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    font-family: monospace;
}

.squawk {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: monospace;
}

.country {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-glass);
}

/* Compass / Heading indicator */
.heading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    color: var(--color-cyan);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Plane Card Stats Grid */
.plane-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.15);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.stat-icon {
    width: 14px;
    height: 14px;
    color: var(--color-purple);
}

.stat-detail {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Coordinates on plane card */
.plane-coords {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: monospace;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.5rem;
}

/* Footer style */
footer.app-footer {
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

footer.app-footer p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

footer.app-footer a {
    color: var(--color-cyan);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

footer.app-footer a:hover {
    color: var(--color-purple);
    text-decoration: underline;
}

.footer-note {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
}

/* Utility Helpers */
.text-cyan { color: var(--color-cyan); }
.text-purple { color: var(--color-purple); }
.text-green { color: var(--color-green); }
.text-muted { color: var(--text-muted); }
.icon-sm { width: 16px; height: 16px; }
.icon-xs { width: 14px; height: 14px; }

/* Pulse animation helper */
.animate-pulse {
    animation: simple-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

/* AR Panel Styling */
.ar-panel {
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ar-title {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border: 1px solid var(--border-glass);
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-muted);
    transition: .4s;
}
input:checked + .slider {
    background-color: rgba(0, 240, 255, 0.2);
    border-color: var(--color-cyan);
}
input:checked + .slider:before {
    transform: translateX(26px);
    background-color: var(--color-cyan);
    box-shadow: 0 0 8px var(--color-cyan-glow);
}
input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}
.slider.round {
    border-radius: 24px;
}
.slider.round:before {
    border-radius: 50%;
}

.ar-controls {
    border-top: 1px solid var(--border-glass);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#compass-active-ui {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: rgba(0,0,0,0.2);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-glass);
}

@media (max-width: 600px) {
    #compass-active-ui {
        flex-direction: column;
        align-items: stretch;
    }
}

.compass-readout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.facing-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.facing-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-cyan);
}

.fov-control {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
    max-width: 300px;
}

.fov-control label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.slider-input {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-purple);
    cursor: pointer;
    box-shadow: 0 0 10px var(--color-purple-glow);
}

.slider-input::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-purple);
    cursor: pointer;
    box-shadow: 0 0 10px var(--color-purple-glow);
    border: none;
}

/* Startup Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
}
.modal-content {
    padding: 2.5rem;
    text-align: center;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Glasses Mode Specific Constraints */
body.glasses-mode {
    background: #000;
}
.glasses-mode .app-container {
    max-width: 600px;
    height: 600px;
    margin: 0 auto;
    padding: 8px; /* 8dp safe zone */
    overflow-y: auto;
    overflow-x: hidden;
}
.glasses-mode .search-input-wrapper {
    display: none !important;
}
.glasses-mode .switch, 
.glasses-mode .slider-input {
    display: none !important;
}
.glasses-mode .fov-btn-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

/* D-pad Focus Styles */
.focusable:focus, .focusable.focused {
    outline: none !important;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6) !important;
    transform: scale(0.95);
    border-color: var(--color-cyan) !important;
    z-index: 10;
}

/* Compact AR panel for glasses mode */
.glasses-mode .ar-panel {
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}
.glasses-mode .ar-title {
    font-size: 0.85rem;
}
.glasses-mode .ar-controls {
    padding-top: 0.5rem;
    gap: 0.5rem;
}
.glasses-mode #compass-active-ui {
    padding: 0.5rem;
    gap: 0.5rem;
}
.glasses-mode .facing-value {
    font-size: 1rem;
}
.glasses-mode .fov-btn-group button {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

/* Immersive Mode Styling */
.immersive-active .app-container,
.immersive-active .radar-glow-container {
    display: none !important;
}

#immersive-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    z-index: 1000;
    pointer-events: none; /* Let clicks pass through if needed, though we don't have interactions yet */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#immersive-container.hidden {
    display: none !important;
}

/* Target Reticle */
.target-reticle {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.target-reticle .dot {
    width: 12px;
    height: 12px;
    background: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--color-cyan);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.target-reticle .ring {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(0, 240, 255, 0.3);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.target-reticle.locked .dot {
    background: var(--color-red);
    box-shadow: 0 0 20px var(--color-red);
}

.target-reticle.locked .ring {
    border-color: rgba(239, 68, 68, 0.5);
    animation: pulse-ring-locked 1s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.2; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

@keyframes pulse-ring-locked {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 0.4; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

/* Immersive Info Overlay */
.immersive-info {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 1.5rem;
    min-width: 280px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--color-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.imm-callsign-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: monospace;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.imm-callsign-row i {
    color: var(--color-cyan);
}

.imm-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
}

.imm-stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.9rem;
}

.imm-lbl {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.imm-val {
    color: var(--text-primary);
    font-weight: 500;
    font-family: monospace;
}

/* Locked mode overrides for info panel */
.immersive-info.locked-info {
    border-color: var(--color-red);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}
.immersive-info.locked-info .imm-callsign-row i {
    color: var(--color-red);
}
