/* ============================================================================
   public.css — PUBLIC (anonim) sayfaların ORTAK tasarım sistemi.

   KAYNAK: Views/Home/Index.cshtml (2026-08-14 landing yeniden tasarımı). Buradaki
   token'lar, kabuk (topbar/header/drawer/footer), ilan tablosu ve filtre/aramalı
   select kuralları o sayfadan BİREBİR çıkarılmıştır — amaç, anasayfadan ayrılan
   her public sayfanın (ilan listesi, ilan detayı, rol kapıları) aynı görsel dili
   konuşması.

   ⚠ Index.cshtml kendi inline <style> bloğunu KORUR (tek dosya, Layout=null).
   Bu dosyadaki ortak bölümlerde ölçü/renk değiştirirsen Index.cshtml'deki
   karşılığını da güncelle — iki taraf sapınca sayfalar birbirinden ayrışır.

   TASARIM KURALLARI (kullanıcı kararı: "kurumsal, sade, premium"):
   • Aksan marka yeşili (--brand #01A249); metin/koyu yüzey antrasit (--ink #2A3540).
   • ROL RENKLERİ yalnız "bu kimin için" bilgisini taşıyan yüzeylerde: gönderici
     turuncu, taşıyıcı turkuaz, üye yeşil, admin indigo.
   • Gradient YOK. Renkli glow gölge YOK. Gölgeler nötr ve düşük opaklıkta.
   • EMOJİ İKON YOK — ikonlar _PublicIcons.cshtml sprite'ından gelir (#i-*),
     1.6px stroke, currentColor.
   ========================================================================== */

:root {
    /* Marka — logodan (at-logo.png) piksel örneklemesiyle alındı */
    --brand: #01A249;
    --brand-dark: #017F39;
    --brand-soft: #E9F6EE;
    --ink: #2A3540; /* logo antrasiti — ana metin + koyu yüzey */
    --ink-900: #1C242C; /* footer / koyu bant */
    --ink-700: #4C5865;
    --ink-500: #6E7A87;
    --ink-300: #9BA5AF;
    /* Rol renkleri — 2026-08-18 kullanıcı kararı: Gönderici/Taşıyıcı paleti /Account
       kapı sayfalarındaki DERİN tonlara çekildi (auth.css accent-strong değerleri):
       gönderici #EA580C, taşıyıcı #0E7490 (petrol). `*-fill` buton dolgusu, `*-deep`
       hover koyusudur. ⚠ Panel area temaları (Customer #F97316 / Truck #06B6D4)
       HENÜZ eski tonda — panel redesign'ında bu palete geçecek (eski logo gibi). */
    --customer: #EA580C;
    --customer-fill: #EA580C;
    --customer-deep: #C2410C;
    --truck: #0E7490;
    --truck-fill: #0E7490;
    --truck-deep: #155E75;
    --member: #22C55E;
    --member-ink: #15803D;
    /* Kooperatif — derin amber (2026-08-23 roadmap kararı; deep beyaz yazıyla AA geçer). */
    --cooperative: #B45309;
    --cooperative-fill: #B45309;
    --cooperative-deep: #92400E;
    --admin: #6366F1;
    --admin-ink: #4F46E5;
    --superadmin: #8B5CF6;
    --superadmin-ink: #6D28D9;
    --line: #E3E7EA;
    --line-soft: #EEF1F3;
    --surface: #FFFFFF;
    --surface-2: #F7F8F9;
    /* Sayfanın TEK genişlik ölçüsü — topbar, header ve tüm bölümler bunu kullanır.
       İç genişlik = --maxw − 48. İlan tablosunun min-width'i bunu AŞARSA tablo her
       ekranda yatay kaydırma çıkarır; üçünü (kap, taban, kolon %) birlikte hesapla. */
    --maxw: 1280px;
    --radius: 14px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(20,28,36,.05);
    --shadow-md: 0 10px 30px rgba(20,28,36,.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* .btn gibi display'i inline-flex olan öğelerde `hidden` niteliği tek başına yetmez. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body.pub {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background: var(--surface);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; }
a { color: inherit; }

/* SVG sprite ikonları — tek boy sınıfı, renk currentColor'dan gelir. */
.ic { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 16px; height: 16px; stroke-width: 1.7; }
.ic-fill { fill: currentColor; stroke: none; }

/* ── Ortak yapı taşları ─────────────────────────────────────────────────── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section[id] { scroll-margin-top: 96px; }
.sect { padding: 92px 0; }
.sect-sm { padding: 56px 0; }
.sect-alt { background: var(--surface-2); }
.sect-dark { background: var(--ink-900); color: #fff; }

.sect-head { max-width: 660px; margin-bottom: 48px; }
.sect-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--ink-500);
    margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.sect-head.center .eyebrow { justify-content: center; }
.sect-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 2.8vw, 2.3rem);
    line-height: 1.18;
    letter-spacing: -.025em;
    color: var(--ink);
}
.sect-dark .sect-title { color: #fff; }
.sect-dark .eyebrow { color: rgba(255,255,255,.6); }
.lead { margin-top: 14px; font-size: 1.02rem; line-height: 1.7; color: var(--ink-500); }

/* ── Butonlar ───────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 46px;
    padding: 0 22px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: .94rem;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s, border-color .18s, color .18s, box-shadow .18s, transform .18s;
}
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 6px 18px rgba(1,162,73,.24); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-300); background: var(--surface-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-900); }
/* Rol butonları — ikisi de DOLU (kullanıcı kararı): header hero ile aynı dili konuşsun. */
.btn-customer { background: var(--customer-fill); color: #fff; }
.btn-customer:hover { background: var(--customer-deep); box-shadow: 0 6px 18px rgba(234,88,12,.26); }
.btn-truck { background: var(--truck-fill); color: #fff; }
.btn-truck:hover { background: var(--truck-deep); box-shadow: 0 6px 18px rgba(14,116,144,.3); }
.btn-sm { height: 40px; padding: 0 18px; font-size: .88rem; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 1rem; }
.btn:active { transform: translateY(1px); }

/* ═══ TOPBAR ═══════════════════════════════════════════════════════════════ */
/* Yazılar koyu zeminde net beyaz: %66 opaklık gri okunmuyordu (kullanıcı geri bildirimi). */
.topbar { background: var(--ink-900); color: rgba(255,255,255,.72); font-size: .84rem; }
.topbar-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.tb-left { display: flex; align-items: center; gap: 24px; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 500; text-decoration: none; transition: color .16s; }
.tb-item:hover { color: var(--brand); }
.tb-item .ic { stroke-width: 1.6; color: rgba(255,255,255,.55); }
.tb-item:hover .ic { color: var(--brand); }
.tb-right { letter-spacing: .3px; color: rgba(255,255,255,.72); }

/* ═══ HEADER ═══════════════════════════════════════════════════════════════ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.94);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s;
}
.navbar.scrolled { box-shadow: 0 1px 16px rgba(20,28,36,.07); }
.nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    height: 74px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
/* 42→48 (2026-08-18 kullanıcı geri bildirimi "logo küçük duruyor").
   ⚠ Index.cshtml kendi kopyasını taşır — orayla senkron tut. */
.brand-mark { height: 48px; width: auto; display: block; }
.brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.55rem;
    letter-spacing: -.02em;
    line-height: 1;
    white-space: nowrap;
}
.bn-a { color: var(--brand); }
.bn-t { color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
    position: relative;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: .92rem;
    font-weight: 500;
    color: var(--ink-700);
    text-decoration: none;
    transition: color .16s, background .16s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a.is-current { color: var(--brand); font-weight: 600; }
.nav-links a.is-current::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 14px; }
.nav-cta .btn { height: 42px; font-size: .9rem; padding: 0 18px; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 9px; margin-left: auto; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; transform-origin: center; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══ MOBİL DRAWER ═════════════════════════════════════════════════════════ */
.mob-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(28,36,44,.5);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s, visibility .22s;
}
.mob-nav-overlay.show { opacity: 1; visibility: visible; }
.mob-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    width: min(320px, 86vw);
    background: #fff;
    transform: translateX(100%);
    transition: transform .26s cubic-bezier(.2,.8,.2,1);
    box-shadow: -4px 0 28px rgba(20,28,36,.16);
    display: flex;
    flex-direction: column;
    overscroll-behavior: contain;
}
.mob-nav-drawer.open { transform: translateX(0); }
.mob-nav-drawer-hd { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.mob-nav-drawer-hd .brand-mark { height: 34px; }
.mob-nav-drawer-hd .brand-name { font-size: 1.25rem; }
.mob-nav-drawer-x {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-700);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .14s;
}
.mob-nav-drawer-x .ic { width: 17px; height: 17px; stroke-width: 2; }
.mob-nav-drawer-x:hover { background: var(--surface-2); }
.mob-nav-drawer-bd { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 2px; -webkit-overflow-scrolling: touch; }
.mob-nav-drawer-bd a {
    padding: 13px 15px;
    border-radius: 9px;
    font-size: .96rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    transition: background .14s, color .14s;
}
.mob-nav-drawer-bd a:hover { background: var(--surface-2); }
.mob-nav-drawer-bd a.is-current { color: var(--brand); font-weight: 600; background: var(--brand-soft); }
.mob-nav-drawer-ft { padding: 14px 16px 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; flex-shrink: 0; }
.mob-nav-drawer-ft .btn { width: 100%; }
html.mob-nav-open, body.mob-nav-open { overflow: hidden; }

/* ═══ SAYFA BAŞLIĞI (iç sayfaların hero'su) ════════════════════════════════ */
/* Anasayfanın fotoğraflı hero'sunun sade karşılığı: ince bir üst şerit.
   Breadcrumb + başlık + açıklama. Dekor yok. */
.page-head { background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 30px 0 38px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--ink-500); margin-bottom: 16px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--ink-500); transition: color .16s; }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { color: var(--ink-300); }
.crumbs .cur { color: var(--ink); font-weight: 600; }
.page-head h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: -.025em;
    color: var(--ink);
}
.page-head .lead { max-width: 640px; }

