:root {
    --tz-bg: radial-gradient(circle at 15% 18%, #f1f5ff 0, #f8fbff 40%, #ffffff 82%);
    --tz-card: #ffffff;
    --tz-border: #e2e8f0;
    --tz-text: #0f172a;
    --tz-muted: #475569;
    --tz-accent: #2563eb;
    --tz-accent-2: #0ea5e9;
    --tz-accent-soft: rgba(37, 99, 235, 0.08);
    --tz-shadow: 0 14px 32px rgba(37, 99, 235, 0.09);
}

body.tz-body {
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(14, 165, 233, 0.05)), var(--tz-bg);
    color: var(--tz-text);
    min-height: 100vh;
    line-height: 1.6;
}

.tz-wrapper section {
    padding: 48px 0;
}

.tz-section {
    position: relative;
}

.tz-eyebrow {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 11px;
    color: var(--tz-accent);
    margin-bottom: 0.35rem;
    font-weight: 800;
}

.tz-hero {
    padding: 54px 0 38px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.05));
    border: 1px solid #dbeafe;
}

.tz-hero::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 16px;
    border: 1px dashed rgba(37, 99, 235, 0.16);
    pointer-events: none;
}

.tz-hero h1 {
    font-family: 'Space Grotesk', 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
    font-size: clamp(1.65rem, 1.4vw + 1.1rem, 2.2rem);
    letter-spacing: -0.01em;
}

.tz-hero .lead {
    color: var(--tz-muted);
    font-size: 0.93rem;
    max-width: 620px;
}

.tz-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 8px;
    margin: 12px 0 4px;
}

.tz-highlights span {
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 9px 11px;
    background: #e0f2fe;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.07);
    font-weight: 600;
    font-size: 0.9rem;
}

.tz-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.tz-wrapper .btn-primary {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    border: 1px solid #1d4ed8;
    color: #ffffff;
    font-weight: 800;
    padding: 10px 16px;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.16);
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}

.tz-wrapper .btn-primary:hover {
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.22);
}

.tz-wrapper .btn-outline-secondary {
    border-color: #cbd5e1;
    color: var(--tz-text);
    background: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    font-size: 0.88rem;
}

.tz-wrapper .btn-outline-secondary:hover {
    border-color: var(--tz-accent);
    color: var(--tz-accent);
    background: rgba(37, 99, 235, 0.06);
}

.tz-meta-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tz-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.glass-panel {
    background: var(--tz-card);
    border: 1px solid var(--tz-border);
    border-radius: 14px;
    box-shadow: var(--tz-shadow);
}

.tz-hero-card {
    padding: 16px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.08);
    position: relative;
    overflow: hidden;
}

.tz-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.06), transparent 60%);
    pointer-events: none;
}

.tz-hero-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.live-pill {
    background: #0ea5e9;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 10px 22px rgba(14, 165, 233, 0.24);
    letter-spacing: 0.04em;
}

.live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #facc15;
    box-shadow: 0 0 0 6px rgba(250, 204, 21, 0.24);
}

.tz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.tz-tile {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--tz-border);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.07);
}

.tz-tile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tz-chip {
    background: #e0f2fe;
    color: #0f172a;
    padding: 6px 10px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.82rem;
    border: 1px solid #cbd5e1;
    text-transform: uppercase;
}

.tz-chip.subtle {
    background: #eff6ff;
    border-color: #dbeafe;
    color: var(--tz-accent);
}

.tz-city {
    color: var(--tz-muted);
    font-weight: 700;
    font-size: 0.9rem;
}

.tz-time-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tz-time {
    margin: 0;
    font-weight: 800;
    font-size: 1.26rem;
    letter-spacing: -0.01em;
}

.tz-offset {
    margin: 0;
    color: var(--tz-muted);
    font-size: 0.88rem;
}

.tz-weather {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    font-size: 0.9rem;
}

.tz-temp {
    font-weight: 800;
}

.tz-condition {
    color: var(--tz-muted);
    font-size: 0.88rem;
}

.section-head h2 {
    font-family: 'Space Grotesk', 'Poppins', sans-serif;
    font-weight: 800;
    color: var(--tz-text);
    letter-spacing: -0.01em;
}

.section-head p {
    color: var(--tz-muted);
    max-width: 820px;
    margin: 0 auto;
    font-size: 0.92rem;
}

.tz-card {
    padding: 16px;
    margin-top: 26px;
    background: #ffffff;
    border: 1px solid var(--tz-border);
    border-radius: 16px;
    box-shadow: var(--tz-shadow);
}

.tz-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.tz-card h5 {
    font-family: 'Space Grotesk', 'Poppins', sans-serif;
    font-weight: 700;
}

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

.tz-select-search {
    margin-bottom: 6px;
    font-size: 0.88rem;
}

