/* Acidni Solar Portal - Enhanced UI Styles */
/* Version 1.2.0 - UI Polish Update */

/* Global Typography Improvements */
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Card Hover Effects */
.mud-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.mud-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
}

/* Feature Card Specific Hover */
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Button Enhancements */
.mud-button {
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.mud-button-filled:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Chip Hover Effects */
.mud-chip {
    transition: transform 0.15s ease-in-out;
}

.mud-chip:hover {
    transform: scale(1.02);
}

/* Avatar Enhancement */
.mud-avatar {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.mud-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Progress Bar Polish */
.mud-progress-linear {
    border-radius: 8px !important;
}

/* Table Improvements */
.mud-table-row:hover {
    background-color: rgba(0, 0, 0, 0.02) !important;
}

.mud-simple-table tbody tr {
    transition: background-color 0.15s ease-in-out;
}

/* Nav Link Enhancement */
.mud-nav-link {
    border-radius: 8px !important;
    margin: 2px 8px !important;
    transition: background-color 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.mud-nav-link:hover {
    transform: translateX(2px);
}

.mud-nav-link.active {
    background-color: rgba(255, 152, 0, 0.12) !important;
    font-weight: 600;
}

/* Paper Elevation Polish */
.mud-paper {
    transition: box-shadow 0.2s ease-in-out;
}

/* Hero Section Sparkline Containers */
.sparkline-container {
    transition: opacity 0.3s ease-in-out;
}

/* Metric Cards - Better Visual Separation */
.metric-card {
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
    opacity: 0.8;
}

/* Alert Banner Animation */
.mud-alert {
    animation: slideDown 0.3s ease-out;
}

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

/* Loading State Polish */
.loading-pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Mobile Responsive Improvements */
@media (max-width: 600px) {
    .mud-typography-h4 {
        font-size: 1.5rem !important;
    }
    
    .mud-typography-h5 {
        font-size: 1.25rem !important;
    }
    
    .mud-typography-h6 {
        font-size: 1rem !important;
    }
    
    .mud-card-content {
        padding: 16px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   PWA & Mobile-First Responsive Enhancements
   ═══════════════════════════════════════════════════════════════════ */

/* iOS PWA: Account for notch / safe areas */
@supports (padding: env(safe-area-inset-top)) {
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .mud-appbar {
        padding-top: env(safe-area-inset-top) !important;
    }
}

/* iOS PWA: Disable pull-to-refresh bounce in standalone mode */
@media (display-mode: standalone) {
    html, body {
        overscroll-behavior-y: contain;
    }
}

/* Tablet breakpoint */
@media (max-width: 960px) {
    .mud-drawer-content {
        width: 260px !important;
    }

    .dashboard-grid {
        gap: 16px;
    }

    .value-large {
        font-size: 1.5rem;
    }
    
    .mud-grid-item {
        padding: 8px !important;
    }
}

/* Mobile breakpoint — enhanced */
@media (max-width: 600px) {
    /* Stack metric cards vertically */
    .dashboard-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    /* Compact card headers */
    .mud-card-header {
        padding: 12px 16px 8px !important;
    }
    
    /* Touch-friendly buttons */
    .mud-button {
        min-height: 44px !important;
        min-width: 44px !important;
    }
    
    /* Touch-friendly nav links */
    .mud-nav-link {
        min-height: 48px !important;
        font-size: 0.95rem !important;
    }
    
    /* Compact chart containers on mobile */
    .chart-container {
        padding: 8px;
    }
    
    /* Better table scrolling on mobile */
    .mud-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Widget cards stacked */
    .widget-card {
        border-radius: 8px;
    }
    
    .widget-header {
        padding: 8px 12px 2px;
    }
    
    .widget-body {
        padding: 4px 12px 12px;
    }
    
    /* Hide non-essential columns on mobile */
    .hide-mobile {
        display: none !important;
    }

    /* Full-width dialogs on mobile */
    .mud-dialog {
        margin: 8px !important;
        max-width: calc(100vw - 16px) !important;
    }
    
    /* Compact alert cards */
    .mud-alert {
        padding: 8px 12px !important;
        font-size: 0.875rem;
    }
}

/* Small phone breakpoint */
@media (max-width: 380px) {
    .mud-typography-h4 {
        font-size: 1.25rem !important;
    }
    
    .value-large {
        font-size: 1.25rem;
    }
    
    .value-unit {
        font-size: 0.75rem;
    }
    
    .mud-card-content {
        padding: 12px !important;
    }
}

/* Touch interaction improvements */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover effects on touch devices (they cause sticky state) */
    .mud-card:hover {
        transform: none;
        box-shadow: inherit !important;
    }
    
    .feature-card:hover {
        transform: none;
        box-shadow: inherit !important;
    }
    
    .mud-button-filled:hover {
        transform: none;
    }
    
    /* Bigger touch targets */
    .mud-icon-button {
        min-width: 44px;
        min-height: 44px;
    }
}

/* PWA install prompt dismiss animation */
.pwa-install-prompt {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: #FF9800;
    color: #1a1a2e;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    animation: slideUp 0.4s ease-out;
    max-width: 90vw;
}

@keyframes slideUp {
    from { transform: translate(-50%, 100px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .mud-appbar {
        height: 48px !important;
        min-height: 48px !important;
    }
    
    .mud-main-content {
        padding-top: 48px !important;
    }
}

/* Focus States for Accessibility */
.mud-button:focus-visible,
.mud-chip:focus-visible,
.mud-nav-link:focus-visible {
    outline: 2px solid #FF9800;
    outline-offset: 2px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Dark Mode Scrollbar */
.mud-theme-dark ::-webkit-scrollbar-track {
    background: #2d2d2d;
}

.mud-theme-dark ::-webkit-scrollbar-thumb {
    background: #555;
}

.mud-theme-dark ::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* Power Flow Animation */
.power-flow-card {
    position: relative;
}

.power-flow-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--mud-palette-primary), transparent);
    animation: flowIndicator 2s linear infinite;
}

@keyframes flowIndicator {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Status Badge Styles */
.status-online {
    position: relative;
}

.status-online::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background-color: #4CAF50;
    border-radius: 50%;
    border: 2px solid white;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Dashboard Grid Improvements */
.dashboard-grid {
    display: grid;
    gap: 24px;
}

/* Value Display Enhancement */
.value-large {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.value-unit {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.7;
    margin-left: 4px;
}

/* Insight Card Styling */
.insight-card {
    border-left: 4px solid;
    padding-left: 16px;
}

.insight-card.success {
    border-color: #4CAF50;
}

.insight-card.warning {
    border-color: #FF9800;
}

.insight-card.info {
    border-color: #2196F3;
}

/* Chart Container Polish */
.chart-container {
    position: relative;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
}

/* Empty State Styling */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
    color: #666;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Gradient Text for Headers */
.gradient-text {
    background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Glow Effect */
.glow-effect {
    box-shadow: 0 0 40px rgba(255, 152, 0, 0.15);
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =============================================================================
   Widget Card System — Reusable widget styles for dashboards & main site
   ============================================================================= */

.widget-card {
    background: var(--mud-palette-surface, #fff);
    border: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.widget-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px 4px;
}

.widget-title {
    font-weight: 600;
    font-size: 0.85rem;
    opacity: 0.8;
}

.widget-body {
    padding: 8px 14px 14px;
}

/* Dark mode overrides for widgets */
.mud-dark .widget-card {
    background: #161b22;
    border-color: #30363d;
}

.mud-dark .widget-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* =============================================================================
   Weather Dashboard — Full-featured weather widget
   ============================================================================= */

.weather-dashboard {
    background: var(--mud-palette-surface, #fff);
    border: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* Hero / Current Conditions */
.weather-hero {
    background: linear-gradient(135deg, #0984e3 0%, #6c5ce7 60%, #a29bfe 100%);
    color: #fff;
    padding: 24px 28px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.weather-hero-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.weather-hero-temp {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.weather-hero-icon {
    font-size: 2.5rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.weather-hero-value {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.weather-hero-unit {
    font-size: 1.4rem;
    font-weight: 400;
    opacity: 0.7;
}

.weather-hero-desc {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500 !important;
}

.weather-hero-details {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.weather-detail-chip {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 0.8rem;
    backdrop-filter: blur(4px);
}

.weather-detail-chip .mud-icon-root {
    font-size: 14px !important;
    color: rgba(255,255,255,0.85);
}

/* Sun Arc */
.weather-hero-sun {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
}

.sun-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.75rem;
    font-weight: 600;
}

.sun-arc {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sun-arc-track {
    height: 6px;
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
    position: relative;
    overflow: visible;
}

.sun-arc-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffa502, #fdcb6e);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.sun-dot {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: #ffa502;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(255,165,2,0.6);
    transition: left 0.5s ease;
}

/* Tabs */
.weather-tabs .mud-tabs-toolbar {
    background: transparent !important;
}

.weather-tab-panel {
    padding: 12px 16px;
}

/* Hourly Scroll */
.hourly-scroll {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    padding: 8px 0 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

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

.hourly-scroll::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.hourly-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 64px;
    padding: 10px 8px;
    border-radius: 12px;
    scroll-snap-align: start;
    transition: background 0.2s;
}

.hourly-card:hover {
    background: rgba(0,0,0,0.04);
}

.hourly-card-now {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.hourly-detail {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Temperature Bar Chart */
.temp-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 120px;
    padding: 8px 0;
}

.temp-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
}

.temp-bar {
    width: 100%;
    max-width: 24px;
    border-radius: 4px 4px 0 0;
    min-height: 8px;
    transition: height 0.3s ease;
}

.temp-bar-val {
    font-size: 0.6rem;
    font-weight: 600;
    opacity: 0.7;
    white-space: nowrap;
}

.temp-bar-label {
    font-size: 0.55rem;
    opacity: 0.5;
    white-space: nowrap;
}

/* Chart Section */
.weather-chart-section {
    padding: 12px 4px;
    border-top: 1px solid var(--mud-palette-divider, #eee);
    margin-top: 8px;
}

/* Daily Forecast List */
.daily-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.daily-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px;
    border-radius: 10px;
    transition: background 0.15s;
}

.daily-row:hover {
    background: rgba(0,0,0,0.03);
}

.daily-row-today {
    background: rgba(255, 152, 0, 0.06);
    border: 1px solid rgba(255, 152, 0, 0.15);
}

.daily-day {
    min-width: 60px;
}

.daily-precip {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 48px;
}

.daily-temp-range {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.daily-temp-low, .daily-temp-high {
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 32px;
    text-align: center;
}

.daily-temp-low { color: #74b9ff; }
.daily-temp-high { color: #e17055; }

.daily-temp-bar-container {
    flex: 1;
    height: 6px;
    position: relative;
}

.daily-temp-bar-track {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.06);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.daily-temp-bar-fill {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease, left 0.3s ease;
}

.daily-extras {
    display: flex;
    gap: 12px;
    min-width: 120px;
}

.daily-extra-item {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Monthly Cards Grid */
.monthly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    padding: 8px 0;
}

.monthly-card {
    background: var(--mud-palette-background, #fafafa);
    border: 1px solid var(--mud-palette-divider, #eee);
    border-radius: 12px;
    padding: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.monthly-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.monthly-card-current {
    border-color: #FF9800;
    box-shadow: 0 0 0 1px rgba(255,152,0,0.3);
}

.monthly-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.monthly-temps {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 4px 0;
}

.monthly-temp-item {
    display: flex;
    align-items: center;
    gap: 2px;
}

.monthly-temp-val {
    font-size: 1.1rem;
    font-weight: 700;
}

.monthly-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.monthly-stat {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Yearly Summary */
.yearly-summary {
    padding: 8px 0;
}

.yearly-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.yearly-stat-card {
    background: var(--mud-palette-background, #fafafa);
    border-radius: 10px;
    padding: 12px 14px;
    border: 1px solid var(--mud-palette-divider, #eee);
}

/* Yearly Temperature Chart */
.yearly-temp-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 8px 0;
}

.yearly-temp-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
}

.yearly-temp-bar-container {
    width: 100%;
    position: relative;
}

.yearly-temp-bar {
    position: absolute;
    width: 70%;
    left: 15%;
    border-radius: 4px;
    transition: height 0.3s, bottom 0.3s;
}

.yearly-temp-high, .yearly-temp-low {
    font-size: 0.6rem;
    font-weight: 600;
}

.yearly-temp-high { color: #e17055; }
.yearly-temp-low { color: #74b9ff; }

.yearly-month-label {
    font-size: 0.6rem;
    opacity: 0.6;
    font-weight: 500;
}

/* Rainfall Chart */
.rainfall-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 100px;
    padding: 8px 0;
}

.rainfall-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
}

.rainfall-bar {
    width: 70%;
    background: linear-gradient(180deg, #74b9ff, #0984e3);
    border-radius: 4px 4px 0 0;
    min-height: 4px;
    transition: height 0.3s;
}

.rainfall-val {
    font-size: 0.6rem;
    font-weight: 600;
    color: #0984e3;
    white-space: nowrap;
}

.rainfall-label {
    font-size: 0.6rem;
    opacity: 0.6;
}

/* Sunshine Chart */
.sunshine-chart {
    display: flex;
    gap: 6px;
    height: 80px;
    align-items: flex-end;
    padding: 8px 0;
}

.sunshine-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.sunshine-bar-stack {
    width: 70%;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1px;
}

.sunshine-bar-clear {
    background: #fdcb6e;
    border-radius: 3px 3px 0 0;
    min-height: 2px;
    transition: height 0.3s;
}

.sunshine-bar-rainy {
    background: #74b9ff;
    border-radius: 0 0 3px 3px;
    min-height: 2px;
    transition: height 0.3s;
}

.sunshine-label {
    font-size: 0.6rem;
    opacity: 0.6;
}

.sunshine-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.sunshine-legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    opacity: 0.7;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* Dark mode overrides for weather dashboard */
.mud-dark .weather-dashboard {
    background: #0d1117;
    border-color: #30363d;
}

.mud-dark .weather-hero {
    background: linear-gradient(135deg, #1a2940 0%, #2d1b69 60%, #3d2d8d 100%);
}

.mud-dark .hourly-card:hover { background: rgba(255,255,255,0.05); }
.mud-dark .hourly-card-now { background: rgba(255,152,0,0.15); border-color: rgba(255,152,0,0.4); }
.mud-dark .daily-row:hover { background: rgba(255,255,255,0.04); }
.mud-dark .daily-row-today { background: rgba(255,152,0,0.1); border-color: rgba(255,152,0,0.25); }
.mud-dark .daily-temp-bar-track { background: rgba(255,255,255,0.06); }
.mud-dark .monthly-card { background: #161b22; border-color: #30363d; }
.mud-dark .monthly-card-current { border-color: #FF9800; }
.mud-dark .yearly-stat-card { background: #161b22; border-color: #30363d; }

/* Mobile: Weather Dashboard */
@media (max-width: 600px) {
    .weather-hero {
        flex-direction: column;
        padding: 16px;
        gap: 12px;
    }

    .weather-hero-value { font-size: 2.5rem; }
    .weather-hero-icon { font-size: 1.8rem; }
    .weather-hero-sun { min-width: 100%; }

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

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

    .daily-extras { display: none; }
}
