* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
    --alert-extreme: rgba(220, 38, 38, 0.2);
    --alert-severe: rgba(239, 68, 68, 0.15);
    --alert-moderate: rgba(251, 146, 60, 0.15);
    --alert-minor: rgba(251, 191, 36, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    transition: background 0.8s ease;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.6s ease;
}

body[data-theme="clear"] {
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.12), transparent 45%), radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.14), transparent 45%), linear-gradient(135deg, #0a0f1f 0%, #0f162b 100%);
}

body[data-theme="cloudy"] {
    background: radial-gradient(circle at 25% 30%, rgba(148, 163, 184, 0.15), transparent 40%), radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.1), transparent 45%), linear-gradient(135deg, #0b0c12 0%, #141826 100%);
}

body[data-theme="rain"] {
    background: radial-gradient(circle at 15% 30%, rgba(59, 130, 246, 0.2), transparent 45%), radial-gradient(circle at 80% 60%, rgba(34, 211, 238, 0.15), transparent 45%), linear-gradient(135deg, #0a0f1a 0%, #0b1533 100%);
}

body[data-theme="snow"] {
    background: radial-gradient(circle at 20% 20%, rgba(148, 163, 184, 0.2), transparent 45%), radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.08), transparent 45%), linear-gradient(135deg, #0a0b14 0%, #0d1422 100%);
}

body[data-theme="storm"] {
    background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.2), transparent 45%), radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.2), transparent 45%), linear-gradient(135deg, #0a0a0f 0%, #110c1f 100%);
}

.app-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Glass Morphism Card */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-glass);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glass), var(--shadow-glow);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    z-index: 1000;
}

.loading-content {
    text-align: center;
}

.loading-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-weather-icon {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
    animation: weatherPulse 2s ease-in-out infinite;
}

.loading-content p {
    color: var(--text-secondary);
    font-size: 18px;
}

@keyframes weatherPulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.1) rotate(5deg);
        filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.7));
    }
}

.hidden {
    display: none !important;
}

.refresh-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: var(--bg-glass-hover);
    transform: rotate(180deg);
}

/* Weather Alerts */
.alerts-container {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.alert-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid var(--border-glass);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-glass);
    animation: slideDown 0.4s ease-out;
    transition: all 0.3s ease;
}

.alert-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glass), var(--shadow-glow);
}

.alert-card.alert-extreme {
    background: linear-gradient(135deg, var(--alert-extreme), rgba(220, 38, 38, 0.1));
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 8px 32px 0 rgba(220, 38, 38, 0.2), 0 0 20px rgba(220, 38, 38, 0.3);
}

.alert-card.alert-severe {
    background: linear-gradient(135deg, var(--alert-severe), rgba(239, 68, 68, 0.08));
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 8px 32px 0 rgba(239, 68, 68, 0.15), 0 0 15px rgba(239, 68, 68, 0.2);
}

.alert-card.alert-moderate {
    background: linear-gradient(135deg, var(--alert-moderate), rgba(251, 146, 60, 0.08));
    border-color: rgba(251, 146, 60, 0.3);
}

.alert-card.alert-minor {
    background: linear-gradient(135deg, var(--alert-minor), rgba(251, 191, 36, 0.05));
    border-color: rgba(251, 191, 36, 0.25);
}

.alert-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.alert-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border-radius: 12px;
    flex-shrink: 0;
}

.alert-icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.alert-title-section {
    flex: 1;
}

.alert-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.alert-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.alert-severity {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    background: var(--bg-glass);
    border-radius: 8px;
    color: var(--text-primary);
}

.alert-urgency {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: capitalize;
}

.alert-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.alert-footer {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid var(--border-glass);
    font-size: 12px;
    color: var(--text-tertiary);
}

.alert-time,
.alert-expires {
    display: flex;
    align-items: center;
    gap: 6px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alert Summary Banner */
.alert-summary-banner {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1));
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 12px;
    animation: slideDown 0.4s ease-out;
}

.alert-summary-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.alert-summary-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.alert-summary-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.alert-summary-text strong {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
}

.alert-summary-details {
    color: var(--text-secondary);
    font-size: 13px;
}

.alert-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 8px 16px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.alert-toggle-btn:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-glass);
}

.alert-toggle-icon {
    transition: transform 0.3s ease;
    width: 18px;
    height: 18px;
}

/* Alerts Wrapper */
.alerts-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}

/* Collapsed state - hide alerts beyond the first one */
.alerts-container:not(.alerts-expanded) .alerts-wrapper .alert-card.alert-hidden {
    display: none;
}

/* Expanded state - show all alerts */
.alerts-container.alerts-expanded .alerts-wrapper .alert-card.alert-hidden {
    display: block;
    animation: slideDown 0.3s ease-out;
}

/* Compact view for single alert */
.alerts-container .alerts-wrapper:only-child {
    gap: 16px;
}

/* Responsive adjustments for alert summary */
@media (max-width: 768px) {
    .alert-summary-content {
        flex-wrap: wrap;
    }
    
    .alert-toggle-btn {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
    
    .alert-summary-text {
        flex-basis: calc(100% - 40px);
    }
}

/* Hero Section */
.hero-section {
    margin-bottom: 24px;
}

.hero-card {
    padding: 32px;
}

.location-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 32px;
}

.location-text {
    flex: 1;
}

.location-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border-radius: 12px;
    color: var(--accent-blue);
}

.location-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}

.current-time {
    font-size: 14px;
    color: var(--text-secondary);
}

.current-weather-main {
    text-align: center;
    margin: 40px 0;
}

