* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Roboto', sans-serif; 
    background: #1a1a1a; 
    height: 100dvh; 
    overflow: hidden; 
}

#map { 
    width: 100%; 
    height: 100dvh; 
}

.legend {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.4);
    padding: 6px 10px;
    border-radius: 6px;
    z-index: 1000;
    font-size: 9px;
    color: #333;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
}

.zoom {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    text-align: center;
    min-width: 24px;
    padding: 2px 6px;
    background: rgba(255,255,255,0.7);
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Translucent Layer Control */
.leaflet-control-layers {
    background: rgba(255,255,255,0.7) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}

.leaflet-control-layers-toggle {
    width: 36px !important;
    height: 36px !important;
}

.leaflet-control-layers-expanded {
    padding: 8px 12px !important;
    font-size: 11px !important;
    color: #333 !important;
}

.leaflet-control-layers-selector {
    margin-right: 6px !important;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 3px 0;
}

.color-box {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

/* Translucent Zoom Buttons */
.leaflet-control-zoom {
    border: 1px solid rgba(255,255,255,0.2) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    border-radius: 6px;
    overflow: visible !important;
    margin-bottom: 20px !important;
}

.leaflet-control-zoom a {
    background: rgba(255,255,255,0.7) !important;
    color: #333 !important;
    border: none !important;
    width: 28px !important;
    height: 28px !important;
    line-height: 28px !important;
    font-size: 16px;
    font-weight: 400;
    transition: background 0.15s;
}

.leaflet-control-zoom a:hover {
    background: #f5f5f5 !important;
    color: #000 !important;
}

.leaflet-control-zoom a.leaflet-disabled {
    background: #fafafa !important;
    color: #ccc !important;
}

.leaflet-control-zoom-in {
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}
