/* TheBarberz — mobile-first. Design system: docs/DESIGN-SYSTEM.md (v0.3) */

:root {
  /* Surfaces — premium charcoal */
  --bg: #0e0f10;
  --bg-elevated: #151719;
  --card: #1b1d20;
  --card-raised: #222529;
  --border: #30343a;

  /* Copper (marka / işletme CTA) — --gold geriye dönük alias */
  --copper: #c8793f;
  --copper-light: #e09a61;
  --copper-dark: #8e4b25;
  --copper-press: #a95f2e;
  --gold: var(--copper);
  --gold-dark: var(--copper-dark);
  --copper-gradient: linear-gradient(90deg, #8e4b25 0%, #c8793f 35%, #e09a61 55%, #c8793f 100%);
  --footer-accent: var(--copper);
  /* İşletme sayfası çizgi standardı (hero, footer hr, .steel-line) */
  --shop-rule-height: 1.5px;
  --shop-rule-width: min(280px, 82%);
  --shop-rule-gradient: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--copper) 25%, transparent) 12%,
    color-mix(in srgb, var(--copper) 70%, #c9a07a) 28%,
    #e09a61 50%,
    color-mix(in srgb, var(--copper) 70%, #c9a07a) 72%,
    color-mix(in srgb, var(--copper) 25%, transparent) 88%,
    transparent 100%
  );
  --shop-rule-glow: 0 0 10px rgba(200, 121, 63, 0.35);
  --shop-rule-gap: 10px;

  /* Steel (müşteri) */
  --steel: #c7c9cc;
  --steel-light: #e6e7e9;
  --steel-dark: #70747a;
  --steel-metal-gradient: linear-gradient(180deg, #e6e7e9 0%, #c7c9cc 45%, #70747a 100%);
  --steel-gradient: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #70747a 20%, #c7c9cc 50%, #70747a 80%, rgba(0, 0, 0, 0) 100%);

  /* Supplier */
  --supplier: #6fa8d2;
  --supplier-light: #9cc9ec;
  --supplier-dark: #1d3548;

  /* Text */
  --text: #f3f3f3;
  --text-secondary: #a8adb3;
  --text-muted: #72777d;
  --text-dim: var(--text-secondary);

  /* Icons / status */
  --icon: #a8adb3;
  --icon-active: var(--copper);
  --danger: #c94f4f;
  --success: #4daa78;
  --warning: #d99a3d;
  --info: var(--supplier);

  /* Type */
  --font-ui: "Manrope", system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;

  /* Radius / layout */
  --radius: 16px;
  --radius-btn: 12px;
  --radius-sm: 10px;
  --max-width: 480px;
  --btn-height: 50px;
  --space: 4px;
}

* { box-sizing: border-box; }

html {
  height: 100%;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  color-scheme: dark;
}

/* Kolon her genişlikte ortada — yan panelde sola yapışmayı keser */
body {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

a { color: var(--copper); text-decoration: none; }

h1, h2, .page-title, .mh-hello, .lm-hero h1, .lm-section__title, .dash-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: #f2f2f2;
  letter-spacing: -0.02em;
}

/* Metal gradient sadece logo / premium vurgu metinlerinde */
.gold {
  background: var(--copper-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.page {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
  box-sizing: border-box;
}

.page.with-bottom-nav { padding-bottom: 24px; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: var(--bg);
  background-image: url('/static/images/header_925px.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 462.5px 88.5px;
  background-attachment: fixed;
  box-shadow: inset 0 0 14px 4px rgba(0, 0, 0, 0.75);
}

.topbar .brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

/* Admin: hızlı erişim çerçeveli topbar içinde;
   kimlik (sol) + Ana Sayfa/Çıkış (sağ) çerçevenin altında. */
.admin-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  /* Göz menüsü çerçeve üst kenarına oturduğu için üst boşluk */
  padding: 16px 12px 4px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* .topbar'ın arka plan / sabit yükseklik / gölge stillerini tamamen sıfırla */
.admin-header .admin-topbar.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  height: auto;
  min-height: 0;
  max-height: none;
  /* Üst padding: göz menüsü çerçeve kenarına oturunca linkler örtülmez */
  padding: 14px 10px 8px;
  gap: 0;
  flex-wrap: nowrap;
  border: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius);
  background-image: none !important;
  background-attachment: scroll !important;
  box-shadow: none !important;
  overflow: visible;
}

.admin-chrome-stack {
  display: block;
  width: 100%;
  min-width: 0;
}

.admin-quick-nav {
  display: flex;
  gap: 6px 12px;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  overflow: visible;
}

.admin-quick-nav a {
  color: var(--text-dim);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.admin-quick-nav a.active {
  color: var(--gold);
  font-weight: 600;
}

.admin-quick-nav .ui-icon,
.admin-utility-links .ui-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  color: var(--icon);
}

.admin-quick-nav a.active .ui-icon {
  color: var(--icon);
}

.admin-quick-nav .admin-nav-stats {
  margin-left: auto;
}

.admin-subheader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 8px 2px;
  flex-wrap: wrap;
}

.admin-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-online-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3dffa0;
  box-shadow: 0 0 0 0 rgba(61, 255, 160, 0.55);
  flex-shrink: 0;
  animation: admin-online-pulse 1.6s ease-out infinite;
}

@keyframes admin-online-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(61, 255, 160, 0.55);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 8px rgba(61, 255, 160, 0);
    opacity: 0.85;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(61, 255, 160, 0);
    opacity: 1;
  }
}

.admin-identity-name {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-dim);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
}

.admin-identity-role {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-dim);
}

.admin-test-link {
  margin-left: 6px;
  color: var(--text-dim);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  line-height: 1.2;
}

.admin-test-link:hover,
.admin-test-link.active {
  color: var(--gold);
  border-color: rgba(193, 121, 63, 0.45);
}

.admin-test-link .ui-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  color: var(--icon);
}

/* Admin → İşletme Paneli: mimari / tasarım önizlemesi */
.admin-panel-blueprint {
  margin: 0 0 28px;
  padding: 14px;
  border: 1px dashed rgba(193, 121, 63, 0.35);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
}

.admin-panel-blueprint-header {
  pointer-events: none;
  margin-bottom: 12px;
}

.admin-panel-blueprint-stats {
  margin-bottom: 12px;
}

.admin-panel-blueprint-nav {
  display: flex;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-panel-blueprint-tab {
  flex: 1;
  min-width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 4px 8px;
  color: var(--text-dim);
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}

.admin-panel-blueprint-tab.active {
  color: var(--gold);
}

.admin-panel-blueprint-tab .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
}

.admin-panel-blueprint-tab .ui-icon {
  width: 20px;
  height: 20px;
  color: var(--icon);
}

.admin-panel-blueprint-legend {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  font-size: 0.8rem;
  line-height: 1.45;
}

.admin-panel-blueprint-legend li + li {
  margin-top: 4px;
}

.admin-panel-blueprint-legend strong {
  color: var(--text);
  font-weight: 600;
}

/* Admin işletme listesi — find-result bakır kart stili */
.admin-shop-find {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.admin-shop-find .find-result-box {
  width: 100%;
  flex: none;
}

.admin-shop-find-search {
  margin: 0;
}

.admin-shop-find-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 12px;
  text-align: left;
}

.admin-shop-find-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(184, 107, 53, 0.22);
}

.admin-shop-find-item:last-child {
  border-bottom: none;
}

.admin-shop-find-meta {
  min-width: 0;
  flex: 1;
}

.admin-shop-find-name {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-shop-find-place {
  margin-top: 2px;
  font-size: 0.82rem;
  color: rgba(255, 245, 237, 0.72);
}

.admin-shop-find-item .find-result-link-btn {
  padding: 6px 14px;
  font-size: 0.82rem;
  border-color: rgba(229, 161, 107, 0.55);
}

/* 404 — landing ölçülerinde ortalı bakır kutu + footer */
.page.landing > .landing-content.page-404-content {
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  box-sizing: border-box;
}

.find-result-box.page-404-box {
  width: 100%;
  max-width: 420px;
  flex: 0 0 auto;
  height: auto;
  align-self: center;
  text-align: center;
}

.page-404-box .find-result-link-btn {
  padding: 8px 18px;
  font-size: 0.92rem;
}

.admin-utility-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.admin-utility-links a {
  color: var(--text-dim);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  white-space: nowrap;
}

/* Admin hızlı menü varken panel sayfalarındaki boş/yinelenen topbar
   (sadece Çıkış olan siyah şerit) gizlensin. */
body.admin-preview .page > .topbar {
  display: none;
}

/* .topbar .brand .gold artık üstteki .gold kuralından (metal gradyan) miras alıyor */

.container { padding: 20px; }

.hero {
  padding: 48px 24px 32px;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 12px;
}

.hero p { color: var(--text-dim); margin: 0 0 28px; font-size: 1rem; }

/* .hero .gold artık üstteki .gold kuralından (metal gradyan) miras alıyor */

/* Butonlar — feed kartlarındaki sağa doğru accent glow (panel rengine göre) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: var(--btn-height);
  padding: 16px 22px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-align: center;
  transition: transform 0.05s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease, filter 0.15s ease;
}

.btn:active { transform: scale(0.98); }

/* Ortak “sağ glow” yüzeyi — --btn-glow / --theme accent ile boyanır */
.btn-primary,
.btn-steel,
.btn-steel-surface,
.account-card .card-btn {
  --btn-glow: rgba(200, 121, 63, 0.28);
  --btn-edge: color-mix(in srgb, var(--copper) 40%, var(--border));
  color: var(--text);
  border-color: var(--btn-edge);
  background-color: #141416;
  background-image:
    radial-gradient(120% 90% at 100% 30%, var(--btn-glow) 0%, transparent 55%),
    linear-gradient(135deg, #2a2a2e 0%, #141416 100%);
  box-shadow: none;
}

.btn-primary:hover,
.btn-steel:hover,
.btn-steel-surface:hover,
.account-card .card-btn:hover {
  filter: brightness(1.08);
  color: #fff;
}

.btn-steel-surface::before { display: none; }

/* İşletme — copper */
body.theme-shop .btn-primary,
body.theme-shop .btn-steel,
.card-copper .card-btn {
  --btn-glow: rgba(200, 121, 63, 0.32);
  --btn-edge: color-mix(in srgb, var(--copper) 45%, var(--border));
  border-color: var(--btn-edge);
  background-image:
    radial-gradient(120% 90% at 100% 30%, var(--btn-glow) 0%, transparent 55%),
    linear-gradient(135deg, #2c241c 0%, #141210 100%);
}

/* Müşteri — steel */
body.theme-customer .btn-primary,
body.theme-customer .btn-steel,
body.theme-customer .btn-steel-surface,
body.member-home-page .btn-primary,
body.member-home-page .btn-outline.mh-action,
.card-steel .card-btn,
.btn-steel,
.btn-steel-surface {
  --btn-glow: rgba(210, 212, 215, 0.22);
  --btn-edge: color-mix(in srgb, var(--steel) 40%, var(--border));
  border-color: var(--btn-edge);
  color: var(--text);
  background-color: #141416;
  background-image:
    radial-gradient(120% 90% at 100% 30%, var(--btn-glow) 0%, transparent 55%),
    linear-gradient(135deg, #2a2a2e 0%, #141416 100%);
}

/* Tedarikçi — blue */
body.theme-supplier .btn-primary,
.card-mirror .card-btn {
  --btn-glow: rgba(111, 168, 210, 0.3);
  --btn-edge: color-mix(in srgb, var(--supplier) 45%, var(--border));
  border-color: var(--btn-edge);
  background-image:
    radial-gradient(120% 90% at 100% 30%, var(--btn-glow) 0%, transparent 55%),
    linear-gradient(135deg, #1c2833 0%, #101820 100%);
}

/* Varsayılan primary (tema yoksa) — copper glow */
.btn-primary {
  --btn-glow: rgba(200, 121, 63, 0.28);
  --btn-edge: color-mix(in srgb, var(--copper) 40%, var(--border));
  color: var(--text);
  border-color: var(--btn-edge);
  background-color: #141416;
  background-image:
    radial-gradient(120% 90% at 100% 30%, var(--btn-glow) 0%, transparent 55%),
    linear-gradient(135deg, #2c241c 0%, #141210 100%);
  box-shadow: none;
}
.btn-primary:hover {
  filter: brightness(1.08);
  color: #fff;
  background: #141416;
  background-image:
    radial-gradient(120% 90% at 100% 30%, rgba(200, 121, 63, 0.4) 0%, transparent 55%),
    linear-gradient(135deg, #2c241c 0%, #141210 100%);
  border-color: color-mix(in srgb, var(--copper) 55%, var(--border));
}

/* WhatsApp — marka yeşili gradient + ikon */
.btn-whatsapp {
  color: #fff;
  border-color: #1ebe57;
  background-color: #128c7e;
  background-image: linear-gradient(90deg, #075e54 0%, #128c7e 28%, #25d366 52%, #128c7e 78%, #075e54 100%);
  box-shadow: none;
}
.btn-whatsapp:hover {
  filter: brightness(1.08);
  color: #fff;
  border-color: #34e07f;
  background-image: linear-gradient(90deg, #0a6b5c 0%, #1aad6a 28%, #3ddc78 52%, #1aad6a 78%, #0a6b5c 100%);
}
.btn-whatsapp .ui-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #fff;
}

/* Secondary — aynı dil, daha hafif glow */
.btn-outline,
.btn-metal-flat {
  --btn-glow: rgba(200, 121, 63, 0.14);
  color: var(--copper-light);
  border-color: color-mix(in srgb, var(--copper) 35%, var(--border));
  background-color: transparent;
  background-image:
    radial-gradient(110% 80% at 100% 40%, var(--btn-glow) 0%, transparent 55%),
    linear-gradient(135deg, rgba(42, 42, 46, 0.55) 0%, rgba(14, 15, 16, 0.35) 100%);
  box-shadow: none;
}
.btn-outline:hover,
.btn-metal-flat:hover {
  filter: brightness(1.06);
  border-color: color-mix(in srgb, var(--copper) 55%, var(--border));
  color: var(--copper-light);
  background-image:
    radial-gradient(110% 80% at 100% 40%, rgba(200, 121, 63, 0.22) 0%, transparent 55%),
    linear-gradient(135deg, rgba(42, 42, 46, 0.7) 0%, rgba(14, 15, 16, 0.45) 100%);
}

body.theme-customer .btn-outline,
body.theme-customer .btn-metal-flat,
body.member-home-page .btn-outline {
  --btn-glow: rgba(210, 212, 215, 0.14);
  color: var(--steel-light);
  border-color: color-mix(in srgb, var(--steel) 35%, var(--border));
  background-image:
    radial-gradient(110% 80% at 100% 40%, var(--btn-glow) 0%, transparent 55%),
    linear-gradient(135deg, rgba(42, 42, 46, 0.55) 0%, rgba(14, 15, 16, 0.35) 100%);
}

body.theme-supplier .btn-outline,
body.theme-supplier .btn-metal-flat {
  --btn-glow: rgba(111, 168, 210, 0.16);
  color: var(--supplier-light);
  border-color: color-mix(in srgb, var(--supplier) 40%, var(--border));
  background-image:
    radial-gradient(110% 80% at 100% 40%, var(--btn-glow) 0%, transparent 55%),
    linear-gradient(135deg, rgba(28, 40, 51, 0.7) 0%, rgba(14, 15, 16, 0.4) 100%);
}

body.theme-shop .btn-outline,
body.theme-shop .btn-metal-flat {
  --btn-glow: rgba(200, 121, 63, 0.16);
  color: var(--copper-light);
  border-color: color-mix(in srgb, var(--copper) 40%, var(--border));
}

.btn-ghost {
  width: auto;
  min-height: 0;
  padding: 6px 0;
  border: none;
  background: transparent;
  background-image: none;
  color: var(--copper);
  font-weight: 600;
  font-size: 0.875rem;
}
.btn-ghost:hover { color: var(--copper-light); filter: none; }

.btn-danger {
  --btn-glow: rgba(201, 79, 79, 0.22);
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 45%, var(--border));
  background-color: #141416;
  background-image:
    radial-gradient(120% 90% at 100% 30%, var(--btn-glow) 0%, transparent 55%),
    linear-gradient(135deg, #2a1c1c 0%, #141010 100%);
}
.btn-danger:hover {
  filter: brightness(1.08);
  border-color: var(--danger);
  background-image:
    radial-gradient(120% 90% at 100% 30%, rgba(201, 79, 79, 0.32) 0%, transparent 55%),
    linear-gradient(135deg, #2a1c1c 0%, #141010 100%);
}

.btn-small {
  width: auto;
  min-height: 36px;
  padding: 8px 14px;
  font-size: 0.8125rem;
}

/* Admin "Test Araçları" demo oluşturma butonları — istisnai olarak genel
   hap/ghost mantığından ayrılıp anasayfadaki karşılama kartlarıyla (İşletme
   bakır, Müşteri paslanmaz, Tedarikçi mavi ayna) aynı metal dolgu rengini
   taşıyor, ki hesap türü ilk bakışta ayırt edilebilsin. */
.demo-box-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.btn-demo-copper {
  background: linear-gradient(90deg, #6b3a1a 0%, #e8b382 25%, #c1793f 50%, #e8b382 75%, #6b3a1a 100%);
  border-color: rgba(255, 236, 217, 0.5);
  color: #2a1608;
  opacity: 0.5;
}
.btn-demo-steel {
  background: linear-gradient(90deg, #55555b 0%, #f2f2f4 25%, #9a9aa0 50%, #f2f2f4 75%, #55555b 100%);
  border-color: rgba(255, 255, 255, 0.5);
  color: #17171a;
  opacity: 0.5;
}
.btn-demo-mirror {
  background: linear-gradient(90deg, #0a1420 0%, #6f9cbe 25%, #24405c 50%, #6f9cbe 75%, #0a1420 100%);
  border-color: rgba(180, 210, 235, 0.5);
  color: #eaf3fa;
  opacity: 0.5;
}
.btn-demo-copper:hover, .btn-demo-steel:hover, .btn-demo-mirror:hover { filter: brightness(1.1); opacity: 0.7; }

.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 12px; }
.row > * { flex: 1; min-width: 0; }

.address-building-row {
  align-items: flex-end;
}
.field-manual-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
}
.field-manual-wrap select.manual-select-covered {
  color: transparent;
  text-shadow: none;
}
.manual-pop {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: stretch;
}
.manual-pop[hidden] {
  display: none !important;
}
.manual-pop .manual-entry {
  margin: 0;
  flex: 1;
  min-width: 0;
  padding-right: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border-color: var(--gold);
  outline: 2px solid var(--gold);
}
.manual-pop-close {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-dim);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  z-index: 6;
}
.manual-pop-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
@media (max-width: 759px) {
  .row {
    flex-direction: column;
    gap: 10px;
  }
  .address-building-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-direction: unset;
    gap: 10px;
  }
  .address-building-row > .field:first-child {
    grid-column: 1 / -1;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.card + .card { margin-top: 12px; }

.or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  margin: 18px 0;
}
.or-divider::before, .or-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border);
}
.or-divider span { padding: 0 12px; }

.btn-social { gap: 10px; }
.social-icon { width: 18px; height: 18px; flex-shrink: 0; }

.link-share { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.link-share input {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  background: var(--bg-elevated);
}
.link-share .btn-small { flex-shrink: 0; }

.card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.card .muted { color: var(--text-dim); font-size: 0.88rem; }

.muted {
  color: var(--text-secondary);
}

.step + .step { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
.step h3 { margin: 0 0 4px; font-size: 1.0rem; }

.phone-input { display: flex; align-items: stretch; }
.phone-input .phone-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 10px 0 0 10px;
  background: var(--bg-elevated);
  color: var(--text-dim);
  font-size: 1rem;
  flex-shrink: 0;
}
.phone-input input {
  border-radius: 0 10px 10px 0;
  min-width: 0;
}

.section-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 24px 0 10px;
}

/* Kayıt sonrası — adres / profil adımı karşılama */
.onboard-welcome {
  margin: 8px 0 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--copper) 35%, var(--border));
  border-left: 3px solid var(--copper);
  background: color-mix(in srgb, #1a1612 90%, var(--copper) 10%);
}
.onboard-welcome__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #f1f1f1;
  line-height: 1.35;
}
.onboard-welcome__sub {
  margin: 6px 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #c4c4c4;
  line-height: 1.4;
}

.onboard-prospect-note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--copper) 28%, var(--border));
  background: color-mix(in srgb, #171512 94%, var(--copper) 6%);
  font-size: 0.86rem;
  line-height: 1.4;
  color: #c8c8c8;
}

.crosscheck-warn__title {
  margin: 0 0 8px;
  font-weight: 700;
}
.crosscheck-warn__list {
  margin: 0 0 8px;
  padding-left: 1.2em;
}
.crosscheck-warn__list li { margin: 4px 0; }
.crosscheck-warn__hint {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.9;
}

.address-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0 10px;
}

.address-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.address-toolbar .address-section-head {
  margin: 0;
}

.address-toolbar .address-geo-row {
  margin: 0;
}

.address-toolbar-line {
  border: none;
  height: 1px;
  margin: 0;
  padding: 0;
  width: 100%;
  background: var(--border);
  background-image: var(--steel-gradient, none);
}

/* Üst çizgi ↔ Cihaz Konumu ↔ form kutusu: aynı dikey mesafe */
.address-toolbar + .alert,
.address-toolbar ~ #addressForm,
.container > #addressForm {
  margin-top: 12px;
}

.address-toolbar + #addressForm,
.address-toolbar ~ .geo-status + #addressForm {
  margin-top: 12px;
}

