/* Limit width so it never grows too large on desktops */
#weather-current,
.weather-forecast,
.weather-alerts {
    max-width: 600px; /* increased from 500px */
    margin-left: auto;
    margin-right: auto;
}

/* Current conditions colored block */
.weather-current-box {
    padding: 4px;
    border-radius: 11px;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    color: white;
}

/* Seasonal background colors */
.bg-blue   { background: rgba(0, 102, 204, 0.75); }
.bg-green  { background: rgba(0, 128, 0, 0.75); }
.bg-orange { background: rgba(255, 128, 0, 0.75); }
.bg-red    { background: rgba(225, 0, 0, 0.75); }

/* Forecast cards */
.weather-forecast {
    display: flex;
    gap: 2px; /* tighter gap */
    flex-wrap: wrap;
    justify-content: center;
}

.weather-card {
    width: 50px; /* reduced from 70px */
    text-align: center;
    background: rgba(0,0,0,0.35);
    border-radius: 6px;
    padding: 1px;
    font-size: 11px;
    border: 2px solid rgba(255,255,255,0.25);
    color: white;
}

.weather-card img {
    width: 36px; 
    height: 36px;
}

/* Alerts */
/* Weather block max width */
#weather-current,
.weather-forecast {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;


}

/* Alerts get more room on desktop */
.weather-alerts {
    max-width: 1350px;      /* FIX: wider on desktop */
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    padding: 10px;
    background: rgba(255,0,0,0.25);
    border-left: 5px solid red;
    color: black;           /* FIX: readable text */
    font-size: 14px;
    line-height: 1.3;
    display: none;
    border-radius: 6px;
}
/* Text color overrides */
.text-white { color: white; }
.text-black { color: black; }
.weather-banner {
    max-width: 600px;               
    margin-left: auto;
    margin-right: auto;

    margin-top: 18px;                /* FIX: lower the banner slightly */
    margin-bottom: 6px;

    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 4px 8px;

    font-size: 13px;
    font-weight: bold;
    color: black;
    text-align: left;
    letter-spacing: 0.5px;
}



