/* ============================================================
   Weather page — Combined map (Forecast + Live Radar) tabs
   ============================================================ */

/* Tab bar */
.weather-map-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--s4w-color-2, #3C5FA6);
    margin-bottom: 0;
}

.weather-map-tab {
    padding: 10px 24px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: #888;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.weather-map-tab:hover {
    color: #555;
}

.weather-map-tab.active {
    color: var(--s4w-color-2, #3C5FA6);
    font-weight: 700;
    border-bottom-color: var(--s4w-color-2, #3C5FA6);
}

/* Panels */
.weather-map-panel {
    position: relative;
}

/* Embedded radar tile map in weather page */
.radar-tile-map-container--embedded {
    height: 680px;
    min-height: 450px;
    border-radius: 0;
}

/* Leaflet overrides for embedded radar in weather page */
/* #radar-map-panel .leaflet-control-zoom a {
    background: rgba(26, 26, 46, 0.9);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

#radar-map-panel .leaflet-control-zoom a:hover {
    background: rgba(26, 26, 46, 1);
    color: #fff;
}

#radar-map-panel .leaflet-control-attribution {
    background: rgba(26, 26, 46, 0.7);
    color: rgba(255, 255, 255, 0.4);
}

#radar-map-panel .leaflet-control-attribution a {
    color: rgba(79, 195, 247, 0.6);
} */

/* Responsive */
@media (max-width: 768px) {
    .weather-map-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .weather-map-tab {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .radar-tile-map-container--embedded {
        height: 450px;
    }
}
