/* KolayGönder — şık, mobil öncelikli nakliye ilan platformu */
:root {
  --yellow: #f5c400;
  --yellow-dark: #dfb000;
  --yellow-soft: #fff7d1;
  --ink: #0f1115;
  --text: #1b1f27;
  --muted: #646b78;
  --bg: #f5f6f8;
  --card: #ffffff;
  --line: rgba(15, 17, 21, 0.08);
  --line-dark: rgba(15, 17, 21, 0.16);
  --urgent: #c62828;
  --verified: #1b7a3d;
  --link: #155a96;
  --whatsapp: #128c7e;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(15, 17, 21, 0.04), 0 8px 24px rgba(15, 17, 21, 0.05);
  --shadow-lg: 0 12px 36px rgba(15, 17, 21, 0.14);
  --font: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h: 64px;
  --bottom-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html, body {
  margin: 0;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  min-height: 100%;
  padding-bottom: calc(var(--bottom-h) + var(--safe-b));
}

img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 16px; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(1360px, calc(100% - 24px));
  margin: 0 auto;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] { display: none !important; }

.view { display: none !important; }
.view.active { display: block !important; }

/* ===== TOPBAR ===== */
.topbar {
  display: none;
  background: #222;
  color: #ddd;
  font-size: 12px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 30px;
  gap: 12px;
}

.topbar a { color: #eee; }
.topbar-links { display: flex; gap: 14px; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--yellow);
  border-bottom: 1px solid #e0b000;
  padding-top: var(--safe-t);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--header-h);
  flex-wrap: wrap;
  padding: 8px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none !important;
  flex-shrink: 0;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.logo-sub { display: none !important; }

.header-search {
  order: 3;
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 0;
  padding: 3px;
  height: 46px;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15, 17, 21, 0.08);
}

.header-search i {
  position: absolute;
  left: 14px;
  color: #7c8391;
  pointer-events: none;
}

.header-search input {
  flex: 1;
  border: 0;
  outline: 0;
  height: 100%;
  padding: 0 12px 0 38px;
  background: transparent;
  min-width: 0;
  font-size: 15px;
}

.header-search button {
  height: 40px;
  border: 0;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 700;
  padding: 0 16px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 13.5px;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-text {
  display: none;
  background: none;
  border: 0;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  padding: 8px 10px;
}

.btn-ilan {
  background: var(--ink);
  color: var(--yellow);
  border: 0;
  font-weight: 700;
  padding: 0 12px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  border-radius: var(--radius);
  font-size: 13px;
}

.ilan-label-full { display: none; }
.ilan-label-short { display: inline; }

.btn-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: var(--radius);
}

/* ===== SUBNAV ===== */
.subnav {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.subnav.open { display: block; }

.subnav-inner {
  display: flex;
  flex-direction: column;
}

.subnav-link {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 4px;
  border-bottom: 1px solid #f2f2f2;
  border-left: 3px solid transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

.subnav-link i { color: #888; width: 18px; text-align: center; }
.subnav-link:hover,
.subnav-link.active {
  text-decoration: none;
  background: #fffdf2;
  border-left-color: var(--yellow);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 18px 0 20px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.72) 0%, rgba(12, 12, 12, 0.55) 45%, rgba(240, 240, 240, 0.92) 100%);
}

.hero-body {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  margin: 0 0 10px;
  border-radius: 999px;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  max-width: 34em;
}

.search-panel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.search-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.search-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
  background: #f6f6f6;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  text-align: left;
  min-height: 54px;
}

.search-tab i { font-size: 18px; color: #777; }
.search-tab strong { display: block; font-size: 12px; letter-spacing: 0.02em; }
.search-tab small { display: none; color: var(--muted); }
.search-tab.active {
  background: #fff;
  border-bottom-color: var(--yellow);
}
.search-tab.active i { color: var(--ink); }

.route-form {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  grid-template-areas:
    "from swap to"
    "vehicle vehicle vehicle"
    "date date date"
    "btn btn btn";
  gap: 10px;
  padding: 12px;
}

.field-from { grid-area: from; }
.swap-btn { grid-area: swap; align-self: end; }
.field-to { grid-area: to; }
.field-vehicle { grid-area: vehicle; }
.field-date { grid-area: date; }
.route-form .btn-search { grid-area: btn; width: 100%; min-height: 48px; }

.field {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.field select,
.field input,
.create-form input,
.create-form select,
.create-form textarea,
.offer-modal input,
.offer-modal textarea,
.auth-modal input,
.filters input:not([type="checkbox"]):not([type="radio"]),
.filters select,
.list-toolbar select {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(15, 17, 21, 0.12);
  background-color: #f8f9fb;
  padding: 0 14px;
  color: var(--ink);
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.field select,
.create-form select,
.filters select,
.list-toolbar select {
  display: block;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  height: 46px;
  line-height: 22px;
  padding: 11px 36px 11px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230f1115' d='M2.2 4.2a.75.75 0 0 1 1.06 0L6 6.94l2.74-2.74a.75.75 0 1 1 1.06 1.06l-3.27 3.27a.75.75 0 0 1-1.06 0L2.2 5.26a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 12px;
  cursor: pointer;
}
select::picker-icon {
  display: none !important;
}

.field select:focus,
.field input:focus,
.create-form input:focus,
.create-form select:focus,
.create-form textarea:focus,
.offer-modal input:focus,
.offer-modal textarea:focus,
.auth-modal input:focus,
.filters input:not([type="checkbox"]):not([type="radio"]):focus,
.filters select:focus,
.list-toolbar select:focus {
  background-color: #ffffff;
  border-color: #e0af00;
  box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.22);
}

.create-form textarea,
.offer-modal textarea {
  height: auto;
  padding: 10px;
  resize: vertical;
}

.swap-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  background: #fff;
  cursor: pointer;
  color: var(--ink);
  border-radius: var(--radius);
}

.btn-search,
.btn-dark {
  height: 48px;
  border: 0;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0 16px;
  border-radius: var(--radius);
  font-size: 15px;
}

.btn-search {
  background: var(--yellow);
  color: var(--ink);
  border: 1px solid #d4ab00;
}

.btn-search:hover { background: var(--yellow-dark); }
.btn-dark { background: var(--ink); color: var(--yellow); }

.btn-ghost {
  height: 44px;
  border: 1px solid var(--line-dark);
  background: #fff;
  cursor: pointer;
  padding: 0 16px;
  font-weight: 600;
  border-radius: var(--radius);
}

.popular { margin-top: 14px; }
.popular h2 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--ink);
}