/* Bilgileri Güncelle: üst alan ile alt çizgi mesafesi eşit */
#addressForm.stack {
  gap: 12px;
}

#addressForm > button.btn {
  margin-top: 0;
  margin-bottom: 0;
}

.page .feature-strip {
  margin-top: 12px;
}

/* İşletme / kayıt: form → özellik şeridi çizgisi + mesafe standardı */
body.theme-shop .feature-strip,
body.reg-page .feature-strip {
  border-top: none;
  margin-top: var(--shop-rule-gap);
  padding-top: calc(var(--shop-rule-gap) + 6px);
  position: relative;
}
body.theme-shop .feature-strip::before,
body.reg-page .feature-strip::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  width: auto;
  height: var(--shop-rule-height);
  margin: 0;
  transform: none;
  background: var(--shop-rule-gradient);
  box-shadow: var(--shop-rule-glow);
  pointer-events: none;
}

/* Footer çizgileri — .page içinde, form kartından bağımsız */
body.theme-shop .steel-line,
body.reg-page .steel-line {
  width: auto;
  max-width: none;
  margin-left: 20px;
  margin-right: 20px;
  box-sizing: border-box;
}

body.reg-page .reg-top-rule {
  margin-top: 0;
  margin-bottom: 12px;
  margin-left: 20px;
  margin-right: 20px;
}
body.theme-shop .page .feature-strip,
body.reg-page .page .feature-strip {
  margin-top: var(--shop-rule-gap);
}
.address-section-head .section-title {
  margin: 0;
}
.address-section-head .address-geo-btn {
  flex-shrink: 0;
  width: auto;
  margin: 0;
  white-space: nowrap;
}

/* Adres başlığı + konum butonu: aynı yükseklik, aynı hiza */
body.theme-shop .address-section-head .section-title,
body.theme-customer .address-section-head .section-title,
body.theme-supplier .address-section-head .section-title,
body.theme-shop .address-section-head .address-geo-btn,
body.theme-customer .address-section-head .address-geo-btn,
body.theme-supplier .address-section-head .address-geo-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

body.theme-shop .address-section-head .section-title .ui-icon,
body.theme-customer .address-section-head .section-title .ui-icon,
body.theme-supplier .address-section-head .section-title .ui-icon {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  color: var(--icon, var(--gold));
}

body.theme-shop .address-toolbar .section-title {
  text-transform: none;
  letter-spacing: 0.02em;
}

body.theme-shop .address-section-head .address-geo-btn,
body.theme-customer .address-section-head .address-geo-btn,
body.theme-supplier .address-section-head .address-geo-btn {
  gap: 6px;
  letter-spacing: 0.02em;
  text-transform: none;
}

body.theme-shop .address-section-head .address-geo-btn .ui-icon,
body.theme-customer .address-section-head .address-geo-btn .ui-icon,
body.theme-supplier .address-section-head .address-geo-btn .ui-icon {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
}

.address-intro-note {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  text-align: left;
  margin: 10px 0 12px;
  padding: 0;
  border: none;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--gold, #e5a16b);
}

/* Ek Adres kutusu ↔ kaydet butonu arasında ortalanmış uyarı */
#addressForm > .address-intro-note--submit {
  margin: 0;
  padding: 10px 0;
  align-items: center;
  text-align: left;
}

.address-intro-text {
  display: block;
  flex: 1;
  min-width: 0;
  line-height: 1.45;
}
.address-intro-text__line2 {
  display: block;
  margin-top: 4px;
}

.address-warn-icon {
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 1px;
  color: #e85d4c;
}

.address-warn-icon .ui-icon {
  width: 18px;
  height: 18px;
  color: #e85d4c;
}

.address-warn-dot {
  width: 11px;
  height: 11px;
  margin-top: 5px;
  border-radius: 50%;
  background: #ff3b30;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.55);
  animation: address-warn-pulse 1.4s ease-out infinite;
}

@keyframes address-warn-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.55);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 59, 48, 0);
    opacity: 0.75;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
    opacity: 1;
  }
}

.address-geo-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
}

.address-geo-row .address-geo-btn {
  flex-shrink: 0;
  width: auto;
  margin: 0;
  white-space: nowrap;
}

body.theme-shop .address-geo-row .address-geo-btn,
body.theme-customer .address-geo-row .address-geo-btn,
body.theme-supplier .address-geo-row .address-geo-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
}

body.theme-shop .address-geo-row .address-geo-btn .ui-icon,
body.theme-customer .address-geo-row .address-geo-btn .ui-icon,
body.theme-supplier .address-geo-row .address-geo-btn .ui-icon {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
}

.geo-status:empty {
  display: none;
  margin: 0;
  min-height: 0;
}

.geo-status:not(:empty) {
  margin: 0 0 8px;
}

#addressForm {
  margin-top: 0;
}

.field-hint-inline {
  display: inline;
  font-size: 0.86rem;
  color: var(--text-dim);
}

form.stack { gap: 14px; }

label { font-size: 0.85rem; color: var(--text-dim); display: block; margin-bottom: 6px; }

input[type=text], input[type=email], input[type=tel], input[type=password],
input[type=date], input[type=number], input[type=search], select, textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-ui);
  color-scheme: dark;
}

input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); }

/* Native <select> açılır listesi — koyu tema kontrastı (Windows/Chrome) */
select option,
select optgroup {
  background-color: #151719;
  color: #f3f3f3;
}
select option:disabled {
  color: #72777d;
}
select option:checked,
select option:hover {
  background-color: #222529;
  color: #ffffff;
}

.password-field {
  position: relative;
  width: 100%;
}
.password-field input {
  padding-right: 44px;
}
.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}
.password-toggle:hover {
  color: #e5a16b;
  background: rgba(255, 255, 255, 0.06);
}
.password-toggle .ui-icon {
  width: 20px;
  height: 20px;
}

.field { margin-bottom: 4px; }

/* İl select — konum ikonu (landing + adres formları) */
.select-with-icon {
  position: relative;
  width: 100%;
  min-width: 0;
}
.select-with-icon__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  color: var(--icon);
}
.select-with-icon__icon .ui-icon,
.select-with-icon__icon svg {
  width: 18px;
  height: 18px;
}
select.has-leading-icon {
  padding-left: 40px;
}

