/* ============================================================
   Bargito — ტელეფონი (≤748px), დიზაინი A „სუფთა ბარათი“, რაუნდი 2 (2026-11-08)
   ------------------------------------------------------------
   • ყველა წესი @media (max-width: 748px)-შია: 749px-დან ზემოთ არაფერი იცვლება.
   • ფაილი index.html-ში ბოლოსაა (cabinet.css-ის შემდეგ), ამიტომ ტოლი
     სპეციფიკურობის წესი აქ იგებს.
   • ფერები საიტისაა. ორი ტონის შესწორება მხოლოდ აქ:
     --text-muted #6b7a99 → #5c6a88 (ღია) და პატარა ლურჯი ტექსტი --accent-text
     (#0062db ღია / #4facfe მუქი). მთავარი ღილაკის გრადიენტი უცვლელია.
   • ფიდის ბარათი დღევანდელი დესკტოპის ბარათია (მფლობელი): ერთი სვეტი,
     ნამდვილი ზომა, scale() აღარ არის; hover-ფენის ნაცვლად „დეტალურად“.
   • ახალი ელემენტები დესკტოპზე components.css-ის ბოლოს იმალება.
   ============================================================ */
@media (max-width: 748px) {

/* ── 0. ტოკენები: css/tokens.css (ტელეფონს ცალკე მნიშვნელობა აღარ აქვს) ── */

/* დამხმარე კლასები: დეკორატიული ემოჯი, ტელეფონის/დესკტოპის ტექსტის ვარიანტები, თარიღი */
.emo,
.ph-hide-inline,
.dt-iso { display: none !important; }
.ph-only-inline,
.dt-h { display: inline; }

/* ფოკუსი და დაჭერა (§3) */
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }

/* ── 1. header და ქვედა მენიუ ─────────────────────────────── */
header { min-height: 60px; padding: 8px 16px; }
header .theme-btn { }
.notif-count { min-width: 19px; height: 19px; border: 2px solid var(--surface); }

.bottom-nav .nav-item span,
.bottom-nav .nav-item .nav-lang-badge + span {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}
.bottom-nav .nav-item { min-height: 52px; min-width: 60px; justify-content: flex-end; }
.bottom-nav .nav-item.active { color: var(--accent-text); }
.bottom-nav .nav-add-circle { width: 54px; height: 54px; margin-top: -22px; }
.bottom-nav .nav-icon { width: 24px; height: 24px; }
.bottom-nav .nav-icon-add { width: 26px; height: 26px; }
.bottom-nav .nav-lang-badge {
    height: 24px; padding: 0 7px; border-radius: var(--r-xs);
    font-size: var(--fs-xs); font-weight: 700;
    background: var(--tint); border: 1px solid var(--tint-border); color: var(--accent-text);
    display: flex; align-items: center;
}

/* ── 2. მთავარი: hero, ძებნა, სექციის თავი ─────────────────── */
.hero { padding: 26px 16px 20px; }
.hero h1 { font-size: var(--fs-2xl); line-height: 1.3; font-weight: 700; letter-spacing: -0.3px; }
.hero p { font-size: var(--fs-md); line-height: 1.5; color: var(--text-muted); margin-top: 8px; padding: 0 8px; }
.mobile-search-toggle { margin-top: 20px;
}

.trips-section { padding: 0 16px; margin-top: 6px; overflow-x: visible; }
.section-title {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px;
    font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.2px; margin-bottom: 0;
    text-align: left; justify-content: flex-start;
}
.section-count {
    font-size: var(--fs-xs); font-weight: 700;
    color: var(--accent-text); background: var(--tint); border: 1px solid var(--tint-border);
    padding: 1px 8px; border-radius: var(--r-md); white-space: nowrap;
}
.feed-verified {
    display: flex; gap: 8px; align-items: center;
    margin: 8px 0 0; font-size: var(--fs-sm); line-height: 1.4; color: var(--text-muted);
}
.feed-verified[hidden] { display: none; }
.fv-ic {
    width: 20px; height: 20px; border-radius: var(--r-round); flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok);
}
.fv-ic svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* „დაჯავშნა შეჩერებულია“: tint ყუთი, ემოჯის ნაცვლად SVG ⓘ */
.bookings-paused-note {
    position: relative;
    margin: 14px 0 0; max-width: none;
    padding: 12px 14px 12px 44px;
    text-align: left; font-size: var(--fs-sm); line-height: 1.55;
    background: var(--tint); border: 1px solid var(--tint-border); border-radius: var(--r-sm);
}
.bookings-paused-note::before {
    content: ''; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px;
    background: var(--accent-text);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='11' x2='12' y2='16'/%3E%3Ccircle cx='12' cy='7.6' r='0.8' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='11' x2='12' y2='16'/%3E%3Ccircle cx='12' cy='7.6' r='0.8' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* მგზავრები / ამანათები — segmented 44 */
.type-toggle-wrap { margin: 18px 0 16px; }
.type-toggle-pill { width: 100%; max-width: 320px; margin: 0 auto; }
.type-toggle-btn { min-height: 44px; font-size: var(--fs-md); font-weight: 600; text-transform: none; letter-spacing: 0; }
.type-toggle-btn .ttb-label { text-transform: none; letter-spacing: 0; }

/* ── 3. ფიდი: ერთი სვეტი, დღევანდელი ბარათი ნამდვილი ზომით ── */
#tripsGrid.trips-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: auto;
    max-width: 460px;
    margin: 0 auto;
    left: auto;
    position: static;
    transform: none;
}
#tripsGrid.trips-grid.fading { transform: none; }

.trip-card.tc-public {
    height: auto;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--r-md);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
/* hover ტელეფონის სიგანეზე (მაუსითაც) არაფერს ცვლის */
.trip-card.tc-public:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--border); }
.trip-card.tc-public.tc-sender:hover { border-color: var(--tint-strong); }
.trip-card.tc-public:hover .tc-card-inner,
.trip-card.tc-public.tap-open .tc-card-inner,
.trip-card.tc-public:hover .tc-price-row,
.trip-card.tc-public.tap-open .tc-price-row { transform: none; }
.trip-card.tc-public:hover .badge-top,
.trip-card.tc-public.tap-open .badge-top { opacity: 1; pointer-events: auto; }
.trip-card.tc-public:hover .badge-top + .badge-urgent,
.trip-card.tc-public.tap-open .badge-top + .badge-urgent { margin-top: var(--top-h, 26px); }
.trip-card.tc-public:active { transform: scale(0.985); transition: transform 0.1s ease; }

.tc-card-inner { height: auto; justify-content: flex-start; padding: 12px 16px 4px; }
/* hover-ფენა და ზედა ხატულები (🔗 ⚠️ 🤍, ნდობის ჩიპი) ტელეფონზე არ ჩანს — ისინი ფანჯარაშია */
.trip-card.tc-public > .tc-hover-overlay,
.trip-card.tc-public .tc-top-actions { display: none; }
/* ცარიელი topbar (ბეჯის გარეშე) ადგილს არ იკავებს */
.trip-card.tc-public .tc-topbar:has(> .tc-badges:empty) { display: none; }
.trip-card.tc-public .tc-topbar { padding-top: 4px; }

.tc-city-ka { font-size: var(--fs-lg); }
.tc-city-en { font-size: var(--fs-sm); }
/* გრძელი ქალაქი („ლონდონი ჰითრო“) სიტყვაზე გადადის, შუაში არ იჭრება */
/* სიგანე შიგთავსის მიხედვით: „ფრანკფურტი ჰან“ მოკლე „ქუთაისი“-ს გვერდით ერთ ხაზზე ეტევა */
/* min-width: auto (ნაგულისხმევი) — სვეტი ყველაზე გრძელ სიტყვაზე ვიწრო არ ხდება, ამიტომ
   სახელი მხოლოდ სიტყვებს შორის გადადის („ფრანკფურტი / ჰან“), სიტყვის შუაში არა */
.tc-route .tc-city { flex: 1 1 auto; }
.tc-route .tc-city-ka { overflow-wrap: break-word; }
.tc-info-label { font-size: var(--fs-xs); text-transform: none; letter-spacing: 0; }
.tc-info-value { font-size: var(--fs-sm); }
.card-badge { font-size: var(--fs-xs); }

.tc-phone-foot { display: block; padding: 4px 16px 16px; }
.tc-more-btn {
    width: 100%; min-height: 44px;
    border-radius: var(--r-sm);
    background: var(--surface); border: 1.5px solid var(--border);
    color: var(--text); font: inherit; font-size: var(--fs-md); font-weight: 600;
    cursor: pointer;
    transition: background 0.1s ease, transform 0.1s ease;
}
.tc-more-btn:active { background: var(--field-bg); transform: scale(0.98); }