.input-glow .form-control,
.input-glow .input-group-text,
.form-select {
    background: #ffffff;
    border: 1px solid var(--tz-border);
    color: var(--tz-text);
    font-size: 0.92rem;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.input-glow .form-control:focus,
.form-select:focus {
    border-color: var(--tz-accent-2);
    box-shadow: 0 0 0 0.12rem rgba(14, 165, 233, 0.18);
}

.preset-chip {
    border: 1px solid #cbd5e1;
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.06));
    padding: 9px 11px;
    border-radius: 12px;
    color: var(--tz-text);
    font-weight: 700;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.preset-chip:hover {
    border-color: var(--tz-accent);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.result-block {
    border: 1px solid var(--tz-border);
    border-radius: 12px;
    padding: 12px;
    background: #f8fafc;
}

.result-block h4 {
    margin: 2px 0;
    font-weight: 800;
    font-size: 1.04rem;
    letter-spacing: -0.01em;
}

.tz-mini {
    color: var(--tz-muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tz-muted {
    color: var(--tz-muted);
    margin: 0;
}

.tz-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 6px;
}

.pill-chip {
    background: #e0f2fe;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 700;
    color: var(--tz-text);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.08);
    font-size: 0.9rem;
}

.tz-breakdown {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.tz-breakdown ul {
    padding-left: 18px;
    color: var(--tz-muted);
    margin-bottom: 0;
    font-size: 0.92rem;
}

.tz-copy {
    flex-shrink: 0;
}

.tz-help {
    padding-top: 34px;
    padding-bottom: 38px;
}

.tz-help-card {
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--tz-border);
    border-radius: 14px;
    box-shadow: var(--tz-shadow);
}

.tz-list {
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    color: var(--tz-text);
    margin: 14px 0 16px;
}

.tz-list li {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--tz-border);
    border-radius: 12px;
    background: #f8fafc;
}

.stat-card {
    padding: 14px 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.06));
    border: 1px solid var(--tz-border);
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.08);
}

.stat-card h3 {
    font-family: 'Space Grotesk', 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.tz-preset-row {
    margin-top: 12px;
}

/* Wrapper: Handles the scrolling */
.tz-usa-table {
    margin-top: 14px;
    width: 100%;
    overflow-x: auto; /* Enables horizontal scroll */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    padding-bottom: 10px; /* Space for the scrollbar so it doesn't touch the table */
}

/* Table: Forces a minimum width to trigger the scroll */
.tz-usa-table table {
    width: 100%;
    min-width: 700px; /* <--- This forces the table to be wide, triggering the scroll */
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid var(--tz-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.1);
}

.tz-usa-table th,
.tz-usa-table td {
    padding: 11px 13px;
    font-size: 0.9rem;
    text-align: left;
    border-bottom: 1px solid var(--tz-border);
    color: var(--tz-text);
}

.tz-usa-table th {
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.08));
    font-weight: 800;
}

.tz-usa-table tr:nth-child(even) td {
    background: #f8fafc;
}

.tz-usa-table tr:last-child td {
    border-bottom: none;
}

.tz-map-wrap {
    padding: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(14, 165, 233, 0.05));
    border: 1px solid var(--tz-border);
    border-radius: 14px;
    box-shadow: var(--tz-shadow);
}

.tz-map-visual {
    position: relative;
    background: #f8fafc;
    border: 1px dashed var(--tz-border);
    border-radius: 12px;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tz-muted);
    font-weight: 800;
    text-transform: uppercase;
}

.tz-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.tz-map-legend .pill-chip {
    background: #ffffff;
}

.tz-utc-block {
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--tz-border);
    border-radius: 14px;
    box-shadow: var(--tz-shadow);
}

.tz-utc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    align-items: center;
}

.tz-utc-time {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tz-utc-time h3 {
    margin: 0;
    font-weight: 800;
    font-size: 1.64rem;
    letter-spacing: -0.01em;
}

.tz-utc-time p {
    margin: 0;
    color: var(--tz-muted);
}

.tz-guide-list {
    padding-left: 18px;
    display: grid;
    gap: 12px;
    margin: 0;
    color: var(--tz-text);
    font-size: 0.94rem;
}

.tz-guide-list li {
    background: #ffffff;
    border: 1px solid var(--tz-border);
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.06);
}

.tz-checklist {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 8px;
    margin: 0 0 10px;
}

.tz-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 9px 10px;
    border: 1px solid var(--tz-border);
    border-radius: 10px;
    background: #f8fafc;
    font-weight: 700;
    color: var(--tz-text);
}

.tz-tip-card {
    padding: 14px;
    border: 1px solid var(--tz-border);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--tz-shadow);
    height: 100%;
}

.tz-tip-card h6 {
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.tz-faq {
    display: grid;
    gap: 10px;
}

.tz-faq details {
    border: 1px solid var(--tz-border);
    border-radius: 12px;
    padding: 12px 14px;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.07);
}

.tz-faq summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--tz-text);
    outline: none;
}

.tz-faq p {
    margin: 10px 0 0;
    color: var(--tz-muted);
}

.tz-prime-table table th:nth-child(1),
.tz-prime-table table td:nth-child(1) {
    width: 22%;
}

.tz-prime-table table td:nth-child(1) {
    font-weight: 800;
}

.tz-prime-table table td:nth-child(4) {
    color: var(--tz-text);
    font-weight: 700;
}

@media (max-width: 991px) {
    .tz-wrapper section {
        padding: 38px 0;
    }
    .tz-hero h1 {
        font-size: 1.82rem;
    }
}

@media (max-width: 767px) {
    .tz-card,
    .tz-hero-card,
    .glass-panel {
        padding: 14px;
    }
    .tz-actions {
        flex-direction: column;
    }
    .tz-time-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .tz-weather {
        align-items: flex-start;
    }
    .tz-hero::after {
        display: none;
    }
}