.alert {
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.alert-error { background: rgba(229, 72, 77, 0.12); color: #ff9498; border: 1px solid rgba(229,72,77,0.3); }
.alert-error--actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.alert-error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.alert-error-or {
  font-size: 0.78rem;
  opacity: 0.75;
}
.btn-alert-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  color: #ffb4b7;
  background: transparent;
  border: 1px solid rgba(255, 148, 152, 0.35);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
}
.btn-alert-ghost:hover {
  color: #fff;
  border-color: rgba(255, 148, 152, 0.7);
  background: rgba(255, 148, 152, 0.08);
}
.alert-success { background: rgba(76, 175, 125, 0.12); color: #7fdcaa; border: 1px solid rgba(76,175,125,0.3); }
.alert-warning { background: rgba(193, 121, 63, 0.12); color: var(--gold); border: 1px solid rgba(193,121,63,0.3); }

.spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(193, 121, 63, 0.2);
  border-top-color: var(--gold);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-confirmed { background: rgba(193, 121, 63, 0.15); color: var(--gold); }
.badge-completed { background: rgba(76, 175, 125, 0.15); color: var(--success); }
.badge-cancelled { background: rgba(229, 72, 77, 0.15); color: var(--danger); }

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.slot-btn {
  padding: 10px 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 0.92rem;
  cursor: pointer;
}

.slot-btn.selected, .slot-btn:hover { border-color: var(--gold); color: var(--gold); }

.slot-radio {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.slot-radio:checked + label.slot-btn {
  border-color: var(--gold);
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 14%, transparent);
}

.slot-radio:focus-visible + label.slot-btn { outline: 2px solid var(--gold); }

.empty-state {
  text-align: center;
  color: var(--text-dim);
  padding: 40px 20px;
  font-size: 0.92rem;
}

/* Panel hızlı menü — işletme/tedarikçi header altında, dikey kompakt */
.bottom-nav {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  width: auto;
  max-width: none;
  align-self: stretch;
  margin: 6px 16px 0;
  display: flex;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  z-index: 15;
  padding: 0 2px;
}

.bottom-nav a {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 5px 2px 4px;
  color: var(--text-dim);
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

.bottom-nav a.active { color: var(--icon-active, var(--copper)); }
.bottom-nav .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  height: 16px;
}
.bottom-nav .ui-icon {
  width: 16px;
  height: 16px;
  color: var(--icon);
}
.bottom-nav a.active .ui-icon { color: var(--icon); }

.ui-icon {
  width: 20px;
  height: 20px;
  color: var(--icon);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -0.2em;
}
.ui-icon-sm { width: 16px; height: 16px; }
.ui-icon-md { width: 20px; height: 20px; }
.ui-icon-nav { width: 22px; height: 22px; }
.ui-icon-lg { width: 36px; height: 36px; }
.ui-icon-xl { width: 48px; height: 48px; }

.supplier-brand-mark {
  display: flex;
  justify-content: center;
  margin: 4px 0 2px;
}

.supplier-brand-mark .ui-icon,
.supplier-mark-icon {
  width: 42px;
  height: 42px;
  color: var(--icon);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.risk-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: middle;
  letter-spacing: 0.02em;
}
.risk-badge--low {
  color: #8ab4a0;
  border: 1px solid rgba(82, 214, 138, 0.35);
  background: rgba(82, 214, 138, 0.08);
}
.risk-badge--medium {
  color: #d4b06a;
  border: 1px solid rgba(212, 176, 106, 0.4);
  background: rgba(212, 176, 106, 0.1);
}
.risk-badge--high {
  color: #e09a61;
  border: 1px solid rgba(200, 121, 63, 0.45);
  background: rgba(200, 121, 63, 0.12);
}
.risk-badge--critical {
  color: #f0a090;
  border: 1px solid rgba(232, 93, 76, 0.5);
  background: rgba(232, 93, 76, 0.14);
}

.stat-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.stat-box .num { font-size: 1.6rem; font-weight: 700; color: var(--gold); }
.stat-box .label { font-size: 0.75rem; color: var(--text-dim); margin-top: 2px; }

table { width: 100%; border-collapse: collapse; }

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.list-item:last-child { border-bottom: none; }

.list-item .meta { flex: 1; min-width: 0; }
.list-item .title { font-weight: 600; font-size: 0.95rem; }
.list-item .sub { color: var(--text-dim); font-size: 0.82rem; margin-top: 2px; }
.list-item .actions { display: flex; gap: 6px; flex-shrink: 0; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

.list-icon-actions .btn-icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}
.list-icon-actions .btn-icon-action:hover { border-color: var(--gold); color: var(--gold); }
.list-icon-actions .btn-icon-action.whatsapp {
  color: #fff;
  border-color: #1ebe57;
  background-color: #128c7e;
  background-image: linear-gradient(135deg, #075e54 0%, #25d366 55%, #128c7e 100%);
}
.list-icon-actions .btn-icon-action.whatsapp:hover {
  filter: brightness(1.08);
  color: #fff;
  border-color: #34e07f;
}
.list-icon-actions .btn-icon-action.danger { color: #ff9498; }
.list-icon-actions .btn-icon-action.danger:hover { border-color: rgba(229, 72, 77, 0.5); color: #ff9498; }
.list-icon-actions .btn-icon-action .ui-icon { width: 18px; height: 18px; }

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.82rem;
}
.chip.active { border-color: var(--gold); color: var(--gold); }

.day-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.day-row .day-name { font-size: 0.88rem; }
.day-row.off input { opacity: 0.4; }

.footer-note {
  text-align: center;
  color: var(--footer-accent, var(--copper));
  font-size: 0.75rem;
  margin: 20px 0 8px;
  padding: 0 12px;
  line-height: 1.35;
}

@media (max-width: 380px) {
  .footer-note {
    font-size: 0.68rem;
  }
}

hr, .steel-line {
  border: none;
  height: 1px;
  background: var(--steel-gradient);
  margin: 20px 0;
}

/* İşletme sayfası — tüm yatay çizgiler aynı bakır kural */
body.theme-shop hr,
body.theme-shop .steel-line,
body.reg-page hr,
body.reg-page .steel-line,
.shop-rule {
  border: none;
  height: var(--shop-rule-height);
  background: var(--shop-rule-gradient);
  box-shadow: var(--shop-rule-glow);
  margin-top: var(--shop-rule-gap);
  margin-bottom: var(--shop-rule-gap);
}

.footer-rule--tight {
  margin-bottom: 6px !important;
}

/* Footer üst/alt çizgi — bakır, düşük opaklık (bölüm ayırır, baskın değil) */
.page > .steel-line:has(+ .app-badges),
.app-badges + .steel-line {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(190, 105, 50, 0.18) 14%,
    rgba(190, 105, 50, 0.45) 50%,
    rgba(190, 105, 50, 0.18) 86%,
    transparent 100%
  );
  box-shadow: none;
}

.app-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 20px;
}

/* Mağaza butonları — ince çerçeve; App Store / Play nötr, APK bakır vurgu */
.app-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid #55585c;
  color: #8f9398;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}
.app-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #8f9398;
}
.app-badge:hover {
  color: #a3a7ac;
  border-color: #64686c;
}
.app-badge:hover svg { color: #a3a7ac; }

.app-badge--soon {
  background: #111315;
  border-color: #55585c;
  color: #8f9398;
  cursor: default;
  pointer-events: none;
  user-select: none;
}
.app-badge--soon svg { color: #8f9398; }
.app-badge--soon:hover {
  color: #8f9398;
  border-color: #55585c;
}
.app-badge--soon:hover svg { color: #8f9398; }

.app-badge--apk {
  background: #171310;
  border-color: #b86b32;
  color: #e2e2e2;
}
.app-badge--apk svg { color: #d47a36; }
.app-badge--apk:hover {
  color: #ececec;
  border-color: #c8793f;
}
.app-badge--apk:hover svg { color: #e08a45; }

.auth-switch {
  text-align: center;
  color: var(--text);
  font-size: 0.95rem;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.auth-switch a { font-weight: 700; }

.reg-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reg-check-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.reg-check-row .reg-check-item {
  flex: 1;
  min-width: 0;
}
.reg-check-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
}
.reg-check-actions .btn {
  width: auto;
  min-height: 28px;
  padding: 4px 10px;
  white-space: nowrap;
}
.reg-check-deny {
  border-color: color-mix(in srgb, var(--text-muted) 35%, var(--border));
  color: var(--text-secondary);
  background: transparent;
  background-image: none;
}
.reg-check-deny:hover {
  border-color: color-mix(in srgb, var(--text-muted) 55%, var(--border));
  color: var(--text);
}
.reg-check-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.reg-check-item:hover {
  border-color: color-mix(in srgb, var(--copper) 35%, var(--border));
  background: rgba(200, 121, 63, 0.06);
}
.reg-check-row.is-selected .reg-check-item,
.reg-check-item.is-selected {
  border-color: color-mix(in srgb, var(--copper) 55%, var(--border));
  background: rgba(200, 121, 63, 0.12);
  box-shadow: inset 2px 0 0 var(--copper);
}
.reg-check-item--registered {
  border-color: color-mix(in srgb, var(--steel) 35%, var(--border));
}
.reg-check-item--registered:hover {
  border-color: color-mix(in srgb, var(--steel) 55%, var(--border));
  background: rgba(199, 201, 204, 0.06);
}
.reg-check-item__meta {
  min-width: 0;
  flex: 1;
}
.reg-check-item__name {
  font-weight: 600;
  font-size: 0.84rem;
  line-height: 1.2;
}
.reg-check-item__sub {
  font-size: 0.72rem;
  margin-top: 1px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reg-check-item .btn {
  width: auto;
  min-height: 0;
  padding: 4px 8px;
  flex-shrink: 0;
}
.reg-check-badge {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--footer-accent, var(--copper));
  white-space: nowrap;
  padding-top: 2px;
}
.reg-check-badge--muted {
  color: var(--text-muted);
  font-weight: 500;
}
@media (max-width: 640px) {
  .reg-check-row {
    flex-direction: column;
    gap: 6px;
  }
  .reg-check-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .reg-check-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

/* overflow-x clip kaldırıldı — 100vw çizgi yok; PC’de kayma yapıyordu */
body.reg-page {
  background:
    radial-gradient(90% 55% at 50% -8%, rgba(200, 121, 63, 0.16) 0%, transparent 58%),
    radial-gradient(70% 40% at 100% 30%, rgba(112, 116, 122, 0.08) 0%, transparent 50%),
    var(--bg);
}
/* Kayıt sayfası: başlık+form ortalı (mobil + PC); footer tam genişlik */
body.reg-page .page {
  align-items: center;
}
body.reg-page .page > .reg-shell {
  align-self: center;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
body.reg-page .page > .feature-strip,
body.reg-page .page > .steel-line,
body.reg-page .page > .reg-top-rule,
body.reg-page .page > .app-badges,
body.reg-page .page > .footer-note {
  align-self: stretch;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.reg-shell {
  max-width: 560px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  align-self: center;
  padding: 4px 20px 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reg-hero {
  text-align: center;
  margin: 0;
  position: sticky;
  top: 0;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  padding: 8px 12px 12px;
  /* Form kayınca içerik başlığın altından sızmasın */
  background: var(--bg);
  background-image:
    radial-gradient(90% 55% at 50% -8%, rgba(200, 121, 63, 0.16) 0%, transparent 58%);
  background-color: var(--bg);
  box-shadow: 0 10px 18px -12px rgba(0, 0, 0, 0.85);
}
/* Kayıt / işletme: PC’de de logo bloğu ortalı (crest solda kaymasın) */
@media (min-width: 760px) {
  body.reg-page .topbar.topbar-brand {
    padding: 20px 16px 14px;
  }
  body.reg-page .brand-header-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: auto;
    overflow: visible;
  }
  body.reg-page .brand-logo-pic {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
  }
  body.reg-page .brand-logo-img {
    display: block;
    height: 129px;
    width: auto;
    max-height: 129px;
    max-width: min(208px, 40vw);
    margin: 0 auto;
    object-fit: contain;
  }
  body.reg-page .brand-text {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    align-items: center;
  }
  body.reg-page .brand-logo {
    display: none;
  }
  body.reg-page .brand-header-link .brand-tagline {
    width: auto;
    min-width: 0;
    max-width: min(420px, 90%);
    white-space: normal;
    text-align: center;
  }
}
.reg-hero-lead {
  margin: 12px 0 0;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 500;
  color: var(--footer-accent, var(--copper));
  text-align: center;
  max-width: 100%;
}
.reg-panel {
  margin: 0;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--copper) 22%, var(--border));
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(200, 121, 63, 0.1) 0%, transparent 55%),
    linear-gradient(160deg, rgba(34, 28, 22, 0.92) 0%, rgba(18, 17, 16, 0.96) 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

/* Ön kayıt kontrol paneli — animasyon arkasında siyah kart yok */
.reg-panel--check {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.reg-panel__title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}
/* İşletme adı — görünüm aynı; yalnızca ana hesap (ANA BOX) çerçevesinin dışında */
.reg-account {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reg-shop-name {
  margin: 0;
  padding: 0;
  /* Yazım önerisi (Kabul et / Böyle kalsın) kesilmesin */
  overflow: visible;
}
.page.reg-seq .reg-shop-name.reg-seq-item {
  overflow: visible !important;
  max-height: none;
}
.reg-shop-name > .field {
  margin: 0;
}
/* ANA BOX: Hesap yetkilisi + alt alanlar */
.reg-panel--account {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.reg-panel--account .reg-pick-btn {
  margin-top: 10px;
  margin-bottom: 0;
}
.reg-account__block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}
.reg-account__block-head {
  margin: 0 0 2px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--copper) 28%, var(--border));
  border-top: 1.5px solid var(--copper);
  background: color-mix(in srgb, #2c261f 96%, #ffffff 4%);
}
.reg-account__block-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #F1F1F1;
}
.reg-account__block-hint {
  margin: 6px 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #A7A7A7;
}

/* İşletme adı — yazım önerisi (kabul / böyle kalsın) */
.reg-name-suggest {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--copper) 32%, var(--border));
  background: color-mix(in srgb, #1a1612 92%, var(--copper) 8%);
}
.reg-name-suggest__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: #A7A7A7;
}
.reg-name-suggest__value {
  margin: 4px 0 10px;
  font-size: 0.95rem;
  font-weight: 650;
  color: #F1F1F1;
  line-height: 1.35;
}
.reg-name-suggest__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.reg-name-suggest__accept {
  min-height: 28px;
  padding: 4px 10px;
  font-size: 0.78rem;
}
.reg-name-suggest__keep {
  min-height: 28px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-color: #55585c;
}
.reg-name-suggest__keep:hover {
  color: #e2e2e2;
  border-color: #64686c;
}
.reg-check {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reg-check__input-wrap {
  position: relative;
}
.reg-check__ico {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  color: var(--footer-accent, var(--copper));
  opacity: 0.85;
  pointer-events: none;
}
.reg-check__ico .ui-icon {
  width: 16px;
  height: 16px;
}
.reg-check__input-wrap input {
  padding-left: 38px;
}
.reg-check__btn {
  margin-top: 2px;
  white-space: nowrap;
  line-height: 1.25;
  min-height: 36px;
  padding: 8px 12px;
  font-size: clamp(0.72rem, 2.8vw, 0.88rem);
  font-weight: 600;
  color: #F1F0ED;
  background: #2A1E17;
  background-image: none;
  border-color: #A96532;
  box-shadow: none;
  filter: none;
}
.reg-check__btn:hover {
  color: var(--footer-accent, var(--copper));
  background: #3A2417;
  background-image: none;
  border-color: #A96532;
  filter: none;
}
.reg-list-prompt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--footer-accent, var(--copper));
  text-align: left;
}
.reg-list-prompt__dot {
  width: 8px;
  height: 8px;
  margin-top: 0.4em;
  border-radius: 50%;
  background: var(--footer-accent, var(--copper));
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--copper) 55%, transparent);
  flex-shrink: 0;
  animation: reg-prompt-pulse 1.5s ease-out infinite;
}
@keyframes reg-prompt-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--copper) 55%, transparent);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 8px transparent;
    opacity: 0.75;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
    opacity: 1;
  }
}
.reg-new-prompt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 14px;
  font-size: 0.95rem; /* ~15px */
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-secondary);
  text-align: left;
}
body.reg-page .reg-new-rule {
  width: 100%;
  max-width: none;
  margin: 0;
  align-self: stretch;
}
.reg-new-prompt__dot {
  width: 7px;
  height: 7px;
  margin-top: 0.4em;
  border-radius: 50%;
  background: var(--footer-accent, var(--copper));
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--copper) 40%, transparent);
  flex-shrink: 0;
  animation: reg-new-prompt-pulse 1.8s ease-out infinite;
}
@keyframes reg-new-prompt-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--copper) 40%, transparent);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 7px transparent;
    opacity: 0.8;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
    opacity: 1;
  }
}
.reg-check-list--stack {
  gap: 8px;
}
.reg-check-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reg-registered-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #55D996;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  vertical-align: baseline;
}
.reg-registered-tag__dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #52D68A;
  box-shadow: 0 0 0 0 rgba(82, 214, 138, 0.45);
  flex-shrink: 0;
  animation: reg-registered-breathe 2.2s ease-in-out infinite;
}
@keyframes reg-registered-breathe {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(82, 214, 138, 0.4);
    transform: scale(1);
  }
  50% {
    opacity: 0.72;
    box-shadow: 0 0 0 4px rgba(82, 214, 138, 0);
    transform: scale(0.92);
  }
}
.reg-pick-mini {
  width: auto;
  flex-shrink: 0;
  align-self: flex-start;
  min-height: 24px;
  height: auto;
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  color: #F1F0ED;
  background: #2A1E17;
  background-image: none;
  border: 1px solid #A96532;
  border-radius: 6px;
  box-shadow: none;
  filter: none;
}
.reg-pick-mini:hover {
  color: var(--footer-accent, var(--copper));
  background: #3A2417;
  background-image: none;
  border-color: #A96532;
  filter: none;
}
.reg-pick-btn {
  width: 100%;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #F1F0ED;
  background: #2A1E17;
  background-image: none;
  border-color: #A96532;
  box-shadow: none;
  filter: none;
}
.reg-pick-btn:hover {
  color: var(--footer-accent, var(--copper));
  background: #3A2417;
  background-image: none;
  border-color: #A96532;
  filter: none;
}
.reg-pick-btn.is-disabled,
.reg-pick-btn.is-disabled:hover {
  opacity: 0.45;
  pointer-events: none;
  color: #F1F0ED;
  background: #2A1E17;
}
.reg-list-none {
  width: 100%;
  margin-top: 2px;
}
.reg-pick-btn--none {
  margin-top: 0;
  color: var(--text-secondary);
  background: rgba(18, 17, 16, 0.92);
  background-image: none;
  border: 1px solid color-mix(in srgb, var(--copper) 45%, var(--border));
  box-shadow: none;
  filter: none;
  font-weight: 500;
}
.reg-pick-btn--none:hover {
  color: var(--footer-accent, var(--copper));
  background: rgba(26, 22, 18, 0.98);
  background-image: none;
  border-color: color-mix(in srgb, var(--copper) 65%, var(--border));
  filter: none;
}
.reg-block + .reg-block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
}
.reg-block__label {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.reg-empty {
  margin: 0 0 12px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text-secondary);
}
.reg-empty--soft {
  margin-top: 0;
  font-size: 0.85rem;
}
.reg-claim-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.reg-claim-head__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--copper) 40%, var(--border));
  background: rgba(200, 121, 63, 0.12);
  color: var(--footer-accent, var(--copper));
  flex-shrink: 0;
}
.reg-claim-head__title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.reg-claim-head__sub {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.35;
}
.reg-claim-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 4px;
}
.reg-claim-form .reg-pick-btn {
  margin-top: 4px;
  margin-bottom: 2px;
}
.reg-claim-phone-hint {
  margin-top: 4px;
  color: var(--copper-light, var(--copper));
}
.reg-claim-phone-hint strong {
  color: var(--text);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.reg-claim-verify-hint {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reg-claim-verify-hint p {
  margin: 0;
  line-height: 1.4;
}
.reg-claim-verify-hint__num {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.reg-claim-verify-hint__remaining {
  margin-top: 2px;
  font-size: 0.9rem;
}
.reg-claim-lock-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  padding-bottom: 4px;
}
body.reg-page .field label,
body.auth-page .field label {
  margin-bottom: 4px;
  font-size: 0.82rem;
  line-height: 1.25;
}
body.reg-page input[type=text],
body.reg-page input[type=email],
body.reg-page input[type=tel],
body.reg-page input[type=password],
body.reg-page input[type=date],
body.reg-page input[type=number],
body.reg-page input[type=search],
body.reg-page select,
body.reg-page textarea,
body.auth-page input[type=text],
body.auth-page input[type=email],
body.auth-page input[type=tel],
body.auth-page input[type=password],
body.auth-page input[type=date],
body.auth-page input[type=number],
body.auth-page input[type=search],
body.auth-page select,
body.auth-page textarea {
  padding: 8px 12px;
  min-height: 36px;
  font-size: 0.9rem;
  line-height: 1.25;
  box-sizing: border-box;
}
body.reg-page .reg-check__input-wrap input {
  padding-left: 38px;
}
body.reg-page .field-hint-inline,
body.auth-page .field-hint-inline {
  font-size: 0.75rem;
}
body.reg-page .row,
body.auth-page .row {
  gap: 10px;
}
body.auth-page form.stack {
  gap: 10px;
}
.reg-ok {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(76, 175, 125, 0.35);
  background: rgba(76, 175, 125, 0.12);
  color: #7fdcaa;
  font-size: 0.88rem;
  line-height: 1.35;
}
.reg-panel--verified {
  border-color: color-mix(in srgb, #4caf7d 35%, var(--border));
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(76, 175, 125, 0.1) 0%, transparent 55%),
    linear-gradient(160deg, rgba(22, 32, 28, 0.95) 0%, rgba(18, 17, 16, 0.96) 100%);
}
.reg-panel--verified .reg-check-item {
  margin-bottom: 12px;
}
.reg-verified-note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #9fd9b8;
}
.reg-reveal {
  animation: regReveal 0.38s ease both;
}
@keyframes regReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* İlk giriş: 1sn boş → başlık → lead → kontrol formu (soldan fade-in, parça 2sn) */
.page.reg-intro .reg-intro-item {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-36px);
  pointer-events: none;
  animation: regFadeInFromLeft 2s ease forwards;
}
.page.reg-intro .reg-intro-item--title {
  animation-delay: 1s;
}
.page.reg-intro .reg-intro-item--lead {
  animation-delay: 3s;
}
.page.reg-intro .reg-intro-item--form {
  animation-delay: 5s;
}

/* Kontrol sonrası: lead sağdan sola fade-out + yükseklik kapanır; form yukarı kayar */
.page.reg-seq .reg-hero-lead--dismiss {
  overflow: hidden;
  transform-origin: right center;
  animation: regLeadFadeOutRtl 0.85s ease forwards;
  pointer-events: none;
}
@keyframes regLeadFadeOutRtl {
  0% {
    opacity: 1;
    transform: translateX(0);
    max-height: 5em;
    margin-top: 12px;
    margin-bottom: 0;
  }
  55% {
    opacity: 0;
    transform: translateX(-40px);
    max-height: 5em;
    margin-top: 12px;
  }
  100% {
    opacity: 0;
    transform: translateX(-48px);
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    visibility: hidden;
  }
}
/* Kontrol sonrası: arama kutusu + buton sola fade-out, yer kapanır */
.page.reg-seq .reg-panel--check-dismiss {
  overflow: hidden;
  transform-origin: left center;
  animation: regCheckFadeOutLtr 0.85s ease forwards;
  pointer-events: none;
}
.page.reg-seq .reg-hero {
  transition: margin-bottom 0.85s ease;
  margin-bottom: 0;
}
@keyframes regCheckFadeOutLtr {
  0% {
    opacity: 1;
    transform: translateX(0);
    max-height: 12rem;
    margin-bottom: 0;
  }
  55% {
    opacity: 0;
    transform: translateX(-40px);
    max-height: 12rem;
    margin-bottom: 0;
  }
  100% {
    opacity: 0;
    transform: translateX(-48px);
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    visibility: hidden;
  }
}
@keyframes regCheckSlideUp {
  from {
    transform: translateY(18px);
  }
  to {
    transform: translateY(0);
  }
}