/* skeleton და ცარიელი მდგომარეობა ერთ სვეტში */
.trips-grid .skeleton-card { width: auto; }
.empty-state { padding: 34px 20px 10px; gap: 6px; }
.empty-state-icon {
    width: 64px; height: 64px; border-radius: var(--r-round);
    display: flex; align-items: center; justify-content: center;
    background: var(--tint); border: 1px solid var(--tint-border);
    font-size: var(--fs-2xl); margin: 0 auto 10px; animation: none;
}
.empty-state-title { font-size: var(--fs-lg); font-weight: 700; color: var(--text); }
.empty-state-sub { font-size: var(--fs-md); color: var(--text-muted); }
.empty-state-btn { margin-top: 12px; }

/* ── 4. ქვედა ფანჯრები (sheet): დეტალი, ჯავშანი, განცხადება, შესვლა, პროფილი ── */
#tripSheet, #bookingModal, #postModal, #authModal, #profileModal, #welcomeModal {
    align-items: flex-end;
    background: var(--scrim);
}
#tripSheet > .modal-content,
#bookingModal > .modal-content,
#postModal > .modal-content,
#authModal > .modal-content,
#profileModal > .modal-content {
    width: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    padding: 10px 16px calc(24px + env(safe-area-inset-bottom));
    max-height: calc(100% - 44px);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 1;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
/* სრული სიმაღლის ფორმები */
#bookingModal > .modal-content,
#postModal > .modal-content,
#profileModal > .modal-content { height: calc(100% - 44px); }
.modal.is-open#tripSheet > .modal-content,
.modal.is-open#bookingModal > .modal-content,
.modal.is-open#postModal > .modal-content,
.modal.is-open#authModal > .modal-content,
.modal.is-open#profileModal > .modal-content { transform: translateY(0); opacity: 1; }
.modal.is-closing#tripSheet > .modal-content,
.modal.is-closing#bookingModal > .modal-content,
.modal.is-closing#postModal > .modal-content,
.modal.is-closing#authModal > .modal-content,
.modal.is-closing#profileModal > .modal-content { transform: translateY(100%); opacity: 1; transition: transform 0.26s ease; }
/* სახელური */
#bookingModal > .modal-content::before,
#postModal > .modal-content::before,
#authModal > .modal-content::before,
#profileModal > .modal-content::before,
.ts-grab {
    content: ''; display: block;
    width: 40px; height: 5px; border-radius: var(--r-xs);
    background: var(--border); margin: 0 auto 12px;
}
/* ✕ — 44 წრე */
.modal .close-btn {
    top: 32px; right: 16px;
    display: flex; align-items: center; justify-content: center; line-height: 1; opacity: 1;
    z-index: 3;
}
.modal .close-btn:hover { }
.modal .close-btn:active { }