/* ── AÇIK YEŞİL VARYANT (.page-head.is-brand) ──
   Liste ve detay sayfalarının başlığı için. Evrimi: antrasit "çok koyu" bulundu
   → doygun marka yeşili → o da koyu bulundu → 2026-08-18 kullanıcı kararı:
   "hafif bir yeşilimsi ton". Bant artık AÇIK yeşil (--brand-soft) zemin + koyu
   mürekkep yazıdır; metin renkleri normal sayfa değerleridir. İki iş yapar:
   (1) beyaz kartların üstünde yumuşak bir marka zemini kurar,
   (2) altındaki kartı NEGATİF MARGIN ile içine çeker (.pull-up) → başlıkla tablo
       arasındaki boşluk kapanır. `.is-brand` kullanan sayfada bölümün üst
       padding'ini sıfırla, yoksa boşluk geri gelir.
   Açık zeminde yeşil öğeler ARTIK KAYBOLMAZ: birincil buton normal yeşil kalır,
   eyebrow çizgisi marka yeşilidir (koyu-bant dönemindeki beyaz override'lar
   kaldırıldı — geri ekleme). */
.page-head.is-brand {
    background: var(--brand-soft);
    border-bottom: 1px solid rgba(1,162,73,.16);
    color: var(--ink);
    padding: 30px 0 92px;
}
.page-head.is-brand .lead { color: var(--ink-700); }
.page-head.is-brand .eyebrow { color: var(--brand-dark); }
.page-head.is-brand .crumbs a:hover { color: var(--brand-dark); }

/* Renkli başlıkla içerik arasındaki başlık/istatistik satırı.
   Açık yeşil bantta sayaç kutuları BEYAZ karodur — sayı marka koyusuyla vurgulu. */
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.head-main { min-width: 0; flex: 1 1 420px; }
.head-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.head-stat {
    min-width: 104px;
    padding: 14px 18px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid rgba(1,162,73,.22);
    box-shadow: var(--shadow-sm);
}
.head-stat b {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--brand-dark);
}
.head-stat span { display: block; margin-top: 6px; font-size: .76rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--ink-500); }

/* Renkli başlığın içine çekilen kart — aradaki boşluğu kapatır. */
.pull-up { margin-top: -62px; position: relative; z-index: 2; }

@media (max-width: 720px) {
    .page-head.is-brand { padding: 24px 0 76px; }
    .pull-up { margin-top: -54px; }
    .head-stats { width: 100%; }
    .head-stat { flex: 1; min-width: 0; padding: 12px 14px; }
    .head-stat b { font-size: 1.35rem; }
}

/* Geri dönüş bağlantısı — iç sayfalarda "bir üst seviyeye" hızlı çıkış. */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink-700);
    text-decoration: none;
    transition: color .16s;
}
.back-link:hover { color: var(--brand); }
.back-link .ic { width: 16px; height: 16px; }

