/* ============================================================
   Thời Tiết Ngày Mai - Ultra Premium Design System
   Typography: Plus Jakarta Sans & Be Vietnam Pro
   ============================================================ */

:root {
    --wt-primary: #2563eb;
    --wt-primary-hover: #1d4ed8;
    --wt-primary-light: #eff6ff;
    --wt-accent: #0284c7;
    --wt-accent-glow: rgba(37, 99, 235, 0.25);
    --wt-secondary: #3b82f6;
    --wt-success: #10b981;
    --wt-warning: #f59e0b;
    --wt-danger: #ef4444;
    --wt-purple: #8b5cf6;
    --wt-bg-card: #ffffff;
    --wt-bg-soft: #f6f9fc;
    --wt-text-dark: #0f172a;
    --wt-text-heading: #1e293b;
    --wt-text-muted: #64748b;
    --wt-text-light: #94a3b8;
    --wt-border: #e2e8f0;
    --wt-radius-sm: 8px;
    --wt-radius-md: 16px;
    --wt-radius-lg: 24px;
    --wt-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --wt-shadow-md: 0 10px 25px -5px rgba(37, 99, 235, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --wt-shadow-hero: 0 20px 40px -10px rgba(37, 99, 235, 0.32);
}

/* --- Layout & Core --- */
body {
    background-color: #f6f9fc;
    font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--wt-text-dark);
    -webkit-font-smoothing: antialiased;
}

.weather-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 16px;
}