/* ── 5. დეტალური ფანჯარა #tripSheet ──────────────────────── */
#tripSheet > .modal-content { padding-top: 10px; }
.ts-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ts-top { display: flex; gap: 12px; align-items: flex-start; }
.ts-route { flex: 1; min-width: 0; }
.ts-from {
    display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px;
    font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); line-height: 22px;
}
.ts-plane { width: 15px; height: 15px; transform: rotate(90deg); color: var(--primary); }
.ts-chip {
    display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; margin-left: 4px;
    border-radius: var(--r-sm); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap;
    color: var(--accent-text); background: var(--tint); border: 1px solid var(--tint-border);
}
.ts-to { font-size: var(--fs-xl); line-height: 1.3; font-weight: 700; letter-spacing: -0.3px; color: var(--text); margin: 0; overflow-wrap: anywhere; }
.ts-alt { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 2px; }
.ts-x {
    width: 44px; height: 44px; border-radius: var(--r-round); flex-shrink: 0; margin-top: 2px;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    background: var(--field-bg); border: 1px solid var(--border); color: var(--text-muted);
}
.ts-acts { display: flex; gap: 8px; margin-top: 14px; }
.ts-act {
    min-height: 44px; padding: 0 14px; border-radius: var(--r-md);
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid var(--border); background: var(--surface);
    font: inherit; font-size: var(--fs-sm); font-weight: 600; color: var(--text); cursor: pointer;
}
.ts-act .ts-ico { width: 17px; height: 17px; color: var(--text-muted); }
.ts-act.active .ts-ico { color: var(--danger); fill: var(--danger); stroke: var(--danger); }
.ts-act-ic { margin-left: auto; width: 44px; padding: 0; justify-content: center; }
.ts-act:active, .ts-x:active { background: var(--field-bg); }
.ts-facts {
    margin-top: 12px; padding: 2px 14px;
    background: var(--field-bg); border: 1px solid var(--border); border-radius: var(--r-sm);
}
.ts-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: var(--fs-sm); line-height: 1.4; }
.ts-row + .ts-row { border-top: 1px solid var(--border); }
.ts-row > span { color: var(--text-muted); }
.ts-row b { font-weight: 600; text-align: right; color: var(--text); }
.ts-person { margin-top: 12px; border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px; }
.ts-p-row { display: flex; align-items: center; gap: 12px; }
.ts-av {
    width: 44px; height: 44px; border-radius: var(--r-round); flex-shrink: 0; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--on-accent);
    font-weight: 700; font-size: var(--fs-lg);
}
.ts-av img { width: 100%; height: 100%; object-fit: cover; }
.ts-p-name { flex: 1; min-width: 0; }
.ts-p-name > b { display: block; font-size: var(--fs-md); font-weight: 700; color: var(--text); }
.ts-p-name > span { font-size: var(--fs-sm); color: var(--text); }
.ts-p-name > span b { font-weight: 700; }
.ts-star { color: var(--star); }
.ts-muted { color: var(--text-muted); }
.ts-ring-wrap { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ts-ring-wrap small { font-size: var(--fs-xs); color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.ts-ring {
    --p: 0; --c: var(--warn);
    width: 56px; height: 56px; border-radius: var(--r-round); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--border) 0);
}
.ts-ring-high { --c: var(--ok); }
.ts-ring > b {
    width: 46px; height: 46px; border-radius: var(--r-round);
    display: flex; align-items: center; justify-content: center;
    background: var(--surface); font-size: var(--fs-md); font-weight: 700; color: var(--text);
}
.ts-ring > b small { font-size: var(--fs-xs); font-weight: 700; margin-left: 1px; }
.ts-checks { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--border); display: grid; gap: 9px; }
.ts-checks li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--text); }
.ts-checks li.ts-no { color: var(--text-muted); }
.ts-check {
    width: 20px; height: 20px; border-radius: var(--r-round); flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok);
}
.ts-check .ts-ico { width: 12px; height: 12px; stroke-width: 3; }
.ts-dash { width: 20px; height: 20px; border-radius: var(--r-round); border: 1.5px dashed var(--border); flex-shrink: 0; }
.ts-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.ts-price-line { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.ts-price-line > span:first-child { font-size: var(--fs-sm); color: var(--text-muted); }
.ts-price { font-size: var(--fs-2xl); font-weight: 700; color: var(--price); letter-spacing: -0.5px; line-height: 1; font-variant-numeric: tabular-nums; }
.ts-lari, .bk-lari { font-size: 0.68em; font-weight: 700; vertical-align: 0.17em; margin-right: 1px; } /* design-ok: em: ლარის ნიშანი ფასის მიმართ */
.ts-btns2 { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; }
.ts-btn-second {
    font: inherit; white-space: nowrap; cursor: pointer;
}
.ts-btn-second:active { }
#tripSheet .btn-submit.ts-btn-main { margin: 0; white-space: nowrap; }
#tripSheet .btn-submit.ts-btn-full { width: 100%; }
#tripSheet .btn-submit.ts-btn-main:active { }

/* ── 5a. toast და ქუქი ───────────────────────────────────── */
.toast-container {
    top: auto; left: 12px; right: 12px; width: auto; max-width: none;
    bottom: calc(84px + env(safe-area-inset-bottom));
}
.toast { border-radius: var(--r-md); padding: 14px 16px; }
/* ემოჯის ნაცვლად ⓘ / ✓ ხატულა ფერით (info: --accent-text) */
.toast-icon {
    font-size: 0; width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; background: var(--accent-text);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='11' x2='12' y2='16'/%3E%3Ccircle cx='12' cy='7.6' r='0.8' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='11' x2='12' y2='16'/%3E%3Ccircle cx='12' cy='7.6' r='0.8' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}
.toast-success .toast-icon {
    background: var(--ok);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpolyline points='16 9.5 10.5 15 8 12.5'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpolyline points='16 9.5 10.5 15 8 12.5'/%3E%3C/svg%3E");
}
.toast-error .toast-icon { background: var(--danger); }
.toast-warning .toast-icon { background: var(--warn); }
.toast-msg { font-size: var(--fs-sm); font-weight: var(--fw-semibold); line-height: 1.5; }
.toast-close { min-width: 32px; min-height: 32px; margin: -6px -8px -6px 0; font-size: var(--fs-md); }

.cookie-banner {
    left: 12px; right: 12px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    padding: 14px 16px 16px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(calc(100% + 120px));
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-icon { display: none; }
.cookie-banner-text { min-width: 100%; font-size: var(--fs-sm); line-height: 1.55; color: var(--text); }
.cookie-banner-link { color: var(--accent-text); font-weight: 600; text-underline-offset: 3px; }
.cookie-banner-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-btn { }
.cookie-btn-reject { }

/* ── 6. საერთო ველები და ღილაკები ფანჯრებში ──────────────── */
.modal .form-group label,
.legal-name-hint + label { }
.modal .form-group input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.modal .form-group select,
.modal .form-select,
.modal .flight-input,
.modal .cal-trigger-input,
.modal .legal-name-input {
}
.modal .price-input-wrapper {
}
.modal .price-input-wrapper .price-input { }
.modal input[aria-invalid="true"],
.modal select[aria-invalid="true"],
.modal .price-input-wrapper:has(input[aria-invalid="true"]) { border-color: var(--danger) !important; background: var(--surface); }
.modal .form-group input:focus,
.modal .form-group select:focus,
.modal .price-input-wrapper:focus-within {
}
.modal .price-input-wrapper .price-input:focus { }
/* ველის შეცდომა: css/fields.css (.field__error, ყველა ეკრანზე) */
.modal .btn-submit { }
.modal .btn-submit:active { }
.modal .btn-submit:disabled { opacity: 0.5; }
.modal .btn-back {
}
/* checkbox: css/fields.css (ყველა ეკრანზე ერთნაირი) */

/* ── 7. ჯავშნის ფანჯარა ─────────────────────────────────── */
#bookingModal .booking-icon { display: none; }
#bookingModal h2 { font-size: var(--fs-xl); line-height: 1.3; font-weight: 700; text-align: left; margin: 6px 56px 10px 0; min-height: 44px; display: flex; align-items: center; }
#bookingModal .close-btn { top: 27px; }
#bookingSummary.booking-summary { background: none; border: 0; padding: 0; margin-bottom: 8px; text-align: left; }
.bk-phone-head { display: block; padding: 2px 0 4px; }
.bk-ph-route { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; font-size: var(--fs-lg); font-weight: 700; line-height: 1.3; letter-spacing: -0.2px; color: var(--text); }
.bk-ph-plane { width: 15px; height: 15px; transform: rotate(90deg); color: var(--primary); }
.bk-ph-meta { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 3px; }
.bk-ph-meta > span { white-space: nowrap; }
.bk-ph-trust { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: var(--fs-sm); line-height: 1.4; }
.bk-ph-ring.ts-ring { width: 40px; height: 40px; }
.bk-ph-ring.ts-ring > b { width: 32px; height: 32px; font-size: var(--fs-xs); }
.bk-ph-who b { display: block; font-weight: 700; color: var(--text); }
.bk-ph-who span { color: var(--text-muted); }
#bookingSummary .booking-trust,
#bookingSummary .summary-head-row { display: none; }
/* თანხები: ჯგუფები ყუთებად */
#bookingSummary .price-group { display: block; margin-top: 12px; }
#bookingSummary .price-group-title {
    display: flex; align-items: center; gap: 6px;
    margin: 0 0 6px; font-size: var(--fs-sm); font-weight: 700; color: var(--text-muted);
}
#bookingSummary .price-group .summary-row {
    padding: 10px 14px; margin: 0; font-size: var(--fs-sm);
    background: var(--field-bg);
    border: 1px solid var(--border); border-top: 0; border-bottom: 1px solid var(--border);
}
#bookingSummary .price-group .summary-row:first-child,
#bookingSummary .price-group-title + .summary-row { border-top: 1px solid var(--border); border-radius: var(--r-sm) var(--r-sm) 0 0; }
#bookingSummary .price-group .summary-row:last-child { border-radius: 0 0 var(--r-sm) var(--r-sm); }
#bookingSummary .price-group .summary-row:first-child:last-child,
#bookingSummary .price-group-title + .summary-row:last-child { border-radius: var(--r-sm); }
#bookingSummary .price-group-now .summary-row { background: var(--tint); border-color: var(--tint-border); }
#bookingSummary .price-group-now .summary-row span { color: var(--text); font-weight: 600; }
#bookingSummary .price-group-now .summary-row strong { font-size: var(--fs-lg); font-weight: 700; }
#bookingSummary .summary-row span { font-size: var(--fs-sm); }
#bookingSummary .summary-row strong { font-weight: 600; font-variant-numeric: tabular-nums; }
#bookingSummary .fee-row span, #bookingSummary .fee-row strong { font-size: var(--fs-sm); color: var(--text-muted); }
#bookingSummary .summary-row.total { border-top: 1px solid var(--border); font-size: var(--fs-md); }
#bookingSummary .summary-row.total strong { font-size: var(--fs-lg); font-weight: 700; color: var(--price); }
/* split_v1: „ახლა გადაიხდით“ უკვე პირველ ყუთშია */
#bookingSummary .price-group ~ .summary-row.total { display: none; }
#bookingSummary .summary-note { font-size: var(--fs-sm); line-height: 1.5; color: var(--text-muted); margin-top: 8px; }
#bookingModal .form-group { margin-top: 16px; text-align: left; }
/* აკრძალული ნივთები: soft ყუთი, 2 სვეტი, ემოჯი ტექსტის წინ */
#bookingModal .prohib-title {
    display: block; margin: 18px 0 0; padding: 12px 14px 4px;
    font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); text-align: left;
    background: var(--field-bg); border: 1px solid var(--border); border-bottom: 0; border-radius: var(--r-sm) var(--r-sm) 0 0;
}
#bookingModal .prohibited-grid-visual {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px;
    margin: 0; padding: 6px 14px 12px;
    background: var(--field-bg); border: 1px solid var(--border); border-top: 0; border-radius: 0 0 var(--r-sm) var(--r-sm);
}
#bookingModal .prohib-item {
    display: flex; align-items: center; gap: 8px; text-align: left;
    padding: 0; margin: 0; background: none; border: 0; box-shadow: none;
    font-size: var(--fs-md); line-height: 1.35; min-height: 30px;
}
#bookingModal .prohib-item br { display: none; }
#bookingModal .prohib-item small { font-size: var(--fs-sm); font-weight: 400; color: var(--text); opacity: 1; }
#bookingModal .prohibited-check {
    display: flex; gap: 12px; align-items: flex-start; text-align: left;
    padding: 12px 0; margin: 4px 0 0; min-height: 44px;
    font-size: var(--fs-md); line-height: 1.45;
    background: none !important; border-color: transparent !important; box-shadow: none;
}
#bookingModal .prohibited-check span { color: var(--text); font-weight: 400; }
#bookingModal #confirmPayBtn { width: 100%; margin-top: 4px; }
#bookingModal .booking-note { font-size: var(--fs-sm); text-align: center; margin-top: 10px; }

/* ── 8. განცხადების ფორმა (მგზავრი, გამგზავნი) ───────────── */
#postModal .listing-decision { text-align: left; padding-top: 4px; }
#postModal .decision-header { text-align: left; padding-right: 56px; margin-bottom: 4px; }
#postModal .decision-icon { display: none; }
#postModal .decision-title { font-size: var(--fs-xl); line-height: 1.3; font-weight: 700; }
#postModal .decision-subtitle { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 4px; }
#postModal .decision-cards { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
#postModal .decision-card {
    display: grid; grid-template-columns: 52px 1fr 20px; grid-template-rows: auto auto;
    column-gap: 14px; align-items: center; text-align: left;
    padding: 16px; border-radius: var(--r-md); min-height: 0;
    background: var(--surface); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
}
#postModal .decision-card .dc-glow { display: none; }
#postModal .decision-card .dc-icon {
    grid-row: 1 / 3; width: 52px; height: 52px; border-radius: var(--r-sm); margin: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--tint); font-size: var(--fs-2xl);
}
#postModal .decision-card .dc-label { grid-column: 2; font-size: var(--fs-lg); font-weight: 700; color: var(--text); margin: 0; align-self: end; }
#postModal .decision-card .dc-desc { grid-column: 2; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.45; margin: 2px 0 0; align-self: start; }
#postModal .decision-card .dc-arrow { grid-column: 3; grid-row: 1 / 3; color: var(--text-muted); font-size: var(--fs-lg); margin: 0; opacity: 1; transform: none; }

