/* Rules that were appended to win a tie with an earlier file: header
   phone link, password toggle, booking wizard, pager, and filters.
   Edit the rule in this file when the page already uses it. Move a rule back
   to 03-header.css or 04-components.css only when nothing later depends on
   it coming last. */

/* ---- website improvements: header reach, wizard, pager, filters ---- */
.tk-header__reach {
    display: flex;
    align-items: center;
    gap: 8px;
}
.tk-header__call {
    font-size: .82rem;
    font-weight: 700;
    color: var(--cyan);
    white-space: nowrap;
}
/* Password fields stay LTR (masked value + latin keypad). Force the
   wrapper the same way so the toggle and reserved padding share one edge —
   otherwise RTL pages put inset-inline-end on the left while the input's
   padding-inline-end (dir=ltr) clears the right, and the label covers dots. */
.tk-password {
    position: relative;
    display: block;
    direction: ltr;
    width: 100%;
}
.tk-password .tk-input {
    display: block;
    width: 100%;
    padding-inline-end: 2.75rem;
    box-sizing: border-box;
}
.tk-password__toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: var(--silver);
    cursor: pointer;
    z-index: 2;
}
.tk-password__toggle svg {
    width: 20px;
    height: 20px;
    display: block;
}
.tk-password__toggle svg.tk-password__icon--hide { display: none; }
.tk-password__toggle[aria-pressed="true"] svg.tk-password__icon--show { display: none; }
.tk-password__toggle[aria-pressed="true"] svg.tk-password__icon--hide { display: block; }
.tk-password__toggle:hover,
.tk-password__toggle:focus-visible {
    color: var(--cyan);
}
.tk-wizard__nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0 88px;
}
.tk-price-dock {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid var(--cyan-line);
    border-radius: var(--radius);
    background: var(--cyan-dim);
}
.tk-price-dock__label {
    color: var(--silver-dim);
    font-size: .88rem;
    font-weight: 700;
}
.tk-price-dock__value {
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
}
.tk-price-dock__value small {
    color: var(--silver-faint);
    font-size: .78rem;
    font-weight: 600;
    margin-inline-start: 4px;
}
.tk-price-dock.has-price .tk-price-dock__value { color: var(--cyan); }
.tk-price-dock [data-tk="inspection-note-live"] {
    flex: 1 1 100%;
}
.tk-stickybar--price-only .tk-stickybar__btn[hidden] { display: none !important; }
.tk-stickybar--price-only .tk-stickybar__meta { flex: 1 1 auto; }
.tk-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 18px 0;
    font-size: .9rem;
}
.tk-pager__disabled { color: var(--silver-faint); }
.tk-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.tk-filterbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 16px;
}
.tk-filterbar > .tk-input,
.tk-filterbar > .tk-select {
    flex: 1 1 12rem;
    width: auto;
    min-width: 10rem;
    height: 40px;
    max-height: 40px;
}
.tk-filterbar__field > .tk-input,
.tk-filterbar__field > .tk-select,
.tk-filterbar__field > .tk-textarea {
    flex: none;
    width: 100%;
    height: 40px;
    max-height: 40px;
}
.tk-filterbar__field > .tk-textarea {
    height: auto;
    max-height: none;
    min-height: 72px;
}
.tk-checklist li.is-done { color: var(--ok); }
.tk-checklist li.is-done::before { content: '✓'; color: var(--ok); }
.tk-body--app .tk-snow,
.tk-body--app .tk-burst,
.tk-body--app .tk-frostwipe { display: none !important; }
.tk-lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .82);
    padding: 24px;
}
body.tk-modal-open { overflow: hidden; }
.tk-lightbox[hidden] { display: none; }
.tk-lightbox img {
    max-width: min(96vw, 1100px);
    max-height: 90vh;
    border-radius: 8px;
}
.tk-lightbox__close {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 720px) {
    .tk-header__reach { display: none; }
}

.tk-mfa-secret {
    font-size: 1.15rem;
    letter-spacing: .14em;
    font-weight: 700;
    word-break: break-all;
}
.tk-recovery-codes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tk-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.tk-pii-form .tk-field { margin-bottom: 8px; }
@media (max-width: 720px) {
    .tk-recovery-codes { grid-template-columns: 1fr; }
}