/* Kontrol et sonrası: sonuç / form — 1sn ara; beklemede yer kaplamaz */
.page.reg-seq .reg-seq-item {
  opacity: 0;
  transform: translateX(-36px);
  pointer-events: none;
  max-height: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-width: 0 !important;
  overflow: hidden;
  animation: regSeqReveal 2s ease both;
  animation-delay: calc(1s + (var(--reg-seq-i, 1) - 1) * 1s);
}
.page.reg-seq .reg-seq-item--bare {
  background: none;
  box-shadow: none;
  border-radius: 0;
  animation-name: regSeqRevealBare;
}
.page.reg-seq .reg-panel--account.reg-seq-item {
  animation-name: regSeqRevealAccount;
  /* Animasyon bitince / ezilmeye karşı — seq-item 0 !important’tan daha spesifik */
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}
.page.reg-seq .reg-panel--claim.reg-seq-item,
.page.reg-seq .reg-panel--verified.reg-seq-item {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}
/* Hesap aşamasında yeşil doğrulama kutusu: kısa göster → sola fade-out, yer kapanır */
.page.reg-seq .reg-panel--verified.reg-panel--verified-exit {
  overflow: hidden;
  pointer-events: none;
  animation:
    regSeqReveal 2s ease both,
    regVerifiedExit 0.85s ease forwards;
  animation-delay:
    calc(1s + (var(--reg-seq-i, 1) - 1) * 1s),
    calc(1s + (var(--reg-seq-i, 1) - 1) * 1s + 2.4s);
}
@keyframes regVerifiedExit {
  0% {
    opacity: 1;
    transform: translateX(0);
    max-height: 22rem;
    margin-bottom: 0;
    padding-top: 16px;
    padding-bottom: 16px;
    border-width: 1px;
  }
  55% {
    opacity: 0;
    transform: translateX(-40px);
    max-height: 22rem;
    padding-top: 16px;
    padding-bottom: 16px;
    border-width: 1px;
  }
  100% {
    opacity: 0;
    transform: translateX(-48px);
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    visibility: hidden;
  }
}
.page.reg-seq .reg-check-list {
  gap: 8px;
}

@keyframes regFadeInFromLeft {
  from {
    opacity: 0;
    visibility: visible;
    transform: translateX(-36px);
  }
  to {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
  }
}
@keyframes regSeqReveal {
  0% {
    opacity: 0;
    transform: translateX(-36px);
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    overflow: hidden;
    pointer-events: none;
  }
  12% {
    opacity: 0;
    transform: translateX(-36px);
    max-height: 2000px;
    margin-bottom: 0;
    padding-top: 16px;
    padding-bottom: 16px;
    border-width: 1px;
    overflow: hidden;
    pointer-events: none;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    max-height: 2000px;
    margin-bottom: 0;
    padding-top: 16px;
    padding-bottom: 16px;
    border-width: 1px;
    overflow: visible;
    pointer-events: auto;
  }
}
@keyframes regSeqRevealAccount {
  0% {
    opacity: 0;
    transform: translateX(-36px);
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    overflow: hidden;
    pointer-events: none;
  }
  12% {
    opacity: 0;
    transform: translateX(-36px);
    max-height: 2000px;
    margin-bottom: 0;
    padding-top: 16px;
    padding-bottom: 16px;
    border-width: 1px;
    overflow: hidden;
    pointer-events: none;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    max-height: 2000px;
    margin-bottom: 0;
    padding-top: 16px;
    padding-bottom: 16px;
    border-width: 1px;
    overflow: visible;
    pointer-events: auto;
  }
}
@keyframes regSeqRevealBare {
  0% {
    opacity: 0;
    transform: translateX(-36px);
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
  }
  12% {
    opacity: 0;
    transform: translateX(-36px);
    max-height: 200px;
    overflow: hidden;
    pointer-events: none;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    max-height: 200px;
    overflow: visible;
    pointer-events: auto;
  }
}
/* Animasyon durduktan sonra form — kayma yok, yazı bitince görünür */
.page.reg-seq .reg-seq-follow {
  opacity: 0;
  max-height: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-width: 0 !important;
  overflow: hidden;
  pointer-events: none;
  animation: regSeqFollowIn 0.01s linear both;
  animation-delay: var(--reg-seq-follow-delay, 3s);
}
@keyframes regSeqFollowIn {
  to {
    opacity: 1;
    max-height: 2000px;
    margin-bottom: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    border-width: 1px;
    overflow: visible;
    pointer-events: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reg-reveal { animation: none; }
  .reg-check-item { transition: none; }
  .page.reg-intro .reg-intro-item,
  .page.reg-seq .reg-seq-item,
  .page.reg-seq .reg-seq-follow {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    animation: none;
    max-height: none;
    overflow: visible;
    margin-bottom: 0;
    padding-top: 16px;
    padding-bottom: 16px;
    border-width: 1px;
  }
  .page.reg-seq .reg-seq-item--bare {
    padding: 0;
    border-width: 0;
    max-height: none;
  }
  .page.reg-seq .reg-panel--account.reg-seq-item,
  .page.reg-seq .reg-panel--claim.reg-seq-item,
  .page.reg-seq .reg-panel--verified.reg-seq-item {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
  .page.reg-seq .reg-panel--verified.reg-panel--verified-exit {
    display: none;
    animation: none;
  }
  .page.reg-seq .reg-hero-lead--dismiss {
    display: none;
    animation: none;
  }
  .page.reg-seq .reg-panel--check-dismiss {
    display: none;
    animation: none;
  }
  .page.reg-seq .reg-panel--check-up {
    animation: none;
  }
  .reg-list-prompt__dot {
    animation: none;
  }
  .reg-new-prompt__dot {
    animation: none;
  }
  .reg-registered-tag__dot {
    animation: none;
  }
}

.pw-hint {
  margin: 0 0 6px;
  font-size: 0.72rem;
  line-height: 1.3;
}
body.reg-page .field > .pw-hint,
body.auth-page .field > .pw-hint {
  margin-top: -2px;
}

/* Referans / yönlendirme — opsiyonel ikinci plan (ayrı kart yok) */
.ref-field {
  margin: 6px 0 0;
  padding: 14px 12px 12px;
  border: none;
  border-radius: 0 0 10px 10px;
  border-top: 1px solid color-mix(in srgb, #30343A 85%, var(--copper) 15%);
  background: #151719;
}
.ref-field__head {
  margin: 0 0 10px;
}
.ref-field__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
}
.ref-field__title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: #D0D0D0;
}
.ref-field__optional {
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--footer-accent, var(--copper));
  letter-spacing: 0.01em;
}
.ref-field__hint {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #858585;
}
.ref-field__search-wrap {
  position: relative;
  width: 100%;
}
.ref-field__search-ico {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  color: var(--footer-accent, var(--copper));
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}
.ref-field__search-ico .ui-icon {
  color: var(--footer-accent, var(--copper));
  stroke: var(--footer-accent, var(--copper));
}
.ref-field__search {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 36px;
  padding: 8px 12px 8px 38px !important;
  border-radius: var(--radius-sm);
  border: 1px solid #30343A;
  background: #151719;
  color: var(--text);
  font-size: 0.9rem;
  -webkit-appearance: none;
  appearance: none;
}
body.reg-page .ref-field__search,
body.auth-page .ref-field__search {
  background: #151719;
  border-color: #30343A;
  color: #D0D0D0;
}
.ref-field__search:focus {
  outline: 2px solid color-mix(in srgb, var(--copper) 55%, transparent);
  border-color: color-mix(in srgb, var(--copper) 40%, #30343A);
}
.ref-field__selected {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, #55D996 35%, #30343A);
  background: color-mix(in srgb, #55D996 8%, #151719);
  font-size: 0.88rem;
  line-height: 1.35;
}
.ref-field__check {
  color: #55D996;
  font-weight: 700;
}
.ref-field__selected-text {
  color: #D0D0D0;
}
.ref-field__kind {
  font-size: 0.78rem;
  color: #858585;
}
.ref-field__clear {
  margin-left: auto;
  padding: 4px 8px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #777777;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
}
.ref-field__clear:hover {
  color: #D0D0D0;
}

/* ==== Landing: fotoğrafsız, düz metin marka başlığı + altında normal
   akışlı içerik (kartlar, özellikler, footer). Fotoğraf denemesi istenen
   sonucu vermedi, kaldırıldı — marka artık tamamen metin/gradyan efektiyle
   taşınıyor (logodaki gibi: "The" paslanmaz, "Barberz" bakır). */
/* .page is already display:flex/flex-direction:column (see base rules);
   centering here only (scoped to the landing page) keeps the whole content
   group (logo/cards/features/footer) balanced in the viewport on tall
   screens instead of stuck at the top with empty space below. */
/* Sadece asıl içerik; mobilde üste yasla (orta boşluk = kayma hissi vermesin). */
.page.landing > .landing-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
@media (min-width: 760px) {
  .page.landing > .landing-content {
    justify-content: center;
  }
}

/* Header: crest solda; TheBarberz + slogan ortada.
   .topbar sticky/arka plan sıfırlanır — logo kesilmesin. */
.topbar.topbar-brand {
  position: relative;
  top: auto;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  max-height: none;
  min-height: 0;
  overflow: visible;
  text-align: center;
  gap: 0;
  margin: 0;
  padding: 0 16px 4px;
  border: none;
  border-bottom: none;
  border-radius: 0;
  background: transparent !important;
  background-image: none !important;
  background-attachment: scroll !important;
  box-shadow: none !important;
}

/* Admin önizleme — hızlı menü çerçevesinin üst kenarına (yalnızca dikey) */
.admin-peek {
  position: absolute;
  top: 0;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 2px 4px;
  max-width: calc(100% - 20px);
  margin: 0;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transform: translateY(-50%);
  pointer-events: auto;
}

.admin-peek__eye {
  display: inline-flex;
  color: var(--text-muted);
  margin-right: 2px;
}
.admin-peek__eye .ui-icon {
  width: 13px;
  height: 13px;
}

.admin-peek__sep {
  color: var(--text-muted);
  opacity: 0.55;
  user-select: none;
}

.admin-peek__link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 2px 4px;
  border-radius: 4px;
  white-space: nowrap;
}
.admin-peek__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.admin-peek__link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}
.admin-peek__link--copper.is-active,
.admin-peek__link--copper:hover { color: var(--copper-light); }
.admin-peek__link--steel.is-active,
.admin-peek__link--steel:hover { color: var(--steel-light); }
.admin-peek__link--mirror.is-active,
.admin-peek__link--mirror:hover { color: var(--supplier-light); }

.brand-header-wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  padding-top: max(8px, env(safe-area-inset-top, 0px));
}

/* Header altında: sadece ikon menü (yazılar şimdilik gizli) */
.brand-utility {
  position: relative;
  right: auto;
  bottom: auto;
  top: auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  max-width: none;
  margin: 2px 0 8px;
  padding: 0 12px;
  box-sizing: border-box;
  transform: none;
}

.brand-utility-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(18, 18, 18, 0.35);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}

.brand-utility-pill .brand-utility-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--icon, var(--steel, #9a9aa0));
}

.brand-utility-pill .brand-utility-icon .ui-icon {
  width: 18px;
  height: 18px;
}

.brand-utility-label {
  display: none;
}

.brand-utility-pill--account {
  border-color: color-mix(in srgb, #9a9a9d 55%, transparent);
}

.brand-utility-pill:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(18, 18, 18, 0.55);
}

.brand-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(18, 18, 18, 0.35);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}

.brand-theme-toggle:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.brand-theme-toggle .ui-icon {
  width: 18px;
  height: 18px;
}

.brand-theme-toggle .theme-icon-moon { display: none; }
html[data-theme="light"] .brand-theme-toggle .theme-icon-sun { display: none; }
html[data-theme="light"] .brand-theme-toggle .theme-icon-moon { display: inline-flex; }

html[data-theme="light"] {
  --bg: #f3f1ec;
  --bg-elevated: #ffffff;
  --text: #1c1c1e;
  --text-dim: #5c5c66;
  --border: rgba(0, 0, 0, 0.12);
  --icon: #6a5a4a;
  color-scheme: light;
}

html[data-theme="light"] .brand-utility-pill,
html[data-theme="light"] .brand-theme-toggle {
  border-color: rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

@media (max-width: 759px) {
  .brand-utility {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    margin: 0 0 8px;
    padding: 0 10px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
  }
  .brand-utility-pill,
  .brand-theme-toggle {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 999px;
  }
  .brand-utility-pill .brand-utility-icon {
    display: inline-flex;
  }
  .brand-utility-pill .brand-utility-icon .ui-icon,
  .brand-theme-toggle .ui-icon {
    width: 16px;
    height: 16px;
  }
}

.brand-header-link {
  display: block;
  width: 100%;
  height: 177px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.brand-logo-pic {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  line-height: 0;
}

.brand-logo-img {
  display: block;
  height: 150px;
  width: auto;
  max-height: 150px;
  object-fit: contain;
}

.brand-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  width: fit-content;
  max-width: calc(100% - 24px);
  z-index: 0;
  pointer-events: none;
}

.brand-header-link .brand-tagline {
  text-align: center;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.25;
  width: 0;
  min-width: 100%;
  white-space: nowrap;
  color: var(--text-dim);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
}

/* Mobil: absolute’u kapat, crest + yazı alt alta (cascade: bu blok sonda). */
@media (max-width: 759px) {
  .topbar.topbar-brand {
    height: auto;
    max-height: none;
    padding: 20px 16px 14px;
  }
  .brand-header-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: auto;
    overflow: visible;
  }
  .brand-logo-pic {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    line-height: 0;
  }
  .brand-logo-img {
    display: block;
    height: 129px;
    width: auto;
    max-height: 129px;
    max-width: min(208px, 56vw);
    margin: 0 auto;
    object-fit: contain;
  }
  .brand-text {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    pointer-events: none;
    gap: 6px;
    align-items: center;
  }
  .brand-logo {
    display: none;
  }
  .brand-header-link .brand-tagline {
    width: auto;
    min-width: 0;
    max-width: min(320px, 92vw);
    white-space: normal;
    text-align: center;
    font-size: clamp(0.78rem, 3.15vw, 0.86rem);
    line-height: 1.35;
  }
}

.page.landing {
  min-height: calc(100vh - 177px);
}
@media (max-width: 759px) {
  .page.landing { min-height: calc(100vh - 160px); }
}

.landing-content {
  padding: 40px 20px 8px;
  text-align: center;
}

@media (max-width: 759px) {
  .landing-content { padding: 20px 16px 8px; }
}

.brand-logo {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  line-height: 1;
  margin: 0;
}