/* ნაბიჯები: 28px წრე, გავლილი ✓ tint-ზე, მიმდინარე გრადიენტი */
#postModal .form-steps { justify-content: space-between; align-items: flex-start; margin: 4px 56px 18px 0; }
#postModal .form-step { opacity: 1; flex: 0 0 auto; min-width: 28px; gap: 6px; }
#postModal .form-step:first-child { align-items: flex-start; }
#postModal .form-step:last-child { align-items: flex-end; }
#postModal .step-dot {
    width: 28px; height: 28px; border-width: 1.5px; font-size: var(--fs-sm); font-weight: 700;
    background: var(--surface); border-color: var(--border); color: var(--text-muted); box-shadow: none;
}
#postModal .form-step span { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted); white-space: nowrap; letter-spacing: 0; }
#postModal .form-step.active .step-dot {
    background: linear-gradient(135deg, var(--primary), var(--accent)); border: 0; color: var(--on-accent);
    box-shadow: var(--shadow-brand);
}
#postModal .form-step.active span { color: var(--text); font-weight: 700; }
#postModal .form-step.done .step-dot,
#postModal .form-step.completed .step-dot {
    background: var(--tint); border: 1.5px solid var(--tint-border); color: transparent; box-shadow: none; position: relative;
}
#postModal .form-step.done .step-dot::after,
#postModal .form-step.completed .step-dot::after {
    content: ''; position: absolute; inset: 0; background: var(--accent-text);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
#postModal .form-step.done span,
#postModal .form-step.completed span { color: var(--text-muted); font-weight: 600; }
#postModal .step-connector { margin: 13px 8px 0; min-width: 16px; height: 2px; }
#postModal .step-connector.done { background: var(--primary); }

/* სათაური: ემოჯი იმალება (ტექსტური კვანძია, ამიტომ ზომა 0) */
#postModal .form-page-title { font-size: 0; margin: 0 0 14px; text-align: left; }
#postModal .form-page-title span { font-size: var(--fs-lg); font-weight: 700; color: var(--text); }
#postModal .form-group { margin-bottom: 16px; text-align: left; }
/* საიდან/სად ერთმანეთის ქვეშ; თარიღი + წონა ორ სვეტად */
#postModal .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#postModal .form-row-2.form-row-route { grid-template-columns: 1fr; gap: 0; }
#postModal .form-row-2 > .form-group { min-width: 0; }
#postModal .custom-select-wrapper .select-input { padding: 0 14px; }
#postModal .flight-verify-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
#postModal .btn-verify-flight {
}
#postModal .flight-status { font-size: var(--fs-sm); font-weight: 600; margin-top: 6px; }
#postModal .price-suggestion {
    margin-top: 8px; padding: 10px 12px; border-radius: var(--r-sm);
    background: var(--tint); border: 1px solid var(--tint-border); font-size: var(--fs-sm); line-height: 1.45;
}
/* ნომრის და კოდის ბლოკი (config.js → buildPhoneBlock): css/fields.css, ოთხივე ადგილას ერთნაირი */
#postModal .file-upload-label {
    display: flex; align-items: center; gap: 12px;
}
#postModal .upload-done { border-radius: var(--r-sm); padding: 12px 14px; font-size: var(--fs-sm); }
#postModal .post-info-banner {
    display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm);
    background: color-mix(in srgb, var(--ok) 8%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 22%, transparent);
    font-size: var(--fs-sm); line-height: 1.55; color: var(--text);
}
#postModal .step-nav-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; margin-top: 22px; }
#postModal .step-nav-row > * { width: 100%; margin: 0; min-height: 50px; height: 50px; padding: 0 12px; }
#postModal .btn-next { width: 100%; margin-top: 22px; }
#postModal .step-nav-row > .btn-next { margin-top: 0; }

/* ── 9. შესვლა / რეგისტრაცია ─────────────────────────────── */
#authModal .auth-brand { font-size: var(--fs-xl); margin: 6px 0 18px; }
#authModal .auth-brand-name { color: var(--accent); }
#authModal .auth-tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 4px; margin-bottom: 18px;
    background: var(--surface-overlay); border: 1px solid var(--border); border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
}
#authModal .auth-tab { min-height: 44px; border-radius: var(--r-pill); font-size: var(--fs-md); font-weight: 600; color: var(--text-muted); }
#authModal .auth-tab.active { background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--on-accent); box-shadow: var(--shadow-brand); }
#authModal .auth-form .form-group { margin-bottom: 16px; }
#authModal .forgot-link { display: inline-flex; align-items: center; }
#authModal .social-auth { margin-top: 20px; }
#authModal .social-auth > p {
    display: flex; align-items: center; gap: 12px; margin: 0 0 12px;
    font-size: var(--fs-sm); color: var(--text-muted);
}
#authModal .social-auth > p::before,
#authModal .social-auth > p::after { content: ''; flex: 1; height: 1px; background: var(--border); }
#authModal .social-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#authModal .btn-google,
#authModal .btn-apple { width: 100%; margin: 0;
    background: var(--surface); border: 1.5px solid var(--border); color: var(--text); display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
#authModal .btn-apple.btn-soon { opacity: 0.55; }
#authModal .soon-badge {
    font-size: var(--fs-xs); font-weight: 700; color: var(--text-muted);
    background: var(--field-bg); border: 1px solid var(--border); border-radius: var(--r-xs); padding: 0 6px; line-height: 18px;
}
/* პაროლის სიძლიერე: ტექსტი მკრთალი, ფერი მხოლოდ ზოლზე */
#pwStrengthText, #pwMatchText { color: var(--text-muted) !important; font-size: var(--fs-sm); }