.weather-icon-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.main-weather-icon {
    width: 160px;
    height: 160px;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.temperature-display {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.current-temp {
    font-size: 96px;
    font-weight: 300;
    line-height: 1;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.temp-unit {
    font-size: 32px;
    color: var(--text-secondary);
    margin-top: 12px;
}

.weather-description {
    font-size: 20px;
    color: var(--text-secondary);
    text-transform: capitalize;
}

.unified-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 32px;
}


.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-2px);
}

.stat-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border-radius: 12px;
    flex-shrink: 0;
}

.stat-icon-img {
    width: 32px;
    height: 32px;
    opacity: 1;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Forecast Sections */
.forecast-section,
.charts-section,
.daily-forecast-section {
    margin-bottom: 24px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hourly-scroll {
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

.hourly-scroll::-webkit-scrollbar {
    height: 6px;
}

.hourly-scroll::-webkit-scrollbar-track {
    background: var(--bg-glass);
    border-radius: 3px;
}

.hourly-scroll::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 3px;
}

.hourly-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

.hourly-container {
    display: flex;
    gap: 16px;
    min-width: max-content;
}

.hourly-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    min-width: 110px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hourly-item:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glass);
}

.hourly-time {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hourly-icon {
    width: 64px;
    height: 64px;
}

.hourly-temp {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.hourly-precip {
    font-size: 11px;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Widget System */
.widget-section {
    margin-bottom: 24px;
    position: relative;
}

.widget-card {
    position: relative;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.widget-toggle {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.widget-toggle:hover {
    background: var(--bg-glass-hover);
    transform: scale(1.05);
}

.widget-toggle svg {
    transition: transform 0.3s ease;
}

.widget-card.collapsed .widget-toggle svg {
    transform: rotate(-90deg);
}

.widget-content {
    transition: all 0.3s ease;
    overflow: hidden;
}

.widget-card.collapsed .widget-content {
    max-height: 0;
    margin: 0;
    opacity: 0;
}

/* Smart Insights */
.insights-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.insight-card {
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.05));
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateX(4px);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.08));
}

.insight-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border-radius: 12px;
    flex-shrink: 0;
    font-size: 24px;
}

.insight-content {
    flex: 1;
}

.insight-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.insight-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.insight-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--bg-glass);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
    color: var(--accent-blue);
}

/* Weather Map */
.weather-map-container {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: var(--bg-secondary);
}

.windy-map {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
    display: block;
}

/* Additional Widgets */
.widgets-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.widget-inner-content {
    padding: 8px 0;
}

.widget-placeholder {
    color: var(--text-tertiary);
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

/* Moon Phase Widget */
.moon-phase-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.moon-icon-large {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

.moon-phase-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.moon-phase-details {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
}

/* Wind Details Widget */
.wind-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 8px 0;
}

.wind-detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
}

.wind-detail-label {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wind-detail-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Air Quality Widget */
.air-quality-display {
    padding: 20px;
    text-align: center;
}

.air-quality-index {
    font-size: 48px;
    font-weight: 700;
    margin: 16px 0;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.air-quality-status {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.air-quality-description {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Charts */
.charts-section .glass-card {
    margin-bottom: 24px;
}

.charts-section .glass-card:last-child {
    margin-bottom: 0;
}

.chart-container {
    position: relative;
    height: 300px;
    margin-top: 20px;
}

/* Daily Forecast */
.daily-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.daily-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.daily-item:hover {
    background: var(--bg-glass-hover);
    transform: translateX(4px);
}

.daily-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.daily-day {
    font-size: 16px;
    font-weight: 600;
    min-width: 100px;
    color: var(--text-primary);
}

.daily-icon {
    width: 64px;
    height: 64px;
}

.daily-temps {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.daily-high {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.daily-low {
    font-size: 16px;
    color: var(--text-secondary);
}

.daily-uv {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-left: 16px;
}

/* Error Screen */
.error-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    z-index: 1000;
}

.error-card {
    text-align: center;
    max-width: 400px;
    padding: 48px;
}

.error-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.error-card h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.error-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.retry-btn {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border: none;
    border-radius: 12px;
    padding: 12px 32px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
    box-shadow: var(--shadow-glass);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2000;
}

.toast.error {
    border-color: rgba(239, 68, 68, 0.6);
    background: rgba(239, 68, 68, 0.12);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-container {
        padding: 12px;
    }

    .glass-card {
        padding: 20px;
        border-radius: 20px;
    }

    .current-temp {
        font-size: 72px;
    }

    .main-weather-icon {
        width: 130px;
        height: 130px;
    }

    .unified-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-card {
        padding: 24px;
    }


    .location-info {
        flex-wrap: wrap;
    }

    .refresh-btn {
        width: 40px;
        height: 40px;
    }

    .chart-container {
        height: 250px;
    }

    .weather-map-container {
        height: 350px;
    }

    .daily-left {
        flex-wrap: wrap;
    }

    .daily-day {
        min-width: auto;
        width: 100%;
    }

    .alert-card {
        padding: 16px;
    }

    .alert-title {
        font-size: 16px;
    }

    .alert-header {
        gap: 12px;
    }

    .alert-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .alert-icon {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .current-temp {
        font-size: 64px;
    }

    .unified-stats-grid {
        grid-template-columns: 1fr;
    }

    .weather-map-container {
        height: 300px;
    }

    .hourly-icon {
        width: 56px;
        height: 56px;
    }

    .daily-icon {
        width: 56px;
        height: 56px;
    }


    .hourly-item {
        min-width: 80px;
        padding: 12px;
    }
}

