/* Leaflet tooltip, popup and control styling for the analytics map.
 *
 * map.js used to inject these rules as a <style> element when the map
 * started, which the page CSP (style-src 'self') refuses. Linked after
 * leaflet.css so it still follows Leaflet's defaults in the cascade, as the
 * injected element did. */
.leaflet-container {
    background: #08101e !important;
}
.an-map-tooltip {
    background: #0f1929 !important;
    border: 1px solid #ff8c00 !important;
    color: #f0e0b0;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.5;
    box-shadow: 0 2px 12px rgba(0,0,0,.7);
}
.an-map-popup .leaflet-popup-content-wrapper {
    background: #0f1929;
    border: 1px solid #ff8c00;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,.8);
    color: #f0e0b0;
}
.an-map-popup .leaflet-popup-tip {
    background: #0f1929;
}
.an-map-popup .leaflet-popup-content {
    margin: 12px 14px;
}
.an-map-popup-inner {
    min-width: 180px;
}
.an-map-popup-title {
    font-size: 15px;
    font-weight: 700;
    color: #ff8c00;
    margin-bottom: 4px;
}
.an-map-popup-hits {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,140,0,.25);
}
.an-map-popup-cities-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,140,0,.7);
    margin-bottom: 5px;
}
.an-map-popup-city {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 2px 0;
    gap: 12px;
    color: #d0c0a0;
}
.an-map-popup-city-num {
    color: #ffd700;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}
.leaflet-control-attribution {
    background: rgba(10,14,25,.85) !important;
    color: #777 !important;
    font-size: 10px;
}
.leaflet-control-attribution a {
    color: #aaa !important;
}
.leaflet-control-zoom a {
    background: #0f1929 !important;
    border-color: #2a3a4a !important;
    color: #ff8c00 !important;
}