/* ── 10. კაბინეტი ───────────────────────────────────────── */
.cabinet-section { padding: 0 16px; margin-top: 16px; }
.cabinet-container { padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; }
.cabinet-header {
    display: flex; flex-direction: row; align-items: center; gap: 12px;
    padding: 0 0 4px; margin-bottom: 14px; background: none; border: 0; box-shadow: none;
}
.cabinet-header > div:first-child { flex: 1; min-width: 0; order: 0; }
.cabinet-header h2 { font-size: var(--fs-lg); font-weight: 700; line-height: 1.3; }
.cabinet-header .my-rating-display { font-size: var(--fs-sm); }
.cabinet-header-actions { display: contents; }
.cabinet-header #profileBtn {
    order: -1; width: 48px; height: 48px; border-radius: var(--r-round); flex-shrink: 0;
    font-size: var(--fs-lg); font-weight: 700; color: var(--on-accent); overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--accent)); border: 0;
}
.cabinet-header #notifPrefsBtn {
    order: 2; width: 44px; height: 44px; border-radius: var(--r-round); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--field-bg); border: 1px solid var(--border); color: var(--text);
}
.cabinet-header .btn-logout { display: none; }
.ph-gear { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.cabinet-tab-wrap { margin: 0 0 14px; }
.cabinet-tab-pill { width: 100%; max-width: none; }
.cabinet-tab-btn { min-height: 44px; font-size: var(--fs-sm); font-weight: 600; padding: 0 6px; text-transform: none; letter-spacing: 0; white-space: nowrap; }

#myTripsGrid, #myBookingsGrid { gap: 12px; }
#myTripsGrid .trip-card.tc-mine-v3,
#myBookingsGrid .trip-card.tc-mine-v3 {
    border-radius: var(--r-md) !important;
    border: 1px solid var(--border) !important;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.trip-card.tc-mine-v3.tcm-hdr-expired { opacity: 1; }
/* სტატუსის ზოლი → pill (ფერი მხოლოდ წერტილზე) */
.tc-mine-v3 .tcm-header {
    background: none; color: var(--text); padding: 14px 16px 0; gap: 8px; min-height: 32px;
    font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0; flex-wrap: wrap;
}
.tc-mine-v3 .tcm-hdr-icon { display: none; }
.tc-mine-v3 .tcm-hdr-status {
    height: 26px; padding: 0 10px; border-radius: var(--r-sm); gap: 6px;
    background: var(--field-bg); border: 1px solid var(--border); color: var(--text); white-space: nowrap;
}
.tc-mine-v3 .tcm-hdr-status::before { content: ''; width: 8px; height: 8px; border-radius: var(--r-round); background: var(--text-muted); }
.tc-mine-v3 .tcm-header.tcm-hdr-active .tcm-hdr-status::before,
.tc-mine-v3 .tcm-header.tcm-hdr-done .tcm-hdr-status::before { background: var(--ok); }
.tc-mine-v3 .tcm-header.tcm-hdr-pending .tcm-hdr-status::before { background: var(--warn); }
.tc-mine-v3 .tcm-header.tcm-hdr-rejected .tcm-hdr-status::before { background: var(--danger); }
.tc-mine-v3 .tcm-header.tcm-hdr-booked .tcm-hdr-status,
.tc-mine-v3 .tcm-header.tcm-hdr-progress .tcm-hdr-status { background: var(--tint); border-color: var(--tint-border); color: var(--accent-text); }
.tc-mine-v3 .tcm-header.tcm-hdr-booked .tcm-hdr-status::before,
.tc-mine-v3 .tcm-header.tcm-hdr-progress .tcm-hdr-status::before { display: none; }
.tc-mine-v3 .tcm-hdr-boost,
.tc-mine-v3 .tcm-hdr-tag,
.tc-mine-v3 .tcm-hdr-paid {
    height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: var(--r-sm);
    background: var(--field-bg); border: 1px solid var(--border); color: var(--text);
    font-size: var(--fs-sm); font-weight: 700; text-transform: none; letter-spacing: 0;
}
.tc-mine-v3 .tcm-hdr-paid::before { content: ''; width: 8px; height: 8px; border-radius: var(--r-round); background: var(--ok); margin-right: 6px; }
.tc-mine-v3 .tcm-hdr-del {
    margin-left: auto; width: 44px; height: 44px; margin-top: -9px; margin-right: -10px; margin-bottom: -9px;
    border-radius: var(--r-sm); background: none; box-shadow: none; color: var(--text-muted); font-size: var(--fs-lg);
}
/* body: სტატუსი → მარშრუტი → მეტა → ხაზი → დაბლოკვა → კოდი → ადამიანი → დახმარება */
.tc-mine-v3 .tcm-body { display: flex; flex-direction: column; padding: 10px 16px 16px; }
.tc-mine-v3 .tcm-body::before { display: none; }
.tc-mine-v3 .tcm-route { order: 1; margin: 0; gap: 6px; flex-wrap: wrap; }
.tc-mine-v3 .tcm-city { font-size: var(--fs-lg); font-weight: 700; max-width: none; white-space: normal; overflow: visible; letter-spacing: -0.2px; }
.tc-mine-v3 .tcm-route-line { flex: 0 0 auto; height: auto; background: none; }
.tc-mine-v3 .tcm-plane { padding: 0; font-size: 0; width: 15px; height: 15px; background: var(--primary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath transform='rotate(90 12 12)' d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath transform='rotate(90 12 12)' d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.tc-mine-v3 .tcm-chips { order: 2; display: block; margin: 3px 0 0; font-size: var(--fs-sm); color: var(--text-muted); }
.tc-mine-v3 .tcm-chip { display: inline; padding: 0; margin: 0; border: 0; background: none; box-shadow: none; white-space: nowrap; }
.tc-mine-v3 .tcm-chip + .tcm-chip::before { content: '· '; }
.tc-mine-v3 .tcm-chip-ico { display: none; }
.tc-mine-v3 .tcm-chip-val { font-size: var(--fs-sm); font-weight: 400; color: var(--text-muted); }
.tc-mine-v3 .tcm-chip-price .tcm-chip-val { font-weight: 700; color: var(--text); }
.tc-mine-v3 .tlv3 { order: 3; margin: 16px 0 4px; padding: 0; }
.tc-mine-v3 .tlv3::before { left: 8px; right: 8px; top: 7px; }
.tc-mine-v3 .tlv3-prog { left: 8px; top: 7px; width: calc((100% - 16px) * var(--tlv3-prog-f, 0)); background: var(--accent); }
.tc-mine-v3 .tlv3-step:first-of-type { align-items: flex-start; }
.tc-mine-v3 .tlv3-step:last-of-type { align-items: flex-end; }
.tc-mine-v3 .tlv3-dot { width: 16px; height: 16px; box-shadow: none; animation: none; }
.tc-mine-v3 .tlv3-dot.done { background: var(--accent); border-color: var(--accent); box-shadow: none; }
.tc-mine-v3 .tlv3-dot.cur { border: 5px solid var(--accent); box-shadow: none; }
.tc-mine-v3 .tlv3-sl { font-size: var(--fs-xs); font-weight: 400; }
.tc-mine-v3 .tlv3-step:has(.cur) .tlv3-sl { color: var(--text); font-weight: 700; }
.tc-mine-v3 .tcm-pay-box,
.tc-mine-v3 .split-box { order: 4; margin-top: 14px; background: none; border: 0; padding: 0; }
.tc-mine-v3 .split-note { font-size: var(--fs-sm); line-height: 1.5; color: var(--text); }
.tc-mine-v3 .bcp-code-panel { order: 5; }
/* მგზავრის მართვა: შიგთავსი ბარათის რიგში ერთვება, რომ „პრობლემა მაქვს“ ბოლოს, დახმარების სტრიქონებში დადგეს */
.tc-mine-v3 .traveler-controls { display: contents; }
.tc-mine-v3 .traveler-controls > .handover-confirm-box,
.tc-mine-v3 .traveler-controls > .split-note,
.tc-mine-v3 .traveler-controls > .btn-track { order: 5; margin-top: 14px; }
.tc-mine-v3 .tcv3-party { order: 6; }
.tc-mine-v3 .rejection-reason {
    order: 7; margin-top: 12px; padding: 10px 12px; border-radius: var(--r-sm); font-size: var(--fs-sm); line-height: 1.5;
    color: var(--text);
    background: color-mix(in srgb, var(--danger) 7%, transparent); border: 1px solid color-mix(in srgb, var(--danger) 20%, transparent);
}
.tc-mine-v3 .tc-btn-boost,
.tc-mine-v3 > .tcm-body > .tc-btn-secondary { order: 8; }
.tc-mine-v3 .tc-btn-boost {
    min-height: 44px; margin-top: 12px; border-radius: var(--r-sm); width: 100%;
    background: var(--tint); border: 1px solid var(--tint-border); color: var(--accent-text);
    font-size: var(--fs-md); font-weight: 600; box-shadow: none;
}
/* დახმარების სტრიქონები: 48px, ჩევრონით, SOS --danger */
.tc-mine-v3 .tc-btn-details { order: 9; }
.tc-mine-v3 .split-cancel-btn { order: 10; }
.tc-mine-v3 .bcp-dispute-btn { order: 11; }
.tc-mine-v3 .bcp-sos-btn { order: 12; }
.tc-mine-v3 .tc-btn-details:not(.bcp-code-resend),
.tc-mine-v3 .split-cancel-btn,
.tc-mine-v3 .bcp-sos-btn,
.tc-mine-v3 .bcp-dispute-btn,
.bcp-actions-rows .split-cancel-btn {
    display: flex; align-items: center; gap: 10px; width: 100%;
    min-height: 48px; margin: 0; padding: 0 2px; border-radius: 0;
    background: none; border: 0; border-top: 1px solid var(--border); box-shadow: none;
    font-size: var(--fs-md); font-weight: 600; color: var(--text); text-align: left;
}
.tc-mine-v3 .split-cancel-btn::after,
.tc-mine-v3 .bcp-sos-btn::after,
.tc-mine-v3 .bcp-dispute-btn::after {
    content: '›'; margin-left: auto; font-size: var(--fs-xl); line-height: 1; color: var(--text-muted);
}
.tc-mine-v3 .bcp-sos-btn,
.tc-mine-v3 .bcp-sos-btn::after { color: var(--danger); }
.tc-mine-v3 .tcv3-party + .tc-btn-details,
.tc-mine-v3 .traveler-controls .bcp-dispute-btn { margin-top: 12px; }

/* ადამიანი (მეორე მხარე) */
.tc-mine-v3 .tcv3-party {
    display: grid; grid-template-columns: 42px minmax(0,1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center;
    margin: 16px 0 12px; padding: 0; background: none; border: 0; border-radius: 0;
}
.tc-mine-v3 .tcv3-av { grid-row: 1 / 3; width: 42px; height: 42px; font-size: var(--fs-md); }
.tc-mine-v3 .tcv3-vb { display: none; }
.tc-mine-v3 .tcv3-pn .n { font-size: var(--fs-md); font-weight: 700; }
.tc-mine-v3 .tcv3-pn .sub { font-size: var(--fs-sm); color: var(--text-muted); }
.tc-mine-v3 .tcv3-party-chat-btn.tc-btn-secondary {
    grid-column: 3; grid-row: 1; transform: none; min-height: 44px; padding: 0 14px; border-radius: var(--r-sm);
    background: var(--surface); border: 1.5px solid var(--border); color: var(--text); font-size: var(--fs-sm); font-weight: 600;
}
.tc-mine-v3 .tcv3-stars { grid-column: 2; grid-row: 2; justify-self: start; font-size: var(--fs-sm); }
.tc-mine-v3 .tcv3-stars .big { font-size: var(--fs-sm); }
.tc-mine-v3 .tcm-contact,
.tc-mine-v3 .tcm-phone-slot { grid-column: 2 / -1; }
.tcm-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.tcm-contact-note { font-size: var(--fs-sm); color: var(--text-muted); }
.tcm-contact-btn { text-align: left;
}
.tcm-contact-pending { font-size: var(--fs-sm); color: var(--text-muted); }

/* გადაცემის კოდი (გამგზავნი): tint ყუთი, 4 ციფრი, „კოდის ნახვა“ მთავარი ღილაკის იერით */
.bcp-code-panel {
    margin-top: 16px; padding: 14px; border-radius: var(--r-md);
    background: var(--tint); border: 1px solid var(--tint-border);
    display: flex; flex-direction: column;
}
.bcp-code-panel .bcp-code-emailed-text { display: none; }
.bcp-code-ph-head { display: block; }
.bcp-code-ph-title { display: flex; align-items: center; gap: 8px; font-size: var(--fs-md); font-weight: 700; color: var(--text); }
.bcp-code-ph-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.bcp-code-ph-title .bcp-code-ph-ico { color: var(--accent-text); }
.bcp-code-ph-head p { font-size: var(--fs-sm); line-height: 1.5; margin: 4px 0 0; color: var(--text); }
.bcp-code-panel .bcp-code-reveal {
    display: flex; flex-direction: column; gap: 12px; margin: 12px 0 0; padding: 0;
    background: none; border: 0; box-shadow: none; cursor: pointer;
}
.bcp-code-panel .bcp-code-label { display: none; }
.bcp-code-panel .bcp-code-digits {
    display: flex; gap: 8px; filter: none; letter-spacing: 0; font-size: 0; padding: 0; background: none;
}
.bcp-code-digit {
    flex: 1; height: 48px; border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    background: var(--surface); border: 1px solid var(--border);
    font-size: var(--fs-xl); font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums;
}
.bcp-code-blurred .bcp-code-digit { color: var(--text-muted); }
.bcp-code-panel .bcp-code-tap-hint {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; border-radius: var(--r-sm); margin: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--on-accent);
    font-size: var(--fs-md); font-weight: 700; box-shadow: var(--shadow-brand); opacity: 1;
}
.bcp-code-tap-hint .bcp-code-ph-ico { display: block; }
.bcp-code-panel .code-status.error {
    order: 3; margin-top: 10px; gap: 6px; align-items: flex-start;
    font-size: var(--fs-sm); font-weight: 600; line-height: 1.45; color: var(--danger); text-align: left;
}
.bcp-code-panel .code-status.error:not([style*="none"]) { display: flex; }
.bcp-code-panel .code-status.error::before {
    content: ''; width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='7.5' x2='12' y2='13'/%3E%3Ccircle cx='12' cy='16.4' r='0.8' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='7.5' x2='12' y2='13'/%3E%3Ccircle cx='12' cy='16.4' r='0.8' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bcp-code-panel .bcp-code-resend,
.bcp-code-panel .tc-btn-details.bcp-code-resend {
    order: 4; display: flex; align-items: center; justify-content: center;
    width: 100%; min-height: 44px; margin: 4px 0 0; padding: 0 8px;
    background: none; border: 0; box-shadow: none; border-radius: var(--r-sm);
    color: var(--accent-text); font-size: var(--fs-sm); font-weight: 600;
}
.bcp-code-panel .bcp-code-resend:active { background: var(--tint); }

/* მგზავრის კოდის ველი */
.handover-confirm-box {
    padding: 14px; border-radius: var(--r-md); background: var(--tint); border: 1px solid var(--tint-border);
}
/* base.css ≤768-ზე ველებს 16px-ს !important-ით აძლევს (iOS zoom); აქ უფრო სპეციფიკური წესი იგებს */
.handover-confirm-box .handover-input.handover-input:not([type="checkbox"]) {
    width: 100%; min-height: 56px; border-radius: var(--r-sm); text-align: center;
    background: var(--surface); border: 1.5px solid var(--border);
    font-size: var(--fs-xl) !important; font-weight: 700; letter-spacing: 8px; font-variant-numeric: tabular-nums;
}
.handover-confirm-box .handover-input::placeholder { font-size: var(--fs-md); letter-spacing: normal; word-spacing: normal; font-weight: 400; }
.handover-input:focus { border-color: var(--primary); box-shadow: var(--ring); outline: none; }
.handover-hint { font-size: var(--fs-sm); color: var(--text-muted); margin: 8px 0 0; }
.traveler-controls .btn-track { width: 100%; margin-top: 10px; }
.split-note.split-ok,
.split-note.split-warn { padding: 0; background: none; border: 0; }

/* გამოწერილი მარშრუტები */
.subscriptions-list { margin-top: 22px !important; }

/* ── 11. ჯავშნის გვერდი (BCP) ───────────────────────────── */
#bookingConfirmPage { padding: 18px 16px 0; }
.bcp-container { padding: 0; max-width: none; background: none; border: 0; box-shadow: none; }
.bcp-success-header { text-align: center; padding: 8px 8px 4px; }
.bcp-success-header .bcp-icon {
    width: 60px; height: 60px; border-radius: var(--r-round); margin: 0 auto 12px;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--ok) 14%, transparent); font-size: var(--fs-2xl);
}
.bcp-success-header h2 { font-size: var(--fs-xl); font-weight: 700; }
.bcp-success-header p { font-size: var(--fs-md); color: var(--text-muted); margin-top: 6px; line-height: 1.5; }
.bcp-status-banner {
    margin: 18px 0 0; padding: 16px 16px 4px; border-radius: var(--r-md) var(--r-md) 0 0;
    background: var(--surface); border: 1px solid var(--border); border-bottom: 0;
    font-size: var(--fs-md); font-weight: 700; color: var(--text); text-align: left;
}
.bcp-status-banner + .bcp-card { margin-top: 0 !important; border-top: 0; border-radius: 0 0 var(--r-md) var(--r-md) !important; padding: 8px 16px 16px !important; }
/* ხაზი ვერტიკალურად (5 ნაბიჯი) */
#bcpContent .timeline-track { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
#bcpContent .timeline-step { flex-direction: row; align-items: center; gap: 12px; min-height: 34px; }
#bcpContent .timeline-dot {
    width: 20px; height: 20px; min-width: 20px; font-size: 0; border-radius: var(--r-round);
    background: var(--surface); border: 2px solid var(--border); box-shadow: none; animation: none;
}
#bcpContent .timeline-step.done .timeline-dot { background: var(--accent); border-color: var(--accent); }
#bcpContent .timeline-step.active .timeline-dot { background: var(--surface); border: 6px solid var(--accent); }
#bcpContent .timeline-label { font-size: var(--fs-sm); color: var(--text-muted); font-weight: 400; text-align: left; white-space: normal; }
#bcpContent .timeline-step.active .timeline-label { color: var(--text); font-weight: 700; }
#bcpContent .timeline-line {
    width: 2px !important; min-width: 2px; max-width: 2px; height: 14px; min-height: 14px;
    flex: 0 0 auto; margin: -7px 0 -7px 9px; padding: 0;
    background: var(--border);
}
#bcpContent .timeline-line.done { background: var(--accent); }
.bcp-section-title { font-size: var(--fs-sm); font-weight: 700; color: var(--text-muted); margin: 20px 4px 8px; text-transform: none; letter-spacing: 0; }
#bcpContent .bcp-card { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); padding: 2px 16px; }
.bcp-row { padding: 12px 0; font-size: var(--fs-sm); gap: 12px; }
.bcp-row > span { color: var(--text-muted); }
.bcp-row strong span { color: inherit; }
.bcp-row strong { font-weight: 600; text-align: right; }
.bcp-row.bcp-row-total strong { font-weight: 700; font-size: var(--fs-lg); }
#bcpContent .split-box { margin-top: 14px; padding: 0 4px; background: none; border: 0; }
#bcpContent .bcp-traveler { padding: 14px 16px; }
.bcp-traveler-name { font-size: var(--fs-md); font-weight: 700; }
.bcp-ok-ic {
    display: inline-flex; width: 20px; height: 20px; border-radius: var(--r-round); margin-right: 8px; vertical-align: -5px;
    align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok);
}
.bcp-ok-ic svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.bcp-ticket-status { font-size: var(--fs-sm); margin-top: 8px; color: var(--text); }
.bcp-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.bcp-actions > * { width: 100%; min-height: 48px; border-radius: var(--r-sm); margin: 0; }
.bcp-actions .tc-btn-secondary { }
#bcpContent > .split-cancel-btn,
#bcpContent > .bcp-dispute-btn,
#bcpContent > .bcp-sos-btn {
    display: flex; align-items: center; width: 100%; min-height: 48px; margin: 10px 0 0; padding: 0 16px;
    border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border); box-shadow: none;
    font-size: var(--fs-md); font-weight: 600; color: var(--text); text-align: left;
}
#bcpContent > .split-cancel-btn::after,
#bcpContent > .bcp-dispute-btn::after,
#bcpContent > .bcp-sos-btn::after { content: '›'; margin-left: auto; font-size: var(--fs-xl); line-height: 1; color: var(--text-muted); }
#bcpContent > .bcp-sos-btn, #bcpContent > .bcp-sos-btn::after { color: var(--danger); }
#bookingConfirmPage .bcp-container > .btn-submit {
    width: 100%; margin-top: 20px !important;
}

