/* ============================================================
   ParkPas — Pazarlama / Kayıt / Admin ortak stilleri (site.css)
   Kendi içinde token'lı; app'in styles.css'inden bağımsız.
   ============================================================ */

:root {
  --brand:      #0e7c86;
  --brand-600:  #0b6570;
  --brand-700:  #094f58;
  --brand-050:  #e9f5f6;
  --mint:       #14b8a6;
  --mint-2:     #2ee6c9;
  --deep:       #062a32;
  --deep-2:     #0a3d47;
  --accent:     #16a34a;

  --bg:         #ffffff;
  --bg-soft:    #f5f9fa;
  --surface:    #ffffff;
  --border:     #e7edf1;
  --border-2:   #dbe4e9;
  --text:       #0f2129;
  --muted:      #5a6b75;
  --muted-2:    #859aa4;

  --radius:     16px;
  --radius-sm:  11px;
  --shadow-sm:  0 1px 2px rgba(9,30,40,.06), 0 2px 6px rgba(9,30,40,.05);
  --shadow-md:  0 10px 30px -12px rgba(9,30,40,.18);
  --shadow-lg:  0 30px 60px -20px rgba(9,30,40,.28);
  --maxw:       1140px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:      #0b1418;
    --bg-soft: #0f1b21;
    --surface: #101f26;
    --border:  #1e3038;
    --border-2:#26404a;
    --text:    #eaf2f4;
    --muted:   #9fb2bb;
    --muted-2: #7d939d;
    --brand-050:#0f2b30;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 10px 30px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
p { margin: 0; }
img, svg { max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.grad { background: linear-gradient(120deg, var(--brand), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Butonlar ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  padding: 11px 18px; border-radius: 12px; border: 1.5px solid transparent;
  transition: transform .08s ease, box-shadow .18s ease, background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn-lg { padding: 15px 24px; font-size: 16px; border-radius: 14px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #fff; box-shadow: 0 8px 20px -8px rgba(14,124,134,.6); }
.btn-primary:hover { box-shadow: 0 12px 26px -8px rgba(14,124,134,.7); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--brand-700); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand-700); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-nav.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff;
  font-weight: 800; font-size: 18px; box-shadow: 0 6px 14px -6px rgba(14,124,134,.6);
}
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 26px; margin-left: 14px; margin-right: auto; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; }
.nav-burger { display: none; background: none; border: 0; font-size: 22px; color: var(--text); cursor: pointer; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: block; }
  .site-nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 14px 22px; gap: 14px; box-shadow: var(--shadow-md);
  }
  .site-nav.open .nav-cta { display: flex; position: absolute; top: 100%; left: 0; right: 0; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-050); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); }
.hero .lead { font-size: 18px; color: var(--muted); margin: 18px 0 26px; max-width: 33ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 13.5px; font-weight: 600; }

.hero-visual { position: relative; display: grid; place-items: center; }
.hero-glow { position: absolute; inset: -10% -10% 10% -10%; z-index: 0; background: radial-gradient(60% 55% at 60% 40%, rgba(46,230,201,.28), transparent 70%); filter: blur(10px); }

