/* Time zone UI: the "Set a time zone" cue, the zone chip, the page banners and the change-confirmation dialog.
   Tokens follow the site-wide warning pattern (--pulse-theme-warning tinted over the input background, text mixed toward black for contrast). */

.pulse-zone-cue {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 999px;
    border: 1px solid var(--pulse-theme-warning, #f59e0b);
    color: color-mix(in srgb, var(--pulse-theme-warning, #f59e0b) 60%, black 40%);
    background: color-mix(in srgb, var(--pulse-theme-warning, #f59e0b) 18%, var(--pulse-theme-input-bg, rgba(255,255,255,0.85)));
    text-decoration: none;
    white-space: nowrap;
}
a.pulse-zone-cue:hover,
a.pulse-zone-cue:focus {
    text-decoration: underline;
}

.pulse-zone-chip {
    display: inline-block;
    padding: 1px 8px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 999px;
    border: 1px solid var(--pulse-theme-input-border, rgba(203,213,225,0.6));
    color: var(--pulse-theme-text-muted, #64748b);
    background: var(--pulse-theme-input-bg, rgba(255,255,255,0.85));
    white-space: nowrap;
    /* The chip also sits inside headings and uppercase table headers ("Billing History", the API key "Created" column): it keeps its own plain look there. */
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

/* Page-top banners (Set your time zone / conversion in progress). */
.pulse-zone-banner {
    margin-bottom: 0.5rem;
}
.pulse-zone-banner[hidden] {
    display: none !important;
}

/* Zone picker blocks in editors: the help text under the select and the live preview line. */
.pulse-zone-help {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--pulse-theme-text-muted, #64748b);
}
.pulse-zone-preview {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    background: var(--pulse-theme-input-bg, rgba(255,255,255,0.85));
    border: 1px solid var(--pulse-theme-input-border, rgba(203,213,225,0.6));
}
.pulse-zone-preview code {
    font-size: 13px;
}
.pulse-zone-status {
    margin-left: 6px;
}

/* The confirmation dialog is a layout-level sibling of <main> and may open above another modal (checkpoint edit):
   the z-index bump is applied from pulse-time-ui.js; this only keeps the text readable. */
#mdlTimeZoneChange .modal-body p {
    overflow-wrap: anywhere;
}