/* ── 12. ჩატი ────────────────────────────────────────────── */
.chat-panel {
    top: 44px; bottom: 0; height: auto; max-height: none;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    background: var(--surface-overlay);
}
.chat-header { padding: 10px 12px 10px 16px; gap: 10px; border-bottom: 1px solid var(--border); background: var(--surface-overlay); }
.chat-header-info {
    display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 10px; align-items: center; min-width: 0; flex: 1;
}
.chat-header-icon { display: none; }
.chat-av {
    display: flex; grid-row: 1 / 3; width: 40px; height: 40px; border-radius: var(--r-round);
    align-items: center; justify-content: center; font-size: var(--fs-md); font-weight: 700; color: var(--on-accent);
    background: linear-gradient(135deg, var(--primary), var(--accent));
}
.chat-header-title { font-size: var(--fs-md); font-weight: 700; line-height: 1.3; color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-sub { display: block; font-size: var(--fs-sm); color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-sub:empty { display: none; }
.chat-minimize-btn, #closeChatBtn {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); background: none; border: 0; font-size: var(--fs-xl);
}
.chat-messages { padding: 16px; gap: 8px; }
.chat-bubble { max-width: 78%; padding: 9px 13px 7px; border-radius: var(--r-md); font-size: var(--fs-md); line-height: 1.45; }
.chat-bubble.theirs { background: var(--field-bg); border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: var(--r-xs); }
.chat-bubble.mine {
    background: var(--tint-strong); border: 1px solid var(--tint-border); color: var(--text);
    border-bottom-right-radius: var(--r-xs); box-shadow: none;
}
.chat-bubble.mine * { color: inherit; }
.chat-time { font-size: var(--fs-xs); color: var(--text-muted) !important; }
.chat-read-receipt { color: var(--accent-text) !important; font-weight: 700; }
.chat-input-row { gap: 8px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--surface-overlay); }
.chat-input { min-height: 48px; border-radius: var(--r-md); padding: 0 16px; background: var(--field-bg); border: 1.5px solid var(--border); }
.chat-send-btn {
    width: 48px; height: 48px; min-width: 48px; border-radius: var(--r-round); padding: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--on-accent); box-shadow: var(--shadow-brand);
}
.chat-send-txt { display: none; }
.chat-send-ico { display: block; width: 20px; height: 20px; margin-left: -2px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── 13. პროფილი ─────────────────────────────────────────── */
#profileModal .legal-header { position: static; background: none; box-shadow: none; justify-content: flex-start; text-align: left; margin: 0 56px 8px 0; min-height: 44px; display: flex; align-items: center; gap: 0; padding: 0; border: 0; }
#profileModal .legal-header .legal-icon { display: none; }
#profileModal .legal-header h2 { font-size: var(--fs-xl); font-weight: 700; margin: 0; }
#profileModal .close-btn { top: 27px; }
#profileModal .legal-body { padding: 0; max-height: none; overflow: visible; }
#profileModal .profile-photo-section { display: flex; align-items: center; gap: 14px; margin: 8px 0 0; padding: 0; background: none; border: 0; }
#profileModal .profile-photo-wrap { width: 72px; height: 72px; flex-shrink: 0; }
#profileModal .profile-photo-name { font-size: var(--fs-lg); font-weight: 700; }
#profileModal .profile-photo-hint { font-size: var(--fs-sm); color: var(--text-muted); }
/* ნდობის ბარათი: წრე, დონე და ჩამონათვალი ერთ ყუთში */
#profileModal .profile-trust { margin: 16px 0 0; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
#profileModal .pts-card { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
#profileModal .pts-breakdown { margin-top: 14px; padding: 12px 0 0; border-top: 1px solid var(--border); }
#profileModal .pts-ring-wrap, #profileModal .pts-ring { width: 76px; height: 76px; }
#profileModal .pts-title { font-size: var(--fs-lg); font-weight: 700; }
#profileModal .pts-level { color: var(--text-muted) !important; font-weight: 400; font-size: var(--fs-sm); }
#profileModal .pts-breakdown-title { text-transform: none; letter-spacing: 0; font-size: var(--fs-sm); }
/* ველები: ერთ ყუთში სტრიქონებად */
#profileModal .legal-section {
    margin: 0; padding: 12px 16px; border-radius: 0;
    background: var(--surface); border: 1px solid var(--border); border-top: 0; box-shadow: none;
}
#profileModal .profile-trust + .legal-section { margin-top: 14px; border-top: 1px solid var(--border); border-radius: var(--r-md) var(--r-md) 0 0; }
#profileModal .legal-section:has(+ .profile-logout) { border-radius: 0 0 var(--r-md) var(--r-md); }
#profileModal .legal-section h4 { font-size: var(--fs-sm); font-weight: 400; color: var(--text-muted); margin: 0 0 2px; text-transform: none; letter-spacing: 0; }
#profileModal .profile-edit-row { display: flex; align-items: center; gap: 12px; min-height: 44px; }
#profileModal .profile-value { flex: 1; min-width: 0; font-size: var(--fs-md); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
#profileModal .profile-edit-btn { flex-shrink: 0;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 013 3L7 19l-4 1 1-4 12.5-12.5z'/%3E%3C/svg%3E") center / 20px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 013 3L7 19l-4 1 1-4 12.5-12.5z'/%3E%3C/svg%3E") center / 20px no-repeat;
}
#profileModal .profile-help-links { display: flex; flex-direction: column; gap: 0; }
#profileModal .profile-help-link {
    display: flex; align-items: center; min-height: 48px; font-size: var(--fs-md); font-weight: 600; color: var(--text);
    padding: 0; background: none; border: 0; border-top: 1px solid var(--border); border-radius: 0;
}
#profileModal .profile-help-link:first-child { border-top: 0; }
#profileModal .profile-help-link::after { content: '›'; margin-left: auto; font-size: var(--fs-xl); color: var(--text-muted); }
.profile-logout {
    display: flex; align-items: center; width: 100%; min-height: 56px; margin: 14px 0 0; padding: 0 16px;
    border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    font: inherit; font-size: var(--fs-md); font-weight: 600; color: var(--text); text-align: left; cursor: pointer;
}
#profileModal .legal-highlight {
    margin-top: 14px; border-radius: var(--r-sm); border: 1px solid var(--tint-border); background: var(--tint);
    font-size: var(--fs-sm); line-height: 1.55;
}
#profileModal .danger-zone { margin-top: 14px; border-radius: var(--r-md); border: 1px solid var(--border); padding: 14px 16px; }
#profileModal .danger-zone h4 { font-size: var(--fs-sm); font-weight: 700; color: var(--text); }
#profileModal .btn-delete-account { }
#profileModal .danger-zone-link { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-sm); color: var(--accent-text); font-weight: 600; }

