.timezone-page .map-workspace__sidebar {
    background: #ffffff;
}

.timezone-page .map-workspace__sidebar-content {
    padding: 1.25rem 1.5rem 1.5rem;
}

.timezone-intro {
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.55;
}

.timezone-search-form {
    margin-top: 1rem;
}

.timezone-field-label,
.timezone-section-label {
    color: #94a3b8;
    display: block;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.25;
    text-transform: uppercase;
}

.timezone-search-row {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 0.5rem;
}

.timezone-search-input-wrap {
    position: relative;
}

.timezone-search-input-wrap > i {
    color: #00994f;
    left: 0.85rem;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.timezone-search-input {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    color: #0f172a;
    font-size: 0.8125rem;
    min-height: 2.75rem;
    outline: none;
    padding: 0.7rem 0.75rem 0.7rem 2.35rem;
    transition: border-color 160ms ease, box-shadow 160ms ease;
    width: 100%;
}

.timezone-search-input:focus {
    border-color: #00994f;
    box-shadow: 0 0 0 3px rgba(0, 153, 79, 0.14);
}

.timezone-search-submit,
.timezone-locate-button,
.timezone-secondary-button {
    align-items: center;
    border-radius: 0.6rem;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 800;
    gap: 0.45rem;
    justify-content: center;
    min-height: 2.75rem;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease,
        transform 160ms ease;
}

.timezone-search-submit {
    background: #00994f;
    border: 1px solid #00994f;
    color: #ffffff;
    padding: 0 0.9rem;
}

.timezone-search-submit:hover,
.timezone-search-submit:focus-visible {
    background: #007a3f;
    border-color: #007a3f;
}

.timezone-search-submit:active,
.timezone-locate-button:active,
.timezone-secondary-button:active,
.timezone-city-button:active {
    transform: translateY(1px);
}

.timezone-search-results {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
    margin-top: 0.45rem;
    max-height: 13rem;
    overflow-y: auto;
}

.timezone-search-results[hidden] {
    display: none;
}

.timezone-search-result {
    background: #ffffff;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    cursor: pointer;
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.35;
    padding: 0.7rem 0.8rem;
    text-align: left;
    width: 100%;
}

.timezone-search-result:last-child {
    border-bottom: 0;
}

.timezone-search-result:hover,
.timezone-search-result:focus-visible {
    background: #f0fdf4;
    color: #007a3f;
    outline: none;
}

.timezone-search-message {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.75rem 0.8rem;
}

.timezone-locate-button {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    margin-top: 0.65rem;
    width: 100%;
}

.timezone-locate-button:hover,
.timezone-locate-button:focus-visible,
.timezone-secondary-button:hover,
.timezone-secondary-button:focus-visible {
    border-color: #00994f;
    color: #007a3f;
}

.timezone-quick-section {
    border-top: 1px solid #f1f5f9;
    margin-top: 1rem;
    padding-top: 1rem;
}

.timezone-city-grid {
    display: grid;
    gap: 0.4rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0.55rem;
}

.timezone-city-button {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    color: #475569;
    cursor: pointer;
    font-size: 0.625rem;
    font-weight: 800;
    min-height: 2.25rem;
    padding: 0.35rem 0.25rem;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease,
        transform 160ms ease;
}

.timezone-city-button:hover,
.timezone-city-button:focus-visible,
.timezone-city-button.is-active {
    background: #ecfdf5;
    border-color: #00994f;
    color: #007a3f;
}

.timezone-result-card {
    background: linear-gradient(145deg, #0f2434, #112d3f);
    border-radius: 0.8rem;
    box-shadow: 0 12px 28px rgba(15, 36, 52, 0.17);
    color: #ffffff;
    margin-top: 1rem;
    overflow: hidden;
    padding: 1rem;
    position: relative;
}

.timezone-result-card::after {
    background: rgba(0, 153, 79, 0.17);
    border-radius: 999px;
    content: "";
    height: 7rem;
    position: absolute;
    right: -2.5rem;
    top: -3rem;
    width: 7rem;
}

.timezone-result-card.is-loading::before {
    animation: timezone-spin 850ms linear infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    border-top-color: #20c976;
    content: "";
    height: 1.1rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 1.1rem;
    z-index: 2;
}

@keyframes timezone-spin {
    to {
        transform: rotate(360deg);
    }
}

.timezone-result-eyebrow {
    color: #6ee7a8;
    font-size: 0.625rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
}

.timezone-location-name {
    font-size: 0.8125rem;
    font-weight: 800;
    margin-top: 0.3rem;
    max-width: 85%;
    overflow-wrap: anywhere;
    position: relative;
    z-index: 1;
}

.timezone-clock {
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-variant-numeric: tabular-nums;
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1;
    margin-top: 0.75rem;
    position: relative;
    z-index: 1;
}

.timezone-date {
    color: #cbd5e1;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.4rem;
    position: relative;
    z-index: 1;
}

.timezone-details {
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.85rem;
    padding-top: 0.8rem;
    position: relative;
    z-index: 1;
}

.timezone-detail {
    min-width: 0;
}

.timezone-detail-label {
    color: #94a3b8;
    display: block;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.timezone-detail-value {
    color: #f8fafc;
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    margin-top: 0.15rem;
    overflow-wrap: anywhere;
}

.timezone-zone-choice {
    margin-top: 0.75rem;
    position: relative;
    z-index: 1;
}

.timezone-zone-choice[hidden] {
    display: none;
}

.timezone-zone-choice label {
    color: #cbd5e1;
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.timezone-zone-choice select {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0.45rem;
    color: #0f172a;
    font-size: 0.7rem;
    min-height: 2.1rem;
    padding: 0.35rem 0.5rem;
    width: 100%;
}

.timezone-actions {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.75rem;
}

.timezone-secondary-button {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    min-height: 2.5rem;
    padding: 0.5rem 0.65rem;
}

.timezone-secondary-button:disabled,
.timezone-search-submit:disabled,
.timezone-locate-button:disabled {
    cursor: wait;
    opacity: 0.6;
}

.timezone-option-row {
    align-items: flex-start;
    display: flex;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.timezone-option-row input {
    accent-color: #00994f;
    flex: 0 0 auto;
    margin-top: 0.15rem;
}

.timezone-option-row label {
    color: #64748b;
    cursor: pointer;
    font-size: 0.65rem;
    line-height: 1.45;
}

.timezone-map-stage #map_canvas {
    background: #dbeafe;
}

.timezone-map-instruction {
    align-items: center;
    background: rgba(15, 36, 52, 0.9);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
    color: #ffffff;
    display: flex;
    font-size: 0.6875rem;
    font-weight: 800;
    gap: 0.45rem;
    left: 50%;
    max-width: calc(100% - 8rem);
    padding: 0.55rem 0.85rem;
    pointer-events: none;
    position: absolute;
    text-align: center;
    top: 0.75rem;
    transform: translateX(-50%);
    z-index: 700;
}

.timezone-map-instruction i {
    color: #20c976;
}

.timezone-selected-pulse {
    animation: timezone-pulse 1.8s ease-out infinite;
    background: rgba(0, 153, 79, 0.2);
    border: 2px solid #00994f;
    border-radius: 999px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
    height: 24px;
    width: 24px;
}

@keyframes timezone-pulse {
    0% {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 0 rgba(0, 153, 79, 0.55);
    }
    70% {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 16px rgba(0, 153, 79, 0);
    }
    100% {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 0 rgba(0, 153, 79, 0);
    }
}

.timezone-map-popup {
    min-width: 11rem;
    text-align: center;
}

.timezone-map-popup__time {
    color: #0f2434;
    font-size: 1.35rem;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
    line-height: 1.1;
}

.timezone-map-popup__zone {
    color: #00994f;
    font-size: 0.7rem;
    font-weight: 800;
    margin-top: 0.25rem;
    overflow-wrap: anywhere;
}

.timezone-map-popup__offset {
    color: #64748b;
    font-size: 0.65rem;
    font-weight: 700;
    margin-top: 0.2rem;
}

.timezone-content-section h2,
.timezone-content-section h3 {
    color: #0f2434;
}

.timezone-content-section ul {
    list-style: disc;
    padding-left: 1.25rem;
}

.timezone-feature-grid {
    display: grid;
    gap: 1rem;
    margin: 2.5rem 0;
}

.timezone-feature-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
}

.timezone-feature-card i {
    color: #00994f;
    font-size: 1.15rem;
}

.timezone-feature-card h3 {
    font-size: 0.875rem;
    font-weight: 800;
    margin-top: 0.65rem;
}

.timezone-feature-card p {
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.6;
    margin-top: 0.4rem;
}

@media (min-width: 640px) {
    .timezone-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .timezone-page .map-workspace__sidebar-content {
        padding-bottom: 1.25rem;
    }

    .timezone-map-instruction {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .timezone-result-card.is-loading::before,
    .timezone-selected-pulse {
        animation: none;
    }
}
