.weather-widget {
    margin: 30px auto;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, .08);
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at 50% -20%, rgba(91, 192, 222, .25), transparent 40%), linear-gradient(180deg, #17324a 0%, #0d1922 100%);
}


.weather-header {
    margin-bottom: 25px;
}

.weather-location {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.weather-temperature {
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    margin-top: 10px;
}

.weather-details {
    display: grid;
    gap: 15px;
}

.weather-detail {
    background: #aecfd5;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.weather-detail-label {
    font-size: 14px;
    color: #666;
}

.weather-detail-value {
    margin-top: 5px;
    font-size: 18px;
    font-weight: 700;
}

.weather-forecast {
    margin-top: 30px;
}

.weather-forecast-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.weather-days {
    display: grid;
    gap: 12px;
}

.weather-day {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.weather-day-name {
    font-size: 17px;
    font-weight: 600;
}

.weather-day-temp {
    margin-top: 8px;
    font-size: 14px;
}

.temp-max {
    margin-bottom: 5px;
    display: block;
}

.temp-min {
    opacity: .7;
}


.weather-layout-card {
    max-width: 400px;
}

.weather-layout-card .weather-header {
    text-align: center;
}

.weather-layout-card .weather-details {
    grid-template-columns: 1fr;
}

.weather-layout-card .weather-days {
    grid-template-columns: 1fr;
}


.weather-layout-horizontal .weather-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.weather-layout-horizontal .weather-details {
    grid-template-columns: repeat(3, 1fr);
}

.weather-layout-horizontal .weather-days {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
}


.weather-layout-dashboard .weather-header {
    text-align: center;
}

.weather-layout-dashboard .weather-details {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.weather-layout-dashboard .weather-days {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.weather-loading,
.weather-error {
    color: #fff;
    text-align: center;
    padding: 30px;
}

.weather-current {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.weather-day-icon {
    font-size: 28px;
    margin: 8px 0;
}

.weather-icon {
    font-size: 64px;
    line-height: 1;
}

.weather-condition {
    font-size: 18px;
    margin-top: 10px;
    font-weight: 600;
}

.weather-minmax {
    margin-top: 10px;
    font-size: 16px;
}

.weather-feels-like {
    margin-top: 10px;
    font-size: 15px;
    color: #666;
}

.weather-air-quality {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    background: #f5f5f5;
    text-align: center;
}

.weather-aqi-label {
    font-size: 14px;
    color: #666;
}

.weather-aqi-value {
    margin-top: 5px;
    font-size: 20px;
    font-weight: 700;
}

.weather-aqi-inline {
    margin-top: 12px;
    display: inline-block;
    padding: 8px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    font-size: 14px;
    font-weight: 600;
}

.weather-layout-compact {
    text-align: center;
}

.weather-layout-compact .weather-main {
    display: block;
}

.weather-layout-compact .weather-header {
    margin-bottom: 10px;
}

.weather-layout-compact .weather-temperature {
    font-size: 42px;
}

.weather-layout-compact .weather-icon {
    font-size: 54px;
}

.weather-layout-compact .weather-condition {
    margin-top: 8px;
}

.weather-layout-compact .weather-details,
.weather-layout-compact .weather-forecast {
    display: none;
}

.weather-layout-compact .weather-current {
    margin-bottom: 0;
}

.weather-layout-compact .weather-aqi-inline {
    margin-top: 12px;
}
