/**
 * Weather Widget Styles - Windows 11 Taskbar Style
 */

.weather-widget {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    border: none;
}

/* Hero weather widget - Windows 11 taskbar style */
.hero-weather-widget .weather-widget {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Windows 11 taskbar style - small rounded box */
.hero-weather-widget .weather-widget-body {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 6px;
    padding: 6px 10px;
    gap: 4px;
    line-height: 1;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

.weather-widget-body {
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

.weather-loading {
    display: flex;
    align-items: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.weather-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0;
    width: 100%;
}

.weather-location {
    font-size: 0.6875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    padding: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    white-space: nowrap;
    text-transform: capitalize;
    text-align: center;
}

.weather-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    flex-direction: row;
    width: 100%;
}

.weather-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.hero-weather-widget .weather-icon i.weather-icon-element {
    font-size: 20px !important;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

/* Colorful weather icons - vibrant colors */
.weather-icon-element.weather-clear {
    color: #FFB800 !important; /* Golden yellow for sun */
}

.weather-icon-element.weather-clouds {
    color: #87CEEB !important; /* Sky blue for clouds */
}

.weather-icon-element.weather-rain {
    color: #4A90E2 !important; /* Bright blue for rain */
}

.weather-icon-element.weather-drizzle {
    color: #5B9BD5 !important; /* Light blue for drizzle */
}

.weather-icon-element.weather-thunderstorm {
    color: #6B46C1 !important; /* Purple for thunderstorm */
}

.weather-icon-element.weather-snow {
    color: #E8F4F8 !important; /* Light blue/white for snow */
}

.weather-icon-element.weather-mist {
    color: #B0BEC5 !important; /* Gray for mist */
}

.weather-icon-element.weather-fog {
    color: #B0BEC5 !important; /* Gray for fog */
}

/* Ensure icons are colorful by default */
.hero-weather-widget .weather-icon i.weather-icon-element {
    color: #FFB800 !important; /* Default golden yellow */
}

/* Specific colorful overrides */
.hero-weather-widget .weather-icon i.weather-icon-element.weather-clear {
    color: #FFB800 !important;
}

.hero-weather-widget .weather-icon i.weather-icon-element.weather-clouds {
    color: #87CEEB !important;
}

.hero-weather-widget .weather-icon i.weather-icon-element.weather-rain {
    color: #4A90E2 !important;
}

.hero-weather-widget .weather-icon i.weather-icon-element.weather-drizzle {
    color: #5B9BD5 !important;
}

.hero-weather-widget .weather-icon i.weather-icon-element.weather-thunderstorm {
    color: #6B46C1 !important;
}

.hero-weather-widget .weather-icon i.weather-icon-element.weather-snow {
    color: #E8F4F8 !important;
}

.hero-weather-widget .weather-icon i.weather-icon-element.weather-mist,
.hero-weather-widget .weather-icon i.weather-icon-element.weather-fog {
    color: #B0BEC5 !important;
}

.weather-icon i.weather-icon-element {
    font-size: 20px !important;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

.weather-temp {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    padding: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1;
    letter-spacing: -0.01em;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}

.weather-desc {
    display: none; /* Hide description for compact Windows 11 taskbar style */
}

.weather-error {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Remove old unused styles */
.weather-widget-header,
.weather-widget-title,
.weather-details,
.weather-detail-item {
    display: none !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-weather-widget {
        top: 100px !important;
        right: 15px !important;
        z-index: 100 !important;
    }
    
    .hero-weather-widget .weather-widget-body {
        padding: 5px 8px;
        gap: 3px;
    }
    
    .hero-weather-widget .weather-location {
        font-size: 0.625rem;
    }
    
    .hero-weather-widget .weather-content {
        gap: 3px;
    }
    
    .hero-weather-widget .weather-main {
        gap: 5px;
    }
    
    .hero-weather-widget .weather-icon i.weather-icon-element {
        font-size: 18px !important;
    }
    
    .hero-weather-widget .weather-temp {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .hero-weather-widget {
        top: 90px !important;
        right: 12px !important;
    }
    
    .hero-weather-widget .weather-widget-body {
        padding: 4px 7px;
        gap: 3px;
        border-radius: 5px;
    }
    
    .hero-weather-widget .weather-location {
        font-size: 0.5625rem;
    }
    
    .hero-weather-widget .weather-content {
        gap: 3px;
    }
    
    .hero-weather-widget .weather-main {
        gap: 4px;
    }
    
    .hero-weather-widget .weather-icon i.weather-icon-element {
        font-size: 16px !important;
    }
    
    .hero-weather-widget .weather-temp {
        font-size: 0.6875rem;
    }
}
