.nwsfm-map {
    width: 100%;
    border-radius: 4px;
    z-index: 0;
}

/* Override Leaflet popup defaults for larger scrollable popup */
.nwsfm-leaflet-popup .leaflet-popup-content {
    max-height: 350px;
    overflow-y: auto;
    margin: 12px 16px;
    width: 320px !important;
}

.nwsfm-popup {
    font-size: 13px;
    line-height: 1.5;
    margin-right: 10px;
}

.nwsfm-popup h3 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 2px solid #2271b1;
    padding-bottom: 6px;
    color: #1d2327;
}

.nwsfm-period {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}

.nwsfm-period:last-child {
    border-bottom: none;
}

.nwsfm-icon {
    width: 50px;
    height: 50px;
    float: left;
    margin: 0 8px 4px 0;
    border-radius: 4px;
}

.nwsfm-period-details {
}

.nwsfm-period-name {
    font-weight: 600;
    color: #1d2327;
    margin-bottom: 2px;
}

.nwsfm-period-temp {
    font-size: 15px;
    font-weight: 700;
    color: #2271b1;
}

.nwsfm-period-desc {
    color: #50575e;
    font-size: 12px;
    margin-top: 2px;
}

.nwsfm-precip {
    color: #2271b1;
    font-size: 12px;
    font-weight: 600;
}

.nwsfm-loading {
    text-align: center;
    padding: 20px 0;
}

.nwsfm-loading p {
    margin: 10px 0 0;
    font-size: 14px;
    color: #1d2327;
}

.nwsfm-spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 4px solid #ddd;
    border-top-color: #2271b1;
    border-radius: 50%;
    animation: nwsfm-spin 0.8s linear infinite;
}

@keyframes nwsfm-spin {
    to { transform: rotate(360deg); }
}

/* Station markers */
.nwsfm-station-icon {
    background: none !important;
    border: none !important;
}

.nwsfm-station-popup p {
    margin: 6px 0 12px;
    font-size: 14px;
    color: #50575e;
}

.nwsfm-station-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #2271b1;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.nwsfm-station-btn:hover {
    background: #135e96;
}

.nwsfm-error {
    color: #d63638;
    margin: 0;
}