/* ═══ İLAN TABLOSU + FİLTRE (anasayfa ile BİREBİR) ═════════════════════════ */
/* Filtre + tablo TEK kart: ikisi ilişkili (filtre tabloyu süzer).
   overflow:hidden YOK — aramalı select dropdown'ı absolute, kırpılmamalı. */
.listings-unit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

.flt-head {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid var(--line-soft);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: .98rem;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
}
.flt-head .flt-count {
    margin-left: auto;
    margin-right: 12px;
    height: 22px;
    min-width: 22px;
    padding: 0 8px;
    border-radius: 11px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: .74rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.flt-head .flt-chev { color: var(--ink-500); transition: transform .25s; }
.flt-head.open .flt-chev { transform: rotate(180deg); color: var(--brand); }
.filter-body { display: none; }
.filter-body.show { display: block; padding: 22px 24px 24px; border-bottom: 1px solid var(--line-soft); }
.filter-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.filter-group { display: flex; flex-direction: column; gap: 7px; min-width: 0; align-items: stretch; }
/* ⚠ DOĞRUDAN çocuk seçicisi ZORUNLU: `.filter-group label` .seg içindeki radio
   sarmalayıcı <label>'ları da yakalıyordu → segment yazıları BÜYÜK HARF + harf
   aralıklı + minik render ediliyordu. Yeni bir alan etiketi eklerken `>` koru. */
.filter-group > label { font-size: .74rem; font-weight: 700; color: var(--ink-500); text-transform: uppercase; letter-spacing: .7px; }
.filter-actions { display: flex; align-items: end; gap: 10px; }
.filter-actions .btn { height: 44px; }

/* Segment (radio-pill) grubu — İlan Tipi / Durum gibi az seçenekli filtreler.
   Native radio görsel olarak gizlenir ama erişilebilir kalır (sr-only değil,
   opacity:0 + absolute) — geniş `input` seçicisi tuzağına düşmemek için TİPE
   göre daraltılmıştır. */
/* align-self: flex-start → segment çubuğu içeriği kadar geniş kalır; .filter-group
   bir flex kolon olduğu için aksi halde tüm satır boyunca gerilirdi. */
.seg { display: inline-flex; align-self: flex-start; max-width: 100%; flex-wrap: wrap; gap: 6px; padding: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; }
.seg label { position: relative; display: inline-flex; }
.seg input[type="radio"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 15px;
    border-radius: 8px;
    font-size: .86rem;
    font-weight: 600;
    color: var(--ink-500);
    white-space: nowrap;
    transition: background .16s, color .16s, box-shadow .16s;
}
.seg label:hover span { color: var(--ink); }
.seg input[type="radio"]:checked + span { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.seg input[type="radio"]:focus-visible + span { box-shadow: 0 0 0 3px rgba(1,162,73,.2); }

.listings-topbar { padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line-soft); }
.listings-topbar h3 { font-family: 'Outfit', sans-serif; font-size: .98rem; font-weight: 600; color: var(--ink); }
.listings-topbar span { font-size: .84rem; color: var(--ink-500); }
/* Kaydırma yalnız dar ekranlarda devreye girer (aşağıdaki min-width hesabına bak).
   overscroll-behavior-x: tabloyu sonuna kadar kaydırınca sayfanın/geri hareketinin
   tetiklenmesini engeller. */
.table-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }

/* ── KOLON GENİŞLİKLERİ ve TABAN (2026-08-18 üç butona göre yeniden ölçüldü) ──
   Kap 1280 (iç 1232); taban kolonların gerçek içerik ölçülerinden türetildi:
     Güzergah 32.5% → 2 blok ("🏳 Afyonkarahisar" + ilçe, ~141px) + ok 22 + boşluk
     Ağırlık  9.5%  → "125.000 kg" (~83px) ve "AĞIRLIK" başlığı (~68px)
     Alım/Tes 12%   → "15 Ağustos 2026" (~118px); aralıklı ilanda 2 satır istiflenir
     Fiyat  11.5%   → "1.250.000 ₺" rozeti (~112px)
     İşlem  22.5%   → ÜÇ buton [Detay][Teklif Ver][İşi Al] (~230px + hücre padding)
   Toplam taban 1220px → 1232'lik kapta kaydırma YOK; kaydırma viewport ~1268px
   altında başlar (üçüncü butonun bilinçli bedeli). Bu üçlüyü (kap, taban,
   yüzdeler) birlikte hesapla. */
/* Anasayfa ve /ilanlar AYNI tabloyu kullanır — /ilanlar'ın baştaki İLAN NO kolonu
   (ve onunla gelen .with-no / .no-cell kuralları) 2026-08-22'de kullanıcı kararıyla
   KALDIRILDI; iki sayfa yeniden birebir aynı 6 kolondur. Geri eklersen kap / taban /
   yüzde üçlüsünü birlikte yeniden hesapla (kabın iç genişliği 1232px'i AŞMA, yoksa
   tablo her ekranda yatay kaydırma çıkarır) ve iki sayfayı da güncelle. */
table.ilan-table { width: 100%; border-collapse: collapse; font-size: 1rem; table-layout: fixed; min-width: 1220px; }
table.ilan-table thead th {
    padding: 14px;
    background: #F4F6F7;
    border-bottom: 1px solid var(--line);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: .79rem;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: var(--ink-900);
    text-align: left;
    white-space: nowrap;
}
table.ilan-table thead th:first-child { padding-left: 24px; }
table.ilan-table thead th:last-child { padding-right: 24px; }
table.ilan-table thead th.price-col { white-space: normal; line-height: 1.3; }
table.ilan-table thead th.act-col { text-align: right; }
table.ilan-table tbody tr { border-bottom: 1px solid var(--line-soft); transition: background .18s; }
table.ilan-table tbody tr:hover { background: rgba(1,162,73,.035); }
table.ilan-table tbody tr:last-child { border-bottom: none; }
table.ilan-table tbody td { padding: 17px 14px; vertical-align: middle; }
table.ilan-table tbody td:first-child { padding-left: 24px; }
table.ilan-table tbody td:last-child { padding-right: 24px; }
/* Yayında olmayan / süresi geçmiş ilanlar (yalnız /ilanlar'da görünür) — silik,
   ama okunur. Flu/blur YOK: metin okunamaz hale geliyordu. */