.steel-text {
  background: var(--steel-metal-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Kayıt sayfası başlığı — logo serifi + paslanmaz çelik */
.reg-hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 5.2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  background: linear-gradient(
    180deg,
    #f2f3f4 0%,
    #e6e7e9 18%,
    #c7c9cc 42%,
    #9a9ea4 68%,
    #70747a 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.12));
}
@media (max-width: 759px) {
  .reg-hero-title {
    font-size: clamp(1.05rem, 4.2vw, 1.28rem);
    letter-spacing: -0.03em;
  }
}

.brand-tagline {
  margin: 0;
}

.hero-headline {
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 12px;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 22px;
}

/* İl / İlçe / Bul + hesap kartları — mobilde dikey yığın; PC’de ortak 3 kolon. */
.landing-trio {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.landing-trio-rule {
  display: block;
  width: 100%;
  height: 0;
  margin: 2px 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.locate-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.locate-il-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.locate-il-col .locate-select,
.locate-il-col .select-with-icon {
  width: 100%;
}

/* Hesap kartlarıyla aynı metal çerçeve (copper / steel / mirror) — şeffaf yüzey */
.locate-box {
  --card-accent: #c8c8cc;
  --card-title-c: #fff;
  --card-border: rgba(255, 255, 255, 0.18);
  --card-glow: rgba(255, 255, 255, 0.1);
  --card-surface-top: #2a2a2e;
  --card-surface-mid: #1a1a1d;
  --card-surface-bot: #101012;

  position: relative;
  box-sizing: border-box;
  border-radius: var(--radius);
  border: 1.5px solid var(--card-border);
  box-shadow: none;
  background: rgba(0, 0, 0, 0.22);
  background-image: none;
  overflow: visible;
}
@supports (background: color-mix(in srgb, white 50%, black)) {
  .locate-box {
    background: color-mix(in srgb, var(--card-accent) 10%, transparent);
  }
}

.locate-box.is-open {
  z-index: 40;
}

.locate-box .locate-select--native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.locate-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 12px 36px 12px 10px;
  box-sizing: border-box;
  border: none;
  border-radius: inherit;
  background: transparent;
  color: var(--card-title-c);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  appearance: none;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239a9aa0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.locate-trigger.has-leading-icon {
  padding-left: 40px;
}

.locate-trigger.has-pin-cluster {
  padding-left: 48px;
}

.locate-pop {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px;
  list-style: none;
  z-index: 50;
  max-height: min(280px, 50vh);
  overflow-y: auto;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
  background: var(--bg-elevated);
  background-image: none;
  color: var(--text);
}

.locate-pop__item {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
  line-height: 1.3;
}

.locate-pop__item:hover,
.locate-pop__item:focus {
  background: color-mix(in srgb, var(--card-accent, var(--copper)) 18%, #222529);
  color: #fff;
  outline: none;
}

.locate-pop__item.is-selected {
  color: var(--card-accent, var(--copper-light));
  background: color-mix(in srgb, var(--card-accent, var(--copper)) 22%, #1b1d20);
  font-weight: 600;
}

.locate-pop__item.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.locate-box .locate-select {
  border: none;
  background: transparent;
  color: var(--card-title-c);
  box-shadow: none;
}

.locate-box .locate-select:focus {
  outline: none;
}

.locate-box .select-with-icon__icon,
.locate-box .locate-pins-cluster .locate-pin {
  color: var(--card-accent);
}

.locate-select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 10px;
  font-size: 0.85rem;
  font-weight: 400;
}

/* İlçe: 3–4 iç içe map-pin (ilçeleri temsilen) */
.locate-ilce-wrap .select-with-icon__icon.locate-pins-cluster {
  left: 10px;
  width: 34px;
  height: 20px;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.locate-pins-cluster .locate-pin {
  position: absolute;
  top: 50%;
  display: flex;
  color: var(--icon);
  opacity: 0.38;
}

.locate-pins-cluster .locate-pin .ui-icon,
.locate-pins-cluster .locate-pin svg {
  width: 15px;
  height: 15px;
}

.locate-pins-cluster .locate-pin:nth-child(1) {
  left: 0;
  transform: translateY(-58%);
  opacity: 0.28;
  z-index: 1;
}
.locate-pins-cluster .locate-pin:nth-child(2) {
  left: 5px;
  transform: translateY(-50%);
  opacity: 0.42;
  z-index: 2;
}
.locate-pins-cluster .locate-pin:nth-child(3) {
  left: 10px;
  transform: translateY(-42%);
  opacity: 0.58;
  z-index: 3;
}
.locate-pins-cluster .locate-pin:nth-child(4) {
  left: 15px;
  transform: translateY(-50%);
  opacity: 0.95;
  z-index: 4;
  color: var(--card-accent, var(--icon));
}

.locate-select.has-pin-cluster {
  padding-left: 48px;
}

.locate-row .pill-locate {
  width: 100%;
  margin-left: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 0.85rem;
  font-weight: 400;
  white-space: nowrap;
  color: var(--card-title-c);
  box-sizing: border-box;
  text-align: center;
}

.locate-row .pill-locate:hover {
  filter: brightness(1.08);
}

.locate-row .pill-locate .ui-icon,
.locate-row .pill-locate svg {
  color: var(--card-accent);
}

/* Admin dashboard — işletmeler deepsearch (başlık/liste yok) */
.admin-deepsearch {
  margin: 10px 0 18px;
}

.badge-source {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
}
.badge-source--google {
  background: rgba(66, 133, 244, 0.18);
  color: #8ab4f8;
}
.badge-source--google_web {
  background: rgba(66, 133, 244, 0.12);
  color: #a8c7fa;
}
.badge-source--foursquare {
  background: rgba(244, 100, 60, 0.18);
  color: #ffab91;
}
.badge-source--bing {
  background: rgba(0, 120, 215, 0.18);
  color: #6cb6ff;
}
.badge-source--yandex {
  background: rgba(255, 0, 0, 0.14);
  color: #ff8a80;
}
.badge-source--yandex_web {
  background: rgba(255, 0, 0, 0.1);
  color: #ffab91;
}
.badge-source--apple {
  background: rgba(255, 255, 255, 0.12);
  color: #e8e8ed;
}

/* DeepSearch toolbar — kompakt tara/filtre + info */
.ds-toolbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 12px;
}

.ds-toolbar__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.ds-toolbar__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.ds-toolbar__count {
  margin-left: 0;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(193, 121, 63, 0.45);
  background: rgba(193, 121, 63, 0.12);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ds-info {
  position: relative;
}

.ds-info__btn {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  cursor: pointer;
}

.ds-info__btn::-webkit-details-marker { display: none; }
.ds-info__btn::marker { content: ""; }

.ds-info__btn:hover,
.ds-info[open] .ds-info__btn {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}

.ds-info__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  width: min(340px, 86vw);
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-dim);
}

.ds-info__panel strong {
  display: block;
  color: var(--text);
  margin: 0 0 4px;
  font-size: 0.78rem;
}

.ds-info__panel p {
  margin: 0 0 10px;
}

.ds-info__panel ul {
  margin: 0;
  padding-left: 16px;
}

.ds-info__panel li { margin: 0 0 4px; }

.ds-scan-flash {
  margin: 0;
  padding: 8px 10px;
  font-size: 0.8rem;
  line-height: 1.35;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  border-radius: var(--radius);
  background: rgba(193, 121, 63, 0.12);
  color: var(--gold);
  border: 1px solid rgba(193, 121, 63, 0.3);
}

.ds-scan-flash__ok {
  font-weight: 600;
}

.ds-scan-warn {
  position: relative;
}

.ds-scan-warn__btn {
  list-style: none;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(193, 121, 63, 0.5);
  background: rgba(193, 121, 63, 0.18);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  user-select: none;
}

.ds-scan-warn__btn::-webkit-details-marker { display: none; }
.ds-scan-warn__btn::marker { content: ""; }

.ds-scan-warn[open] .ds-scan-warn__btn {
  background: rgba(193, 121, 63, 0.28);
}

.ds-scan-warn__list {
  margin: 8px 0 0;
  padding: 8px 10px 8px 22px;
  width: min(100%, 520px);
  border-radius: 8px;
  border: 1px solid rgba(193, 121, 63, 0.35);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text-dim);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.4;
}

.ds-scan-warn__list li {
  margin: 0 0 4px;
}
.ds-scan-warn__list li:last-child {
  margin-bottom: 0;
}

.ds-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.ds-form .select-with-icon,
.ds-form > select {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
}

.ds-form .select-with-icon {
  position: relative;
}

.ds-form select,
.ds-form .has-leading-icon {
  width: 100%;
  min-height: 36px;
  padding: 6px 28px 6px 10px;
  font-size: 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--copper);
  font-weight: 600;
}

/* Kapalı select’te seçili metin her zaman bakır; açılır listedeki option’lar normal */
.ds-form select.is-filled,
.ds-form .has-leading-icon.is-filled {
  color: var(--copper);
  font-weight: 600;
}

.ds-form select option {
  color: var(--text);
  font-weight: 500;
}

.ds-form .has-leading-icon {
  padding-left: 32px;
}

.ds-form .select-with-icon__icon {
  left: 8px;
}

.ds-form .select-with-icon__icon .ui-icon {
  width: 14px;
  height: 14px;
}

.ds-form .locate-ilce-wrap .select-with-icon__icon.locate-pins-cluster {
  left: 8px;
  width: 34px;
  height: 20px;
}

.ds-form .has-pin-cluster {
  padding-left: 46px;
}

.ds-form__btn {
  width: 100px !important;
  min-width: 100px;
  max-width: 100px;
  flex: 0 0 100px;
  box-sizing: border-box;
  padding: 7px 8px !important;
  font-size: 0.8rem !important;
  min-height: 36px;
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}

.ds-form__btn--clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  border: 1px solid rgba(220, 90, 90, 0.45) !important;
  background: linear-gradient(
    145deg,
    rgba(210, 70, 70, 0.42),
    rgba(140, 30, 30, 0.22)
  ) !important;
  text-decoration: none;
  box-shadow: none;
}

.ds-form__btn--clear:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

.ds-form__btn--clear[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.ds-form--filter .ds-form__btn.btn-outline {
  padding-left: 8px !important;
  padding-right: 8px !important;
}

/* Tara satırı — ikonsuz kompakt ad alanı */
.ds-form__scan-q {
  flex: 1 1 150px;
  min-width: 130px;
  max-width: 220px;
}

input.ds-form__scan-q[type="text"] {
  width: 100%;
  box-sizing: border-box;
  min-height: 36px;
  padding: 6px 10px;
  font-size: 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

input.ds-form__scan-q[type="text"]::placeholder {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Liste üstü sade arama — global input[type=search] padding'ini ezer */
.ds-list-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 0 10px;
}

.ds-list-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.ds-list-search__icon .ui-icon {
  width: 15px;
  height: 15px;
}

input.ds-list-search__input,
input.ds-list-search__input[type="search"] {
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  padding: 8px 14px 8px 42px;
  font-size: 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  -webkit-appearance: none;
  appearance: none;
}

input.ds-list-search__input::-webkit-search-decoration,
input.ds-list-search__input::-webkit-search-cancel-button,
input.ds-list-search__input::-webkit-search-results-button,
input.ds-list-search__input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

input.ds-list-search__input::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}

input.ds-list-search__input:focus {
  outline: none;
  border-color: rgba(193, 121, 63, 0.65);
  box-shadow: 0 0 0 2px rgba(193, 121, 63, 0.15);
}

@media (max-width: 720px) {
  .ds-form .select-with-icon,
  .ds-form > select {
    flex: 1 1 calc(50% - 8px);
    min-width: calc(50% - 8px);
  }

  .ds-form__btn {
    width: 100px !important;
    flex: 0 0 100px;
  }

  .ds-form__scan-q {
    flex: 1 1 calc(50% - 8px);
    max-width: none;
  }
}

/* Potansiyel / DeepSearch — yan panel: telefon (mobile) görünümü */
body.admin-ds {
  --max-width: 480px;
}

body.admin-ds .page {
  width: 100%;
  container-type: inline-size;
  container-name: ds-page;
}

body.admin-ds .container {
  padding-left: 12px;
  padding-right: 12px;
}

/* Geniş ekranda da 480px kolon kalsın (kök --max-width:925 ezmesin) */
@media (min-width: 760px) {
  body.admin-ds {
    --max-width: 480px;
  }
}

/* Telefon kolonuna göre form + liste (viewport geniş olsa bile) */
body.admin-ds .ds-form {
  gap: 6px;
}

body.admin-ds .ds-form .select-with-icon,
body.admin-ds .ds-form > select {
  flex: 1 1 calc(50% - 6px);
  min-width: calc(50% - 6px);
}

body.admin-ds .ds-form__scan-q {
  flex: 1 1 calc(100% - 96px);
  max-width: none;
  min-width: 0;
}

body.admin-ds .ds-form--scan .ds-form__btn {
  flex: 0 0 88px;
  width: 88px !important;
  min-width: 88px;
  max-width: 88px;
}

body.admin-ds .ds-form--filter .ds-form__btn--clear {
  flex: 0 0 88px;
  width: 88px !important;
  min-width: 88px;
  max-width: 88px;
}

body.admin-ds .ds-list-search {
  margin-bottom: 8px;
}

body.admin-ds .ds-list__head {
  display: none;
}

body.admin-ds .ds-row {
  grid-template-columns: minmax(0, 1fr) 22px max-content max-content;
  grid-template-areas:
    "name src reviews trust"
    "phone phone rating rating"
    "geo1 geo2 geo3 geo3";
  row-gap: 4px;
  column-gap: 8px;
  min-height: 0;
  padding: 10px 12px;
}

body.admin-ds .ds-row > *:not(:first-child) {
  box-shadow: none;
  padding-left: 0;
  margin-left: 0;
}

body.admin-ds .ds-row__name {
  width: auto;
  max-width: none;
  grid-area: name;
  font-size: 0.9rem;
  mask-image: none;
  -webkit-mask-image: none;
}

body.admin-ds .ds-row__phone {
  grid-area: phone;
  font-size: 0.78rem;
  color: var(--copper);
}

body.admin-ds .ds-row__geo:nth-of-type(2) { grid-area: geo1; }
body.admin-ds .ds-row__geo:nth-of-type(3) { grid-area: geo2; }
body.admin-ds .ds-row__geo:nth-of-type(4) { grid-area: geo3; }

body.admin-ds .ds-src { grid-area: src; }

body.admin-ds .ds-row__rating {
  grid-area: rating;
  justify-self: start;
}

body.admin-ds .ds-row__reviews { grid-area: reviews; }

body.admin-ds .ds-row__trust { grid-area: trust; }

body.admin-ds .ds-slide__inner {
  grid-template-columns: 1fr;
}

body.admin-ds .ds-photos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.admin-ds .ds-info__panel {
  width: min(340px, calc(100vw - 28px));
  left: 0;
  right: auto;
}

/* DeepSearch kompakt liste + slide detay */
.ds-list {
  --ds-col-name: minmax(160px, 1.35fr);
  --ds-col-il: minmax(0, 4.2rem);
  --ds-col-ilce: minmax(0, 5.2rem);
  --ds-col-semt: minmax(0, 1fr);
  --ds-col-phone: 7.2rem;
  --ds-col-src: 24px;
  --ds-col-score: 2.2rem;
  --ds-col-reviews: minmax(2.6rem, max-content);
  --ds-col-trust: 2.4rem;
  --ds-cols: var(--ds-col-name) var(--ds-col-il) var(--ds-col-ilce) var(--ds-col-semt)
    var(--ds-col-phone) var(--ds-col-src) var(--ds-col-score) var(--ds-col-reviews) var(--ds-col-trust);
  --ds-gap-x: 8px;
  --ds-pad-x: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
}

.ds-list__head {
  display: grid;
  grid-template-columns: var(--ds-cols);
  column-gap: var(--ds-gap-x);
  row-gap: 0;
  align-items: center;
  padding: 7px var(--ds-pad-x);
  box-sizing: border-box;
  border-bottom: 1px solid var(--border);
  background: rgba(193, 121, 63, 0.1);
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.ds-list__h {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  align-self: stretch;
  min-height: 100%;
  padding-block: 2px;
}

.ds-list__h .ui-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 1;
}

.ds-list__h--name {
  min-width: 0;
  justify-content: center;
  text-align: center;
  padding-right: 8px;
}

.ds-list__h--name > span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.ds-list__h--icon {
  justify-content: center;
  padding-inline: 2px;
}

.ds-list__h--phone {
  justify-content: flex-start;
}

a.ds-list__h--sort {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

a.ds-list__h--sort:hover {
  color: var(--copper);
  background: rgba(193, 121, 63, 0.12);
}

a.ds-list__h--sort.is-sorted {
  color: var(--copper);
  box-shadow: inset 0 -2px 0 var(--copper);
}

.ds-list__h:not(:first-child) {
  box-shadow: inset 1px 0 0 color-mix(in srgb, var(--border) 90%, var(--copper) 10%);
  padding-left: 8px;
  margin-left: -4px;
}

.ds-list__h--ilce {
  overflow: visible;
}

.ds-list__pins {
  position: relative;
  display: block;
  width: 28px;
  height: 16px;
  flex-shrink: 0;
}

.ds-list__pins .locate-pin {
  color: var(--copper);
}

.ds-list__pins .locate-pin .ui-icon,
.ds-list__pins .locate-pin svg {
  width: 12px;
  height: 12px;
}

.ds-list__pins .locate-pin:nth-child(1) { left: 0; }
.ds-list__pins .locate-pin:nth-child(2) { left: 4px; }
.ds-list__pins .locate-pin:nth-child(3) { left: 8px; }
.ds-list__pins .locate-pin:nth-child(4) {
  left: 12px;
  opacity: 1;
  color: var(--copper);
}

.ds-list__h--src {
  justify-content: center;
}

.ds-list__h--rating {
  justify-content: center;
  color: #e8c547;
}

.ds-list__h--rating .ui-icon {
  color: #e8c547;
  fill: #e8c547;
  stroke: #e8c547;
}

.ds-list__h--rating .ui-icon path {
  fill: #e8c547;
  stroke: #c9a227;
  stroke-width: 1.25;
}

.ds-list__h--reviews {
  justify-content: center;
}

.ds-row-wrap + .ds-row-wrap {
  border-top: 1px solid var(--border);
}

/* Erkek — dönüşümlü mavi tonlar */
.ds-row-wrap--erkek.ds-row-wrap--alt1 .ds-row {
  background: rgba(80, 140, 210, 0.14);
  box-shadow: inset 3px 0 0 rgba(100, 160, 230, 0.95);
}
.ds-row-wrap--erkek.ds-row-wrap--alt0 .ds-row {
  background: rgba(35, 75, 130, 0.28);
  box-shadow: inset 3px 0 0 rgba(55, 110, 180, 1);
}
.ds-row-wrap--erkek:hover .ds-row,
.ds-row-wrap--erkek.is-open .ds-row {
  filter: brightness(1.08);
}

/* Bayan — dönüşümlü pembe tonlar */
.ds-row-wrap--bayan.ds-row-wrap--alt1 .ds-row {
  background: rgba(255, 190, 210, 0.14);
  box-shadow: inset 3px 0 0 rgba(240, 150, 175, 0.95);
}
.ds-row-wrap--bayan.ds-row-wrap--alt0 .ds-row {
  background: rgba(200, 90, 130, 0.2);
  box-shadow: inset 3px 0 0 rgba(210, 100, 140, 1);
}
.ds-row-wrap--bayan:hover .ds-row,
.ds-row-wrap--bayan.is-open .ds-row {
  filter: brightness(1.08);
}

/* Güzellik — dönüşümlü mor */
.ds-row-wrap--guzellik.ds-row-wrap--alt1 .ds-row {
  background: rgba(160, 140, 210, 0.12);
  box-shadow: inset 3px 0 0 rgba(170, 145, 220, 0.9);
}
.ds-row-wrap--guzellik.ds-row-wrap--alt0 .ds-row {
  background: rgba(100, 80, 150, 0.22);
  box-shadow: inset 3px 0 0 rgba(130, 100, 190, 1);
}
.ds-row-wrap--guzellik:hover .ds-row,
.ds-row-wrap--guzellik.is-open .ds-row {
  filter: brightness(1.08);
}

.ds-row-wrap--bayan-guzellik.ds-row-wrap--alt1 .ds-row {
  background: linear-gradient(90deg, rgba(255, 190, 210, 0.12), rgba(160, 140, 210, 0.1));
  box-shadow: inset 3px 0 0 rgba(210, 130, 180, 0.95);
}
.ds-row-wrap--bayan-guzellik.ds-row-wrap--alt0 .ds-row {
  background: linear-gradient(90deg, rgba(200, 90, 130, 0.18), rgba(100, 80, 150, 0.18));
  box-shadow: inset 3px 0 0 rgba(180, 100, 160, 1);
}
.ds-row-wrap--bayan-guzellik:hover .ds-row,
.ds-row-wrap--bayan-guzellik.is-open .ds-row {
  filter: brightness(1.08);
}

.ds-row {
  width: 100%;
  display: grid;
  grid-template-columns: var(--ds-cols);
  column-gap: var(--ds-gap-x);
  row-gap: 0;
  align-items: center;
  min-height: 44px;
  padding: 8px var(--ds-pad-x);
  box-sizing: border-box;
  margin: 0;
  border: none;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.ds-row > * {
  box-sizing: border-box;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.ds-row > *:not(:first-child) {
  box-shadow: inset 1px 0 0 color-mix(in srgb, var(--border) 85%, transparent);
  padding-left: 8px;
  margin-left: -4px;
}

.ds-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.ds-row-wrap.is-open .ds-row {
  background: rgba(255, 255, 255, 0.06);
}

.ds-src {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  flex-shrink: 0;
  user-select: none;
  background: transparent;
  border: none;
}

.ds-src .ui-icon {
  width: 16px;
  height: 16px;
}

.ds-src--google { color: #8ab4f8; }
.ds-src--foursquare { color: #ff8a65; }
.ds-src--bing { color: #6cb6ff; }
.ds-src--yandex { color: #ff5252; }
.ds-src--apple { color: #e8e8ed; }

.ds-row__name {
  display: block;
  font-weight: 500;
  font-size: 0.88rem;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  min-width: 0;
  line-height: 1.3;
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 28px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 28px), transparent 100%);
}

.ds-row__geo {
  font-size: 0.8rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.ds-row__geo--mah {
  min-width: 0;
}

.ds-row__phone {
  justify-content: flex-start;
  text-align: left;
  font-size: 0.8rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
  letter-spacing: 0.01em;
}

.ds-row__rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  white-space: nowrap;
}

.ds-row__score {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.ds-row__score--na {
  color: var(--text-muted);
  font-weight: 500;
}

.ds-row__reviews {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 0;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.ds-row__trust {
  justify-self: center;
}

.ds-score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  padding: 0.12rem 0.35rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.ds-score-pill--high {
  color: #7ddea0;
  background: rgba(56, 160, 98, 0.18);
}

.ds-score-pill--mid {
  color: #e6c36a;
  background: rgba(196, 148, 40, 0.18);
}

.ds-score-pill--low {
  color: #e8a08a;
  background: rgba(180, 72, 48, 0.16);
}

.ds-score-pill--na {
  color: var(--text-muted);
  font-weight: 500;
}

.ds-scores {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 6px 0 2px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ds-scores__item {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr) 2.4rem;
  gap: 8px;
  align-items: center;
}

.ds-scores__label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.ds-scores__bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.ds-scores__bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(201, 162, 74, 0.55), rgba(201, 162, 74, 0.95));
}

.ds-scores__val {
  justify-self: end;
}

.ds-score-pill--conflict {
  box-shadow: inset 0 0 0 1px rgba(232, 160, 138, 0.55);
}

.ds-claims {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0 2px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ds-claims__title {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--text-dim);
}

.ds-claims__chip {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(201, 162, 74, 0.16);
  color: var(--gold);
}

.ds-claims__chip--warn {
  background: rgba(180, 72, 48, 0.22);
  color: #e8a08a;
}

.ds-claims__row {
  display: grid;
  grid-template-columns: 4.2rem 2.4rem minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  font-size: 0.72rem;
}

.ds-claims__field {
  color: var(--text-muted);
}

.ds-claims__conf {
  font-variant-numeric: tabular-nums;
  color: var(--gold);
  font-weight: 650;
}

.ds-claims__values {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ds-claims__val {
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ds-claims__conflicts {
  margin: 4px 0 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ds-claims__conflict {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.ds-claims__conflict--hard {
  color: #e8a08a;
}

.ds-claims__conflict--soft {
  color: #e6c36a;
}

.ds-ai {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0 2px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(201, 162, 74, 0.06);
  border: 1px solid rgba(201, 162, 74, 0.18);
}

.ds-ai__title {
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--gold);
}

.ds-ai__body {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-dim);
  white-space: pre-line;
}

.ds-ai__rec {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ds-ai__src {
  font-size: 0.7rem;
}

.pending-shop__ai {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(201, 162, 74, 0.07);
  border: 1px solid rgba(201, 162, 74, 0.16);
}

.pending-shop__ai-title {
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--gold);
  margin-bottom: 4px;
}

.pending-shop__ai-body {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-dim);
  white-space: pre-line;
}

.pending-shop__tech {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pending-shop__tech summary {
  cursor: pointer;
  color: var(--text-dim);
}

.pending-shop__tech-body {
  margin-top: 6px;
  white-space: pre-line;
  font-size: 0.72rem;
  opacity: 0.85;
}

.pending-shop__tech-meta {
  margin-top: 4px;
  font-size: 0.7rem;
  font-family: ui-monospace, "Cascadia Mono", monospace;
}

.ai-rec-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 650;
  vertical-align: middle;
  background: rgba(201, 162, 74, 0.16);
  color: var(--gold);
}

.ds-slide {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.22);
  animation: ds-slide-in 0.22s ease;
}

@keyframes ds-slide-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.ds-slide__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 14px;
  padding: 12px 14px 16px;
}

.ds-slide__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}

.ds-slide__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 4px;
}

.ds-slide__link {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}

.ds-slide__status {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 200px;
}

.ds-slide__status select {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 8px;
}

.ds-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ds-photo {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(160deg, rgba(200, 140, 80, 0.18), transparent 55%),
    #121417;
}

.ds-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.06) saturate(0.92) brightness(0.96);
  transform: scale(1.04);
}

.ds-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.28));
}