.hero .popular h2 {
  color: var(--ink);
}

.popular-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -12px;
  padding: 0 12px 4px;
}

.popular-list::-webkit-scrollbar { display: none; }

.route-chip {
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* ===== SECTIONS ===== */
.section { padding: 28px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  gap: 10px;
}

.section-head h2,
.section > h1,
.section > h2,
.listing-main h1,
.create-page h1,
.how-page h1,
.account-page h1,
#view-nakliyeciler h1,
#view-firmalar h1 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--ink);
}

.section-head a { color: var(--muted); font-size: 13px; font-weight: 600; }
.page-lead { display: none; }
.center-title { text-align: center; margin-bottom: 14px !important; }

.return-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow);
}

.return-box-slim {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 16px;
}

.return-box-slim h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.return-box-slim h2::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.22);
}

.return-box-slim .return-form {
  flex: 1 1 260px;
}

.return-chip {
  display: inline-block;
  background: var(--yellow-soft);
  color: #7a5a00;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  margin-bottom: 6px;
  border-radius: 999px;
}

.return-copy h2 { margin: 0 0 6px; font-size: 20px; }
.return-copy p { margin: 0; color: var(--muted); font-size: 14px; }

.return-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.return-arrow { display: none; }
.return-form .btn-dark { grid-column: 1 / -1; width: 100%; height: 46px; border-radius: 11px; }

.return-result {
  background: #fffbeb;
  border: 1px solid #ead889;
  padding: 12px 14px;
  font-weight: 700;
  border-radius: var(--radius);
}

/* ===== LISTINGS ===== */
.listing-board { background: transparent; border: 0; }

.listing-head { display: none; }

.listing-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "route fav"
    "meta meta"
    "foot foot";
  gap: 4px 8px;
  padding: 16px;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  -webkit-tap-highlight-color: rgba(245, 196, 0, 0.2);
}