/* ── 14. შეტყობინებები: ქვედა ფანჯარა ───────────────────── */
.notif-panel {
    top: 44px; bottom: 0; left: 0; right: 0; width: auto; max-height: none;
    border-radius: var(--r-lg) var(--r-lg) 0 0; border: 0;
    padding: 10px 16px calc(16px + env(safe-area-inset-bottom));
    z-index: 1700;
    transform: translateY(100%); opacity: 1;
    box-shadow: 0 0 0 100vmax var(--scrim), var(--shadow-lg);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.3s ease;
}
.notif-panel:not(.show) { box-shadow: none; }
.notif-panel.show { transform: translateY(0); }
.notif-panel::before { content: ''; display: block; width: 40px; height: 5px; border-radius: var(--r-xs); background: var(--border); margin: 0 auto 12px; flex-shrink: 0; }
.notif-panel-header { padding: 0; min-height: 44px; font-size: var(--fs-xl); font-weight: 700; border: 0; }
.notif-panel-header .chat-close-btn { display: flex; align-items: center; justify-content: center;
}
.enable-notif-btn { margin: 10px 0 0; width: 100%;
}
/* მარცხენა 12px — წაუკითხავის წერტილისთვის (left: -10px), ჰორიზონტალური scroll არ ჩნდება */
.notif-panel-body { padding: 0 0 0 12px; margin: 8px 0 0 -12px; max-height: none; flex: 1; overflow-y: auto; overflow-x: hidden; }
.notif-panel-body .notif-item {
    position: relative; display: flex; align-items: flex-start; gap: 8px;
    padding: 12px 0 12px 52px; margin: 0; min-height: 64px;
    background: none; border: 0; border-top: 1px solid var(--border); border-radius: 0; box-shadow: none;
    font-size: var(--fs-md); line-height: 1.45; color: var(--text);
}
.notif-panel-body .notif-item:first-child { border-top: 0; }
.notif-panel-body .notif-item-content { flex: 1; min-width: 0; }
.notif-panel-body .notif-ic {
    position: absolute; left: 0; top: 12px; width: 40px; height: 40px; border-radius: var(--r-round);
    display: flex; align-items: center; justify-content: center; font-size: var(--fs-lg);
    background: var(--field-bg); border: 1px solid var(--border);
}
.notif-panel-body .notif-unread .notif-item-content { font-weight: 600; }
.notif-panel-body .notif-unread::before {
    content: ''; position: absolute; left: -10px; top: 29px; width: 6px; height: 6px; border-radius: var(--r-round); background: var(--accent);
}
.notif-panel-body .notif-delete-btn {
    width: 44px; margin: -10px -12px 0 0; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; opacity: 1;
}
.notif-panel-body .notif-action-hint { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--accent-text); margin-top: 3px; }
.notif-panel-body .notif-offer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.notif-panel-body .notif-offer-btn { }
.notif-panel-body .notif-offer-btn.decline { }
.notif-clear-all { display: block; margin: 6px auto 0; min-height: 44px; background: none; border: 0; color: var(--text-muted); font-size: var(--fs-sm); font-weight: 600; }
.notif-empty .notif-empty-desk { display: none; }
.notif-empty .notif-empty-ph { display: flex; padding-top: 40px; }

