/* Geographic Map Styles */
#geo-map-container {
    height: 500px;
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
    z-index: 1;
}

.map-toggle-btns {
    display: flex;
    gap: 4px;
}

.leaflet-popup-content strong {
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.leaflet-popup-content .map-popup-info {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.leaflet-popup-content .map-popup-info .threat-stars {
    display: inline-flex;
    gap: 1px;
}

.leaflet-popup-content .map-popup-info .threat-stars i {
    font-size: 11px;
}

.leaflet-popup-content .btn-sm {
    font-size: 11px;
    padding: 2px 8px;
    margin-top: 6px;
}

.map-legend {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 14px;
    margin-top: 12px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
}

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

.map-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.2);
}

/* Marker cluster styles */
.marker-cluster {
    background: rgba(37, 99, 235, 0.3);
    border-radius: 50%;
}

.marker-cluster div {
    background: rgba(37, 99, 235, 0.7);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin: 5px;
}

@media (max-width: 768px) {
    #geo-map-container {
        height: 350px;
    }
}
