/* Shared components: buttons, cards, hero, forms, alerts, badges,
   tables, page headings, auth, and footer.
   If a change here does not show up, a later file is winning:
   06-responsive.css (narrow screens), 13-portals.css (per-audience skins),
   14-overrides.css (signed-in pages and the public rhythm). Edit that file
   instead of appending a new override. */

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.tk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--silver);
    font-family: inherit;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .12s, background .15s, border-color .15s, color .15s;
    text-align: center;
}
.tk-btn:hover { transform: translateY(-1px); color: var(--text); }
.tk-btn:active { transform: translateY(0); }

.tk-btn--primary { background: var(--cyan); color: #04222B; overflow: hidden; position: relative; }
.tk-btn--primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.38) 50%, transparent 60%);
    transform: translateX(-130%);
    pointer-events: none;
}
.tk-btn--primary:hover::after { animation: tk-shine .65s ease; }
.tk-btn--primary:hover { background: var(--cyan-bright); color: #04222B; }

.tk-btn--ghost { background: transparent; border-color: var(--line); color: var(--silver); }
.tk-btn--ghost:hover { border-color: var(--cyan-line); color: var(--text); }

.tk-btn--ok { background: var(--ok); color: #06251A; }
.tk-btn--danger { background: transparent; border-color: rgba(232, 87, 74, .45); color: var(--btn-danger); }
.tk-btn--danger:hover { background: rgba(232, 87, 74, .12); color: var(--btn-danger); }

.tk-btn--lg { padding: 8px 18px; font-size: 1rem; }
.tk-btn--sm { padding: 7px 14px; font-size: .84rem; }
.tk-btn--block { width: 100%; }

.tk-btn[disabled],
.tk-btn.is-disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.tk-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}
.tk-card--pad-lg { padding: 30px; }
.tk-card__title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }

.tk-panel {
    background: var(--bg-raised);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 18px;
}

/* --------------------------------------------------------------------------
   Homepage banners
   --------------------------------------------------------------------------
   Photographs live in assets/takefat/img/banners/ and are listed by
   Banners::home(). On the homepage they are the hero background, not a
   separate cropped strip: the hero's own height (from the copy) is the
   frame, and the image covers it. object-position keeps the technician
   on the left of the photograph, which stays visible beside RTL copy.
   -------------------------------------------------------------------------- */

.tk-banner {
    position: relative;
    background: #071018;
    overflow: hidden;
}
html[data-theme="light"] .tk-banner { background: #1a2430; }

.tk-banner__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.tk-banner__track::-webkit-scrollbar { display: none; }

.tk-banner__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    margin: 0;
    position: relative;
    background: inherit;
}
.tk-banner__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 18% center;
}

.tk-banner__dots {
    position: absolute;
    inset-inline: 0;
    bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 4;
}
.tk-banner__dot {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    position: relative;
}
.tk-banner__dot::after {
    content: '';
    position: absolute;
    inset: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .25);
}
.tk-banner__dot.is-active::after {
    background: var(--cyan);
    inset-inline: 4px 4px;
    inset-block: 9px;
}

