/* Weather Widget styles */

.weather-widget {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: var(--spring-transition);
    min-width: 250px;
    z-index: 10;
}

.weather-widget:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.8rem;
    position: relative;
}

.weather-location {
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.weather-location:hover {
    opacity: 0.8;
    transform: translateX(2px);
}

.weather-location i {
    width: 12px;
    height: 12px;
    opacity: 0.6;
}

.weather-update {
    opacity: 0.6;
}

/* Location input */
.weather-location-input {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 100;
    display: none;
}

.weather-location-input.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.weather-location-input input {
    width: 100%;
    padding: 8px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    margin-bottom: 8px;
}

.weather-location-input input:focus {
    border-color: var(--accent-color);
    background: rgba(255,255,255,0.08);
}

.weather-location-actions {
    display: flex;
    gap: 8px;
}

.weather-location-btn {
    flex: 1;
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.weather-location-btn:hover {
    background: rgba(255,255,255,0.15);
    transform: scale(1.02);
}

.weather-location-btn.primary {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.weather-location-btn.primary:hover {
    background: rgba(59, 130, 246, 0.3);
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.weather-icon {
    font-size: 2rem;
}

.weather-temp-large {
    font-size: 1.8rem;
    font-weight: 300;
}

.weather-wind {
    font-size: 0.8rem;
    opacity: 0.7;
}

.weather-forecast {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.forecast-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    flex: 1;
}

.forecast-icon {
    font-size: 1.2rem;
    margin: 4px 0;
}

/* Responsive - hide on smaller screens */
@media (max-width: 1200px) {
    .weather-widget {
        display: none;
    }
}
