/* Chronova - Timezone Comparison */

.tz-page {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding-bottom: 45px;
    color: var(--text, #172033);
}

.tz-hero {
    padding: 42px 20px 34px;
    margin: 20px 0 28px;
    text-align: center;
    border: 1px solid var(--border, #e5eaf2);
    border-radius: 18px;
    background: linear-gradient(120deg, #eff6ff, #f8fafc 55%, #f3f0ff);
}

.tz-eyebrow {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 30px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
}

.tz-hero h1 {
    margin: 13px 0 10px;
    color: #0f172a;
    font-size: clamp(27px, 4vw, 40px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.tz-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: #526078;
    font-size: 14px;
    line-height: 1.7;
}

.tz-tool {
    padding: 22px;
    border: 1px solid var(--border, #e5eaf2);
    border-radius: 16px;
    background: var(--card, #fff);
}

.tz-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 16px;
}

.tz-section-heading h2,
.tz-info h2 {
    margin: 0 0 5px;
    font-size: 21px;
    letter-spacing: -.4px;
}

.tz-section-heading p {
    margin: 0;
    color: var(--muted, #64748b);
    font-size: 13px;
}

.tz-city-count {
    flex-shrink: 0;
    color: var(--muted, #64748b);
    font-size: 12px;
    font-weight: 700;
}

.tz-search-wrapper {
    position: relative;
    margin-bottom: 30px;
}

#tzCitySearch {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 15px;
    border: 1px solid var(--border, #dbe3ef);
    border-radius: 11px;
    outline: none;
    background: var(--input-bg, #fff);
    color: var(--text, #172033);
    font: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

#tzCitySearch:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgb(59 130 246 / 12%);
}

.tz-search-results {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 290px;
    overflow-y: auto;
    padding: 5px;
    border: 1px solid var(--border, #e5eaf2);
    border-radius: 11px;
    background: var(--card, #fff);
    box-shadow: 0 12px 30px rgb(15 23 42 / 12%);
}

.tz-search-results[hidden] {
    display: none;
}

.tz-search-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--text, #172033);
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.tz-search-option:hover,
.tz-search-option:focus-visible {
    outline: none;
    background: #eff6ff;
}

.tz-search-option strong {
    font-size: 13px;
}

.tz-search-option small {
    color: var(--muted, #64748b);
    font-size: 11px;
}

.tz-search-message {
    padding: 13px;
    color: var(--muted, #64748b);
    font-size: 13px;
    text-align: center;
}

.tz-clock-heading {
    margin-bottom: 16px;
}

.tz-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #15803d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
}

.tz-live span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgb(34 197 94 / 13%);
}

.tz-city-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.tz-city-card {
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--border, #e5eaf2);
    border-radius: 13px;
    background: var(--card, #fff);
}

.tz-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.tz-city-name {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.tz-country {
    margin-top: 3px;
    color: var(--muted, #64748b);
    font-size: 11px;
}

.tz-remove {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 1px solid var(--border, #e5eaf2);
    border-radius: 8px;
    background: transparent;
    color: var(--muted, #64748b);
    font-size: 17px;
    cursor: pointer;
}

.tz-remove:hover {
    border-color: #fecaca;
    background: #fef2f2;
    color: #dc2626;
}

.tz-time {
    margin-top: 20px;
    color: var(--text, #172033);
    font-size: clamp(27px, 3vw, 35px);
    font-weight: 800;
    letter-spacing: -1.4px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.tz-date {
    margin-top: 5px;
    color: var(--muted, #64748b);
    font-size: 12px;
}

.tz-offset {
    display: inline-block;
    margin-top: 13px;
    padding: 5px 9px;
    border-radius: 7px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
}

.tz-empty-state {
    grid-column: 1 / -1;
    padding: 45px 15px;
    border: 1px dashed var(--border, #cbd5e1);
    border-radius: 13px;
    text-align: center;
}

.tz-empty-icon {
    margin-bottom: 12px;
    font-size: 38px;
}

.tz-empty-state h3 {
    margin: 0 0 7px;
    font-size: 16px;
}

.tz-empty-state p {
    margin: 0;
    color: var(--muted, #64748b);
    font-size: 13px;
}

.tz-info {
    margin-top: 25px;
    padding: 22px;
    border: 1px solid var(--border, #e5eaf2);
    border-radius: 14px;
    background: var(--card, #fff);
}

.tz-info p {
    margin: 8px 0 0;
    color: var(--muted, #64748b);
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 850px) {
    .tz-city-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .tz-page {
        width: calc(100% - 22px);
    }

    .tz-hero {
        padding: 30px 15px;
        margin-top: 14px;
    }

    .tz-tool {
        padding: 14px;
    }

    .tz-section-heading h2,
    .tz-info h2 {
        font-size: 18px;
    }

    .tz-city-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .tz-city-card {
        padding: 15px;
    }

    .tz-time {
        font-size: 32px;
    }

    .tz-info {
        padding: 17px;
    }
}
.tz-city-card,
.tz-city-card * {
    color: #263449;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
}

.tz-city-card {
    background: #ffffff;
}

.tz-city-name {
    color: #17243a;
    font-weight: 700;
}

.tz-country,
.tz-date {
    color: #58677c;
}

.tz-time {
    color: #17243a;
    font-weight: 800;
    letter-spacing: -1px;
}

.tz-offset {
    color: #2459a6;
    background: #edf4ff;
    font-weight: 600;
}

.tz-remove {
    color: #d14343;
}
/* Improve heading and dropdown readability */
.tz-section-heading h2,
.tz-hero h1,
.tz-info h2 {
    color: #17243a;
    font-weight: 800;
}

.tz-section-heading p,
.tz-hero p,
.tz-info p {
    color: #526178;
    font-weight: 500;
}

.tz-search-wrapper input {
    color: #17243a;
    font-weight: 500;
}

.tz-search-wrapper input::placeholder {
    color: #69778b;
    opacity: 1;
}

.tz-search-results {
    background: #ffffff;
}

.tz-search-option {
    color: #263449;
    font-weight: 500;
}

.tz-search-option:hover {
    background: #edf4ff;
    color: #17243a;
}