/* --- Full Width Hero Weather Banner with Custom Vector Cloud Background --- */
.wt-hero-fullsection {
    width: 100%;
    background: #3996ec url('/assets/img/hero_bg_clouds.jpg') right bottom / cover no-repeat;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

/* --- Navbar / Header Styling --- */
.wt-navbar {
    background: #ffffff;
    padding: 10px 0 14px 0;
    border-bottom: 1px solid var(--wt-border);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.wt-navbar-top {
    font-size: 13px;
    color: #475569;
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 500;
}

.wt-navbar-top .location-badge {
    background: #e0f2fe;
    color: #0284c7;
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid #bae6fd;
}

/* --- Brand Logo Styling --- */
.wt-brand-logo-link {
    display: inline-block;
    text-decoration: none !important;
    transition: transform 0.2s ease;
}

.wt-brand-logo-link:hover {
    transform: translateY(-1px);
}

.wt-brand-logo-img {
    height: 58px;
    width: auto;
    max-width: 320px;
    display: block;
    object-fit: contain;
}

.wt-footer-logo-img {
    height: 52px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

/* --- Search Box Styling --- */
.wt-search-box {
    position: relative;
    width: 100%;
    max-width: 440px;
}

.wt-search-input {
    width: 100%;
    padding: 9px 105px 9px 18px;
    border-radius: 30px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.wt-search-input::placeholder {
    color: #94a3b8;
}

.wt-search-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.wt-search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    padding: 0 18px;
    border-radius: 24px;
    border: none;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.wt-search-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

/* --- Nav Menu Pills --- */
.wt-nav-menu .nav-link {
    color: #1d4ed8;
    background: #eff6ff;
    font-weight: 700;
    font-size: 14px;
    padding: 7px 18px;
    border-radius: 20px;
    margin-left: 6px;
    transition: all 0.2s ease;
}

.wt-nav-menu .nav-link:hover {
    color: #1e40af;
    background: #dbeafe;
    text-decoration: none;
}

/* --- Hero Weather Card --- */
.wt-hero-card {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    border-radius: 24px;
    padding: 30px 34px;
    color: #ffffff;
    box-shadow: var(--wt-shadow-hero);
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.wt-hero-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.wt-hero-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.wt-hero-city {
    font-size: 25px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.wt-hero-city i {
    color: #ffffff;
}

.wt-hero-date {
    font-size: 13.5px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    background: rgba(2, 132, 199, 0.35);
    padding: 4px 14px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.wt-temp-main-display {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}

.wt-temp-degree {
    font-size: 76px;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -3px;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.wt-temp-meta .condition-text {
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.wt-temp-meta .feels-like {
    font-size: 14.5px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

/* Translucent Blue Metrics Grid inside Hero for High Contrast */
.wt-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.wt-metric-box {
    background: rgba(2, 132, 199, 0.45);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: background 0.2s ease, transform 0.2s ease;
}

.wt-metric-box:hover {
    background: rgba(2, 132, 199, 0.65);
    transform: translateY(-2px);
}

.wt-metric-box i {
    font-size: 18px;
    color: #ffffff;
    width: 20px;
    text-align: center;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.wt-metric-box .label {
    font-size: 11px;
    color: #e0f2fe;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.wt-metric-box .val {
    font-size: 14.5px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* Mini 4-Day Forecast Cards inside Hero Right Column */
.wt-hero-daily-card {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    padding: 16px 10px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.wt-hero-daily-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.wt-hero-daily-date {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.wt-hero-daily-icon {
    font-size: 28px;
    margin: 6px 0;
}

.wt-hero-daily-rain {
    font-size: 12px;
    font-weight: 700;
    color: #0284c7;
    margin-bottom: 3px;
}

.wt-hero-daily-desc {
    font-size: 12px;
    color: #475569;
    font-weight: 600;
    margin-bottom: 4px;
}

.wt-hero-daily-temp {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
}

/* --- Tab Navigation Pills --- */
.wt-tab-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 20px;
    scrollbar-width: thin;
}

.wt-tab-btn {
    padding: 8px 18px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--wt-border);
    color: #334155;
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    box-shadow: var(--wt-shadow-sm);
}

.wt-tab-btn:hover, .wt-tab-btn.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

/* --- Section Head --- */
.wt-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.wt-section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--wt-text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.3px;
}

.wt-section-title i {
    color: #2563eb;
}

/* --- Featured Cities Cards Grid (Matching Demo Screenshot 3) --- */
.wt-city-card {
    background: #d9eafd;
    border-radius: 20px;
    padding: 20px 14px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.06);
    border: 1px solid #bfdbfe;
    transition: all 0.25s ease;
    text-decoration: none !important;
    display: block;
    color: inherit;
    margin-bottom: 16px;
    text-align: center;
}

.wt-city-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.2);
    border-color: #3b82f6;
    background: #c7e0fe;
    color: inherit;
}

.wt-city-name {
    font-size: 15.5px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.wt-city-humidity {
    font-size: 12.5px;
    font-weight: 600;
    color: #0284c7;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.wt-city-weather-icon {
    font-size: 38px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wt-city-condition {
    font-size: 13px;
    color: #334155;
    font-weight: 600;
    margin-bottom: 4px;
}

.wt-city-temp {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.2px;
}

/* --- Province / Ward Chips (Regions) --- */
.wt-region-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--wt-shadow-md);
    margin-bottom: 24px;
    border: 1px solid var(--wt-border);
}

.wt-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.wt-chip {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #334155;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.wt-chip:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
}

/* --- Sidebar Components --- */
.wt-sidebar-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.wt-sidebar-news-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--wt-border);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
    margin-top: 24px;
}

.wt-sidebar-news-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wt-sidebar-news-header h3 {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.wt-sidebar-news-header a {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    opacity: 0.9;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.wt-sidebar-news-header a:hover {
    opacity: 1;
}

.wt-sidebar-news-body {
    background: #ffffff;
}

.wt-sidebar-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wt-sidebar-news-item {
    border-bottom: 1px solid #f1f5f9;
}

.wt-sidebar-news-item:last-child {
    border-bottom: none;
}

.wt-sidebar-news-item a {
    display: block;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none !important;
    transition: all 0.2s ease;
    line-height: 1.45;
}

.wt-sidebar-news-item a:hover {
    color: #2563eb;
    background: #f8fafc;
    padding-left: 24px;
}

/* --- Footer --- */
.wt-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 48px 0 24px 0;
    margin-top: 48px;
    border-top: 4px solid #2563eb;
}

.wt-footer h5 {
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.wt-footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wt-footer a:hover {
    color: #38bdf8;
}

/* --- Detail View Ultra Premium Component Styles --- */
.wt-detail-hero-banner {
    width: 100%;
    background: #3996ec url('/assets/img/hero_bg_clouds.jpg') right bottom / cover no-repeat;
    border-radius: 24px;
    padding: 32px 34px;
    color: #ffffff;
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
}

.wt-detail-hero-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.wt-detail-hero-title a {
    color: #ffffff;
    text-decoration: none !important;
}

.wt-detail-hero-title a:hover {
    opacity: 0.9;
}

.wt-detail-temp-display {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.wt-detail-temp-icon {
    font-size: 64px;
    color: #ffffff;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.wt-detail-temp-degree {
    font-size: 78px;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -3px;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.wt-detail-meta-text {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.wt-detail-sun-row {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.wt-detail-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.wt-detail-metric-box {
    background: rgba(2, 132, 199, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, background 0.2s ease;
}

.wt-detail-metric-box:hover {
    background: rgba(2, 132, 199, 0.65);
    transform: translateY(-2px);
}

.wt-detail-metric-box i {
    font-size: 20px;
    color: #ffffff;
    width: 24px;
    text-align: center;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
}

.wt-detail-metric-box .label {
    font-size: 11px;
    color: #e0f2fe;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.wt-detail-metric-box .val {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
}

/* 4 Period Cards on Hero Right Side */
.wt-detail-period-header {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.wt-detail-period-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.wt-detail-period-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 10px;
    text-align: center;
    color: #0f172a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wt-detail-period-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
}

.wt-detail-period-card .period-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.wt-detail-period-card .period-icon {
    font-size: 32px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wt-detail-period-card .period-temp {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

/* Rain Assessment Box */
.wt-rain-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--wt-shadow-md);
    border: 1px solid var(--wt-border);
    margin-bottom: 28px;
}

.wt-rain-card-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
    letter-spacing: -0.3px;
}

.wt-rain-box-today {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.wt-rain-box-tomorrow {
    background: #fffbe6;
    border: 1px solid #fef08a;
    border-radius: 16px;
    padding: 18px 20px;
}

.wt-rain-badge-green {
    background: #22c55e;
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.wt-rain-badge-yellow {
    background: #d97706;
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.wt-rain-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.wt-rain-slot-pill {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.wt-rain-slot-pill span {
    color: #64748b;
    font-weight: 600;
    font-size: 12px;
    display: block;
    margin-bottom: 2px;
}

/* Hourly Forecast Strip - Arch Card Style (Matching Image 1) */
.wt-hourly-container {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--wt-shadow-md);
    border: 1px solid var(--wt-border);
    margin-bottom: 28px;
}

.wt-hourly-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 8px 4px 16px 4px;
    scrollbar-width: thin;
}

.wt-hourly-card-arch {
    min-width: 125px;
    flex: 0 0 auto;
    background: #ffffff;
    border: 1.5px solid #38bdf8;
    border-top-right-radius: 42px;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    padding: 16px 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wt-hourly-card-arch:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(2, 132, 199, 0.16);
    border-color: #0284c7;
}

.wt-hourly-card-arch .h-time {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.wt-hourly-card-arch .h-temp {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.wt-hourly-card-arch .h-icon {
    font-size: 34px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
}

.wt-hourly-card-arch .h-pop {
    font-size: 12.5px;
    font-weight: 700;
    color: #0284c7;
    margin-bottom: 4px;
}

.wt-hourly-card-arch .h-cond {
    font-size: 11.5px;
    color: #475569;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    margin: 0 auto;
}

.wt-btn-48h {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 20px;
    border: 1.5px solid #2563eb;
    color: #2563eb;
    font-size: 13.5px;
    font-weight: 700;
    background: #ffffff;
    text-decoration: none !important;
    transition: all 0.2s ease;
    margin-top: 12px;
}

.wt-btn-48h:hover {
    background: #2563eb;
    color: #ffffff;
}

/* AQI Air Quality Widget */
.wt-aqi-card-v2 {
    background: #ffffff;
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--wt-shadow-md);
    border: 1px solid var(--wt-border);
    margin-bottom: 28px;
}

.wt-aqi-pill-header {
    background: #2563eb;
    color: #ffffff;
    font-weight: 800;
    font-size: 13.5px;
    padding: 6px 18px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
}

.wt-aqi-mint-box {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.wt-aqi-status-title {
    font-size: 15px;
    font-weight: 800;
    color: #15803d;
    margin-bottom: 4px;
}

.wt-aqi-status-desc {
    font-size: 12.5px;
    color: #334155;
    line-height: 1.45;
}

.wt-aqi-pollutant-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.wt-aqi-pollutant-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 4px;
    text-align: center;
}

.wt-aqi-pollutant-box .p-name {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 2px;
}

.wt-aqi-pollutant-box .p-val {
    font-size: 14px;
    font-weight: 800;
    color: #15803d;
}

.wt-aqi-pollutant-box .p-val.warning {
    color: #d97706;
}

.wt-aqi-pollutant-box .p-val.danger {
    color: #dc2626;
}

/* Multi-Day Forecast Card */
.wt-daily-card-v2 {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--wt-shadow-md);
    border: 1px solid var(--wt-border);
    margin-bottom: 28px;
}

.wt-daily-row-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 8px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    transition: background 0.15s ease;
}

.wt-daily-row-item:last-child {
    border-bottom: none;
}

.wt-daily-row-item:hover {
    background: #f8fafc;
}

.wt-daily-col-date {
    width: 130px;
    font-weight: 700;
    color: #0f172a;
}

.wt-daily-col-temp {
    width: 100px;
    font-weight: 700;
    color: #0f172a;
}

.wt-daily-col-temp .max {
    font-weight: 800;
}

.wt-daily-col-cond {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
}

.wt-daily-col-pop {
    width: 80px;
    color: #0284c7;
    font-weight: 700;
}

.wt-daily-col-wind {
    width: 95px;
    color: #475569;
    font-weight: 600;
}

.wt-daily-col-chevron {
    width: 24px;
    text-align: right;
    color: #94a3b8;
}

.wt-horizon-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.wt-horizon-pill {
    padding: 7px 16px;
    border-radius: 20px;
    border: 1px solid #3b82f6;
    color: #2563eb;
    background: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.wt-horizon-pill:hover {
    background: #2563eb;
    color: #ffffff;
}

/* Sunrise Sunset Graphic Box */
.wt-sun-graphic-box {
    background: linear-gradient(135deg, #f97316 0%, #fbbf24 50%, #ea580c 100%);
    border-radius: 20px;
    padding: 20px 22px;
    color: #ffffff;
    box-shadow: var(--wt-shadow-md);
    margin-bottom: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wt-sun-graphic-title {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
    opacity: 0.95;
    margin-bottom: 12px;
}

.wt-sun-arc-wrap {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 14px;
}

.wt-sun-time-display {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 4px;
}

/* Chart Container Box */
.wt-chart-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--wt-shadow-md);
    border: 1px solid var(--wt-border);
    margin-bottom: 28px;
}

.wt-chart-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
    letter-spacing: -0.3px;
}

/* Sidebar Weather Card (Bright Blue) - Image 3 */
.wt-sidebar-weather-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    border-radius: 20px;
    padding: 24px;
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.25);
    margin-bottom: 24px;
}

.wt-sidebar-weather-blue .city-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.wt-sidebar-weather-blue .degree-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.wt-sidebar-weather-blue .degree-num {
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
}

.wt-sidebar-weather-blue .degree-meta {
    text-align: right;
}

.wt-sidebar-weather-blue .degree-cond {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.wt-sidebar-weather-blue .degree-feels {
    font-size: 13px;
    opacity: 0.9;
}

.wt-sidebar-weather-blue .metrics-list {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 14px;
    font-size: 13.5px;
    line-height: 2.2;
}

.wt-sidebar-weather-blue .metrics-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wt-sidebar-weather-blue .metrics-item span {
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wt-sidebar-weather-blue .metrics-item strong {
    font-weight: 800;
}
/* Expandable Hourly Accordion Sub-row (Image 1 User Request) */
.wt-daily-row-wrap {
    border-bottom: 1px solid #f1f5f9;
}

.wt-daily-row-wrap:last-child {
    border-bottom: none;
}

.wt-expandable-row {
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
}

.wt-expandable-row:hover {
    background: #f8fafc;
}

.wt-chevron-icon {
    transition: transform 0.25s ease;
}

.wt-expandable-row.open .wt-chevron-icon {
    transform: rotate(180deg);
}

.wt-hourly-expand-box {
    background: #f8fafc;
    border-top: 1px dashed #cbd5e1;
    padding: 14px 20px;
    border-radius: 0 0 12px 12px;
}

.wt-hourly-expand-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
}

.wt-expand-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
}

.wt-expand-item i {
    font-size: 18px;
    width: 22px;
    text-align: center;
}

.wt-expand-item .label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

/* News / Weather Alert Section Component Styles */
.wt-news-header-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--wt-shadow-md);
    border: 1px solid var(--wt-border);
    margin-bottom: 24px;
}

.wt-news-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
    letter-spacing: -0.4px;
}

.wt-news-subtitle {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 18px;
}

.wt-news-alert-pink {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 14px 18px;
    color: #991b1b;
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 20px;
}

.wt-news-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.wt-news-filter-pill {
    padding: 7px 18px;
    border-radius: 20px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13.5px;
    font-weight: 700;
    border: 1px solid #dbeafe;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.wt-news-filter-pill:hover, .wt-news-filter-pill.active {
    background: #2563eb;
    color: #ffffff;
    border-color: transparent;
}

.wt-news-btn-widget {
    padding: 8px 22px;
    border-radius: 20px;
    background: #2563eb;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    border: none;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: background 0.2s ease;
}

.wt-news-btn-widget:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.wt-news-warning-card {
    background: #fef2f2;
    border-left: 5px solid #dc2626;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.wt-news-warning-card .warning-title {
    font-size: 15.5px;
    font-weight: 800;
    color: #991b1b;
    margin-bottom: 4px;
}

.wt-news-warning-card .warning-desc {
    font-size: 13.5px;
    color: #7f1d1d;
    line-height: 1.5;
}

.wt-news-cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.wt-news-cat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 14px;
    border: 1px solid var(--wt-border);
    box-shadow: var(--wt-shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.wt-news-cat-card:hover {
    transform: translateY(-3px);
    border-color: #3b82f6;
}

.wt-news-cat-card .cat-title {
    font-size: 15px;
    font-weight: 800;
    color: #0284c7;
    margin-bottom: 6px;
}

.wt-news-cat-card .cat-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 10px;
}

.wt-news-cat-card .cat-badge {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

.wt-news-article-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--wt-border);
    box-shadow: var(--wt-shadow-sm);
    margin-bottom: 16px;
    transition: transform 0.2s ease;
}

.wt-news-article-card:hover {
    transform: translateY(-2px);
    border-color: #3b82f6;
}

.wt-news-article-card .article-meta {
    font-size: 13px;
    font-weight: 700;
    color: #d97706;
    margin-bottom: 6px;
}

.wt-news-article-card .article-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.wt-news-article-card .article-title a {
    color: #0f172a;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.wt-news-article-card .article-title a:hover {
    color: #2563eb;
}

.wt-news-article-card .article-source {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

@media (max-width: 991px) {
    .wt-news-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wt-detail-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wt-detail-period-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 20px;
    }
    .wt-rain-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wt-aqi-pollutant-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .wt-detail-temp-degree {
        font-size: 56px;
    }
    .wt-detail-metrics-grid {
        grid-template-columns: 1fr;
    }
    .wt-daily-col-wind, .wt-daily-col-pop {
        display: none;
    }
    .wt-aqi-pollutant-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- 404 Error Page Styling --- */
.wt-404-container {
    padding: 40px 16px 60px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.wt-404-image-box {
    margin-bottom: 24px;
}

.wt-404-image {
    max-width: 480px;
    width: 100%;
    height: auto;
}

.wt-404-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.wt-404-desc {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 16px;
    font-weight: 500;
}

.wt-404-help {
    font-size: 15px;
    color: #475569;
    font-weight: 500;
}

.wt-404-help a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none !important;
}

.wt-404-help a:hover {
    text-decoration: underline !important;
}


