:root {
    --neon-green: #00ff41;
    --glass-bg: rgba(10, 10, 10, 0.75);
    --border-color: rgba(255, 255, 255, 0.15);
    --font-mono: 'JetBrains Mono', monospace;
}

body, html { margin: 0; padding: 0; height: 100%; overflow: hidden; background: #000; color: #fff; font-family: var(--font-mono); }

/* The Map Layer */
#map { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }

/* HUD Panels (Glassmorphism) */
.hud-panel {
    position: absolute;
    z-index: 10;
    background: var(--glass-bg);
    backdrop-filter: blur(12px); /* Higher blur for better readability */
    border: 1px solid var(--border-color);
    padding: 15px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

/* Top Bar */
.top-bar {
    top: 20px; left: 20px; right: 20px;
    display: flex; justify-content: space-between; align-items: center;
    border-radius: 4px;
    height: 40px;
}
.top-bar h1 { margin: 0; font-size: 16px; letter-spacing: 2px; text-transform: uppercase; }
.blink { animation: blinker 2s linear infinite; color: var(--neon-green); }

/* Sidebar */
.sidebar {
    top: 80px; left: 20px; width: 260px;
    border-radius: 4px;
    max-height: 80vh; overflow-y: auto;
}
.sidebar h2 { font-size: 11px; color: #aaa; border-bottom: 1px solid #444; padding-bottom: 8px; margin-top: 5px; letter-spacing: 1px; }

/* Terminal Footer */
.terminal {
    bottom: 20px; left: 20px; right: 20px;
    height: 30px;
    display: flex; align-items: center;
    font-size: 12px; color: var(--neon-green);
    border-radius: 4px;
    text-transform: uppercase;
}

/* UI Controls */
.control-group { display: flex; align-items: center; margin-bottom: 15px; font-size: 13px; margin-top: 15px; }
.switch { position: relative; display: inline-block; width: 34px; height: 20px; margin-right: 12px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #333; transition: .4s; border-radius: 20px; }
.slider:before { position: absolute; content: ""; height: 12px; width: 12px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--neon-green); }
input:checked + .slider:before { transform: translateX(14px); }

/* Buttons */
.cy-btn {
    width: 100%; background: rgba(0, 255, 65, 0.1); border: 1px solid var(--neon-green); color: var(--neon-green);
    padding: 12px; cursor: pointer; font-family: var(--font-mono); text-transform: uppercase; font-size: 12px;
    transition: 0.3s; margin-bottom: 10px;
}
.cy-btn:hover { background: var(--neon-green); color: #000; box-shadow: 0 0 10px var(--neon-green); }

.saved-item { 
    padding: 10px; border-bottom: 1px solid #333; cursor: pointer; font-size: 12px; display: flex; justify-content: space-between;
}
.saved-item:hover { background: rgba(255,255,255,0.1); color: var(--neon-green); }

@keyframes blinker { 50% { opacity: 0; } }

/* Scrollbar Styling */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #444; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #666; }