@media (prefers-reduced-motion: reduce) {
    .tk-banner__track { scroll-behavior: auto; }
    .tk-hero--photo .tk-banner__slide { transition: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.tk-hero {
    position: relative;
    isolation: isolate;
    padding-block: 74px 66px;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background: var(--hero-glow), var(--bg);
}
.tk-hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.tk-hero h1 { font-size: 2.9rem; margin-bottom: 1rem; }
.tk-hero h1 em { color: var(--cyan); font-style: normal; }
.tk-hero__lead { font-size: 1.1rem; color: var(--silver-dim); max-width: 34rem; }
.tk-hero__art { display: flex; justify-content: center; }
.tk-hero__art img { width: min(310px, 100%); filter: drop-shadow(0 16px 44px rgba(0, 180, 230, .22)); }
html[data-theme="light"] .tk-hero__art img { filter: drop-shadow(0 12px 28px rgba(0, 152, 200, .18)); }

/* Photo hero: the banner fills the section; copy sits on a directional shade
   so Arabic (RTL) text reads over the open side of the photograph. Light
   mode keeps light-on-dark type here — a cinematic hero, not a paper card. */
.tk-hero--photo {
    min-height: 0;
    padding-block: 48px 36px;
    display: flex;
    align-items: center;
    border-bottom: 0;
    background: #071018;
    color: #E8EEF3;
}
.tk-hero--photo .tk-banner {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #071018;
}
.tk-hero--photo .tk-banner__track {
    display: block;
    position: absolute;
    inset: 0;
    overflow: hidden;
    scroll-snap-type: none;
}
.tk-hero--photo .tk-banner__slide {
    position: absolute;
    inset: 0;
    flex: none;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .85s ease;
    z-index: 0;
}
.tk-hero--photo .tk-banner__slide.is-active {
    opacity: 1;
    z-index: 1;
}
.tk-hero--photo .tk-banner__slide img {
    object-position: 16% center;
}

.tk-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    /* Physical `to left` so the overlay still paints if the browser
       does not understand logical gradient directions. RTL copy sits
       on the right, so that side stays the darkest. */
    background:
        linear-gradient(to left,
            rgba(6, 8, 12, .92) 0%,
            rgba(6, 8, 12, .78) 34%,
            rgba(6, 8, 12, .42) 62%,
            rgba(6, 8, 12, .16) 100%),
        linear-gradient(to top, rgba(6, 8, 12, .55) 0%, transparent 46%);
}
html[dir="ltr"] .tk-hero__shade {
    background:
        linear-gradient(to right,
            rgba(6, 8, 12, .92) 0%,
            rgba(6, 8, 12, .78) 34%,
            rgba(6, 8, 12, .42) 62%,
            rgba(6, 8, 12, .16) 100%),
        linear-gradient(to top, rgba(6, 8, 12, .55) 0%, transparent 46%);
}

.tk-hero--photo .tk-hero__inner {
    position: relative;
    z-index: 3;
    grid-template-columns: minmax(0, 38rem) 1fr;
    width: 100%;
}
.tk-hero--photo .tk-hero__art { display: none; }
.tk-hero--photo h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.15rem);
    color: #fff;
    text-shadow: 0 8px 28px rgba(0, 0, 0, .35);
}
.tk-hero--photo h1 em { color: var(--cyan-bright); }
.tk-hero--photo .tk-hero__lead {
    color: rgba(255, 255, 255, .92);
    max-width: 36rem;
    font-size: 1.12rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .55);
}
.tk-hero--photo .tk-brand-mark__ar { color: #fff; }
.tk-hero--photo .tk-brand-mark__en { color: rgba(232, 238, 243, .55); }
.tk-hero--photo .tk-tagline {
    color: var(--cyan-bright);
    background: rgba(0, 180, 230, .16);
    border-color: rgba(34, 201, 245, .4);
}
.tk-hero--photo .tk-btn--ghost {
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
    background: rgba(8, 10, 14, .28);
}
.tk-hero--photo .tk-btn--ghost:hover {
    border-color: var(--cyan);
    color: #fff;
    background: rgba(0, 180, 230, .16);
}
.tk-hero--photo .tk-trust li {
    color: #fff;
    background: rgba(8, 10, 14, .55);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    padding-block: 6px;
    padding-inline: 1.45rem 14px;
    backdrop-filter: blur(8px);
}
.tk-hero--photo .tk-trust li::before { inset-inline-start: 10px; }
.tk-hero--photo .tk-banner__dots {
    z-index: 4;
    bottom: 18px;
}
.tk-hero--photo:has(.tk-banner--multi),
.tk-hero--photo.tk-hero--multi { padding-bottom: 76px; }

/* Compact trust cues under the hero CTAs — not a card grid. */
.tk-trust {
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    max-width: 36rem;
}
.tk-trust li {
    position: relative;
    color: var(--silver-dim);
    font-size: .92rem;
    font-weight: 600;
    padding-inline-start: 1.35rem;
}
.tk-trust li::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: .55em;
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 3px var(--cyan-dim);
}

.tk-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cyan);
    font-size: .82rem;
    font-weight: 700;
    background: var(--cyan-dim);
    border: 1px solid var(--cyan-line);
    border-radius: 999px;
    padding: 6px 16px;
    margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   Service picker
   -------------------------------------------------------------------------- */