/* ── 15. მისალმება (ქვედა ფანჯრად) ──────────────────────── */
#welcomeModal .welcome-card {
    width: 100%; max-width: none; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0;
    padding: 10px 0 calc(30px + env(safe-area-inset-bottom)); background: var(--surface);
}
/* გვერდითი დაშორება სლაიდის შიგნითაა, თორემ მეზობელი სლაიდის ტექსტი კიდეზე ჩანდა */
#welcomeModal .welcome-slide { padding: 8px 20px 0; }
#welcomeModal .welcome-actions,
#welcomeModal .welcome-cta { padding: 0 16px; }
#welcomeModal .welcome-card::before { content: ''; display: block; width: 40px; height: 5px; border-radius: var(--r-xs); background: var(--border); margin: 0 auto 4px; }
#welcomeModal .welcome-skip { top: 14px; right: 12px; }
#welcomeModal .welcome-emoji {
    width: 88px; height: 88px; border-radius: var(--r-round); margin: 26px auto 18px;
    display: flex; align-items: center; justify-content: center; font-size: var(--fs-3xl);
    background: var(--tint); border: 1px solid var(--tint-border); animation: none;
}
#welcomeModal .welcome-title { font-size: var(--fs-xl); font-weight: 700; line-height: 1.35; }
#welcomeModal .welcome-sub { font-size: var(--fs-md); color: var(--text-muted); line-height: 1.55; margin-top: 10px; }
#welcomeModal .welcome-dots { gap: 8px; margin: 22px 0 18px; }
#welcomeModal .welcome-dot { width: 8px; height: 8px; border-radius: var(--r-xs); background: var(--border); }
#welcomeModal .welcome-dot.active { width: 22px; background: var(--accent); }
#welcomeModal .welcome-next,
#welcomeModal .welcome-cta-a { width: 100%; }
#welcomeModal .welcome-cta { flex-direction: column; gap: 10px; }
#welcomeModal .welcome-cta-b {
    width: 100%;
}

/* ── 16. მოძრაობის შემცირება ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    #tripSheet > .modal-content, #bookingModal > .modal-content, #postModal > .modal-content,
    #authModal > .modal-content, #profileModal > .modal-content, .notif-panel, .cookie-banner { transition: none; }
}

} /* @media (max-width: 748px) */

/* ── ≤650px: ძებნის გაშლილი ბარათი (ტოგლი მხოლოდ აქ არსებობს) ── */
@media (max-width: 650px) {
    body.mobile-search-open #searchBox {
        display: grid; grid-template-columns: 1fr; gap: 8px;
        padding: 14px 14px 6px; margin-top: 18px; border-radius: var(--r-md) var(--r-md) 0 0;
        background: var(--surface); border: 1px solid var(--border); border-bottom: 0; box-shadow: none;
    }
    #searchBox .search-fields-row { display: grid; gap: 8px; position: relative; }
    #searchBox .custom-select-wrapper,
    #searchBox .search-date-wrapper {
        border: 1.5px solid var(--border); border-radius: var(--r-sm); background: var(--field-bg); width: 100%;
    }
    #searchBox .search-field-inner { height: 58px; padding: 0 56px 0 14px; }
    #searchBox .search-date-wrapper .search-field-inner { padding-right: 14px; }
    #searchBox .search-float-label { left: 14px; font-size: var(--fs-md); font-weight: 400; }
    #searchBox .search-field-inner:focus-within .search-float-label,
    #searchBox .search-field-inner.has-value .search-float-label {
        top: 8px; font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted); text-transform: none; letter-spacing: 0;
    }
    #searchBox .search-float-input,
    #searchBox .search-date-input { padding: 0 14px 9px; font-size: var(--fs-md); font-weight: 600; }
    #searchBox .search-swap-btn {
        position: absolute; right: 10px; top: 50%; transform: translateY(-50%) rotate(90deg);
        width: 44px; height: 44px; margin: 0; z-index: 3;
        background: var(--surface); border: 1.5px solid var(--border); color: var(--accent-text);
        box-shadow: var(--shadow-sm);
    }
    #searchBox .search-swap-btn:hover, #searchBox .search-swap-btn:active { transform: translateY(-50%) rotate(90deg); background: var(--surface); color: var(--accent-text); }
    #searchBox .search-bottom-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 0; }
    #searchBox .btn-search { width: auto; }
    /* ფილტრები ძებნის ბარათის ქვედა ნაწილია (ერთი ბარათი) */
    body.mobile-search-open .adv-filter-wrap {
        margin-top: 0; padding: 0 14px 6px; text-align: center;
        background: var(--surface); border: 1px solid var(--border); border-top: 0;
        border-radius: 0 0 var(--r-md) var(--r-md); box-shadow: var(--shadow-sm);
    }
    .adv-filter-toggle { }
    .adv-filter-toggle::before {
        content: ''; width: 16px; height: 16px;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cline x1='4' y1='6' x2='20' y2='6'/%3E%3Cline x1='7' y1='12' x2='17' y2='12'/%3E%3Cline x1='10' y1='18' x2='14' y2='18'/%3E%3C/svg%3E") center / contain no-repeat;
                mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cline x1='4' y1='6' x2='20' y2='6'/%3E%3Cline x1='7' y1='12' x2='17' y2='12'/%3E%3Cline x1='10' y1='18' x2='14' y2='18'/%3E%3C/svg%3E") center / contain no-repeat;
    }
}

/* ჩატის მრგვალი ღილაკი კაბინეტსა და ჯავშნის გვერდზე ტელეფონზე იმალება: აქ ყოველ
   ჯავშანს თავისი „მიწერეთ“ აქვს, ღილაკი კი მას ფარავდა. ინლაინ display-ს JS წერს,
   ამიტომ !important. სექციებს ui.js/bookings.js style.display-ით აჩენს. */
@media (max-width: 748px) {
    body:has(#userCabinet:not([style*="none"])) .chat-fab,
    body:has(#bookingConfirmPage:not([style*="none"])) .chat-fab {
        display: none !important;
    }
}