.listing-row:active,
.listing-row:hover { background: #fffdf2; border-color: #e0c65a; }

.col-route { grid-area: route; font-weight: 700; color: var(--ink); font-size: 16px; }
.col-route small { display: none; }
.col-cargo { display: none; }
.col-meta { grid-area: meta; display: block; font-size: 13px; color: #555; }
.col-ton, .col-vehicle, .col-date, .col-posted { display: none; }
.col-price {
  grid-area: foot;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 2px;
}
.fav-btn {
  grid-area: fav;
  border: 0;
  background: none;
  color: #bbb;
  cursor: pointer;
  font-size: 18px;
  width: 40px;
  height: 40px;
}
.fav-btn.active, .fav-btn:hover { color: var(--urgent); }

.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 2px 6px;
  margin: 0 4px 4px 0;
  border-radius: 3px;
  vertical-align: middle;
}
.badge-acil { background: var(--urgent); color: #fff; }
.badge-ok { background: #e8f5e9; color: var(--verified); border: 1px solid #b7dfb9; }

/* ===== VEHICLES ===== */
.vehicle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.vehicle-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.vehicle-banner {
  background: var(--ink);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 9px 14px;
  text-transform: uppercase;
}

.vehicle-body { padding: 16px; }
.vehicle-body h3 { margin: 0 0 6px; font-size: 17px; }

.vehicle-tag {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a5a00;
  background: var(--yellow-soft);
  padding: 3px 8px;
  border-radius: 999px;
}

.vehicle-line,
.detail-line {
  margin: 0 0 10px;
  color: #555;
  font-size: 14px;
}

.detail-line.muted { color: var(--muted); }

.meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 12px;
}
.meta span { color: var(--muted); }
.meta b { color: var(--ink); font-weight: 600; }

.vehicle-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stars { color: #d4a017; font-size: 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stars em { font-style: normal; color: var(--muted); margin-left: 4px; font-weight: 600; }

.contact-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-phone, .btn-wa, .btn-offer {
  border: 0;
  height: 42px;
  padding: 0 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 12px;
  border-radius: var(--radius);
}
.btn-phone { background: var(--yellow); color: var(--ink); }
.btn-wa { background: var(--whatsapp); color: #fff; }
.btn-offer { background: var(--ink); color: #fff; width: 100%; margin-top: 8px; }

/* ===== STATS / TRUST ===== */
.stats-band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  padding: 22px 0;
  gap: 14px;
}

.stats-grid strong { display: block; font-size: 24px; color: var(--ink); }
.stats-grid span { color: var(--muted); font-size: 12px; }

.trust-grid, .how-grid, .people-grid, .create-choice {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.trust-card, .how-grid article, .person-card, .choice-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.trust-card i { font-size: 22px; color: #b8860b; margin-bottom: 8px; }
.trust-card h3, .how-grid h3, .person-card h3 { margin: 0 0 6px; font-size: 16px; }
.how-grid p { display: none; }
.how-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  font-weight: 800;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 50%;
}

.checks { color: var(--verified); font-size: 13px; margin: 8px 0; }
.checks div { margin: 3px 0; }

.choice-card {
  cursor: pointer;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
}
.choice-card:hover, .choice-card.active {
  border-color: #c9a800;
  background: #fffdf2;
}
.choice-card i { font-size: 26px; margin-bottom: 8px; color: #444; }
.choice-card strong { display: block; font-size: 17px; }
.choice-card span { color: var(--muted); }

.create-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.form-grid label, .offer-modal label, .auth-modal label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
}

.form-grid .full { grid-column: 1 / -1; }
.form-actions {
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  margin-top: 14px;
}
.form-actions .btn-search,
.form-actions .btn-ghost { width: 100%; min-height: 48px; }

.return-hint {
  background: var(--ink);
  color: var(--yellow);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 14px;
  border-radius: var(--radius);
}

/* ===== LISTING LAYOUT / FILTERS ===== */
.listing-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px 0 28px;
}

.filters {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(320px, 88vw);
  z-index: 80;
  background: #fff;
  overflow: auto;
  padding: 16px 14px calc(24px + var(--safe-b));
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
  -webkit-overflow-scrolling: touch;
}

.filters.open { display: block; }

.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.filters h3 {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.filters-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #f2f2f2;
  width: 36px;
  height: 36px;
  cursor: pointer;
  border-radius: var(--radius);
}

.filter-group { margin-bottom: 16px; }
.filter-group strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 6px;
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin: 6px 0;
  cursor: pointer;
  line-height: 1.3;
}
.filter-group label.filter-select-label {
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  font-weight: 600;
  margin: 8px 0;
}
.filter-group input[type="checkbox"],
.filter-group input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--ink);
  flex-shrink: 0;
  cursor: pointer;
}
.filter-check-list {
  max-height: 210px;
  overflow-y: auto;
  padding-right: 4px;
}
.filter-group .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.filter-backdrop:not([hidden]) {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 70;
}

.list-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.result-count { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

.toolbar-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.toolbar-right select { flex: 1; min-height: 44px; }

.btn-filter-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  border: 1px solid var(--line-dark);
  background: #fff;
  font-weight: 700;
  padding: 0 12px;
  cursor: pointer;
  border-radius: var(--radius);
  white-space: nowrap;
}

.account-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.empty {
  background: #fff;
  border: 1px dashed var(--line-dark);
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
}
.vehicle-grid > .empty,
.listing-board > .empty,
.people-grid > .empty {
  grid-column: 1 / -1;
}

/* ===== FOOTER ===== */
.footer {
  background: #1f1f1f;
  color: #ddd;
  padding: 28px 0 18px;
  margin-top: 8px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.footer p, .footer-cities { display: none; }
.footer .logo-name { color: var(--yellow); }
.footer span { color: #bbb; font-size: 13px; }
.footer h4 { margin: 0 0 8px; color: #fff; font-size: 14px; }
.footer a { display: block; color: #ccc; font-size: 13px; margin: 5px 0; }
.footer-logo .logo-sub { display: block; }
.footer-bottom {
  border-top: 1px solid #3a3a3a;
  margin-top: 18px;
  padding-top: 12px;
  font-size: 12px;
  color: #999;
}

/* ===== MODALS ===== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 calc(var(--bottom-h) + var(--safe-b));
  overflow: auto;
}

.overlay[hidden],
.toast[hidden],
.filter-backdrop[hidden] { display: none !important; }

.modal {
  background: #fff;
  width: 100%;
  max-height: calc(100vh - var(--bottom-h) - 20px);
  overflow: auto;
  position: relative;
  padding: 18px 14px calc(18px + var(--safe-b));
  border-radius: 14px 14px 0 0;
  -webkit-overflow-scrolling: touch;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  background: #f2f2f2;
  font-size: 18px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.detail-layout h2 { margin: 0 0 4px; font-size: 20px; padding-right: 32px; }
.detail-price { font-size: 24px; font-weight: 800; margin: 4px 0 8px; }
.detail-meta { color: var(--muted); font-size: 13px; margin-bottom: 12px; }

.detail-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.detail-table th {
  text-align: left;
  width: 110px;
  background: #f6f6f6;
  border: 1px solid var(--line);
  padding: 8px 10px;
  font-weight: 600;
  color: #555;
}
.detail-table td { border: 1px solid var(--line); padding: 8px 10px; }

.detail-desc {
  margin-top: 12px;
  background: #fafafa;
  border: 1px solid var(--line);
  padding: 12px;
  font-size: 14px;
  border-radius: var(--radius);
}

.owner-card {
  border: 1px solid var(--line);
  padding: 16px;
  background: #fafafa;
  border-radius: 8px;
}
.owner-card h3 { margin: 0 0 8px; }
.owner-card .btn-phone,
.owner-card .btn-wa,
.owner-card .btn-offer {
  width: 100%;
  margin-top: 8px;
  height: 46px;
  font-size: 14px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: #eceef2;
  border-radius: 12px;
  margin-bottom: 16px;
}
.auth-tabs button {
  height: 40px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.auth-tabs button.active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(15, 17, 21, 0.08);
}
.auth-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
#auth-form .btn-search { width: 100%; margin-top: 8px; }

.toast {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--bottom-h) + 12px + var(--safe-b));
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  z-index: 100;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

/* ===== BOTTOM NAV (mobil varsayılan) ===== */
.bottom-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  z-index: 60;
  height: calc(var(--bottom-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #666;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none !important;
  min-height: 48px;
}

.bottom-nav i { font-size: 17px; }
.bottom-nav a.active { color: var(--ink); }
.bottom-nav a.active i { color: #b8860b; }

.bottom-ilan i {
  background: var(--yellow);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px !important;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(245, 196, 0, 0.5);
}

/* ===== DAR TELEFON ===== */
@media (max-width: 380px) {
  .logo-name { font-size: 16px; }
  .hero-copy h1 { font-size: 22px; }
  .route-form {
    grid-template-columns: 1fr;
    grid-template-areas:
      "from"
      "swap"
      "to"
      "vehicle"
      "date"
      "btn";
  }
  .swap-btn { justify-self: center; transform: rotate(90deg); }
  .contact-row { grid-template-columns: 1fr 1fr; }
  .contact-row .fav-btn { grid-column: 1 / -1; justify-self: end; }
}

/* ===== TABLET+ ===== */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }

  .topbar { display: none; }
  .logo-name { font-size: 22px; }
  .logo-img { width: 44px; height: 44px; }

  .ilan-label-full { display: inline; }
  .ilan-label-short { display: none; }
  .btn-text { display: inline-block; }
  .btn-menu { display: none; }

  .header-inner {
    display: grid;
    grid-template-columns: 240px 1fr auto;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
    min-height: 72px;
  }

  .header-search {
    order: 0;
    flex: unset;
    height: 44px;
  }

  .subnav { display: block; box-shadow: none; }
  .subnav-inner {
    flex-direction: row;
    overflow-x: auto;
    gap: 2px;
  }
  .subnav-link {
    padding: 13px 14px;
    border-bottom: 3px solid transparent;
    border-left: 0;
    white-space: nowrap;
    font-size: 14px;
  }
  .subnav-link:hover,
  .subnav-link.active {
    border-left: 0;
    border-bottom-color: var(--yellow);
    background: #fafafa;
  }

  .hero { padding: 48px 0 40px; }
  .hero-shade {
    background:
      linear-gradient(100deg, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.45) 48%, rgba(10, 10, 10, 0.25) 100%);
  }
  .hero-copy h1 { font-size: 44px; max-width: 10ch; margin-bottom: 22px; }
  .search-tab strong { font-size: 14px; }
  .search-tab { padding: 14px 18px; gap: 10px; }

  .route-form {
    grid-template-columns: 1fr auto 1fr 0.9fr 0.8fr 160px;
    grid-template-areas: "from swap to vehicle date btn";
    padding: 18px;
    align-items: end;
  }
  .route-form .btn-search { min-height: 46px; height: 46px; border-radius: 11px; }

  .hero .popular h2 {
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  }

  .popular-list {
    flex-wrap: wrap;
    overflow: visible;
    margin: 0;
    padding: 0;
  }
  .route-chip { border-radius: 999px; }

  .return-box-slim {
    display: flex;
    flex-wrap: nowrap;
    padding: 16px 20px;
  }
  .return-form {
    grid-template-columns: 1fr auto 1fr auto;
    align-items: center;
  }
  .return-arrow { display: block; color: #888; }
  .return-form .btn-dark { grid-column: auto; width: auto; min-width: 92px; height: 46px; }

  .listing-layout {
    grid-template-columns: 260px 1fr;
    gap: 16px;
    padding: 20px 0 40px;
    align-items: start;
  }

  .filters {
    display: block;
    position: sticky;
    top: 88px;
    left: auto;
    width: auto;
    bottom: auto;
    box-shadow: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    max-height: none;
    overflow: visible;
  }
  .filters-close { display: none; }
  .btn-filter-mobile { display: none; }
  .filter-backdrop { display: none !important; }

  .list-toolbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .toolbar-right select { width: 180px; flex: none; }

  .listing-board {
    background: transparent;
    border: 0;
  }

  .listing-head { display: none; }

  .listing-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
      "route price fav"
      "meta price fav";
    align-items: center;
    gap: 6px 18px;
    padding: 18px 20px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .col-meta { grid-area: meta; display: block; }
  .col-ton, .col-vehicle, .col-date, .col-posted, .col-cargo { display: none; }
  .col-price {
    grid-area: price;
    align-self: center;
    border: 0;
    padding: 0;
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    display: block;
  }
  .listing-row .fav-btn {
    grid-area: fav;
    align-self: center;
  }
  .muted { color: var(--muted); font-size: 13px; }

  .vehicle-grid,
  .people-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: repeat(4, 1fr); }
  .how-grid p { display: none; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); padding: 28px 0; }
  .create-choice, .form-grid { grid-template-columns: 1fr 1fr; }
  .form-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
  .form-actions .btn-search,
  .form-actions .btn-ghost { width: auto; }

  .overlay {
    align-items: flex-start;
    padding: 40px 16px 24px;
  }
  .modal {
    width: min(980px, 100%);
    max-height: none;
    border-radius: 8px;
    padding: 22px 24px;
  }
  .offer-modal, .auth-modal { width: min(420px, 100%); }
  .detail-layout { grid-template-columns: 1fr 300px; gap: 20px; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
  .footer p, .footer-cities { display: none; }

  .toast {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 24px;
    width: auto;
    min-width: 260px;
  }

  .vehicle-foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1100px) {
  .vehicle-grid,
  .people-grid,
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .how-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-copy h1 { font-size: 48px; }
}

@media (min-width: 1440px) {
  .wrap { width: 1360px; }
}


/* ===== AUTH GATED & LOCKED STYLES ===== */
.route-sep {
  font-size: 12px;
  color: #d4a000;
  margin: 0 5px;
}
.badge-cat {
  background: #f1f3f6;
  color: #475060;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-right: 6px;
}
.btn-phone, .btn-wa {
  height: 40px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-wa {
  width: 40px;
  padding: 0;
  font-size: 16px;
}
.btn-phone.btn-locked {
  background: #0f1115;
  color: var(--yellow);
  border: 0;
  gap: 6px;
  white-space: nowrap;
  padding: 0 13px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  font-size: 12px;
  font-weight: 700;
}
.btn-phone.btn-locked:hover {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(245, 196, 0, 0.35);
}
.btn-wa.btn-locked, .btn-wa.btn-locked-wa {
  background: #f2f4f7;
  color: #4b5563;
  border: 1px solid rgba(15, 17, 21, 0.1);
}
.btn-wa.btn-locked:hover, .btn-wa.btn-locked-wa:hover {
  background: var(--whatsapp);
  color: #fff;
  border-color: var(--whatsapp);
}
.btn-offer.btn-locked {
  background: #f1f3f5;
  color: #333;
  border: 1px solid #d0d7de;
}
.btn-offer.btn-locked:hover {
  background: var(--ink);
  color: #fff;
}

.auth-gate-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fffdf2;
  border: 1px solid #f2e29f;
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 16px;
}
.auth-gate-icon {
  font-size: 22px;
  color: #c9a800;
  flex-shrink: 0;
  margin-top: 2px;
}
.auth-gate-text strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}
.auth-gate-text p {
  margin: 0 0 10px;
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}
.auth-gate-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.auth-gate-actions .btn-search {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 6px;
  height: 32px;
  cursor: pointer;
}
.auth-gate-actions .btn-ghost {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 6px;
  height: 32px;
  cursor: pointer;
}

.choice-card .choice-sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: normal;
}

/* User listing management in account */
.account-item-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
}
.account-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.account-item-title {
  font-weight: 700;
  font-size: 15px;
}
.account-item-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.btn-delete-listing {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-delete-listing:hover {
  background: #fca5a5;
  color: #991b1b;
}


/* Report & Renew Styles */
.btn-flag-report {
  color: #dc2626;
  background: none;
  border: none;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s;
}
.btn-flag-report:hover {
  background: #fee2e2;
}

.btn-renew-listing {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-renew-listing:hover {
  background: #d1fae5;
}

/* Notification Header Bell & Badges */
.btn-notif {
  position: relative;
  background: none;
  border: none;
  font-size: 19px;
  color: var(--ink);
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.btn-notif:hover {
  background: rgba(0, 0, 0, 0.05);
}
.notif-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  line-height: 1;
}

/* Notification Items */
.notification-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f9fafb;
  border: 1px solid var(--line);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.notification-item.unread {
  background: #eff6ff;
  border-color: #bfdbfe;
  font-weight: 500;
}
.notification-item:hover {
  background: #f3f4f6;
}
.notif-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.notif-title {
  font-weight: 700;
  color: var(--ink);
}
.notif-time {
  font-size: 11px;
  color: var(--muted);
}
.notif-msg {
  color: #374151;
  line-height: 1.4;
  margin: 0;
}

/* Status Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-pending {
  background: #fef3c7;
  color: #b45309;
}
.badge-accepted {
  background: #d1fae5;
  color: #047857;
}
.badge-rejected {
  background: #fee2e2;
  color: #b91c1c;
}
.badge-completed {
  background: #e0e7ff;
  color: #4338ca;
}

/* Offer Action Buttons */
.offer-actions-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  align-items: center;
}
.btn-offer-accept {
  background: #10b981;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s;
}
.btn-offer-accept:hover {
  background: #059669;
}
.btn-offer-reject {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s;
}
.btn-offer-reject:hover {
  background: #fecaca;
}
.btn-complete-listing {
  background: #e0e7ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-complete-listing:hover {
  background: #c7d2fe;
}

/* Route Distance Info Banner */
.route-info-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 12px 0;
  font-size: 13px;
  color: #334155;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.route-info-box i {
  color: #f59e0b;
}

/* Star Rating Select */
.star-rating-select i {
  transition: transform 0.15s, color 0.15s;
}
.star-rating-select i:hover {
  transform: scale(1.15);
}

/* Highlight AI Subnav Link */
.subnav-link.highlight-ai {
  color: #b45309;
  font-weight: 700;
}
.subnav-link.highlight-ai i {
  color: #d97706;
}

/* AI Assistant Floating Widget */
.ai-widget-toggle {
  position: fixed;
  bottom: 84px;
  right: 20px;
  z-index: 990;
  background: var(--ink);
  color: var(--yellow);
  border: 1px solid rgba(245, 196, 0, 0.35);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(15, 17, 21, 0.24);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform 0.24s var(--spring, cubic-bezier(0.22, 1, 0.36, 1)), box-shadow 0.24s ease, background 0.2s ease;
}
.ai-widget-toggle:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 14px 34px rgba(15, 17, 21, 0.32);
}
.ai-widget-toggle:active {
  transform: scale(0.92);
}