.ds-photos__empty {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.8rem;
}

.ds-services {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ds-services__title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.ds-services__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ds-services__group-name {
  font-size: 0.78rem;
  color: rgba(200, 140, 80, 0.95);
  font-weight: 600;
}

.ds-services__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ds-services__chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
}

.ds-services__chip--pending {
  border-color: rgba(200, 140, 80, 0.45);
  color: rgba(230, 180, 120, 0.95);
}

.ds-services__empty {
  margin: 0;
  font-size: 0.78rem;
}

@media (max-width: 759px) {
  .ds-list__head {
    display: none;
  }
  .ds-row {
    grid-template-columns: minmax(0, 1fr) 22px max-content max-content;
    grid-template-areas:
      "name src reviews trust"
      "geo1 rating rating rating"
      "geo2 rating rating rating"
      "geo3 rating rating rating";
  }
  .ds-row__name {
    width: auto;
    max-width: none;
    grid-area: name;
  }
  .ds-row__geo:nth-of-type(2) { grid-area: geo1; }
  .ds-row__geo:nth-of-type(3) { grid-area: geo2; }
  .ds-row__geo:nth-of-type(4) { grid-area: geo3; }
  .ds-src { grid-area: src; }
  .ds-row__rating { grid-area: rating; justify-self: start; }
  .ds-row__reviews { grid-area: reviews; }
  .ds-row__trust { grid-area: trust; }
  .ds-slide__inner {
    grid-template-columns: 1fr;
  }
  .ds-photos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .admin-deepsearch.locate-row {
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
  }
  .admin-deepsearch .locate-il-col,
  .admin-deepsearch .locate-ilce-wrap {
    flex: 1 1 0;
    min-width: 0;
  }
  .admin-deepsearch .pill-locate {
    flex: 0 0 auto;
    width: auto;
    min-width: 160px;
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (min-width: 760px) {
  /* Tek grid: arama kutuları + kartlar aynı kolon hatlarında */
  .landing-trio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 18px;
    align-items: start;
  }
  .landing-trio .locate-row,
  .landing-trio .account-cards-v {
    display: contents;
  }
  .landing-trio-rule {
    grid-column: 1 / -1;
    margin: 4px 0;
  }
  .locate-il-col,
  .locate-ilce-wrap,
  .locate-row .pill-locate,
  .landing-trio .account-card {
    width: auto;
    min-width: 0;
    max-width: none;
  }
  .locate-il-col .locate-select,
  .locate-il-col .select-with-icon,
  .locate-ilce-wrap .locate-select {
    width: 100%;
  }
  .locate-ilce-wrap {
    position: relative;
    overflow: visible;
  }
  .locate-row .pill-locate {
    padding: 12px 10px;
    font-size: 0.85rem;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 46px;
  }
}

.pill-locate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  gap: 8px;
  padding: 12px 14px;
  font-weight: 400;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  width: auto;
  /* Çerçeve/arka plan .locate-box + .card-* üzerinden */
}
.pill-locate:hover {
  filter: brightness(1.08);
}
.pill-locate:focus {
  outline: 2px solid var(--card-accent, var(--gold));
  outline-offset: 2px;
}
.pill-locate svg,
.pill-locate .ui-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--card-accent, var(--icon)); }

/* ---- Arama sonucu — müşteri: paslanmaz çelik (tedarikçi mavisi değil) ---- */
body.find-results-page.theme-customer {
  --gold: #d8d8da;
  --gold-dark: #9a9a9d;
  --theme-btn-border: #9a9a9d;
  --icon: #d8d8da;
  --card-accent: #d8d8da;
  --btn-from: #e8e8ea;
  --btn-mid: #9a9a9d;
  --btn-to: #48494d;
}

body.find-results-page .page.landing > .landing-content {
  justify-content: flex-start;
  padding-top: 8px;
}

body.find-results-page .landing-content {
  padding-top: 8px;
  padding-bottom: 8px;
}

.find-result-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  box-sizing: border-box;
}

.find-result-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

