/**
 * Weather widget styles - header widget and forecast modal.
 */

.weather-widget {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 1rem;
    z-index: 10;
}

.weather-widget:hover {
    background: rgba(0, 0, 0, 0.5);
}

.weather-widget i {
    font-size: 1.5rem;
}

.weather-widget #weatherTemp {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Weather forecast modal */
.weather-forecast {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.weather-current {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bs-tertiary-bg);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.weather-current-icon {
    font-size: 3rem;
}

.weather-current-info {
    flex: 1;
}

.weather-current-temp {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.weather-current-desc {
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.weather-current-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}

.weather-forecast-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
    margin-top: 0.5rem;
}

.weather-forecast-days {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.weather-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background: var(--bs-tertiary-bg);
    border-radius: 0.375rem;
    text-align: center;
}

.weather-day-name {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.weather-day-icon {
    font-size: 1.5rem;
    margin: 0.25rem 0;
}

.weather-day-temps {
    font-size: 0.85rem;
}

.weather-day-high {
    font-weight: 600;
}

.weather-day-low {
    color: var(--bs-secondary-color);
}