table.ilan-table tbody tr.row-muted { background: var(--surface-2); }
table.ilan-table tbody tr.row-muted:hover { background: var(--surface-2); }
table.ilan-table tbody tr.row-muted .route-city,
table.ilan-table tbody tr.row-muted .kg-val,
table.ilan-table tbody tr.row-muted .date-cell { color: var(--ink-500); }

/* Güzergah hücresi — SABİT 3 kolonlu grid: [alım 1fr][ok 22px][teslim 1fr].
   Ok tüm satırlarda aynı hizada durur, taşan ad ellipsis'lenir. */
.route-cell { display: grid; grid-template-columns: minmax(0,1fr) 22px minmax(0,1fr); align-items: center; column-gap: 10px; }
.route-side { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.route-arrow { color: var(--ink-300); font-weight: 700; font-size: 1rem; text-align: center; line-height: 1; }
.route-stop { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
/* İl + ilçe tablonun EN ÖNEMLİ bilgisidir (kullanıcı kararı 2026-08-18) — il tam
   koyu + 700, ilçe ink-700; griye/inceye geri düşürme.
   ⚠ Index.cshtml kendi kopyasını taşır — orayla senkron tut. */
.route-city { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 1rem; color: var(--ink-900); min-width: 0; }
.route-city .rc-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route-dist { font-size: .84rem; font-weight: 500; color: var(--ink-700); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flag-icon { width: 18px; height: 13px; vertical-align: middle; border-radius: 2px; box-shadow: 0 0 0 1px rgba(20,28,36,.08); object-fit: cover; flex-shrink: 0; display: inline-block; }
.flag-icon.flag-sm { width: 16px; height: 12px; }
.ss-option .flag-icon, .ss-display .flag-icon { margin-right: 8px; }
/* Bayrak tap-baloncuğu — mobilde bayrağa tıklayınca ülke adı (public-shell.js
   initFlagTip; masaüstünde title tooltip'inin karşılığı). Index.cshtml inline
   kopyasıyla senkron tut. */
.flag-tip {
    position: fixed;
    z-index: 3000;
    background: var(--ink-900);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 7px;
    box-shadow: 0 4px 14px rgba(20,28,36,.28);
    pointer-events: none;
    white-space: nowrap;
}

/* Alım / Teslim — salt tarih, ikon yok; kolon başlıkları label görevini görür. */
.date-cell { display: inline-flex; align-items: center; font-size: .97rem; font-weight: 600; color: var(--ink-900); white-space: nowrap; line-height: 1.3; }
.d-rng { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1.2; }
.d-rng-sep { color: var(--ink-300); font-size: .62rem; font-weight: 700; letter-spacing: .5px; }
/* Ağırlık — sayı baskın, birim silik ve küçük. */
.kg-val { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1rem; color: var(--ink-900); white-space: nowrap; }
.kg-val .u { font-size: .82rem; font-weight: 500; color: var(--ink-500); margin-left: 3px; }
/* Göndericinin istediği fiyat — yalnız girilmişse render edilir, yoksa hücre boş. */
.price-tag {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: .98rem;
    color: var(--brand-dark);
    background: var(--brand-soft);
    border: 1px solid rgba(1,162,73,.2);
    padding: 5px 11px;
    border-radius: 8px;
    white-space: nowrap;
    display: inline-block;
}
/* Fiyat girilmemiş ("Teklif Topla") ilan — nötr "Teklif Bekleniyor" rozeti (kullanıcı kararı 2026-09-01).
   Views/Home/Index.cshtml inline kopyasıyla senkron tut. */
.price-wait {
    font-weight: 700;
    font-size: .78rem;
    color: var(--ink-700);
    background: var(--surface-2);
    border: 1px solid var(--line);
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
    display: inline-block;
}
.action-cell { display: inline-flex; gap: 6px; justify-content: flex-end; flex-wrap: nowrap; align-items: center; }
/* Üç buton yan yana (2026-08-18 kullanıcı kararı): [Detay][Teklif Ver][İşi Al].
   Padding/gap üç butonun İşlem kolonuna (22.5%) sığması için sıkılaştırıldı —
   genişletirsen kolon yüzdesi/taban üçlüsünü yeniden hesapla. */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 12px;
    border-radius: 9px;
    font-family: 'Outfit', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: background .18s, border-color .18s, color .18s;
}
/* Renk mantığı (2026-08-18 kullanıcı kararı — üçü de DOLU, beyaz buton görünmüyordu):
   Detay = antrasit (nötr bilgi), Teklif Ver = taşıyıcı petrol rengi (kendi fiyatını
   yazar), İşi Al = marka yeşili (göndericinin fiyatıyla işi kapar — birincil aksiyon). */
.btn-incele { background: var(--ink); color: #fff; }
.btn-incele:hover { background: var(--ink-900); }
.btn-teklif { background: var(--truck); color: #fff; }
.btn-teklif:hover { background: var(--truck-deep); }
.btn-isial { background: var(--brand); color: #fff; }
.btn-isial:hover { background: var(--brand-dark); }
/* Satır durumu rozetleri — teklif verilemeyen ilanlarda "İşi Al" yerine geçer. */
.row-pill {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
    background: var(--surface-2);
    color: var(--ink-500);
    border: 1px solid var(--line);
}
.row-pill.is-expired { background: #FFF7ED; color: #B45309; border-color: #FED7AA; }
.row-pill.is-transit { background: #ECFEFF; color: var(--truck-deep); border-color: #A5F3FC; }
.row-pill.is-done { background: var(--brand-soft); color: var(--brand-dark); border-color: rgba(1,162,73,.22); }
.table-foot { padding: 24px; display: flex; justify-content: center; border-top: 1px solid var(--line-soft); background: var(--surface-2); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.table-foot .btn { padding: 0 30px; }
.tbl-empty { text-align: center; padding: 56px 20px; color: var(--ink-500); font-size: .95rem; }

/* Aramalı select — .filter-panel scope'unda. */
.filter-panel .ss-wrap { position: relative; }
.filter-panel .ss-display {
    width: 100%;
    height: 44px;
    padding: 0 34px 0 14px;
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .92rem;
    font-weight: 500;
    color: var(--ink);
    outline: none;
    cursor: pointer;
    appearance: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: border-color .18s, box-shadow .18s;
}
.filter-panel .ss-display.placeholder { color: var(--ink-300); font-weight: 400; }
.filter-panel .ss-display:focus,
.filter-panel .ss-wrap.open .ss-display { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(1,162,73,.13); }
.filter-panel .ss-arrow { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-500); line-height: 0; transition: transform .2s; }
.filter-panel .ss-arrow .ic { width: 17px; height: 17px; display: block; }
/* ── Seçimi temizleme ──
   İki çıkış yolu: alandaki × düğmesi ve listenin başındaki "Tüm Şehirler" satırı.
   İkisi de filtreyi ANINDA uygular — filtre kaldırmak sonucu daraltmaz, genişletir. */
.filter-panel .ss-clear {
    position: absolute;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: none;
    border-radius: 7px;
    background: none;
    color: var(--ink-300);
    cursor: pointer;
    line-height: 0;
    transition: background .15s, color .15s;
}
.filter-panel .ss-wrap.has-value .ss-clear { display: flex; }
.filter-panel .ss-clear:hover { background: var(--surface-2); color: var(--ink); }
.filter-panel .ss-clear .ic { width: 15px; height: 15px; stroke-width: 2.1; }
.filter-panel .ss-wrap.has-value .ss-display { padding-right: 66px; }
.filter-panel .ss-option-clear {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ink-500);
    font-weight: 500;
    border-radius: 7px;
    margin-bottom: 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line-soft);
}
.filter-panel .ss-option-clear .ic { width: 14px; height: 14px; stroke-width: 2.1; }
.filter-panel .ss-wrap.open .ss-arrow { transform: translateY(-50%) rotate(180deg); }
.filter-panel .ss-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(20,28,36,.13);
    z-index: 500;
    max-height: 300px;
    overflow: hidden;
    flex-direction: column;
}
.filter-panel .ss-wrap.open .ss-dropdown { display: flex; }
.filter-panel .ss-search {
    padding: 11px 14px;
    border: none;
    border-bottom: 1px solid var(--line-soft);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .88rem;
    color: var(--ink);
    background: var(--surface-2);
    outline: none;
    flex-shrink: 0;
}
.filter-panel .ss-search::placeholder { color: var(--ink-300); }
.filter-panel .ss-list { overflow-y: auto; max-height: 250px; padding: 5px; }
.filter-panel .ss-option { padding: 9px 12px; border-radius: 7px; cursor: pointer; font-size: .89rem; color: var(--ink-700); transition: background .12s; }
.filter-panel .ss-option:hover { background: var(--surface-2); color: var(--ink); }
.filter-panel .ss-option.active { background: var(--brand-soft); color: var(--brand-dark); box-shadow: inset 3px 0 0 var(--brand); }
.filter-panel .ss-option.selected { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.filter-panel .ss-option.hidden { display: none; }
.filter-panel .ss-empty { padding: 16px 12px; text-align: center; font-size: .85rem; color: var(--ink-300); }

/* ═══ ROL GİRİŞ KAPILARI (/Account/*) ═════════════════════════════════════ */
/* Kart rol rengini HAFİF taşır (landing "Hızlı Erişim" deseni): renk yalnız ikon
   karosunda, ikonda ve ok işaretindedir; başlık/açıklama/çerçeve nötr kalır,
   çerçeve ancak hover'da renklenir. */

/* ⚠ CASCADE: varsayılan --role üçlüsü .gate-grid'te durur, .gate-card'ta DEĞİL.
   Kartın kendisi bir değer tanımlarsa (eskiden öyleydi) ata öğeye verilen
   .role-* sınıfının mirası ezilir ve tüm kartlar yeşile düşer. Kart hiçbir
   şey tanımlamaz, yalnız miras alır. .role-* blokları da .gate-grid'ten SONRA
   gelir ki aynı öğeye verildiklerinde (eşit özgüllük) kazansınlar. */
.gate-grid {
    --role: var(--brand);
    --role-soft: var(--brand-soft);
    --role-line: rgba(1,162,73,.45);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    max-width: 880px;
    margin: 0 auto;
}

/* Rol rengi: .gate-grid'e (tüm kartlar aynı rol) VEYA tek tek .gate-card'a
   (kart başına farklı rol, /Account/Admin deseni) verilebilir. */
.role-customer { --role: var(--customer-deep); --role-soft: rgba(234,88,12,.1); --role-line: rgba(234,88,12,.5); }
.role-truck { --role: var(--truck-deep); --role-soft: rgba(14,116,144,.12); --role-line: rgba(14,116,144,.5); }
.role-member { --role: var(--member-ink); --role-soft: rgba(34,197,94,.13); --role-line: rgba(34,197,94,.5); }
.role-admin { --role: var(--admin-ink); --role-soft: rgba(99,102,241,.11); --role-line: rgba(99,102,241,.5); }
.role-superadmin { --role: var(--superadmin-ink); --role-soft: rgba(139,92,246,.12); --role-line: rgba(139,92,246,.5); }

.gate-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.gate-card:hover { border-color: var(--role-line); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gate-ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--role-soft);
    color: var(--role);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.gate-ic .ic { width: 21px; height: 21px; }
.gate-body { flex: 1; min-width: 0; }
.gate-title { display: block; font-family: 'Outfit', sans-serif; font-size: 1.08rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.gate-desc { display: block; font-size: .88rem; line-height: 1.6; color: var(--ink-500); }
.gate-go { color: var(--role); line-height: 0; margin-top: 12px; flex-shrink: 0; }
.gate-go .ic { width: 18px; height: 18px; transition: transform .22s; }
.gate-card:hover .gate-go .ic { transform: translateX(4px); }

/* Kapı altındaki "diğer rol" satırı — roller arasında tek tıkla geçiş. */
.gate-alt {
    max-width: 880px;
    margin: 22px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: .9rem;
    color: var(--ink-500);
}
.gate-alt a { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ink); text-decoration: none; }
.gate-alt a:hover { color: var(--brand); }
.gate-alt a .ic { width: 16px; height: 16px; transition: transform .2s; }
.gate-alt a:hover .ic { transform: translateX(3px); }

/* Kapı sayfasının küçük hukuki notu */
.gate-note { max-width: 880px; margin: 26px auto 0; text-align: center; font-size: .82rem; line-height: 1.7; color: var(--ink-300); }
.gate-note a { color: var(--ink-500); text-decoration: underline; text-underline-offset: 3px; }
.gate-note a:hover { color: var(--ink); }

@media (max-width: 760px) {
    .gate-grid { grid-template-columns: 1fr; }
}

/* ═══ KART / PANEL ORTAKLARI ═══════════════════════════════════════════════ */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.card-hd { padding: 18px 22px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: 12px; }
.card-hd .ic { color: var(--ink-500); }
.card-hd h3 { font-family: 'Outfit', sans-serif; font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.card-hd .sub { margin-left: auto; font-size: .84rem; color: var(--ink-500); white-space: nowrap; }
.card-bd { padding: 22px; }

/* Uyarı / bilgi şeridi */
.notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius);
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--ink-700);
    font-size: .9rem;
    line-height: 1.6;
}
.notice .ic { color: var(--ink-500); margin-top: 1px; }
.notice.warn { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.notice.warn .ic { color: #B45309; }
.notice-x { margin-left: auto; background: none; border: none; color: inherit; cursor: pointer; opacity: .6; line-height: 0; padding: 2px; }
.notice-x:hover { opacity: 1; }
.notice-x .ic { width: 15px; height: 15px; stroke-width: 2.1; color: inherit; }

/* ═══ FOOTER ═══════════════════════════════════════════════════════════════ */
.footer { background: var(--ink-900); color: #fff; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand-row { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
/* Logo PNG'si beyaz zeminli (alpha yok) → koyu footer'da beyaz karo içine konur. */
.footer-mark { background: #fff; border-radius: 10px; padding: 9px 12px; display: inline-flex; }
.footer-mark img { height: 30px; width: auto; display: block; }
.footer-name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; color: #fff; }
.footer-name .bn-a { color: var(--brand); }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.55); line-height: 1.75; max-width: 300px; }
.footer-col h4 { font-family: 'Outfit', sans-serif; font-size: .95rem; font-weight: 600; margin-bottom: 16px; color: #fff; }
.footer-col a { display: block; color: rgba(255,255,255,.55); text-decoration: none; font-size: .88rem; margin-bottom: 11px; transition: color .16s; }
.footer-col a:hover { color: var(--brand); }
.footer-contact { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; font-size: .88rem; color: rgba(255,255,255,.55); }
.footer-contact .ic { color: rgba(255,255,255,.35); }
.footer-bottom { padding: 22px 0; text-align: center; }
.footer-bottom p { font-size: .83rem; color: rgba(255,255,255,.38); }

/* ═══ ANİMASYON ════════════════════════════════════════════════════════════ */
/* .js sınıfı head'deki inline script ile eklenir — JS kapalıysa içerik gizlenmez. */
.js .fade-in { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.25,.46,.45,.94), transform .6s cubic-bezier(.25,.46,.45,.94); }
.js .fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .fade-in { opacity: 1; transform: none; transition: none; }
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ═══ RESPONSIVE ═══════════════════════════════════════════════════════════ */
/* 1150px: logo + 6 menü linki + 2 giriş butonu ancak ~1130px'de yan yana sığıyor.
   Hamburger göründüğü andan itibaren header'da SADECE logo + wordmark + hamburger
   kalır (kullanıcı kararı 2026-08-14); giriş butonları drawer'ın altındadır. */
@media (max-width: 1150px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; margin-left: auto; }
}
@media (max-width: 900px) {
    .sect { padding: 68px 0; }
    .sect-sm { padding: 44px 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .filter-row { grid-template-columns: 1fr 1fr; }
    .filter-actions { grid-column: span 1; }
}
@media (max-width: 720px) {
    .tb-right { display: none; }
    .tb-left { gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; }
    .filter-row { grid-template-columns: 1fr; }
    .filter-actions .btn { width: 100%; }
    /* Tablo mobilde yatay kaydırmalı; kaydırma mesafesini kısaltmak için punto/padding
       bir tık küçülür — KOLON ORANLARI (colgroup %) aynı kalır. Tabanlar üç butonlu
       İşlem kolonuna (22.5% × taban ≥ ~234px) göre ölçüldü. */
    table.ilan-table { min-width: 1060px; font-size: .94rem; }
    table.ilan-table thead th { padding: 11px 10px; }
    table.ilan-table thead th:first-child { padding-left: 16px; }
    table.ilan-table thead th:last-child { padding-right: 16px; }
    table.ilan-table tbody td { padding: 14px 10px; }
    table.ilan-table tbody td:first-child { padding-left: 16px; }
    table.ilan-table tbody td:last-child { padding-right: 16px; }
    .route-city { font-size: .94rem; }
    .date-cell, .kg-val, .price-tag { font-size: .92rem; }
    .action-btn { height: 34px; padding: 0 10px; font-size: .8rem; }
    .listings-topbar { padding: 14px 16px; }
    .listings-topbar span { font-size: .78rem; }
}
@media (max-width: 480px) {
    .topbar-inner { height: 36px; padding: 0 16px; }
    .tb-left { gap: 12px; }
    .tb-item { font-size: .75rem; gap: 6px; }
    .nav-inner { height: 70px; padding: 0 16px; gap: 12px; }
    .brand { gap: 10px; }
    .brand-mark { height: 38px; }
    .brand-name { font-size: 1.28rem; }
    .hamburger { padding: 6px; }
    .container { padding: 0 16px; }
    .page-head { padding: 22px 0 28px; }
}

/* ═══ LEGAL (/uyelik-sozlesmesi vb. — Views/Legal/_LegalLayout.cshtml) ═══════
   6 hukuki sayfanın ortak içerik dili (2026-08-18: eski turkuaz _LegalLayout
   tasarımı Public Shell'e taşındı). Sayfa gövdeleri eski .lg-note/.lg-info/
   .lg-contact-box sınıflarını kullanmaya devam eder — 6 gövde dosyasına
   dokunmadan görsel dil burada yenilendi. GRİ YASAK — gövde metni en açık
   --ink-700; vurgu marka yeşili. */
.legal-sect { padding-top: 0; } /* .page-head.is-brand + .pull-up → bant ile kart bitişik */
.legal-wrap { max-width: 920px; margin: 0 auto; }
.legal-card { padding: 40px 46px; }
.legal-updated { margin-top: 10px; font-size: .86rem; }
.legal-body h2 {
    font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1.22rem;
    letter-spacing: -.015em; color: var(--ink); margin: 34px 0 14px;
    padding-left: 14px; border-left: 3px solid var(--brand);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1.02rem; color: var(--ink); margin: 22px 0 10px; }
.legal-body p { font-size: .96rem; color: var(--ink-700); line-height: 1.75; margin-bottom: 14px; }
.legal-body ul, .legal-body ol { margin: 8px 0 16px 22px; }
.legal-body li { font-size: .95rem; color: var(--ink-700); line-height: 1.7; margin-bottom: 7px; }
.legal-body strong { color: var(--ink); font-weight: 700; }
.legal-body a { color: var(--brand-dark); text-decoration: none; font-weight: 600; }
.legal-body a:hover { text-decoration: underline; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .88rem; }
.legal-body th, .legal-body td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; color: var(--ink-700); }
.legal-body th { background: var(--surface-2); font-weight: 700; color: var(--ink); }
.legal-body .lg-note { background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 10px; padding: 13px 16px; color: #92400E; font-size: .9rem; margin: 14px 0; }
.legal-body .lg-info { background: var(--brand-soft); border: 1px solid rgba(1,162,73,.22); border-left: 3px solid var(--brand); border-radius: 10px; padding: 13px 16px; color: var(--ink); font-size: .9rem; margin: 14px 0; }
.legal-body .lg-contact-box { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-top: 22px; font-size: .92rem; color: var(--ink-700); line-height: 1.8; }
.legal-other { margin-top: 36px; }
.legal-other-ttl { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: .82rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 14px; }
.legal-other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.legal-other-link {
    display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 13px 16px; font-size: .88rem; font-weight: 600; color: var(--ink);
    text-decoration: none; transition: border-color .16s, box-shadow .16s;
}
.legal-other-link .ic { width: 18px; height: 18px; color: var(--brand-dark); }
.legal-other-link:hover { border-color: rgba(1,162,73,.4); box-shadow: var(--shadow-sm); }
@media (max-width: 720px) {
    .legal-card { padding: 26px 22px; }
    .legal-other-grid { grid-template-columns: 1fr; }
}

/* ═══ FORUM (/Forum + /Forum/Topic/{id}) ════════════════════════════════════
   2026-08-18: eski turuncu/turkuaz Layout=null forum sayfaları Public Shell'e
   taşındı. Liste = tek .card.pull-up içinde satırlar (ilan listesi deseni);
   detay = gönderi kartı + yorum kartı + taşıyıcı CTA'sı. Emoji yok — i-chat/
   i-lock/i-clock/i-info sprite ikonları. */
.fr-sect { padding-top: 0; }
.fr-wrap { max-width: 980px; margin: 0 auto; }
.fr-note {
    display: flex; align-items: flex-start; gap: 10px; padding: 14px 22px;
    background: var(--brand-soft); border-bottom: 1px solid rgba(1,162,73,.16);
    border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
    font-size: .88rem; color: var(--ink-700); line-height: 1.55;
}
.fr-note .ic { width: 18px; height: 18px; color: var(--brand-dark); margin-top: 1px; }
.fr-note a { color: var(--brand-dark); font-weight: 700; text-decoration: none; }
.fr-note a:hover { text-decoration: underline; }
.fr-row { display: flex; align-items: flex-start; gap: 16px; padding: 18px 22px; text-decoration: none; transition: background .15s; }
.fr-row + .fr-row { border-top: 1px solid var(--line-soft); }
.fr-row:hover { background: var(--surface-2); }
.fr-av {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    background: var(--brand-soft); color: var(--brand-dark);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: .9rem;
    border: 1px solid rgba(1,162,73,.18);
}
.fr-row-body { flex: 1; min-width: 0; }
.fr-row-title {
    font-family: 'Outfit', sans-serif; font-size: 1.08rem; font-weight: 600; color: var(--ink);
    letter-spacing: -.015em; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fr-row-excerpt {
    font-size: .9rem; color: var(--ink-700); line-height: 1.6; margin-top: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fr-row-meta { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .78rem; color: var(--ink-500); flex-wrap: wrap; }
.fr-row-meta .by { color: var(--ink); font-weight: 600; }
.fr-row-meta .dot { color: var(--ink-300); }
.fr-chip {
    display: inline-flex; align-items: center; gap: 4px; font-size: .64rem; font-weight: 700;
    padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .4px; white-space: nowrap;
}
.fr-chip .ic { width: 11px; height: 11px; stroke-width: 2; }
.fr-chip.pin { background: #FFFBEB; color: #B45309; border: 1px solid #FDE68A; }
.fr-chip.locked { background: var(--surface-2); color: var(--ink-500); border: 1px solid var(--line); }
.fr-replies {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: .88rem;
    background: var(--brand-soft); color: var(--brand-dark); border: 1px solid rgba(1,162,73,.2); flex-shrink: 0;
}
.fr-replies .ic { width: 15px; height: 15px; }
.fr-empty { padding: 56px 24px; text-align: center; color: var(--ink-500); font-size: .94rem; }
.fr-empty .ic { width: 36px; height: 36px; color: var(--ink-300); margin: 0 auto 10px; display: block; }
.fr-pager { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.fr-pager a, .fr-pager span {
    padding: 9px 14px; border-radius: 9px; font-size: .86rem; font-weight: 600;
    border: 1px solid var(--line); background: #fff; color: var(--ink);
    text-decoration: none; transition: border-color .15s, color .15s;
}
.fr-pager a:hover { border-color: rgba(1,162,73,.4); color: var(--brand-dark); }
.fr-pager .active { background: var(--brand); border-color: var(--brand); color: #fff; }
/* Konu detayı */
.fr-author { display: flex; align-items: center; gap: 12px; padding: 20px 30px 18px; border-bottom: 1px solid var(--line-soft); }
.fr-author .fr-av { width: 46px; height: 46px; }
.fr-author-name { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1rem; color: var(--ink); }
.fr-author-time { display: flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--ink-500); margin-top: 2px; }
.fr-author-time .ic { width: 13px; height: 13px; }
.fr-topic-body { padding: 24px 30px 28px; font-size: 1.02rem; color: var(--ink); line-height: 1.8; white-space: pre-wrap; word-break: break-word; }
.fr-head-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.fr-reps { margin-top: 20px; }
.fr-reps-hd { display: flex; align-items: center; gap: 9px; padding: 16px 22px; border-bottom: 1px solid var(--line-soft); }
.fr-reps-hd .ic { width: 19px; height: 19px; color: var(--ink-500); }
.fr-reps-hd h2 { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 600; color: var(--ink); }
.fr-reps-hd .count {
    margin-left: auto; font-family: 'Outfit', sans-serif; font-size: .8rem; font-weight: 700;
    padding: 3px 11px; border-radius: 999px;
    background: var(--brand-soft); color: var(--brand-dark); border: 1px solid rgba(1,162,73,.2);
}
.fr-reply { display: flex; gap: 12px; padding: 16px 22px; align-items: flex-start; }
.fr-reply + .fr-reply { border-top: 1px solid var(--line-soft); }
.fr-reply .fr-av { width: 34px; height: 34px; border-radius: 9px; font-size: .76rem; }
.fr-reply-body { flex: 1; min-width: 0; }
.fr-reply-top { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; font-size: .86rem; }
.fr-reply-top strong { color: var(--ink); font-weight: 600; font-family: 'Outfit', sans-serif; }
.fr-reply-top .time { font-size: .74rem; color: var(--ink-500); }
.fr-reply-txt { font-size: .92rem; color: var(--ink-700); line-height: 1.65; white-space: pre-wrap; word-break: break-word; }
.fr-cta { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; }
.fr-cta p { font-size: .92rem; color: var(--ink-700); }
.fr-cta p strong { color: var(--ink); }
@media (max-width: 720px) {
    .fr-row { padding: 15px 16px; }
    .fr-note { padding: 12px 16px; }
    .fr-author { padding: 16px 18px 14px; }
    .fr-topic-body { padding: 20px 18px 22px; }
}

/* ═══ SSS (/sss — Views/Home/Faq.cshtml) ════════════════════════════════════
   2026-08-18: eski turuncu/turkuaz Layout=null sayfa Public Shell'e taşındı.
   Tek .card.pull-up: üstte arama + kategori chip'leri (brand-soft şerit, .fr-note
   deseni), altında native <details> akordeon satırları. Emoji yok — i-search/
   i-x/i-chevron sprite ikonları. */
.faq-sect { padding-top: 0; }
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-tools {
    padding: 20px 22px;
    background: var(--brand-soft); border-bottom: 1px solid rgba(1,162,73,.16);
    border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
}
.faq-search { position: relative; max-width: 560px; }
.faq-search .ic-lead { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-500); pointer-events: none; }
.faq-search input {
    width: 100%; height: 46px; padding: 0 44px;
    border: 1px solid var(--line); border-radius: 12px;
    font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff;
    outline: none; transition: border-color .16s, box-shadow .16s;
}
.faq-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(1,162,73,.14); }
.faq-search-clear {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border-radius: 8px; border: none;
    background: var(--surface-2); color: var(--ink-500); cursor: pointer;
    display: none; align-items: center; justify-content: center; transition: background .15s;
}
.faq-search-clear .ic { width: 13px; height: 13px; stroke-width: 2.1; }
.faq-search-clear:hover { background: var(--line-soft); color: var(--ink); }
.faq-search.has-value .faq-search-clear { display: flex; }
.faq-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.faq-cat-chip {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
    font-family: 'Outfit', sans-serif; font-weight: 600; font-size: .8rem;
    background: #fff; color: var(--ink-700); border: 1px solid var(--line);
    cursor: pointer; transition: border-color .15s, color .15s;
}
.faq-cat-chip:hover { border-color: rgba(1,162,73,.4); color: var(--brand-dark); }
.faq-cat-chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.faq-cat-chip[data-cat="general"] .dot { background: var(--brand); }
.faq-cat-chip[data-cat="customer"] .dot { background: var(--customer); }
.faq-cat-chip[data-cat="truck"] .dot { background: var(--truck); }
.faq-cat-chip[data-cat="member"] .dot { background: var(--member); }
.faq-cat-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.faq-cat-chip.active .dot { background: rgba(255,255,255,.85); }
.faq-item { border-top: 1px solid var(--line-soft); }
.faq-tools + div .faq-item:first-child { border-top: none; }
.faq-item.hidden { display: none; }
.faq-item summary {
    list-style: none; cursor: pointer; user-select: none;
    padding: 18px 22px; display: flex; align-items: center; gap: 14px;
    font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1rem; color: var(--ink);
    transition: background .15s;
}
.faq-item summary:hover { background: var(--surface-2); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-q-ic {
    width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
    background: var(--brand-soft); color: var(--brand-dark); border: 1px solid rgba(1,162,73,.18);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .95rem; transition: background .2s, color .2s;
}
.faq-item[open] .faq-q-ic { background: var(--brand); color: #fff; border-color: var(--brand); }
.faq-q-text { flex: 1; min-width: 0; line-height: 1.4; }
.faq-chevron {
    width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
    background: var(--surface-2); color: var(--ink-500);
    display: flex; align-items: center; justify-content: center;
    transition: transform .3s cubic-bezier(.16,1,.3,1), background .2s, color .2s;
}
.faq-chevron .ic { width: 15px; height: 15px; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); background: var(--ink); color: #fff; }
.faq-a { padding: 0 22px 20px 70px; font-size: .94rem; line-height: 1.7; color: var(--ink-700); animation: faqFade .35s cubic-bezier(.16,1,.3,1); }
.faq-a strong { color: var(--ink); font-weight: 700; }
.faq-a a { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }
.faq-a ul { padding-left: 18px; margin-top: 6px; }
.faq-a li { margin-bottom: 4px; }
@keyframes faqFade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.faq-tag {
    display: inline-flex; align-items: center; margin-bottom: 8px;
    font-size: .68rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
    padding: 3px 10px; border-radius: 999px;
    background: var(--brand-soft); color: var(--brand-dark); border: 1px solid rgba(1,162,73,.2);
}
.faq-tag.t-customer { background: #FFF7ED; color: var(--customer-deep); border-color: #FED7AA; }
.faq-tag.t-truck { background: #ECFEFF; color: var(--truck-deep); border-color: #A5F3FC; }
.faq-tag.t-member { background: #F0FDF4; color: var(--member-ink); border-color: #BBF7D0; }
.faq-empty { display: none; padding: 48px 24px; text-align: center; color: var(--ink-500); border-top: 1px solid var(--line-soft); }
.faq-empty.show { display: block; }
.faq-empty .ic { width: 34px; height: 34px; color: var(--ink-300); margin: 0 auto 10px; display: block; }
.faq-empty h3 { font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--ink); font-size: 1rem; margin-bottom: 6px; }
.faq-empty p { font-size: .88rem; }
.faq-cta { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; }
.faq-cta p { font-size: .92rem; color: var(--ink-700); }
.faq-cta p strong { color: var(--ink); }
.faq-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 720px) {
    .faq-tools { padding: 14px 16px; }
    .faq-item summary { padding: 15px 16px; font-size: .94rem; gap: 11px; }
    .faq-q-ic { width: 30px; height: 30px; font-size: .85rem; }
    .faq-a { padding: 0 16px 16px; font-size: .9rem; }
}