.tk-service {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    color: inherit;
    transition: border-color .15s, transform .12s;
}
.tk-service:hover { border-color: var(--cyan-line); transform: translateY(-3px); color: inherit; }
.tk-service__icon {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--cyan-dim);
    color: var(--cyan);
    margin-bottom: 14px;
}
.tk-service__icon svg { width: 24px; height: 24px; }
.tk-service__price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.tk-price { color: var(--text); font-size: 1.5rem; font-weight: 800; }
.tk-price small { color: var(--silver-faint); font-size: .8rem; font-weight: 600; }
.tk-service__cta {
    display: inline-flex;
    margin-top: 12px;
    color: var(--cyan);
    font-size: .9rem;
    font-weight: 700;
}
.tk-service:hover .tk-service__cta { color: var(--cyan-bright); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.tk-field { margin-bottom: 17px; }
.tk-label { display: block; margin-bottom: 7px; color: var(--text); font-size: .9rem; font-weight: 700; }
.tk-label .tk-req { color: var(--cyan); }

.tk-input,
.tk-select,
.tk-textarea {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg-input);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: .96rem;
    transition: border-color .15s, box-shadow .15s;
}
.tk-input:focus,
.tk-select:focus,
.tk-textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px var(--focus-ring);
}
.tk-input::placeholder, .tk-textarea::placeholder { color: var(--silver-faint); }
.tk-input,
.tk-select {
    height: 40px;
    padding-block: 0;
    line-height: 1.2;
}
.tk-textarea {
    min-height: 80px;
    padding-block: 8px;
    line-height: 1.45;
    resize: vertical;
}
.tk-select { appearance: none; background-image: none; cursor: pointer; }
.tk-select option { background: var(--bg-input); color: var(--text); }