.find-result-nav-btn:hover {
  color: var(--card-accent, var(--gold, #82b3d8));
  background: color-mix(in srgb, var(--card-accent, var(--gold, #82b3d8)) 12%, transparent);
}

.find-result-nav-btn .ui-icon {
  width: 32px;
  height: 32px;
}

.find-result-box {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 14px 12px;
  text-align: center;
  box-sizing: border-box;
  border-radius: var(--radius);
  border: 1.5px solid var(--card-border, #b86b35);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  background-color: var(--card-surface-bot, #100e0c);
  background-image:
    radial-gradient(120% 85% at 50% -15%, var(--card-glow, rgba(184, 107, 53, 0.34)) 0%, transparent 58%),
    linear-gradient(
      180deg,
      var(--card-surface-top, #2c241c) 0%,
      var(--card-surface-mid, #1a1612) 48%,
      var(--card-surface-bot, #100e0c) 100%
    );
}

.find-result-title {
  margin: 0 0 6px;
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(0.95rem, 2.4vw, 1.2rem);
  line-height: 1.3;
  color: #fff;
}

.find-result-count {
  color: var(--card-accent, var(--gold, #82b3d8));
}

.find-result-kind {
  font-size: 0.72em;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
}

.find-result-place {
  display: none;
}

.find-result-place-part {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.find-result-place-icon {
  display: inline-flex;
  align-items: center;
  color: var(--card-accent, var(--gold, #82b3d8));
  flex-shrink: 0;
}

.find-result-place-icon .ui-icon {
  width: 16px;
  height: 16px;
}

.find-result-pins {
  position: relative;
  width: 28px;
  height: 16px;
}

.find-result-pin {
  position: absolute;
  top: 50%;
  display: flex;
  opacity: 0.45;
}

.find-result-pin .ui-icon {
  width: 14px;
  height: 14px;
}

.find-result-pin:nth-child(1) {
  left: 0;
  transform: translateY(-58%);
  opacity: 0.35;
  z-index: 1;
}
.find-result-pin:nth-child(2) {
  left: 6px;
  transform: translateY(-50%);
  opacity: 0.55;
  z-index: 2;
}
.find-result-pin:nth-child(3) {
  left: 12px;
  transform: translateY(-42%);
  opacity: 1;
  z-index: 3;
}

.find-result-hint {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.35;
  color: #fff;
  white-space: nowrap;
}

.find-result-hint--plain {
  display: block;
  white-space: normal;
  line-height: 1.45;
}

.find-result-hint-or {
  color: rgba(255, 255, 255, 0.8);
  font-size: inherit;
  flex-shrink: 0;
}

.find-result-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--gold, #82b3d8)) 45%, transparent);
  background: transparent;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.find-result-link-btn:hover {
  border-color: var(--card-accent, var(--gold, #82b3d8));
  color: var(--card-accent, var(--gold, #82b3d8));
  background: color-mix(in srgb, var(--card-accent, var(--gold, #82b3d8)) 12%, transparent);
}

@media (max-width: 759px) {
  .find-result-hint {
    font-size: 0.8rem; /* -1 kademe: sığması için */
    gap: 5px;
  }
  .find-result-link-btn {
    font-size: 0.7rem;
    padding: 2px 8px;
  }
}

/* İlk 6 işletme önizleme — basit satır listesi, 2. sıradan kademeli blur */
.find-preview {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 18px auto 0;
  box-sizing: border-box;
  overflow: hidden;
}

.find-preview-scope {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 0 4px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
  color: #fff;
  text-align: left;
}

.find-preview-scope-places {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  min-width: 0;
}

.find-preview-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

.find-preview-home:hover {
  color: var(--card-accent, var(--gold, #82b3d8));
  background: color-mix(in srgb, var(--card-accent, var(--gold, #82b3d8)) 12%, transparent);
}

.find-preview-home .ui-icon {
  width: 20px;
  height: 20px;
}

.find-preview-home-alone {
  display: flex;
  justify-content: flex-end;
  max-width: 920px;
  margin: 12px auto 0;
  padding: 0 8px;
  box-sizing: border-box;
}

.find-preview-scope-part {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.find-preview-scope-icon {
  display: inline-flex;
  align-items: center;
  color: #fff;
  flex-shrink: 0;
}

.find-preview-scope-icon .ui-icon {
  width: 16px;
  height: 16px;
}

.find-preview-scope .find-result-pins {
  color: #fff;
}

.find-preview-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.find-preview-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 8px 4px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
  text-decoration: none;
}

.find-preview-scissors {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--gold, #82b3d8)) 55%, transparent);
  color: var(--card-accent, var(--gold, #82b3d8));
  background: color-mix(in srgb, var(--card-accent, var(--gold, #82b3d8)) 10%, transparent);
}

.find-preview-scissors .ui-icon {
  width: 14px;
  height: 14px;
}

.find-preview-card--link:hover .find-preview-name {
  color: var(--card-accent, var(--gold, #82b3d8));
}

.find-preview-card--link:hover .find-preview-scissors {
  border-color: var(--card-accent, var(--gold, #82b3d8));
  background: color-mix(in srgb, var(--card-accent, var(--gold, #82b3d8)) 18%, transparent);
}

.find-preview--full .find-preview-card {
  filter: none !important;
  opacity: 1 !important;
}

.find-preview--full .find-preview-fade {
  display: none;
}

.find-preview-card:last-child {
  border-bottom: none;
}

.find-preview-name {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.88rem;
  color: #fff;
  line-height: 1.25;
  text-align: left;
  flex: 1 1 auto;
  min-width: 0;
}

.find-preview-meta {
  margin-top: 0;
  margin-left: auto;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
  text-align: right;
}

/* 1–2 net; sonra kademeli blur */
.find-preview-card--1,
.find-preview-card--2 { filter: none; opacity: 1; }
.find-preview-card--3 { filter: blur(0.4px); opacity: 0.9; }
.find-preview-card--4 { filter: blur(0.9px); opacity: 0.78; }
.find-preview-card--5 { filter: blur(1.5px); opacity: 0.66; }
.find-preview-card--6 { filter: blur(2.2px); opacity: 0.52; }
.find-preview-card--7 { filter: blur(2.8px); opacity: 0.42; }
.find-preview-card--8 { filter: blur(3.2px); opacity: 0.34; }
.find-preview-card--9 { filter: blur(3.6px); opacity: 0.28; }
.find-preview-card--10 { filter: blur(4px); opacity: 0.22; }

.find-preview-fade {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(
    180deg,
    rgba(18, 18, 18, 0) 0%,
    rgba(18, 18, 18, 0.55) 45%,
    rgba(18, 18, 18, 0.92) 100%
  );
}

.find-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  padding: 8px 4px 2px;
}

.find-pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--gold, #9a9a9d) 45%, var(--border));
  background: rgba(28, 28, 30, 0.65);
  color: var(--gold, #d8d8da);
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.find-pager-btn:hover {
  border-color: var(--gold, #d8d8da);
  background: color-mix(in srgb, var(--gold, #d8d8da) 14%, transparent);
}
.find-pager-btn.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}
.find-pager-btn .ui-icon {
  width: 22px;
  height: 22px;
  color: inherit;
}

.find-pager-info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 6px;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 180px;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}
.find-pager-sep { color: var(--text-dim); font-weight: 500; }
.find-pager-total { color: var(--gold, #d8d8da); }
.find-pager-page {
  flex-basis: 100%;
  font-size: 0.72rem;
  font-weight: 500;
}

@media (max-width: 420px) {
  .find-pager {
    gap: 8px;
    padding: 10px 0 4px;
  }
  .find-pager-btn {
    width: 42px;
    height: 42px;
  }
  .find-pager-info {
    font-size: 0.82rem;
  }
}


@media (min-width: 760px) {
  .find-result-wrap {
    max-width: 920px;
    gap: 12px;
  }
  .find-result-box {
    padding: 16px 18px;
  }
  .find-result-title {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
  }
  .find-result-nav-btn .ui-icon {
    width: 36px;
    height: 36px;
  }

  .find-preview-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  /* PC: ilk 2 satır net, sonrası kademeli */
  .find-preview-card--1,
  .find-preview-card--2 { filter: none; opacity: 1; }
  .find-preview-card--3 { filter: blur(0.5px); opacity: 0.88; }
  .find-preview-card--4 { filter: blur(1.1px); opacity: 0.76; }
  .find-preview-card--5 { filter: blur(1.8px); opacity: 0.62; }
  .find-preview-card--6 { filter: blur(2.4px); opacity: 0.5; }
  .find-preview-card--7 { filter: blur(3px); opacity: 0.4; }
  .find-preview-card--8 { filter: blur(3.4px); opacity: 0.32; }
  .find-preview-card--9 { filter: blur(3.8px); opacity: 0.26; }
  .find-preview-card--10 { filter: blur(4.2px); opacity: 0.2; }

  .find-preview-fade {
    height: 45%;
  }
}

/* Üç hesap kartı — metalik kimlik:
   İşletme = Copper, Müşteri = Stainless Steel, Tedarikçi = Blue Steel.
   <760px dikey + merkez; ≥760px yatay + sol hizalı. */
.account-cards-v {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.account-card {
  --card-accent: #c8c8cc;
  --card-title-c: #fff;
  --card-desc-c: rgba(230, 230, 235, 0.9);
  --card-btn-from: #c8c8cc;
  --card-btn-mid: #9a9a9d;
  --card-btn-to: #48494d;
  --card-login-c: rgba(230, 230, 235, 0.85);
  --card-login-a: #fff;
  --card-border: rgba(255, 255, 255, 0.18);
  --card-glow: rgba(255, 255, 255, 0.1);
  --card-surface-top: #2a2a2e;
  --card-surface-mid: #1a1a1d;
  --card-surface-bot: #101012;

  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: none;
  min-height: 230px;
  padding: 24px 22px 20px;
  border-radius: var(--radius);
  border: 1.5px solid var(--card-border);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
  /* Koyu brushed metal + üstte hafif accent glow */
  background-color: var(--card-surface-bot);
  background-image:
    radial-gradient(120% 85% at 50% -15%, var(--card-glow) 0%, transparent 58%),
    linear-gradient(180deg, var(--card-surface-top) 0%, var(--card-surface-mid) 48%, var(--card-surface-bot) 100%);
  background-repeat: no-repeat;
}

/* Brushed metal texture */
.account-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background-image: repeating-linear-gradient(
    96deg,
    rgba(255, 255, 255, 0.055) 0 1px,
    rgba(0, 0, 0, 0.07) 1px 2px,
    transparent 2px 5px
  );
  mix-blend-mode: soft-light;
}

/* Soft inner edge */
.account-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.35);
}

.account-card > * { position: relative; z-index: 1; }

.account-card .card-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  color: var(--card-accent);
  flex-shrink: 0;
}
.account-card .card-icon svg,
.account-card .card-icon .ui-icon {
  width: 100%;
  height: 100%;
  color: inherit;
}

.account-card .card-title {
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  text-transform: none;
  margin: 0 0 8px;
  color: var(--card-title-c);
}

.account-card .card-desc {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--card-desc-c);
  margin: 0 0 20px;
  max-width: 28em;
}

.account-card .card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  margin-top: auto;
  align-self: center;
  /* Glow renkleri .btn-primary / .card-* kurallarından gelir */
  transition: filter 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.account-card .card-btn:hover {
  filter: brightness(1.08);
  color: #fff;
  opacity: 1;
}

.account-card .card-btn--disabled,
.account-card span.card-btn--disabled {
  cursor: not-allowed;
  opacity: 0.72;
  filter: grayscale(0.25);
  pointer-events: none;
  user-select: none;
}
.account-card--paused {
  opacity: 0.92;
}

.account-card .card-login {
  align-self: center;
  margin: 14px 0 0;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--card-login-c);
  text-align: center;
}
.account-card .card-login a {
  color: var(--card-login-a);
  font-weight: 600;
  text-decoration: none;
}
.account-card .card-login a:hover { opacity: 0.9; }

/* 1) İşletme — Copper */
.card-copper {
  --card-accent: #c8793f;
  --card-title-c: #e09a61;
  --card-desc-c: var(--text-secondary);
  --card-btn-from: #e09a61;
  --card-btn-mid: #c8793f;
  --card-btn-to: #8e4b25;
  --card-login-c: var(--text-secondary);
  --card-login-a: #e09a61;
  --card-border: #c8793f;
  --card-glow: rgba(200, 121, 63, 0.22);
  --card-surface-top: #222018;
  --card-surface-mid: #151719;
  --card-surface-bot: #0e0f10;
}

/* 2) Müşteri — Steel */
.card-steel {
  --card-accent: #c7c9cc;
  --card-title-c: #f1f2f3;
  --card-desc-c: var(--text-secondary);
  --card-btn-from: #e6e7e9;
  --card-btn-mid: #70747a;
  --card-btn-to: #70747a;
  --card-login-c: var(--text-secondary);
  --card-login-a: #f1f2f3;
  --card-border: #c7c9cc;
  --card-glow: rgba(199, 201, 204, 0.16);
  --card-surface-top: #222529;
  --card-surface-mid: #151719;
  --card-surface-bot: #0e0f10;
}

/* 3) Tedarikçi — Supplier blue */
.card-mirror {
  --card-accent: #6fa8d2;
  --card-title-c: #9cc9ec;
  --card-desc-c: var(--text-secondary);
  --card-btn-from: #9cc9ec;
  --card-btn-mid: #6fa8d2;
  --card-btn-to: #1d3548;
  --card-login-c: var(--text-secondary);
  --card-login-a: #9cc9ec;
  --card-border: #6fa8d2;
  --card-glow: rgba(111, 168, 210, 0.22);
  --card-surface-top: #1a2833;
  --card-surface-mid: #121c26;
  --card-surface-bot: #0e0f10;
}

/* Panel kimlik kutusu — her zaman landing account-card metalinden referans.
   İşletme=copper, Müşteri=steel, Tedarikçi=mirror. */
.panel-header-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: auto;
  min-height: 64px;
  margin: 10px 16px 0;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--card-border);
  border-bottom: 1.5px solid var(--card-border);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
  background-color: var(--card-surface-bot);
  background-image:
    radial-gradient(130% 100% at 20% -10%, var(--card-glow) 0%, transparent 58%),
    linear-gradient(180deg, var(--card-surface-top) 0%, var(--card-surface-mid) 48%, var(--card-surface-bot) 100%);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: auto;
  background-position: initial;
  top: auto;
  z-index: 10;
}

/* Kart metal değişkenleri — panel-header'dan SONRA gelsin (aksi halde ezilir) */
.panel-header-box.card-copper {
  --card-accent: #e5a16b;
  --card-title-c: #ffd0a3;
  --card-border: #c1793f;
  --card-glow: rgba(193, 121, 63, 0.55);
  --card-surface-top: #4a321c;
  --card-surface-mid: #2a1a10;
  --card-surface-bot: #160e08;
}
.panel-header-box.card-steel {
  --card-accent: #d8d8da;
  --card-title-c: #f1f4f7;
  --card-border: #9a9a9d;
  --card-glow: rgba(200, 200, 205, 0.28);
  --card-surface-top: #3a3a40;
  --card-surface-mid: #222226;
  --card-surface-bot: #141416;
}
.panel-header-box.card-mirror {
  --card-accent: #82b3d8;
  --card-title-c: #b7d8f0;
  --card-border: #426783;
  --card-glow: rgba(66, 103, 131, 0.5);
  --card-surface-top: #243848;
  --card-surface-mid: #152430;
  --card-surface-bot: #0b1218;
}

.panel-header-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background-image: repeating-linear-gradient(
    96deg,
    rgba(255, 255, 255, 0.055) 0 1px,
    rgba(0, 0, 0, 0.07) 1px 2px,
    transparent 2px 5px
  );
  mix-blend-mode: soft-light;
}

.panel-header-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.35);
}

.panel-header-box > * { position: relative; z-index: 1; }

.panel-header-id {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.panel-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--card-accent);
}
.panel-header-icon .ui-icon,
.panel-header-icon svg {
  width: 100%;
  height: 100%;
  color: inherit;
}

.panel-header-text { min-width: 0; }

.panel-header-box .panel-header-title,
.panel-header-box .brand {
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--card-title-c);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(58vw, 22rem);
}

.panel-header-sub {
  margin-top: 3px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--card-accent);
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-width: min(70vw, 28rem);
  line-height: 1.35;
}

.panel-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.panel-header-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 45%, transparent);
  background: rgba(0, 0, 0, 0.28);
  color: var(--card-accent);
  text-decoration: none;
  flex-shrink: 0;
}
.panel-header-action-btn:hover {
  border-color: var(--card-accent);
  background: rgba(0, 0, 0, 0.42);
  color: var(--card-title-c);
}
.panel-header-action-btn .ui-icon,
.panel-header-action-btn svg {
  width: 22px;
  height: 22px;
  color: inherit;
}

.panel-header-actions > a:not(.panel-header-action-btn) {
  color: rgba(228, 228, 231, 0.75);
  font-size: 0.8rem;
  text-decoration: none;
  white-space: nowrap;
}
.panel-header-actions > a:not(.panel-header-action-btn):hover {
  color: var(--card-accent);
}

/* Tema sayfalarında eski fotoğraflı topbar’ı da aynı metal kutuya çek
   (panel-header-box zaten kendi stilini taşır — hariç tut) */
body.theme-shop .page > .topbar:not(.panel-header-box) {
  --card-accent: #e5a16b;
  --card-title-c: #e5a16b;
  --card-border: #b86b35;
  --card-glow: rgba(184, 107, 53, 0.34);
  --card-surface-top: #2c241c;
  --card-surface-mid: #1a1612;
  --card-surface-bot: #100e0c;
}
body.theme-customer .page > .topbar:not(.panel-header-box) {
  --card-accent: #d8d8da;
  --card-title-c: #f1f4f7;
  --card-border: #9a9a9d;
  --card-glow: rgba(200, 200, 205, 0.22);
  --card-surface-top: #2a2a2e;
  --card-surface-mid: #1b1b1e;
  --card-surface-bot: #101012;
}
body.theme-supplier .page > .topbar:not(.panel-header-box) {
  --card-accent: #82b3d8;
  --card-title-c: #82b3d8;
  --card-border: #426783;
  --card-glow: rgba(66, 103, 131, 0.4);
  --card-surface-top: #1c2833;
  --card-surface-mid: #121c26;
  --card-surface-bot: #0b1218;
}

body.theme-shop .page > .topbar:not(.panel-header-box),
body.theme-customer .page > .topbar:not(.panel-header-box),
body.theme-supplier .page > .topbar:not(.panel-header-box) {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: auto;
  min-height: 64px;
  margin: 10px 16px 0;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--card-border, var(--border));
  border-bottom: 1.5px solid var(--card-border, var(--border));
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
  background-color: var(--card-surface-bot, var(--bg-elevated));
  background-image:
    radial-gradient(120% 90% at 12% -20%, var(--card-glow, transparent) 0%, transparent 55%),
    linear-gradient(180deg, var(--card-surface-top, #2a2a2e) 0%, var(--card-surface-mid, #1a1a1d) 48%, var(--card-surface-bot, #101012) 100%);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: auto;
  background-position: initial;
  top: auto;
  z-index: 10;
}

body.theme-shop .page > .topbar:not(.panel-header-box)::before,
body.theme-customer .page > .topbar:not(.panel-header-box)::before,
body.theme-supplier .page > .topbar:not(.panel-header-box)::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background-image: repeating-linear-gradient(
    96deg,
    rgba(255, 255, 255, 0.055) 0 1px,
    rgba(0, 0, 0, 0.07) 1px 2px,
    transparent 2px 5px
  );
  mix-blend-mode: soft-light;
}

body.theme-shop .page > .topbar:not(.panel-header-box) > *,
body.theme-customer .page > .topbar:not(.panel-header-box) > *,
body.theme-supplier .page > .topbar:not(.panel-header-box) > * {
  position: relative;
  z-index: 1;
}

body.theme-shop .page > .topbar .brand,
body.theme-customer .page > .topbar .brand,
body.theme-supplier .page > .topbar .brand {
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 600;
  color: var(--card-title-c);
}

body.theme-shop .page > .topbar .gold {
  color: var(--card-accent);
  background: none;
  -webkit-text-fill-color: var(--card-accent);
}

/* Landing fade kapalı — arka plan “yüklenmedi” hissi olmasın */
body.landing-page .account-card {
  animation: none;
  opacity: 1;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 16px 20px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 12px;
}
.feature-item { text-align: left; }
.feature-item .feature-icon { width: 28px; height: 28px; color: var(--icon); margin-bottom: 4px; }
.feature-item .feature-icon svg,
.feature-item .feature-icon .ui-icon { width: 100%; height: 100%; color: var(--icon); }
.feature-item .feature-title { font-weight: 700; font-size: 0.88rem; margin: 0; line-height: 1.25; }
.feature-item .feature-desc { color: var(--text-dim); font-size: 0.8rem; line-height: 1.35; margin: 2px 0 0; }

@media (min-width: 760px) {
  .account-cards-v {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 18px;
  }
  .account-cards-v .account-card {
    flex: 1 1 0;
    width: 0;
    max-width: none;
    min-width: 0;
    min-height: 250px;
    align-items: flex-start;
    text-align: left;
    padding: 26px 22px 22px;
  }
  /* landing-trio içinde kartlar grid hücresi — flex genişliği ezmesin */
  .landing-trio .account-cards-v .account-card {
    flex: none;
    width: auto;
  }
  .account-cards-v .account-card .card-btn,
  .account-cards-v .account-card .card-login {
    align-self: flex-start;
    text-align: left;
  }
  .account-cards-v .account-card .card-desc {
    max-width: none;
  }
  .feature-strip { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Davet formu ---------------------------------------------------- */
.invite-type-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.invite-type-option {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
}
.invite-type-option:has(input:checked) {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
}
.invite-type-option input { margin-right: 8px; }
.invite-type-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}
.invite-type-hint {
  font-size: 0.78rem;
  color: var(--text-dim);
  padding-left: 22px;
}
.invite-result {
  margin-bottom: 16px;
  border: 1px solid var(--gold);
}
.invite-result-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.invite-code {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--gold);
}
.invite-scenario-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
@media (min-width: 700px) {
  .invite-scenario-grid { grid-template-columns: 1fr 1fr; }
}
.invite-scenario-card {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.02);
}
.invite-scenario-card:hover { border-color: var(--gold); }
.invite-scenario-card .title { font-weight: 600; margin-bottom: 4px; }
.invite-scenario-card .sub { font-size: 0.8rem; color: var(--text-dim); line-height: 1.4; }

/* ---- Hesap türüne göre panel temaları (Design System §5) -------------
   İşletme  -> Copper
   Müşteri  -> Steel
   Tedarikçi -> Supplier blue */
body.theme-shop {
  --gold: var(--copper);
  --gold-dark: var(--copper-dark);
  --theme-btn-border: var(--copper);
  --icon: var(--copper);
  --icon-active: var(--copper);
  --btn-from: var(--copper-light);
  --btn-mid: var(--copper);
  --btn-to: var(--copper-dark);
}

body.theme-customer {
  --gold: var(--steel);
  --gold-dark: var(--steel-dark);
  --theme-btn-border: var(--steel);
  --icon: #d2d4d7;
  --icon-active: var(--steel);
  --btn-from: var(--steel-light);
  --btn-mid: var(--steel);
  --btn-to: var(--steel-dark);
}

body.theme-supplier {
  --gold: var(--supplier);
  --gold-dark: var(--supplier-dark);
  --theme-btn-border: var(--supplier);
  --icon: var(--supplier);
  --icon-active: var(--supplier);
  --btn-from: var(--supplier-light);
  --btn-mid: var(--supplier);
  --btn-to: var(--supplier-dark);
}

/* Panel içi kutu başlıkları — sade yüzey, metal hap değil */
body.theme-shop .section-title,
body.theme-customer .section-title,
body.theme-supplier .section-title {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.875rem;
}

/* ---- Desktop / wider screens ---- */
@media (min-width: 760px) {
  :root { --max-width: 925px; }

  .page:not(.with-bottom-nav) { padding: 0 0 40px; }

  .hero { padding: 72px 24px 44px; }
  .hero h1 { font-size: 2.6rem; }

  .btn { width: auto; padding: 14px 32px; }
  /* Kayıt sayfası CTA’ları — PC’de global .btn padding şişirmesin */
  body.reg-page .reg-check__btn,
  body.reg-page .reg-pick-btn:not(.reg-pick-btn--none) {
    width: 100%;
    min-height: 36px;
    padding: 8px 12px;
    font-weight: 600;
  }
  body.reg-page .reg-pick-btn--none {
    width: 100%;
    min-height: 36px;
    padding: 8px 12px;
    font-weight: 500;
  }
  body.reg-page input[type=text],
  body.reg-page input[type=email],
  body.reg-page input[type=tel],
  body.reg-page input[type=password],
  body.reg-page input[type=search],
  body.reg-page select,
  body.reg-page textarea,
  body.auth-page input[type=text],
  body.auth-page input[type=email],
  body.auth-page input[type=tel],
  body.auth-page input[type=password],
  body.auth-page input[type=search],
  body.auth-page select,
  body.auth-page textarea {
    padding: 8px 12px;
    min-height: 36px;
  }
  body.reg-page .reg-check__input-wrap input {
    padding-left: 38px;
  }
  body.reg-page .reg-pick-mini {
    width: auto;
    min-height: 24px;
    padding: 3px 8px;
  }
  .row.desktop-wrap { flex-wrap: wrap; }

  .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

  .bottom-nav {
    margin: 6px 20px 0;
    padding: 0 6px;
    justify-content: space-between;
    gap: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  }

  .bottom-nav a {
    flex: 1;
    flex-direction: row;
    justify-content: center;
    gap: 5px;
    font-size: 0.78rem;
    padding: 7px 4px;
  }
  .bottom-nav .icon { height: 18px; }
  .bottom-nav .ui-icon { width: 18px; height: 18px; }

  .slot-grid { grid-template-columns: repeat(5, 1fr); }

}

/* ---- Müşteri randevu / dükkan paneli — işletme header + hızlı menü (ayna/mavi) ---- */
body.booking-page.theme-customer {
  --gold: #82b3d8;
  --gold-dark: #426783;
  --theme-btn-border: #426783;
  --icon: #82b3d8;
  --card-accent: #82b3d8;
  --btn-from: #82b3d8;
  --btn-mid: #426783;
  --btn-to: #162a3a;
}

/* Üst marka header’daki Panelim/Çıkış — hızlı menüye taşındı */
body.booking-page .brand-utility-pill--account {
  display: none !important;
}

body.booking-page .customer-quick-nav {
  border-color: color-mix(in srgb, #426783 55%, var(--border));
  background: linear-gradient(180deg, #1c2833 0%, #121c26 100%);
}
body.booking-page .customer-quick-nav a.active {
  color: #82b3d8;
}
body.booking-page .customer-quick-nav .ui-icon {
  color: #82b3d8;
}

body.booking-page .booking-wrap {
  padding-top: 10px;
  padding-bottom: 12px;
}

body.booking-page .booking-title {
  font-size: 1.15rem;
  margin: 0 0 2px;
  font-weight: 700;
}

body.booking-page .booking-sub {
  margin: 0 0 12px;
  font-size: 0.84rem;
  line-height: 1.35;
}

body.booking-page .booking-form,
body.booking-page .booking-confirm {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.booking-page .booking-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

body.booking-page .booking-datetime {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 6px;
}

body.booking-page .booking-datetime-slots {
  margin-top: 4px;
}

body.booking-page .booking-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-sizing: border-box;
  width: 68px;
  min-width: 68px;
  min-height: 68px;
  padding: 6px 4px;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--border));
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

body.booking-page .booking-date-box--static {
  cursor: default;
}

body.booking-page .booking-box-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  line-height: 1;
}

body.booking-page .booking-date-box input[type="date"] {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0;
  text-align: center;
  min-width: 0;
}

body.booking-page .booking-date-box input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.55;
  cursor: pointer;
}

body.booking-page .booking-date-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

body.booking-page .booking-date-year {
  font-size: 0.65rem;
  color: var(--text-dim);
  line-height: 1;
}

body.booking-page .booking-slots-btn {
  width: auto;
  flex: 1 1 140px;
  min-height: 68px;
  white-space: normal;
  padding: 10px 12px;
  font-size: 0.86rem;
  line-height: 1.25;
  align-self: stretch;
}

/* Açık kare saat kutuları — tarih ile yan yana */
body.booking-page .booking-datetime-slots .slot-radio {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

body.booking-page .booking-datetime-slots .slot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 52px;
  min-width: 52px;
  height: 52px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  align-self: center;
}

body.booking-page .booking-datetime-slots .slot-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

body.booking-page .booking-datetime-slots .slot-radio:checked + label.slot-btn {
  border-color: var(--gold);
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 35%, transparent);
}

body.booking-page .field label {
  font-size: 0.78rem;
  margin-bottom: 3px;
}

body.booking-page .field select,
body.booking-page .field textarea {
  padding: 9px 10px;
  font-size: 0.9rem;
}

body.booking-page .booking-section {
  margin: 14px 0 8px;
  padding: 5px 12px;
  font-size: 0.72rem;
}

body.booking-page .booking-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 0.9rem;
}

body.booking-page .booking-info-name { font-weight: 600; }

body.booking-page .booking-alert { margin: 8px 0 0; }

body.booking-page .booking-confirm .btn-primary { margin-top: 4px; }

body.booking-page .booking-success {
  text-align: center;
  padding-top: 16px;
}

body.booking-page .booking-success-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
  text-align: left;
}

body.booking-page .booking-success .booking-info {
  justify-content: space-between;
}

body.booking-page .gold {
  color: var(--gold);
  background: none;
  -webkit-text-fill-color: var(--gold);
}

body.booking-page .empty-state {
  padding: 20px 12px;
}

@media (max-width: 420px) {
  body.booking-page .booking-row {
    grid-template-columns: 1fr;
  }
  body.booking-page .booking-slots-btn {
    flex: 1 1 100%;
    min-height: 48px;
  }
}

/* ---- Girişli müşteri ana sayfa (mock denemesi, çelik) ---- */
body.member-home-page.theme-customer {
  --gold: #d8d8da;
  --gold-dark: #9a9a9d;
  --theme-btn-border: #9a9a9d;
  --icon: #d8d8da;
  --card-accent: #d8d8da;
  --btn-from: #e8e8ea;
  --btn-mid: #9a9a9d;
  --btn-to: #48494d;
}

body.member-home-page .page.member-home {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 0 88px;
}

.member-home-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 16px 20px;
}

.mh-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 640px) {
  .mh-hero {
    grid-template-columns: 1fr minmax(200px, 280px);
    align-items: stretch;
  }
}

.mh-hello {
  margin: 0 0 6px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.mh-sub {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
}

.mh-upcoming {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, #9a9a9d 40%, var(--border));
  background: linear-gradient(160deg, #2c2c30 0%, #18181b 100%);
  text-decoration: none;
  color: var(--text);
}

.mh-upcoming--empty { opacity: 0.9; }

.mh-upcoming-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.mh-upcoming-shop {
  font-size: 0.95rem;
  font-weight: 700;
}

.mh-upcoming-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.mh-upcoming-cta a {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.mh-badge {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  border: 1px solid var(--border);
}

.mh-badge-ok {
  color: #7dcea0;
  border-color: color-mix(in srgb, #7dcea0 45%, transparent);
  background: color-mix(in srgb, #7dcea0 12%, transparent);
}

.mh-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mh-action {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mh-search {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mh-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.mh-search-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.mh-search-loc--ilce {
  position: relative;
  padding-left: 2px;
}

.mh-search-loc--ilce .locate-pins-cluster {
  position: relative;
  width: 28px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}

.mh-search-loc--ilce .locate-pins-cluster .locate-pin {
  position: absolute;
  top: 50%;
  display: flex;
  color: var(--icon);
  opacity: 0.45;
}
.mh-search-loc--ilce .locate-pins-cluster .locate-pin:nth-child(1) {
  left: 0;
  transform: translateY(-58%) scale(0.78);
  opacity: 0.3;
}
.mh-search-loc--ilce .locate-pins-cluster .locate-pin:nth-child(2) {
  left: 5px;
  transform: translateY(-50%) scale(0.88);
  opacity: 0.42;
}
.mh-search-loc--ilce .locate-pins-cluster .locate-pin:nth-child(3) {
  left: 10px;
  transform: translateY(-42%) scale(0.98);
  opacity: 0.55;
}
.mh-search-loc--ilce .locate-pins-cluster .locate-pin:nth-child(4) {
  left: 15px;
  transform: translateY(-50%) scale(1.05);
  opacity: 0.85;
  color: var(--steel);
}
.mh-search-loc--ilce .locate-pins-cluster .ui-icon {
  width: 14px;
  height: 14px;
}

.mh-search-loc select,
.mh-search-query input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.92rem;
  font-family: var(--font-ui);
  padding: 0;
  color-scheme: dark;
}

.mh-search-loc select option,
.mh-search-loc select optgroup {
  background-color: #151719;
  color: #f3f3f3;
}

.mh-search-ico { color: var(--icon); display: inline-flex; }

.mh-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: var(--btn-height);
  padding: 14px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  background-image: none;
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.mh-filter-btn:hover {
  color: var(--text);
  border-color: var(--copper);
  color: var(--copper-light);
}

.mh-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mh-banner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  min-height: 88px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, #9a9a9d 35%, var(--border));
  background:
    radial-gradient(120% 80% at 90% 0%, rgba(200, 200, 205, 0.14) 0%, transparent 55%),
    linear-gradient(135deg, #2a2a2e 0%, #141416 100%);
  text-decoration: none;
  color: var(--text);
}

.mh-banner.kind-campaign {
  background:
    radial-gradient(100% 80% at 100% 20%, rgba(232, 179, 130, 0.18) 0%, transparent 50%),
    linear-gradient(135deg, #2c241c 0%, #141210 100%);
  border-color: color-mix(in srgb, #c1793f 35%, var(--border));
}

.mh-banner.kind-happy_hour {
  background:
    radial-gradient(100% 80% at 0% 0%, rgba(125, 206, 160, 0.16) 0%, transparent 50%),
    linear-gradient(135deg, #1c2822 0%, #101412 100%);
  border-color: color-mix(in srgb, #7dcea0 30%, var(--border));
}

.mh-banner-kind {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.mh-banner-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.mh-banner-body {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.mh-banner-cta {
  margin-top: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--copper-light);
}

.mh-banner.kind-campaign .mh-banner-kind,
.mh-banner.kind-campaign .mh-banner-cta {
  color: var(--copper-light);
}

.mh-banner.kind-happy_hour .mh-banner-kind,
.mh-banner.kind-happy_hour .mh-banner-cta {
  color: var(--success);
}

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

.mh-suggest-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mh-suggest-all {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

.mh-suggest-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.mh-shop-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
}

.mh-shop-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  background: linear-gradient(160deg, #3a3a40 0%, #1a1a1d 100%);
  text-decoration: none;
}

.mh-shop-scissors .ui-icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  opacity: 0.85;
}

.mh-shop-open {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #7dcea0;
  background: color-mix(in srgb, #7dcea0 16%, #121212);
  border: 1px solid color-mix(in srgb, #7dcea0 40%, transparent);
}

.mh-shop-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}

.mh-shop-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  line-height: 1.25;
}

.mh-shop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.mh-shop-meta span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.mh-shop-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.mh-shop-actions .btn {
  flex: 1;
}

.mh-fav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  cursor: not-allowed;
  opacity: 0.7;
}

.member-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  justify-content: space-between;
  gap: 2px;
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom, 0px));
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  z-index: 40;
}

.member-bottom-nav a {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 2px;
  color: #858a90;
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
}

.member-bottom-nav a .ui-icon { color: #777d84; }
.member-bottom-nav a.active { color: var(--copper-light); }
.member-bottom-nav a.active .ui-icon { color: var(--copper); }
.member-bottom-nav .ui-icon {
  width: 20px;
  height: 20px;
}

/* =========================================================
   Dashboard shell — işletme / tedarikçi (desktop mock)
   ========================================================= */
body.dash-wide {
  align-items: stretch;
}

body.dash-wide .brand-header-wrap {
  display: none;
}

body.dash-wide .page.dash-page {
  max-width: none;
  width: 100%;
  padding-bottom: 0;
}

.app-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1;
  min-height: 0;
}

.app-sidebar {
  display: none;
}

.app-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.app-main > .panel-header-box {
  margin: 10px 12px 0;
}

.dash-content {
  flex: 1;
  padding: 12px 12px 24px;
}

.dash-content > .container {
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.dash-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--gold) 18%, transparent) 0%, transparent 55%),
    var(--card);
}

.dash-stat__icon {
  display: inline-flex;
  color: var(--gold);
  margin-bottom: 2px;
}

.dash-stat__icon .ui-icon {
  width: 20px;
  height: 20px;
}

.dash-stat__num {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

.dash-stat__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
}

.dash-stat__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.dash-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 14px;
}

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

.dash-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.dash-card__link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 140px;
  padding: 8px 4px 0;
}

.dash-chart__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.dash-chart__bar-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.dash-chart__bar {
  width: 70%;
  max-width: 28px;
  min-height: 4px;
  border-radius: 6px 6px 2px 2px;
  background: var(--copper-gradient);
  opacity: 0.9;
}

body.theme-supplier .dash-chart__bar {
  background: linear-gradient(180deg, #9ec8e8 0%, #426783 55%, #1a3348 100%);
}

.dash-chart__label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-dim);
}

.dash-chart__val {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text);
}

.dash-empty {
  padding: 18px 8px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.app-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.app-sidebar__brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--border));
  color: var(--gold);
}

.app-sidebar__brand-text {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.app-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.app-sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.app-sidebar__nav a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.app-sidebar__nav a.active {
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
}

.app-sidebar__nav .ui-icon {
  width: 18px;
  height: 18px;
  color: inherit;
  flex-shrink: 0;
}

.app-sidebar__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.app-sidebar__foot a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---- Landing marketing ---- */
body.landing-page.landing-marketing {
  align-items: stretch;
}

body.landing-page.landing-marketing .page.landing {
  max-width: none;
  width: 100%;
}

.lm-hero {
  padding: 28px 16px 8px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.lm-hero h1 {
  margin: 0 0 10px;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.lm-hero p {
  margin: 0 auto 18px;
  max-width: 36em;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.45;
}

.lm-search {
  max-width: 640px;
  margin: 0 auto 28px;
  padding: 0 16px;
}

.lm-section {
  padding: 8px 16px 28px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.lm-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.lm-section__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.lm-section__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}

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

.lm-shop-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.lm-shop-cover {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #3a2a20 0%, #1a1410 100%);
}

.lm-shop-cover .ui-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  opacity: 0.85;
}

.lm-shop-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lm-shop-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.lm-shop-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.lm-accounts {
  padding: 8px 16px 32px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.lm-accounts .account-cards-v {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
}

/* flex row kurallarındaki width:0 / flex:1 bu gridde kartları ezmesin */
.lm-accounts .account-cards-v .account-card {
  flex: none;
  width: auto;
  min-width: 0;
  max-width: none;
}

@media (min-width: 900px) {
  body.dash-wide {
    --max-width: 1280px;
  }

  body.dash-wide .page.dash-page.with-bottom-nav {
    padding-bottom: 0;
  }

  body.dash-wide .page.dash-page > .bottom-nav {
    display: none;
  }

  .app-shell {
    flex-direction: row;
    align-items: stretch;
    min-height: 100dvh;
  }

  .app-sidebar {
    display: flex;
    flex-direction: column;
    width: 232px;
    flex-shrink: 0;
    padding: 20px 14px;
    border-right: 1px solid var(--border);
    background: linear-gradient(180deg, #1a1a1c 0%, #121214 100%);
    position: sticky;
    top: 0;
    height: 100dvh;
    overflow-y: auto;
  }

  .app-main > .panel-header-box {
    margin: 16px 20px 0;
  }

  .dash-content {
    padding: 16px 20px 32px;
  }

  .dash-kpis {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .dash-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 14px;
  }

  .dash-grid--3 {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .lm-hero {
    padding: 48px 24px 12px;
  }

  .lm-hero h1 {
    font-size: 2.4rem;
  }

  .lm-hero p {
    font-size: 1.05rem;
  }

  .lm-shop-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .lm-accounts .account-cards-v {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .lm-accounts .account-cards-v .account-card {
    width: auto;
    min-width: 0;
  }

  body.landing-page.landing-marketing .page.landing {
    max-width: 1200px;
  }
}