/* Telefon maketi */
.mock-phone {
  position: relative; z-index: 1; width: 300px; max-width: 78vw; aspect-ratio: 300/610;
  background: #0b1116; border-radius: 40px; padding: 11px;
  box-shadow: var(--shadow-lg), 0 0 0 2px #22303a inset; transform: rotate(1.5deg);
}
.mock-notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 120px; height: 20px; background: #0b1116; border-radius: 0 0 12px 12px; z-index: 3; }
.mock-screen { height: 100%; border-radius: 30px; overflow: hidden; background: linear-gradient(180deg,#f7fafb,#eef3f5); padding: 30px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.mock-appbar { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: #0f2129; }
.mock-logo { width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg,var(--brand),var(--brand-700)); color:#fff; display:grid; place-items:center; font-size:13px; }
.mock-assign { background: linear-gradient(150deg, var(--brand), var(--brand-700)); color: #fff; border-radius: 16px; padding: 15px; }
.ma-label { font-size: 10.5px; opacity: .85; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.ma-loc { font-size: 12.5px; opacity: .95; margin-top: 4px; }
.ma-spot { font-size: 46px; font-weight: 800; line-height: 1; margin: 3px 0; }
.ma-foot { font-size: 11px; opacity: .8; }
.mock-timer { background: #fef3d9; color: #92600b; border: 1px solid #f3d68f; border-radius: 10px; padding: 8px; text-align: center; font-size: 12px; font-weight: 700; }
.mock-steps { display: grid; gap: 6px; }
.mock-steps div { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #24333c; }
.mock-steps i { width: 20px; height: 20px; border-radius: 50%; background: var(--brand-050); color: var(--brand-700); font-style: normal; font-weight: 800; font-size: 11px; display: grid; place-items: center; }
.mock-btn { margin-top: auto; background: linear-gradient(135deg,#16a34a,#12833d); color: #fff; text-align: center; padding: 12px; border-radius: 12px; font-weight: 800; font-size: 14px; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { max-width: none; margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 12px; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; padding: 26px 22px; }
.stats-grid div { text-align: center; }
.stats-grid b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--brand); }
.stats-grid span { font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* ============================================================
   SECTIONS (ortak)
   ============================================================ */
.section { padding: 76px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 44px; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-sub { font-size: 17px; color: var(--muted); margin-top: 12px; }

/* Problem */
.pain-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.pain { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.pain-ico { font-size: 28px; margin-bottom: 12px; }
.pain h3 { font-size: 18px; margin-bottom: 6px; }
.pain p { color: var(--muted); font-size: 14.5px; }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease, border-color .16s;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.feat-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 24px; background: var(--brand-050); margin-bottom: 15px; }
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 14.5px; }

/* How */
.how-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.how-step { position: relative; padding: 8px 4px; }
.how-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; font-weight: 800; font-size: 19px; box-shadow: 0 8px 18px -8px rgba(14,124,134,.6); margin-bottom: 14px; }
.how-step h3 { font-size: 18px; margin-bottom: 6px; }
.how-step p { color: var(--muted); font-size: 14.5px; }

@media (max-width: 900px) { .feat-grid, .how-grid { grid-template-columns: 1fr 1fr; } .pain-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .feat-grid, .how-grid { grid-template-columns: 1fr; } }

/* ============================================================
   DOLULUK NASIL BİLİNİYOR (#doluluk) — kroki + sinyal zinciri
   ============================================================ */
.occ-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.occ-visual { min-width: 0; }
.occ-cap { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }

/* Krokinin KENDİ renk paleti var — sayfa token'larını kullanmıyor.
   Sebep: --surface/--bg-soft ikisi de neredeyse aynı tonda; koyu temada
   boş cep zeminden ayırt edilemiyordu (kontrast 1.04) ve "çoğu dolu,
   biri senin" okuması kayboluyordu. Buradaki tonlar dolu/boş farkı
   iki temada da görünsün diye elle seçildi. */
.floorplan {
  --fp-floor: #eef4f7;          /* otopark zemini */
  --fp-empty: #ffffff;          /* boş cep */
  --fp-line:  #b9ccd5;          /* cep çerçevesi */
  --fp-full:  #90a7b4;          /* dolu cep */
  width: 100%; height: auto; display: block;
  border-radius: 16px; box-shadow: var(--shadow-md);
}
@media (prefers-color-scheme: dark) {
  .floorplan {
    --fp-floor: #0a1418;
    --fp-empty: #1a2c35;
    --fp-line:  #3d5c6a;
    --fp-full:  #4b6e7d;
  }
}

.fp-bg   { fill: var(--fp-floor); stroke: var(--border); stroke-width: 1.5; }
.fp-gate { fill: var(--accent); opacity: .9; }
.fp-spot { fill: var(--fp-empty); stroke: var(--fp-line); stroke-width: 1.5; }
.fp-spot.is-full   { fill: var(--fp-full); stroke: var(--fp-full); }
.fp-spot.is-target { fill: var(--brand-050); stroke: var(--brand); stroke-width: 2.5; animation: fpBlink 1.7s ease-in-out infinite; }
.fp-halo { fill: none; stroke: var(--brand); animation: fpHalo 1.7s ease-out infinite; }
.fp-route { stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 7 6; animation: fpFlow .9s linear infinite; }
.fp-car  { fill: var(--mint-2); stroke: #fff; stroke-width: 1.5; }
.fp-label { font-family: var(--font); font-weight: 800; text-anchor: middle; }
.fp-gate-label { font-size: 9px; fill: var(--accent); letter-spacing: .04em; }
.fp-spot-label { font-size: 12px; fill: var(--brand-700); }
@media (prefers-color-scheme: dark) { .fp-spot-label { fill: var(--mint-2); } }

@keyframes fpBlink { 50% { fill: color-mix(in srgb, var(--brand) 35%, transparent); } }
@keyframes fpHalo  { 0% { stroke-opacity: .8; stroke-width: 2; } 75%, 100% { stroke-opacity: 0; stroke-width: 11; } }
@keyframes fpFlow  { to { stroke-dashoffset: -13; } }

.occ-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.occ-steps li { display: flex; gap: 15px; align-items: flex-start; }
.occ-n {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff;
  font-weight: 800; font-size: 15px; box-shadow: 0 8px 18px -8px rgba(14,124,134,.6);
}
.occ-steps h3 { font-size: 16.5px; margin-bottom: 5px; }
.occ-steps p { color: var(--muted); font-size: 14.5px; margin: 0; }
.occ-steps b { color: var(--text); }

.occ-kicker {
  margin-top: 40px; padding: 18px 22px; border-radius: 14px; font-size: 15px; line-height: 1.6;
  background: var(--brand-050); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  color: var(--brand-700); text-align: center;
}
.occ-kicker b { color: var(--text); }
.occ-kicker a { text-decoration: underline; font-weight: 700; }
@media (prefers-color-scheme: dark) { .occ-kicker { color: var(--text); } }

@media (max-width: 900px) { .occ-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   SSS (#sss)
   ============================================================ */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .18s ease;
}
.faq[open] { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 52px 17px 20px; position: relative;
  font-weight: 700; font-size: 16px; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px;
  background: var(--brand-050); color: var(--brand); font-size: 19px; font-weight: 800;
  transition: transform .2s ease;
}
.faq[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.faq-a { padding: 0 20px 19px; color: var(--muted); font-size: 14.8px; line-height: 1.65; }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a b { color: var(--text); }
.faq-a a { color: var(--brand); font-weight: 700; text-decoration: underline; }

.faq-foot { text-align: center; margin-top: 30px; color: var(--muted); font-size: 15px; }
.faq-foot a { color: var(--brand); font-weight: 700; text-decoration: underline; }

/* Hareketi azalt tercihi: animasyonları durdur */
@media (prefers-reduced-motion: reduce) {
  .fp-spot.is-target, .fp-halo, .fp-route { animation: none; }
  .fp-halo { stroke-opacity: 0; }
  .fp-car { display: none; }
}

/* (Fiyat kartları KALDIRILDI 2026-10-19 — ücret üyeye özel belirlenir, ana sayfada fiyat yok) */

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: linear-gradient(150deg, var(--deep-2), var(--deep)); color: #fff; }
.cta-inner { text-align: center; padding: 66px 22px; }
.cta-inner h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta-inner p { color: #b9d3d6; margin: 12px 0 26px; font-size: 17px; }
/* Admin: sessiz arıza uyarısı (ör. canlı senkron kapalı) */
.adm-warn {
  margin-top: 14px; padding: 13px 16px; border-radius: 12px; font-size: 14px; line-height: 1.6;
  background: #fff7ed; border: 1px solid #fdba74; color: #9a3412;
}
@media (prefers-color-scheme: dark) {
  .adm-warn { background: #2b1a0d; border-color: #7c4a1e; color: #fdba74; }
}

.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.8); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding: 54px 22px 30px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 30ch; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px 30px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-bottom { flex-direction: column; gap: 6px; text-align: center; } }

/* ============================================================
   KAYIT SİHİRBAZI (/kayit)
   ============================================================ */
.wiz-page { background: var(--bg-soft); min-height: calc(100vh - 66px); padding: 44px 18px 70px; }
.wiz-wrap { max-width: 680px; margin: 0 auto; }
.wiz-head h1 { font-size: clamp(26px, 4vw, 36px); }
.wiz-sub { color: var(--muted); margin-top: 10px; font-size: 16px; }

/* Adım göstergesi */
.wiz-steps { list-style: none; display: flex; justify-content: center; gap: 4px; margin: 28px 0 18px; padding: 0; }
.wiz-steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 92px; position: relative; }
.wiz-steps li:not(:first-child)::before {
  content: ""; position: absolute; top: 16px; right: calc(50% + 20px); left: calc(-50% + 20px);
  height: 2px; background: var(--border-2); border-radius: 2px;
}
.wiz-steps li.done:not(:first-child)::before,
.wiz-steps li.active:not(:first-child)::before { background: var(--brand); }
.wiz-steps i {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-weight: 800; font-size: 14px; z-index: 1;
  background: var(--surface); color: var(--muted); border: 2px solid var(--border-2);
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.wiz-steps li.active i { background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #fff; border-color: transparent; box-shadow: 0 6px 14px -6px rgba(14,124,134,.6); }
.wiz-steps li.done i { background: var(--brand-050); color: var(--brand); border-color: var(--brand); }
.wiz-steps span { font-size: 12px; font-weight: 700; color: var(--muted-2); }
.wiz-steps li.active span { color: var(--brand); }
.wiz-steps li.done span { color: var(--muted); }
@media (max-width: 520px) { .wiz-steps li { width: 60px; } .wiz-steps span { display: none; } }

/* Kart & form alanları */
.wiz-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 30px 28px; }
.wiz-card h2 { font-size: 21px; margin-bottom: 6px; }
.wiz-hint { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.wfield { display: block; margin-bottom: 16px; }
.wfield > span, .wlabel { display: block; font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.wfield > span b { color: var(--brand); }
.wfield input, .wfield textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 11px 13px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.wfield textarea { resize: vertical; }
.wfield input:focus, .wfield textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.wfield input.invalid, .wfield textarea.invalid { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.wfield-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wfield-narrow { max-width: 260px; }
.werr { display: none; font-style: normal; color: #dc2626; font-size: 12.5px; font-weight: 600; margin-top: 6px; }
.wfield input.invalid ~ .werr, .wfield textarea.invalid ~ .werr, .werr.visible { display: block; }
@media (max-width: 560px) { .wfield-grid { grid-template-columns: 1fr; gap: 0; } .wiz-card { padding: 24px 18px; } }

/* Canlı kapasite */
.cap-live {
  display: flex; align-items: center; gap: 14px; margin: 4px 0 18px;
  background: var(--brand-050); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  border-radius: var(--radius-sm); padding: 14px 18px;
}
.cap-num { font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: var(--brand); line-height: 1; }
.cap-text { font-size: 13.5px; font-weight: 700; color: var(--text); line-height: 1.35; }
.cap-text small { font-weight: 600; color: var(--muted); }

/* Onay kutuları */
.chk-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chk {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--bg); border: 1.5px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 9px 13px; font-size: 14px; font-weight: 600; transition: border-color .15s, background .15s;
}
.chk:hover { border-color: var(--brand); }
.chk input { accent-color: var(--brand); width: 17px; height: 17px; }
.chk:has(input:checked) { border-color: var(--brand); background: var(--brand-050); }

/* Tesis türü seçimi (Faz 2 — eski plan kartlarının yerine; plan/fiyat kavramı kalktı) */
.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pick-opt {
  position: relative; text-align: left; cursor: pointer; font: inherit; color: var(--text);
  background: var(--bg); border: 2px solid var(--border-2); border-radius: 14px; padding: 15px 14px;
  display: flex; flex-direction: column; gap: 5px; transition: border-color .15s, box-shadow .15s, transform .12s;
}
.pick-opt:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pick-opt.selected { border-color: var(--brand); background: var(--brand-050); box-shadow: 0 10px 24px -12px rgba(14,124,134,.5); }
.pick-opt.selected::after { content: "✓"; position: absolute; top: 10px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.pk-ico { font-size: 24px; line-height: 1; }
.pk-name { font-size: 15px; font-weight: 800; }
.pk-desc { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.pick-grid.invalid .pick-opt { border-color: #f0b4b4; }
@media (max-width: 620px) { .pick-grid { grid-template-columns: 1fr 1fr; } }

/* Konum adımı — haritada giriş kapısı pini */
.map-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.map-tools .btn { padding: 8px 13px; font-size: 13.5px; }
.pin-status { font-size: 13px; font-weight: 700; color: var(--muted); }
.pin-status.ok { color: var(--accent); }
.wiz-map { height: 340px; border-radius: 14px; border: 1.5px solid var(--border-2); overflow: hidden; background: var(--bg-soft); }
.wiz-map.invalid { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
@media (max-width: 620px) { .wiz-map { height: 280px; } }

/* Sihirbaz içinde `hidden` HER ZAMAN gizler — `display:grid` verilmiş kutular (.wfield-grid)
   tarayıcının [hidden] kuralını ezer ve gizlenmesi gereken alan görünür kalırdı. */
.wiz-card [hidden] { display: none !important; }

/* Saat / tarife alanları */
.wfield-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 620px) { .wfield-grid-3 { grid-template-columns: 1fr; } }
.wlabel-sub { font-weight: 600; color: var(--muted); font-size: 12.5px; }

/* Özet */
.wiz-summary { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 15px; font-size: 14px; }
.sum-row:nth-child(odd) { background: var(--bg-soft); }
.sum-row span { color: var(--muted); font-weight: 600; white-space: nowrap; }
.sum-row b { text-align: right; }
.sum-row b small { font-weight: 600; color: var(--muted); }
.kvkk { align-items: flex-start; width: 100%; font-weight: 500; line-height: 1.45; font-size: 13.5px; }
.kvkk input { margin-top: 2px; flex: none; }
.kvkk.invalid { border-color: #dc2626; background: rgba(220,38,38,.05); }

/* Gezinme */
.wiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); }
.wiz-nav .btn-primary { margin-left: auto; }
.wiz-count { font-size: 13px; font-weight: 700; color: var(--muted-2); }

/* ============================================================
   SÜPER ADMİN (/admin)
   ============================================================ */
.adm-pill {
  margin-left: 14px; background: linear-gradient(150deg, var(--deep-2), var(--deep)); color: #fff;
  font-size: 12.5px; font-weight: 800; padding: 6px 13px; border-radius: 999px; white-space: nowrap;
}
.adm-page { background: var(--bg-soft); min-height: calc(100vh - 66px); padding: 40px 18px 70px; }
.adm-wrap { max-width: 1020px; margin: 0 auto; }
.adm-head h1 { font-size: clamp(24px, 3.4vw, 32px); }

.adm-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0 20px; }
.adm-kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.adm-kpi b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--brand); }
.adm-kpi span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
@media (max-width: 720px) { .adm-kpis { grid-template-columns: 1fr 1fr; } }

.adm-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.adm-card-head { padding: 22px 24px 6px; }
.adm-card-head h2 { font-size: 19px; }
.adm-card-head p { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 72ch; }
.adm-scroll { overflow-x: auto; padding: 10px 14px 18px; }
.adm-table { width: 100%; border-collapse: collapse; min-width: 780px; }
.adm-table th { text-align: left; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); padding: 12px 10px 9px; border-bottom: 1px solid var(--border-2); white-space: nowrap; }
.adm-table td { padding: 13px 10px; border-bottom: 1px solid var(--border); font-size: 14.5px; vertical-align: middle; }
.adm-table tr:last-child td { border-bottom: 0; }
.adm-table td small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.adm-table .muted-row td { opacity: .62; }
.adm-note { color: var(--muted); font-size: 13.5px; margin-top: 16px; }

.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.b-active    { background: #dcfce7; color: #15803d; }
.b-trial     { background: #dbeafe; color: #1d4ed8; }
.b-pending   { background: #fef3c7; color: #b45309; }
.b-suspended { background: #fee2e2; color: #b91c1c; }
@media (prefers-color-scheme: dark) {
  .b-active    { background: #14532d; color: #86efac; }
  .b-trial     { background: #1e3a8a; color: #93c5fd; }
  .b-pending   { background: #78350f; color: #fcd34d; }
  .b-suspended { background: #7f1d1d; color: #fca5a5; }
}

.fee-edit { display: flex; align-items: center; gap: 7px; }
.fee-input {
  width: 72px; font: inherit; font-size: 14.5px; font-weight: 800; color: var(--text); text-align: right;
  background: var(--bg); border: 1.5px solid var(--border-2); border-radius: 9px; padding: 7px 9px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.fee-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.fee-cur { font-weight: 800; color: var(--muted); white-space: nowrap; font-size: 12.5px; }
/* Ücret modeli seçimi (araç başı / sabit aidat) — üyeye özel ücret */
.fee-model {
  font: inherit; font-size: 13px; font-weight: 700; color: var(--text); cursor: pointer;
  background: var(--bg); border: 1.5px solid var(--border-2); border-radius: 9px; padding: 7px 8px; outline: none;
}
.fee-model:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.btn-fee {
  font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
  padding: 7px 12px; border-radius: 9px; border: 1.5px solid var(--border-2); background: var(--surface); color: var(--text);
  transition: border-color .15s, color .15s;
}
.btn-fee:hover { border-color: var(--brand); color: var(--brand); }
.btn-fee.saved { border-color: var(--accent); color: var(--accent); }
.btn-fee.warn:hover { border-color: #d97706; color: #b45309; }
.btn-fee.ok:hover { border-color: var(--accent); color: var(--accent); }
a.btn-fee { display: inline-flex; align-items: center; }

/* Bekleyen başvurular */
.pend-list { display: grid; gap: 14px; padding: 6px 24px 22px; }
.pend-card { border: 1px solid var(--border-2); border-radius: 14px; padding: 16px 18px; background: var(--bg); }
.pend-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.pend-name { font-size: 17px; font-weight: 800; }
.pend-city { font-size: 13px; color: var(--muted); margin-top: 3px; }
.pend-top .badge { margin-left: auto; white-space: nowrap; }
.pend-rows { display: grid; gap: 7px; margin-bottom: 14px; }
.pend-rows div { display: flex; gap: 14px; font-size: 14px; align-items: baseline; }
.pend-rows span { flex: none; width: 96px; color: var(--muted); font-weight: 600; font-size: 13px; }
.pend-rows b { min-width: 0; word-break: break-word; }
.pend-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.pend-card.muted-row { opacity: .7; }
.pend-sub { margin-top: 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.btn-ok, .btn-no {
  font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; white-space: nowrap;
  padding: 9px 16px; border-radius: 10px; border: 1.5px solid transparent; transition: filter .15s, transform .08s;
}
.btn-ok { background: linear-gradient(135deg, #16a34a, #12833d); color: #fff; }
.btn-no { background: var(--surface); color: #b91c1c; border-color: #f0b4b4; }
.btn-ok:hover { filter: brightness(1.07); }
.btn-no:hover { border-color: #dc2626; }
.btn-ok:active, .btn-no:active { transform: translateY(1px); }
.b-rejected { background: #e7ebee; color: #64748b; }
@media (prefers-color-scheme: dark) { .b-rejected { background: #334155; color: #cbd5e1; } }
.adm-empty { padding: 22px; text-align: center; color: var(--muted); font-size: 14px; border: 1.5px dashed var(--border-2); border-radius: 12px; }
.row-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.susp-note { color: #b45309; font-weight: 700; }

/* Bildirim şeridi */
.adm-flash {
  margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600;
  border: 1px solid; animation: dmIn .3s ease;
}
.adm-flash.ok { background: #e7f8ee; color: #15803d; border-color: #bbe9cb; }
.adm-flash.warn { background: #fef3d9; color: #92600b; border-color: #f3d68f; }
@keyframes dmIn { from { opacity: 0; transform: translateY(-6px); } }

/* AVM detay penceresi */
.adm-modal {
  position: fixed; inset: 0; z-index: 90; background: rgba(6, 42, 50, .55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(2px); animation: dmIn .2s ease;
}
.adm-modal-box {
  background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg);
  width: 100%; max-width: 520px; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden;
}
.adm-modal-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--border); }
.adm-modal-head h3 { font-size: 19px; }
.det-slug { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.adm-close { margin-left: auto; background: none; border: 0; font-size: 17px; color: var(--muted); cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.adm-close:hover { background: var(--bg-soft); color: var(--text); }
.adm-modal-body { overflow-y: auto; padding: 6px 20px 12px; }
.det-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.det-row:last-child { border-bottom: 0; }
.det-row span { color: var(--muted); font-weight: 600; flex: none; }
.det-row b { text-align: right; word-break: break-word; }
.adm-modal-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px 20px 18px; border-top: 1px solid var(--border); background: var(--bg-soft); }
.det-warn { color: #b45309; font-weight: 700; }

/* Detay penceresi — şehir haritası hazırlık listesi + rezervasyon ayarları (Faz 3) */
.det-sec { margin: 12px 0 6px; padding: 14px 15px; border: 1px solid var(--border-2); border-radius: 13px; background: var(--bg-soft); }
.det-sec h4 { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 15px; margin: 0 0 10px; }
.ready-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.ready-list li { display: flex; align-items: baseline; gap: 9px; font-size: 13.5px; }
.ready-list li i { font-style: normal; font-weight: 800; width: 18px; text-align: center; flex: none; }
.ready-list li.ok i { color: var(--accent); }
.ready-list li.no i { color: #dc2626; }
.ready-list li.no span { font-weight: 700; }
.ready-list li.opt i { color: var(--muted-2); }
.ready-list li.opt span { color: var(--muted); }
.ready-list small { margin-left: auto; color: var(--muted); font-size: 11.5px; font-weight: 600; }
.det-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.det-acts .btn-ok:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }
.det-note { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0 0 10px; }
.det-form { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; }
.det-form label { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; }
.det-form label span { color: var(--muted); }
.det-form input { width: 78px; font: inherit; font-weight: 800; text-align: right; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--border-2); border-radius: 9px; padding: 7px 9px; outline: none; }
.det-form input:focus { border-color: var(--brand); }
.det-form em { font-style: normal; color: var(--muted); font-weight: 700; }
/* Tablo: şehir haritası durumu rozeti */
.map-pub { margin-top: 5px; font-size: 11.5px !important; font-weight: 700 !important; }
.map-pub.on { color: var(--accent) !important; }
.map-pub.warn { color: #b45309 !important; }

/* ============================================================
   PERSONEL HESAPLARI (/admin → 👤 Personel)
   ============================================================ */
#admStaff .adm-modal-box { max-width: 600px; }

.st-list { margin: 12px 0 4px; display: flex; flex-direction: column; gap: 8px; }
.st-empty {
  padding: 18px; text-align: center; color: var(--muted); font-size: 13.5px; line-height: 1.6;
  border: 1.5px dashed var(--border-2); border-radius: 12px;
}
.st-empty b { color: var(--text); }
.st-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 11px 13px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-soft);
}
.st-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.st-who b { font-size: 14px; }
.st-who span { font-size: 12.5px; color: var(--muted); word-break: break-all; }
.st-acts { display: flex; gap: 6px; flex-wrap: wrap; }

/* Yeni hesap formu */
.st-new { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.st-new h4 { font-size: 15.5px; margin-bottom: 6px; }
.st-new.st-off { opacity: .55; }
.st-hint { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.st-hint b { color: var(--text); }
.st-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.st-form .wfield { margin-bottom: 13px; }
.st-form select {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--border-2); border-radius: 11px;
  font: inherit; font-size: 14px; background: var(--surface); color: var(--text);
}
.st-form select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); outline: none; }
.st-pass { display: flex; gap: 7px; align-items: stretch; }
.st-pass input { flex: 1; min-width: 0; font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .3px; }
.st-pass .btn-fee { flex: none; white-space: nowrap; }
.st-role-desc {
  font-size: 12.5px; color: var(--brand-700); background: var(--brand-050);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  border-radius: 10px; padding: 9px 12px; line-height: 1.5; margin-bottom: 14px;
}
.st-alert { padding: 11px 13px; border-radius: 11px; font-size: 13px; border: 1px solid; margin-bottom: 14px; line-height: 1.6; }
.st-alert.warn { background: #fef3d9; color: #92600b; border-color: #f3d68f; }
.st-alert.ok { background: #e7f8ee; color: #15803d; border-color: #bbe9cb; }
.st-alert code { font-size: 12.5px; background: rgba(0,0,0,.07); padding: 2px 6px; border-radius: 5px; word-break: break-all; }
.st-alert small { color: inherit; opacity: .8; }

@media (max-width: 560px) {
  .st-form { grid-template-columns: 1fr; }
  .st-row { align-items: flex-start; }
}

/* ============================================================
   PERSONEL GİRİŞİ (/giris)
   ============================================================ */
.login-page { background: var(--bg-soft); min-height: calc(100vh - 66px); display: flex; align-items: flex-start; justify-content: center; padding: 56px 18px 70px; }
.login-card { width: 100%; max-width: 430px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 30px 28px; }
.login-head { margin-bottom: 20px; }
.login-head h1 { font-size: 24px; margin-top: 6px; }
.login-sub { color: var(--muted); font-size: 14px; margin-top: 10px; }
.login-alert { padding: 12px 14px; border-radius: 11px; font-size: 13.5px; border: 1px solid; margin-bottom: 16px; line-height: 1.5; }
.login-alert.warn { background: #fef3d9; color: #92600b; border-color: #f3d68f; }
.login-alert.ok { background: #e7f8ee; color: #15803d; border-color: #bbe9cb; }
.login-alert.info { background: var(--brand-050); color: var(--brand-700); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.login-alert a { text-decoration: underline; font-weight: 700; }
.login-alert code { font-size: 12px; background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 5px; }
.login-alert small { opacity: .85; }
.login-links { margin-top: 14px; text-align: center; }
.link-btn {
  background: none; border: 0; padding: 4px 6px; font: inherit; font-size: 13.5px; font-weight: 700;
  color: var(--brand); cursor: pointer; border-radius: 8px; text-decoration: underline;
}
.link-btn:hover { background: var(--brand-050); }
.link-btn:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.login-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); line-height: 1.55; }
.login-foot a { color: var(--brand); font-weight: 700; }
.login-foot b { color: var(--text); }

/* Oturum rozeti (admin üst çubuğu) */
.auth-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.auth-chip b { color: var(--text); }
.auth-chip .mode { padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--border-2); }
.auth-chip .mode.cloud { background: #e7f8ee; color: #15803d; border-color: #bbe9cb; }
.auth-chip button { font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; border: 1px solid var(--border-2); background: var(--surface); color: var(--muted); padding: 5px 10px; border-radius: 8px; }
.auth-chip button:hover { border-color: var(--brand); color: var(--brand); }

/* Giriş kapısı (yetkisiz erişim) */
.gate { max-width: 480px; margin: 60px auto; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 36px 30px; }
.gate h2 { font-size: 21px; margin-bottom: 10px; }
.gate p { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }

/* Başarı ekranı */
.wiz-success { text-align: center; padding: 44px 28px; }
.ws-check { width: 84px; height: 84px; margin: 0 auto 18px; }
.ws-check svg { width: 100%; height: 100%; }
.ws-check circle { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; animation: ws-draw .6s ease forwards; }
.ws-check path { stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: ws-draw .4s ease .5s forwards; }
@keyframes ws-draw { to { stroke-dashoffset: 0; } }
.wiz-success h2 { font-size: 25px; }
.ws-sub { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.ws-ref { display: inline-block; margin: 16px auto 6px; background: var(--brand-050); color: var(--text); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); border-radius: 999px; padding: 8px 18px; font-size: 14px; font-weight: 600; }
.ws-ref b { color: var(--brand); }
.ws-note { color: var(--muted); font-size: 14px; max-width: 44ch; margin: 10px auto 24px; }
.ws-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