.tk-help { margin-top: 6px; font-size: .82rem; color: var(--silver-faint); }
.tk-help.tk-ok,
.tk-ok { color: var(--ok, #3ecf8e); font-weight: 700; }
.tk-chip.is-disabled {
    opacity: .55;
    cursor: not-allowed;
    pointer-events: none;
}
.tk-error { margin-top: 6px; font-size: .84rem; color: var(--badge-danger); }
.tk-input.has-error, .tk-select.has-error, .tk-textarea.has-error { border-color: var(--danger); }

/* Big tappable radio cards, used for choosing a service or a role. */
.tk-choice { display: grid; gap: 12px; }
.tk-choice--2 { grid-template-columns: repeat(2, 1fr); }
.tk-choice--1 { grid-template-columns: 1fr; }
.tk-choice--3 { grid-template-columns: repeat(3, 1fr); }
.tk-choice input { position: absolute; opacity: 0; pointer-events: none; }
.tk-choice__box {
    display: block;
    height: 100%;
    padding: 16px;
    background: var(--bg-input);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.tk-choice__box:hover { border-color: var(--cyan-line); }
.tk-choice input:checked + .tk-choice__box,
.tk-choice__box.is-locked {
    border-color: var(--cyan);
    background: var(--cyan-dim);
    box-shadow: 0 0 0 1px var(--cyan) inset;
}
.tk-choice__title { color: var(--text); font-weight: 700; display: block; }
.tk-choice__meta { color: var(--silver-dim); font-size: .85rem; }

/* District multi-select, rendered as a scrollable wall of checkboxes. */
.tk-checkwall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 8px;
    max-height: 310px;
    overflow-y: auto;
    padding: 13px;
    background: var(--bg-input);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}
.tk-check { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: .9rem; }
.tk-check input { width: 16px; height: 16px; accent-color: var(--cyan); cursor: pointer; flex-shrink: 0; }

.tk-fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.tk-fieldset > legend {
    padding-inline: 10px;
    color: var(--cyan);
    font-size: .82rem;
    font-weight: 800;
}

.tk-file {
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    background: var(--bg-input);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.tk-file:focus-within {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px var(--focus-ring);
}
.tk-file.has-error { border-color: var(--danger); }
.tk-file__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.tk-file__btn {
    display: flex;
    align-items: center;
    flex: none;
    height: 100%;
    padding: 0 14px;
    border-inline-end: 1px solid var(--line);
    background: var(--bg);
    color: var(--text);
    font-size: .9rem;
    font-weight: 700;
}
.tk-file__name {
    min-width: 0;
    padding-inline: 12px;
    color: var(--silver-dim);
    font-size: .9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   Alerts
   -------------------------------------------------------------------------- */

.tk-alert {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 17px;
    border: 1px solid var(--line);
    border-inline-start: 3px solid var(--silver-faint);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    margin-bottom: 18px;
    font-size: .93rem;
}
.tk-alert--ok      { border-inline-start-color: var(--ok);    background: rgba(46, 204, 143, .07); }
.tk-alert--error   { border-inline-start-color: var(--danger);background: rgba(232, 87, 74, .07); }
.tk-alert--warn    { border-inline-start-color: var(--warn);  background: rgba(232, 179, 57, .07); }
.tk-alert--info    { border-inline-start-color: var(--cyan);  background: var(--cyan-dim); }
.tk-alert p:last-child { margin-bottom: 0; }
html[data-theme="light"] .tk-alert--ok      { background: rgba(26, 138, 92, .10); }
html[data-theme="light"] .tk-alert--error   { background: rgba(192, 57, 43, .10); }
html[data-theme="light"] .tk-alert--warn    { background: rgba(154, 107, 0, .10); }

/* --------------------------------------------------------------------------
   Badges and status pills
   -------------------------------------------------------------------------- */

.tk-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    background: var(--bg-raised);
    border: 1px solid var(--line);
    color: var(--silver-dim);
    white-space: nowrap;
}
.tk-badge--cyan   { background: var(--cyan-dim); border-color: var(--cyan-line); color: var(--cyan); }
.tk-badge--ok     { background: rgba(46, 204, 143, .13); border-color: rgba(46, 204, 143, .4); color: var(--badge-ok); }
.tk-badge--warn   { background: rgba(232, 179, 57, .13); border-color: rgba(232, 179, 57, .4); color: var(--badge-warn); }
.tk-badge--danger { background: rgba(232, 87, 74, .13); border-color: rgba(232, 87, 74, .4); color: var(--badge-danger); }

/* --------------------------------------------------------------------------
   Technician cards
   -------------------------------------------------------------------------- */

.tk-tech { display: flex; gap: 15px; align-items: flex-start; }
.tk-tech__photo {
    width: 62px; height: 62px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-raised);
    border: 2px solid var(--line);
    flex-shrink: 0;
}
.tk-tech__body { flex: 1 1 auto; min-width: 0; }
.tk-tech__name { color: var(--text); font-weight: 700; font-size: 1.05rem; }
.tk-tech__bio { color: var(--silver-dim); font-size: .89rem; margin: 4px 0 8px; }

.tk-stars { color: var(--warn); letter-spacing: 1px; font-size: .92rem; }
.tk-rating { display: inline-flex; align-items: center; gap: 6px; }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.tk-steps { display: grid; gap: 18px; }
.tk-step { position: relative; padding-inline-start: 58px; }

/* --------------------------------------------------------------------------
   Tables and money summaries
   -------------------------------------------------------------------------- */

.tk-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tk-table th, .tk-table td { padding: var(--tk-row-y) 13px; border-bottom: 1px solid var(--line); text-align: start; }
.tk-table th { color: var(--silver-faint); font-size: .8rem; font-weight: 700; }
.tk-table tbody tr:last-child td { border-bottom: 0; }
.tk-table td.tk-amount { text-align: end; white-space: nowrap; }

.tk-total { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; }
.tk-total--grand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
.tk-total--grand .tk-total__value { color: var(--cyan); font-size: 1.32rem; font-weight: 800; }
.tk-total__label { color: var(--silver-dim); }
.tk-total__value { color: var(--text); font-weight: 700; }

.tk-empty { text-align: center; padding: 52px 20px; color: var(--silver-faint); }
.tk-empty__mark {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 16px;
    border: 1px solid var(--cyan-line);
    background: var(--cyan-dim);
    display: grid;
    place-items: center;
}
.tk-empty__mark::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 2px solid var(--cyan);
    opacity: .85;
}
.tk-empty__title {
    color: var(--text);
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 0 6px;
}
.tk-empty p { margin: 0 auto 14px; max-width: 28rem; line-height: 1.55; }

/* Definition-style list used on the request detail page. */
.tk-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 220px)); justify-content: start; gap: 12px 20px; }
.tk-fact__label { color: var(--silver-faint); font-size: .78rem; font-weight: 700; }
.tk-fact__value { color: var(--text); font-weight: 600; }

.tk-row--wrap { flex-wrap: wrap; }
.tk-gap-sm { gap: 8px; }
.tk-gap-md { gap: 12px; }

.tk-alert ul {
    margin: .4rem 0 0;
    padding-inline-start: 1.1rem;
}

/* --------------------------------------------------------------------------
   Page heading
   -------------------------------------------------------------------------- */

.tk-pagehead { margin-bottom: 26px; }
.tk-pagehead h1 { font-size: 1.85rem; margin-bottom: .3rem; }
.tk-crumb { color: var(--silver-faint); font-size: .85rem; margin-bottom: 8px; }
.tk-crumb a { color: var(--silver-dim); }

/* --------------------------------------------------------------------------
   Auth screens
   -------------------------------------------------------------------------- */

