:root {
    --bg: #0f172a;
    --panel: rgba(255, 255, 255, 0.08);
    --accent: #5eead4;
    --accent-2: #a855f7;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --danger: #f97316;
    --font: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--font);
    background: radial-gradient(circle at 10% 20%, rgba(94,234,212,0.08), transparent 25%),
                radial-gradient(circle at 80% 0%, rgba(168,85,247,0.1), transparent 20%),
                var(--bg);
    color: var(--text);
}

.top-bar {
    height: 64px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.title {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.4px;
}

.subtitle {
    font-size: 13px;
    color: var(--muted);
}

.status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 6px rgba(94, 234, 212, 0.15);
}

.dot-connected { background: var(--accent); }
.dot-disconnected { background: var(--danger); box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.1); }

.btn {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: var(--text);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover { border-color: rgba(255, 255, 255, 0.4); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: rgba(255, 255, 255, 0.04); }

#map {
    height: calc(100vh - 64px - 120px);
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.panel {
    height: 120px;
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.label {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.value {
    font-size: 16px;
    font-weight: 600;
    margin-top: 4px;
}

.note {
    color: var(--muted);
    font-size: 13px;
}

code {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 6px;
}

.leaflet-container {
    filter: saturate(1.05);
}
