/* CLEM map.css */

#clem-map {
    height: 480px;
    width: 100%;
    border-radius: 8px;
    z-index: 0;
}

.leaflet-popup-content {
    font-family: system-ui, sans-serif;
    font-size: .88rem;
    min-width: 160px;
}
.map-popup-title {
    font-weight: 700;
    font-size: .95rem;
    color: #1e3a5f;
    margin-bottom: .4rem;
}
.map-popup-row {
    display: flex;
    justify-content: space-between;
    padding: .2rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: .82rem;
    color: #374151;
}
.map-popup-row:last-child { border-bottom: none; }
.map-popup-label { color: #6b7280; }
.map-popup-val { font-weight: 600; }

.map-legend {
    display: flex;
    gap: 1rem;
    padding: .75rem 1rem;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    font-size: .82rem;
    color: #6b7280;
    flex-wrap: wrap;
}
.map-legend-item { display: flex; align-items: center; gap: .35rem; }
.map-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 480px;
    color: #6b7280;
    font-size: .95rem;
}