.tk-auth { max-width: 470px; margin: 42px auto; }
.tk-auth--wide { max-width: 640px; }
.tk-auth--change { max-width: 520px; }
.tk-change-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}
.tk-change-panel__title {
    font-size: 1.1rem;
    margin: 0 0 8px;
}
.tk-change-panel__meta {
    display: grid;
    gap: 4px;
    margin: 0 0 16px;
}
.tk-auth__head { text-align: center; margin-bottom: 26px; }
.tk-auth__head img { width: 78px; margin-bottom: 12px; }
.tk-auth__panel { min-width: 0; }
.tk-auth--booking {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.2fr);
    gap: 32px;
    max-width: 100%;
    width: 100%;
    align-items: stretch;
}
.tk-auth--booking .tk-auth-context {
    min-height: 100%;
    padding: 36px 32px;
    box-sizing: border-box;
    align-items: flex-start;
    justify-content: center;
}
.tk-auth--booking .tk-auth-context h2 { font-size: 1.35rem; }
.tk-auth--booking .tk-auth-context p { line-height: 1.55; }
.tk-auth--booking .tk-auth-context__trust {
    font-size: .95rem;
    gap: 10px;
}
.tk-auth-context {
    display: flex;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--cyan-line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, var(--cyan-dim), var(--bg-card));
}
.tk-auth-context__icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--cyan);
    background: var(--bg-raised);
}
.tk-auth-context h2 { margin: 0 0 8px; font-size: 1.1rem; }
.tk-auth-context__trust {
    display: grid;
    gap: 7px;
    list-style: none;
    margin: 16px 0;
    padding: 0;
    color: var(--silver);
    font-size: .86rem;
}
@media (max-width: 760px) {
    .tk-auth--booking { display: block; max-width: none; }
    .tk-auth-context { margin-bottom: 18px; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.tk-footer {
    flex-shrink: 0;
    background: var(--footer-bg);
    border-top: 1px solid var(--line);
    padding-block: 40px 22px;
    color: var(--silver-faint);
    font-size: .89rem;
}
.tk-footer h4 { color: var(--text); font-size: .92rem; margin-bottom: 12px; }
.tk-footer a { color: var(--silver-dim); display: block; padding: 3px 0; }
.tk-footer a:hover { color: var(--cyan); }
.tk-footer .tk-num a,
.tk-footer .tk-copyline a,
.tk-footer a.tk-phone { display: inline; color: var(--text); font-weight: 700; padding: 0; }
.tk-footer__bottom {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.tk-admin-shell { margin-bottom: 22px; }

.tk-adminmenu-toggle {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.tk-adminmenu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--silver);
    font-family: inherit;
    font-size: .92rem;
    font-weight: 700;
    cursor: pointer;
}
.tk-adminmenu-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}
.tk-adminmenu-btn:hover {
    color: var(--text);
    border-color: var(--cyan-line);
}

.tk-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s, visibility .18s;
}
.tk-adminmenu-toggle:checked ~ .tk-sidebar-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tk-sidebar {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    width: min(320px, 88vw);
    background: var(--bg-raised);
    border-inline-end: 1px solid var(--line);
    box-shadow: var(--shadow-pop);
    transform: translateX(-100%);
    transition: transform .2s ease;
    overflow: hidden;
}
html[dir="rtl"] .tk-sidebar {
    transform: translateX(100%);
}
.tk-adminmenu-toggle:checked ~ .tk-sidebar {
    transform: none;
}

.tk-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 12px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
}
.tk-sidebar__title {
    color: var(--text);
    font-weight: 800;
}
.tk-sidebar__close {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    color: var(--silver);
    cursor: pointer;
}
.tk-sidebar__close svg {
    width: 18px;
    height: 18px;
    display: block;
}
.tk-sidebar__close:hover {
    color: var(--text);
    background: var(--bg-hover);
}

.tk-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.tk-sidebar__link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--silver);
    font-size: .95rem;
    font-weight: 600;
}
.tk-sidebar__link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
}
.tk-sidebar__link:hover {
    color: var(--text);
    background: var(--bg-hover);
}
.tk-sidebar__link.is-active {
    color: var(--cyan);
    background: var(--cyan-dim);
}

.tk-job-photos { margin: 10px 0 12px; }
.tk-job-photos__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.tk-job-photos img,
.tk-job-photos__grid img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 9px;
    border: 1px solid var(--line);
}

.tk-nid {
    display: block;
    max-width: 100%;
    border-radius: 12px;
    border: 1px solid var(--line);
}