/* AI Drawer */
.ai-drawer[hidden] {
  display: none !important;
}
.ai-drawer {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUpAi 0.28s var(--spring, cubic-bezier(0.22, 1, 0.36, 1)) both;
}
@media (max-width: 640px) {
  .ai-drawer {
    left: 10px;
    right: 10px;
    bottom: calc(var(--bottom-h) + var(--safe-b) + 10px);
    width: auto;
    max-width: none;
    height: min(460px, 68dvh);
    max-height: 72dvh;
    border-radius: 18px;
  }
}
@keyframes slideUpAi {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.ai-drawer-head {
  padding: 14px 16px;
  background: #fdf8e2;
  border-bottom: 1px solid #fef3c7;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ai-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ai-pulse-dot {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.ai-drawer-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fafafa;
}
.ai-bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.ai-bubble-assistant {
  align-self: flex-start;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.ai-bubble-user {
  align-self: flex-end;
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 2px;
}
.ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.ai-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ai-chip:hover {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #b45309;
}
.ai-drawer-foot {
  padding: 10px 12px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
}
.ai-drawer-foot input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
  font-family: inherit;
}
.ai-drawer-foot input:focus {
  border-color: #f59e0b;
}
.ai-drawer-foot button {
  background: var(--yellow);
  color: var(--ink);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.ai-drawer-foot button:hover {
  filter: brightness(0.95);
}

@media (max-width: 600px) {
  .ai-drawer {
    right: 10px;
    left: 10px;
    width: auto;
    bottom: calc(var(--bottom-h) + 12px + var(--safe-b));
    height: min(480px, calc(100dvh - 150px - var(--safe-b)));
  }
  .ai-widget-toggle {
    bottom: calc(var(--bottom-h) + 14px + var(--safe-b));
    right: 12px;
    width: 44px;
    height: 44px;
    font-size: 17px;
  }
}

/* =========================================================
   MOBILE-FIRST APP STORE POLISH & SIGNATURE ANIMATIONS
   ========================================================= */
:root {
  --spring: cubic-bezier(0.22, 1.28, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
  -webkit-tap-highlight-color: transparent;
}

button, a, select, input, textarea, [data-open], [data-view] {
  touch-action: manipulation;
}

@media (display-mode: standalone) {
  .web-only-admin { display: none !important; }
}
body.is-native-app .web-only-admin { display: none !important; }

/* Top Laser Navigation Progress Bar */
.kg-top-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10050;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.kg-top-progress.active { opacity: 1; }
.kg-top-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f5c400, #fff099, #f5c400);
  background-size: 200% 100%;
  box-shadow: 0 0 12px rgba(245, 196, 0, 0.85);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  animation: topLaserShimmer 1.2s linear infinite;
}
@keyframes topLaserShimmer {
  to { background-position: -200% 0; }
}

/* Ultra Multi-Stage Architectural Curtain Preloader */
.kg-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #090b0f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  transition: transform 0.78s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.45s ease 0.28s, visibility 0.78s;
}
.kg-splash.done {
  transform: translateY(-104%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.kg-splash-bg-grid {
  position: absolute;
  inset: -40%;
  background-image:
    linear-gradient(rgba(245, 196, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 196, 0, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: perspective(500px) rotateX(58deg) translateY(0);
  animation: splashGridFlow 3.5s linear infinite;
  mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 72%);
  pointer-events: none;
}
@keyframes splashGridFlow {
  from { background-position: 0 0; }
  to { background-position: 0 92px; }
}
.kg-splash-glow {
  position: absolute;
  width: min(460px, 85vw);
  height: min(460px, 85vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 196, 0, 0.16) 0%, rgba(245, 196, 0, 0.03) 45%, transparent 70%);
  animation: splashGlowPulse 1.8s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes splashGlowPulse {
  from { transform: scale(0.92); opacity: 0.7; }
  to { transform: scale(1.1); opacity: 1; }
}
.kg-splash-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.kg-splash-mark {
  overflow: hidden;
  padding-bottom: 4px;
}
.kg-splash-word {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(32px, 7vw, 48px);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #ffffff;
  animation: curtainWordIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.kg-splash-word span { color: var(--yellow); }
@keyframes curtainWordIn {
  from { opacity: 0; transform: translateY(100%) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.kg-splash-loader-row {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: curtainBarFade 0.4s ease 0.15s both;
}
@keyframes curtainBarFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.kg-splash-bar {
  position: relative;
  width: min(190px, 52vw);
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}
.kg-splash-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #d9aa00, #f5c400, #fff3b0);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(245, 196, 0, 0.75);
  transition: width 0.12s linear;
}
.kg-splash-pct {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.78);
  min-width: 38px;
  text-align: right;
}

/* Pull-to-refresh indicator */
.ptr-indicator {
  position: fixed;
  top: calc(var(--header-h) + var(--safe-t) + 8px);
  left: 50%;
  transform: translate(-50%, -80px) scale(0.9);
  opacity: 0;
  z-index: 65;
  background: var(--ink);
  color: var(--yellow);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  transition: transform 0.22s var(--ease-out), opacity 0.2s;
}
.ptr-indicator.visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
.ptr-indicator.refreshing i {
  animation: spin360 0.7s linear infinite;
}
@keyframes spin360 {
  to { transform: rotate(360deg); }
}

/* View Entrance (opacity only so fixed drawers inside never lose z-index stacking) */
.view.active {
  animation: viewFadeOnly 0.26s ease-out;
}
@keyframes viewFadeOnly {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Display Headings */
h1, h2, h3, .logo-name, .stats-grid strong {
  font-family: var(--font-display);
}

/* Cinematic Hero Choreography & Scroll Parallax */
.hero {
  padding: 26px 0 30px;
}
@media (min-width: 768px) {
  .hero { padding: 56px 0 46px; }
}
.hero-shade {
  background:
    linear-gradient(180deg, rgba(15, 17, 21, 0.78) 0%, rgba(15, 17, 21, 0.44) 56%, rgba(245, 246, 248, 0.98) 97%, #f5f6f8 100%) !important;
}
.hero-img {
  transform: scale(1.16) translate3d(0, var(--hero-py, 0px), 0);
  transition: transform 0.12s linear;
  will-change: transform;
}
body.kg-revealed .hero-img {
  animation: heroCameraPull 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes heroCameraPull {
  from { transform: scale(1.18) translate3d(0, 0px, 0); }
  to { transform: scale(1.04) translate3d(0, var(--hero-py, 0px), 0); }
}

.hero-headline {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5.2vw, 56px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.045em;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.42);
}
.word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 4px;
}
.word-mask > span {
  display: inline-block;
  transform: translateY(115%);
  animation: wordRevealUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}
/* Hero choreography triggers right as curtain lifts */
body:not(.kg-revealed) .word-mask > span,
body:not(.kg-revealed) .accent-word::after,
body:not(.kg-revealed) .search-panel,
body:not(.kg-revealed) .route-chip {
  animation-play-state: paused;
}
body.kg-revealed .word-mask > span,
body.kg-revealed .accent-word::after,
body.kg-revealed .search-panel,
body.kg-revealed .route-chip {
  animation-play-state: running;
}
@keyframes wordRevealUp {
  to { transform: translateY(0); }
}
.accent-word {
  position: relative;
  color: var(--yellow);
}
.accent-word::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 4px;
  background: var(--yellow);
  border-radius: 999px;
  transform-origin: left center;
  transform: scaleX(0);
  animation: accentRuleDraw 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.48s forwards;
}
@keyframes accentRuleDraw {
  to { transform: scaleX(1); }
}

/* Floating Frosted Search Dock + Segmented Pill Glider */
.search-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15, 17, 21, 0.24), 0 0 0 1px rgba(15, 17, 21, 0.06);
  animation: dockRise 0.68s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
  overflow: hidden;
}
@keyframes dockRise {
  from { opacity: 0; transform: translateY(26px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.search-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  margin: 12px 12px 0;
  background: #eceef2;
  border-radius: 12px;
  border-bottom: 0 !important;
}
@media (min-width: 768px) {
  .search-tabs {
    margin: 14px 18px 0;
    max-width: 360px;
  }
}
.search-tab-glider {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  height: auto;
  background: #ffffff;
  border-radius: 9px;
  box-shadow: 0 2px 10px rgba(15, 17, 21, 0.1);
  z-index: 1;
  transition: transform 0.38s cubic-bezier(0.22, 1.2, 0.36, 1);
  pointer-events: none;
}
.search-tabs.is-arac .search-tab-glider {
  transform: translateX(100%);
}
.search-tab {
  position: relative;
  z-index: 2;
  background: transparent !important;
  border: 0 !important;
  min-height: 42px;
  padding: 8px 12px;
  justify-content: center;
  border-radius: 9px;
  color: var(--muted);
  transition: color 0.22s ease;
}
.search-tab.active {
  color: var(--ink);
}
.search-tab i {
  font-size: 15px;
  transition: transform 0.32s var(--spring), color 0.2s ease;
}
.search-tab.active i {
  color: #d49b00;
  transform: scale(1.14);
}
.search-tab strong {
  font-size: 13px;
  font-weight: 700;
}

/* Swap Button Spin */
.swap-btn {
  border-radius: 10px;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.swap-btn:hover {
  border-color: var(--ink);
  background: var(--yellow-soft);
}
.swap-btn.spinning i {
  animation: swapSpin 0.45s var(--spring);
}
@keyframes swapSpin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}

/* Popular Route Chips */
.popular { margin-top: 16px; }
.route-chip {
  flex: 0 0 auto;
  background: rgba(15, 17, 21, 0.72);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  transition: transform 0.24s var(--spring), background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.24s ease;
  animation: chipPop 0.48s cubic-bezier(0.16, 1, 0.3, 1) calc(0.32s + var(--i, 0) * 55ms) both;
}
.route-chip:hover {
  transform: translateY(-3px);
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
  box-shadow: 0 10px 22px rgba(245, 196, 0, 0.32);
}
.route-chip:active {
  transform: scale(0.94);
}
@keyframes chipPop {
  from { opacity: 0; transform: translateY(10px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Return Bar & Refined Card Architecture */
.return-box,
.listing-row,
.vehicle-card,
.person-card,
.choice-card,
.how-grid article,
.account-box,
.create-form {
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.return-box-slim {
  border-left: 1px solid var(--line);
}

/* Scroll-Triggered Reveal Choreography */
.reveal-el {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
}
.reveal-el.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Sleek Empty State Cards */
.empty-card {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  box-shadow: var(--shadow);
}
@media (min-width: 768px) {
  .empty-card {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 20px 24px;
  }
}
.empty-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.empty-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f5f6f8;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.empty-card p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.btn-sm {
  height: 38px !important;
  padding: 0 16px !important;
  font-size: 13px !important;
  border-radius: 10px !important;
  white-space: nowrap;
}

/* Dark Obsidian Stats Showcase Band */
.stats-band {
  position: relative;
  overflow: hidden;
  background: #0f1115;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #ffffff;
}
.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.stats-band::after {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 200px;
  background: radial-gradient(circle, rgba(245, 196, 0, 0.18), transparent 70%);
  pointer-events: none;
}
.stats-grid {
  position: relative;
  z-index: 1;
}
.stats-grid strong {
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
@media (min-width: 768px) {
  .stats-grid strong { font-size: 36px; }
}
.stats-grid span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
  display: inline-block;
}

/* Desktop Cursor Spotlight + Elevation on Cards */
.search-panel,
.return-box,
.listing-row,
.vehicle-card,
.person-card,
.choice-card,
.how-grid article,
.empty-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1.2, 0.36, 1), box-shadow 0.28s ease, border-color 0.22s ease;
}
.listing-row::before,
.vehicle-card::before,
.choice-card::before,
.return-box::before,
.how-grid article::before,
.empty-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(245, 196, 0, 0.13), transparent 62%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .listing-row:hover::before,
  .vehicle-card:hover::before,
  .choice-card:hover::before,
  .return-box:hover::before,
  .how-grid article:hover::before,
  .empty-card:hover::before {
    opacity: 1;
  }
  .listing-row:hover,
  .vehicle-card:hover,
  .choice-card:hover {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px);
    box-shadow: 0 20px 42px rgba(15, 17, 21, 0.12);
    border-color: rgba(245, 196, 0, 0.85);
  }
  .person-card:hover,
  .how-grid article:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 17, 21, 0.09);
    border-color: rgba(245, 196, 0, 0.7);
  }
}

/* Rich Multi-Bar Shimmer Skeleton Cards */
.kg-skel-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow);
}
.kg-skel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.kg-skel-bar {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #eceef2 20%, #f8f9fb 50%, #eceef2 80%);
  background-size: 200% 100%;
  animation: skelSweep 1.15s infinite linear;
}
.kg-skel-bar.w-60 { width: 60%; height: 16px; }
.kg-skel-bar.w-25 { width: 25%; height: 18px; }
.kg-skel-bar.w-85 { width: 85%; }
.kg-skel-bar.w-40 { width: 40%; }
@keyframes skelSweep {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* CTA Light Sheen Sweep */
.btn-search,
.btn-ilan {
  position: relative;
  overflow: hidden;
}
.btn-search::after,
.btn-ilan::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -90%;
  width: 45%;
  height: 140%;
  background: linear-gradient(105deg, transparent 10%, rgba(255, 255, 255, 0.35) 50%, transparent 90%);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .btn-search:hover::after,
  .btn-ilan:hover::after {
    left: 145%;
  }
}
.listing-row:active,
.vehicle-card:active,
.choice-card:active,
.how-grid article:active {
  transform: scale(0.98);
}

/* Staggered Card Reveal */
.anim-card {
  animation: cardRiseIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) calc(min(var(--stagger, 0), 8) * 55ms) both;
}
@keyframes cardRiseIn {
  from { opacity: 0; transform: translateY(18px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Animated Route Track inside Cards & Detail */
.kg-route-track {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.kg-route-track.is-compact {
  max-width: 240px;
  margin: 6px 0 6px;
}
.kg-route-line {
  position: relative;
  flex: 1;
  height: 2px;
  margin: 0 6px;
  background: repeating-linear-gradient(90deg, #d4ab00 0 6px, transparent 6px 11px);
  min-width: 56px;
}
.kg-route-line::before,
.kg-route-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  transform: translateY(-50%);
}
.kg-route-line::before { left: 0; }
.kg-route-line::after { right: 0; background: #16a34a; }
.kg-route-truck {
  position: absolute;
  top: 50%;
  left: 14%;
  transform: translate(-50%, -58%);
  color: var(--ink);
  background: var(--yellow);
  border-radius: 999px;
  padding: 2px 5px;
  font-size: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
  animation: routeTruckDrive 3.4s ease-in-out infinite;
}
@keyframes routeTruckDrive {
  0% { left: 14%; opacity: 0.9; }
  50% { left: 86%; opacity: 1; }
  100% { left: 14%; opacity: 0.9; }
}

/* Urgent Badge Beacon */
.badge-acil {
  position: relative;
  overflow: hidden;
  animation: urgentPulse 2s ease-in-out infinite;
}
@keyframes urgentPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(198, 40, 40, 0); }
}

/* Heart Favorite Burst */
.fav-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.22s var(--spring), color 0.2s ease, background 0.2s ease;
}
.fav-btn:active { transform: scale(0.84); }
.fav-btn.pop i {
  animation: heartPop 0.48s var(--spring);
}
@keyframes heartPop {
  0% { transform: scale(1); }
  35% { transform: scale(1.48); }
  65% { transform: scale(0.88); }
  100% { transform: scale(1); }
}

/* Interactive Ripple & Press on Primary Buttons */
.btn-search, .btn-dark, .btn-ilan, .btn-phone, .btn-wa, .btn-offer {
  position: relative;
  overflow: hidden;
  transition: transform 0.18s var(--spring), filter 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-search:active, .btn-dark:active, .btn-ilan:active, .btn-phone:active, .btn-wa:active, .btn-offer:active {
  transform: scale(0.965);
}
.kg-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: kgRippleAnim 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes kgRippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* Skeleton Loader Shimmer */
.skeleton-card {
  height: 92px;
  border-radius: 10px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #ececec 25%, #f8f8f8 50%, #ececec 75%);
  background-size: 200% 100%;
  animation: shimmerLoad 1.2s infinite linear;
  border: 1px solid var(--line);
}
@keyframes shimmerLoad {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* Notification Bell Ring & Mobile Bottom Badge */
.btn-notif.has-unread i {
  animation: bellRing 2.6s ease-in-out infinite;
  transform-origin: top center;
}
@keyframes bellRing {
  0%, 80%, 100% { transform: rotate(0); }
  84% { transform: rotate(14deg); }
  88% { transform: rotate(-12deg); }
  92% { transform: rotate(8deg); }
  96% { transform: rotate(-5deg); }
}

.bottom-nav {
  grid-template-columns: repeat(5, 1fr);
}
.bottom-nav a {
  position: relative;
  transition: transform 0.18s var(--spring), color 0.18s ease;
}
.bottom-nav a:active { transform: scale(0.9); }
.bottom-nav a.active:not(.bottom-ilan) i {
  background: rgba(245, 196, 0, 0.28);
  color: var(--ink);
  padding: 5px 14px;
  border-radius: 999px;
  transform: translateY(-1px) scale(1.06);
  transition: transform 0.28s var(--spring), background 0.22s ease;
}
.footer {
  background: #0a0c0f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0;
}
@keyframes tabLineIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.bottom-badge {
  position: absolute;
  top: 8px;
  right: calc(50% - 14px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dc2626;
  border: 2px solid #fff;
}

/* Native Bottom-Sheet Modals on Mobile + Smooth Animations */
.overlay {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeBackdrop 0.22s ease-out both;
}
@keyframes fadeBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}
.sheet-handle {
  width: 40px;
  height: 4px;
  background: #d4d4d8;
  border-radius: 999px;
  margin: -4px auto 12px;
}
@media (max-width: 767px) {
  .overlay {
    padding: 0;
    align-items: flex-end;
  }
  .modal {
    border-radius: 22px 22px 0 0;
    max-height: calc(92dvh - var(--safe-b));
    padding: 14px 16px calc(22px + var(--safe-b));
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.24);
    animation: sheetUp 0.34s var(--spring) both;
  }
  @keyframes sheetUp {
    from { transform: translateY(100%); opacity: 0.6; }
    to { transform: translateY(0); opacity: 1; }
  }
  .filters {
    display: block;
    transform: translateX(-108%);
    transition: transform 0.32s var(--ease-out);
  }
  .filters.open {
    transform: translateX(0);
  }
}
@media (min-width: 768px) {
  .sheet-handle { display: none; }
  .modal {
    animation: modalPop 0.28s var(--spring) both;
  }
  @keyframes modalPop {
    from { opacity: 0; transform: translateY(14px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}

/* Animated Toast */
.toast {
  animation: toastSlideUp 0.32s var(--spring) both;
}
@keyframes toastSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (min-width: 768px) {
  @keyframes toastSlideUp {
    from { opacity: 0; transform: translate(-50%, 16px) scale(0.95); }
    to { opacity: 1; transform: translate(-50%, 0) scale(1); }
  }
}

/* Typing Dots */
.ai-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px;
}
.ai-typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d97706;
  animation: typingBounce 1.1s infinite ease-in-out;
}
.ai-typing-dots span:nth-child(2) { animation-delay: 0.16s; }
.ai-typing-dots span:nth-child(3) { animation-delay: 0.32s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-5px); opacity: 1; }
}

/* App Store Legal, Consent, Block & Account Deletion UI */
.auth-consent {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin-top: 6px;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--muted);
  line-height: 1.45;
  cursor: pointer;
}
.auth-consent input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
  margin-top: 2px;
}
.legal-body h2 { margin: 0 0 10px; font-size: 20px; }
.legal-body h3 { margin: 16px 0 6px; font-size: 15px; color: var(--ink); }
.legal-body p, .legal-body li { font-size: 13.5px; color: #374151; line-height: 1.55; }
.legal-body ul { padding-left: 18px; margin: 6px 0; }

.btn-block-user {
  width: 100%;
  margin-top: 4px;
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  transition: background 0.18s, color 0.18s;
}
.btn-block-user:hover {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.danger-zone-box {
  margin-top: 24px;
  padding: 16px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.danger-zone-box h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #991b1b;
}
.danger-zone-box p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #7f1d1d;
}
.blocked-users-box {
  margin-top: 18px;
  padding: 14px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--line);
}
.blocked-user-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.blocked-user-row:last-child { border-bottom: 0; }

/* Header, Subnav & Mobile Bottom Dock Glassmorphism */
.header {
  background: rgba(245, 196, 0, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 14px rgba(15, 17, 21, 0.08);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.subnav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.bottom-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 -6px 24px rgba(15, 17, 21, 0.08);
}

.stats-grid > div {
  transition: transform 0.25s var(--spring);
}
@media (hover: hover) {
  .stats-grid > div:hover {
    transform: translateY(-3px) scale(1.03);
  }
}

.btn-ilan {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(15, 17, 21, 0.18);
}
.btn-ilan:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 17, 21, 0.24);
}
.bottom-ilan i {
  transition: transform 0.28s var(--spring), box-shadow 0.28s ease;
}
.bottom-ilan:active i {
  transform: scale(0.9) rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}