/* LEVASO PHP — UI/UX Parity Katmani.
   Kaynak (SSOT): apps/web/src/app/globals.css + packages/table-scenes.
   Degerler masaustu/Next.js tasarimindan BIREBIR alinmistir; PHP'ye ozgu
   uydurma renk/deger eklenmemistir. Bkz. docs/PHP_UI_PARITY.md */
:root {
  /* Sidebar / koyu marka rengi (Next.js .shell-dark ile birebir) */
  --navy: #081521;
  --navy-2: #101f2d;
  --navy-3: #142433;

  /* Ana icerik alani (acik tema — Next.js light content tasarimi) */
  --content-bg: #eef1f5;
  --surface: #f2f4f7;
  --surface-2: #e6e9ee;

  --gold: #d99a28;
  --light-gold: #f3b743;
  --text-dark: #17202a;
  --muted: rgba(23, 32, 42, 0.55);
  --border: rgba(15, 23, 42, 0.1);
  --border-strong: rgba(15, 23, 42, 0.18);

  /* Genel anlamsal renkler (KDS/Panel/Kasa/Rapor gibi masa-disi ekranlarda kullanilir —
     DEGISTIRME: tables disi ekranlar buna bagli, bkz. asagidaki --tbl-* Masalar-ozel bloğu). */
  --status-empty: #ef4444;
  --status-open: #22c55e;
  --status-payment: #f97316;
  --status-reserved: #8b5cf6;
  --status-vip: #d99a28;
  --status-cleaning: #3b82f6;

  --green: #22c55e;
  --red: #ef4444;
  --purple: #8b5cf6;
  --gray: #8a929a;

  /* Masalar ekranina OZEL durum renkleri — masaustu/Next.js STATUS_COLORS ile birebir
     (bkz. packages/types/src/index.ts, packages/table-scenes/src/utils.ts). Yukaridaki
     --status-* genel tokenlarindan KASITLI olarak AYRI: onlar KDS/Panel/Kasa/Rapor gibi
     masa-disi ekranlarda farkli anlamlarla (danger/dusuk-stok/kalan-tutar) kullaniliyor,
     bu yuzden Masalar parity duzeltmesi o ekranlari etkilemez. */
  --tbl-empty: var(--gray);       /* BOS: gri (masaustu ile ayni) */
  --tbl-open: var(--status-open); /* ACIK: yesil */
  --tbl-payment: var(--red);      /* HESAP ISTENDI: kirmizi */
  --tbl-reserved: var(--status-payment); /* REZERVE: turuncu (#f97316) */
  --tbl-closed: var(--purple);    /* KAPALI: mor */
  --tbl-cleaning: var(--status-cleaning); /* TEMIZLENIYOR: mavi */
  --tbl-vip: var(--status-vip);   /* VIP: gold */

  --radius: 16px;
  --radius-sm: 12px;
  --shadow-card: 0 4px 18px rgba(15, 23, 42, 0.08);
  --font-sans: "Segoe UI", "Gill Sans", "Trebuchet MS", Arial, sans-serif;
  --font-display: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--content-bg);
  color: var(--text-dark);
}

a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a3f52; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #3a5368; }

/* ───────────────────────── Layout / Sidebar ───────────────────────── */

.app-shell { display: flex; min-height: 100vh; }
.app-shell:has(.content-adisyon) { height: 100vh; overflow: hidden; }

.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #f5f6f8;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 18px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sidebar .brand .brand-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.sidebar .nav-group-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245, 246, 248, 0.35);
  padding: 14px 12px 6px;
}

.sidebar a.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  color: rgba(245, 246, 248, 0.78);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
}
.sidebar a.nav-link svg { flex-shrink: 0; opacity: 0.9; }

.sidebar a.nav-link:hover { background: rgba(217, 154, 40, 0.1); color: #fff; }
.sidebar a.nav-link.active {
  background: rgba(217, 154, 40, 0.16);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--gold);
}

.sidebar .nav-badge {
  margin-left: auto;
  background: var(--status-empty);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 7px;
  line-height: 1.4;
}

.nav-accordion { margin: 0; }
.nav-accordion summary.nav-accordion-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  color: rgba(245, 246, 248, 0.8);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.nav-accordion summary.nav-accordion-summary::-webkit-details-marker { display: none; }
.nav-accordion summary.nav-accordion-summary svg:first-child { flex-shrink: 0; opacity: 0.85; }
.nav-accordion summary.nav-accordion-summary span { flex: 1; }
.nav-accordion summary.nav-accordion-summary svg:last-child { flex-shrink: 0; transition: transform 0.15s ease; opacity: 0.6; }
.nav-accordion[open] summary.nav-accordion-summary svg:last-child { transform: rotate(180deg); }
.nav-accordion summary.nav-accordion-summary:hover { background: rgba(217, 154, 40, 0.08); color: #fff; }
.nav-accordion summary.nav-accordion-summary.active { color: var(--gold); }
.nav-accordion-body {
  margin: 2px 0 4px 12px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-sublink {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  color: rgba(245, 246, 248, 0.6);
  font-size: 12.5px;
  white-space: nowrap;
}
.nav-sublink svg { flex-shrink: 0; opacity: 0.85; }
.nav-sublink:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.nav-sublink.active { background: rgba(217, 154, 40, 0.16); color: var(--gold); font-weight: 600; }

.sidebar .sidebar-footer {
  margin-top: auto;
  padding: 12px 12px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(245, 246, 248, 0.5);
}
.sidebar .sidebar-footer .user-name { color: #f5f6f8; font-weight: 600; font-size: 13px; }

.content { flex: 1; padding: 24px 28px; max-width: 1500px; min-width: 0; }

.topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px 16px;
  margin-bottom: 20px;
}
.topbar h1 { font-size: 21px; margin: 0; font-weight: 600; color: var(--text-dark); }
.topbar .eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 3px;
}
.topbar .desc { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.topbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* ───────────────────────── Buttons ───────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--gold); color: #26200a; }
.btn-primary:hover { background: var(--light-gold); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-ghost { background: rgba(23, 32, 42, 0.06); color: var(--text-dark); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: rgba(23, 32, 42, 0.1); }
.btn-danger { background: var(--red); color: #fff; }
.btn-sm { padding: 6px 10px; font-size: 12px; }

/* ───────────────────────── Cards / KPI / Shortcuts ───────────────────────── */

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1100px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }

.kpi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
}
.kpi-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.kpi-value { margin-top: 5px; font-size: 21px; font-weight: 700; color: var(--text-dark); letter-spacing: -0.01em; }
.kpi-gold .kpi-value { color: var(--gold); }
.kpi-success .kpi-value { color: var(--status-open); }
.kpi-danger .kpi-value { color: var(--status-empty); }
.kpi-info .kpi-value { color: var(--status-cleaning); }

.shortcut-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1100px) { .shortcut-grid { grid-template-columns: repeat(2, 1fr); } }

.shortcut-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, transform 0.15s ease;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
}
.shortcut-tile:hover { border-color: rgba(217, 154, 40, 0.5); transform: translateY(-1px); }
.shortcut-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}

.notice { border-radius: var(--radius); padding: 10px 14px; font-size: 13.5px; border: 1px solid transparent; }
.notice-gold { background: rgba(217, 154, 40, 0.12); border-color: rgba(217, 154, 40, 0.4); color: #8a5c14; }

/* ───────────────────────── Forms / Tables ───────────────────────── */

.hall-tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 16px; }
.hall-tab { padding: 8px 14px; border-radius: 999px; background: rgba(23, 32, 42, 0.06); font-size: 13px; white-space: nowrap; font-weight: 500; }
.hall-tab.active { background: var(--navy); color: #fff; }

.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--muted); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: inherit;
}
.form-row textarea { min-height: 72px; resize: vertical; line-height: 1.4; }
.form-row .hint { margin: 5px 0 0; font-size: 11.5px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 560px) { .form-grid-2 { grid-template-columns: 1fr; } }
.cust-check {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 12px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--content-bg);
}
.cust-check input { width: auto; margin-top: 2px; accent-color: var(--gold); }
.cust-check b { display: block; color: var(--text-dark); font-size: 13.5px; }
.cust-balance { display: flex; align-items: center; gap: 8px; }
.cust-balance input { flex: 1; }
.cust-balance .suffix { color: var(--muted); font-weight: 700; font-size: 13px; }

.table-dark { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-dark th { text-align: left; padding: 8px 10px; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--border); }
.table-dark td { padding: 8px 10px; border-bottom: 1px solid var(--border); }

.alert { padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-error { background: rgba(220, 38, 38, 0.1); color: var(--red); }
.alert-success { background: rgba(34, 197, 94, 0.1); color: var(--green); }
.alert-warning { background: rgba(249, 115, 22, 0.12); color: #b45309; }

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

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

/* ───────────────────────── Raporlar — basit bar grafikleri ───────────────────────── */
.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.bar-row .bar-label { width: 110px; flex-shrink: 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-row .bar-track { flex: 1; height: 10px; background: rgba(23, 32, 42, 0.06); border-radius: 6px; overflow: hidden; }
.bar-row .bar-fill { height: 100%; background: var(--gold); border-radius: 6px; }
.bar-row .bar-value { width: 90px; flex-shrink: 0; text-align: right; font-weight: 600; }

/* ───────────────────────── Kurye — kart grid (Node parity) ───────────────────────── */
.courier-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 1300px) { .courier-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .courier-grid { grid-template-columns: 1fr; } }
.courier-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-card); }
.courier-card-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.courier-card-header .name { font-weight: 700; font-size: 15px; }
.courier-card-header .meta { font-size: 12.5px; color: var(--gold); font-weight: 600; }
.courier-order { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.courier-order:last-child { margin-bottom: 0; }
.courier-order .customer { font-weight: 600; font-size: 14px; }
.courier-order .muted-line { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.courier-order .amount { color: var(--gold); font-weight: 700; font-size: 14px; margin-top: 4px; }
.courier-order .actions { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.courier-order .actions .btn { width: 100%; text-align: center; }
.courier-empty { border: 1px dashed var(--border); border-radius: var(--radius); padding: 30px; text-align: center; color: var(--muted); font-size: 14px; }

.tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.tab { padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tab.active { color: var(--navy); border-bottom-color: var(--gold); }

.inline-form { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 16px; }
.inline-form .form-row { margin-bottom: 0; min-width: 140px; flex: 1; }

.list-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); gap: 10px; font-size: 14px; }
.list-row:last-child { border-bottom: none; }
.list-row .list-name { font-weight: 600; }
.list-row .list-actions { display: flex; gap: 6px; align-items: center; }
.list-row.inactive { opacity: .5; }

.section-title { font-size: 15px; font-weight: 700; margin: 0 0 12px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Ürün Görseli — dosya seç / sürükle-bırak / önizleme (bkz. app/Views/partials/product_image_field.php) */
.lv-image-field .lv-image-drop {
  position: relative; border: 1.5px dashed var(--border-strong); border-radius: var(--radius-sm, 10px);
  background: rgba(15, 23, 42, .02); cursor: pointer; transition: background .15s ease, border-color .15s ease;
  overflow: hidden;
}
.lv-image-field .lv-image-drop:hover { background: rgba(217, 154, 40, .06); border-color: var(--gold); }
.lv-image-field .lv-image-drop.is-drag { background: rgba(217, 154, 40, .12); border-color: var(--gold); }
.lv-image-preview { display: flex; align-items: center; justify-content: center; min-height: 110px; padding: 10px; }
.lv-image-preview-img { max-width: 100%; max-height: 140px; border-radius: 8px; object-fit: cover; pointer-events: none; }
.lv-image-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted);
  font-size: 12px; text-align: center; line-height: 1.4; pointer-events: none;
}
.lv-image-placeholder svg { color: var(--muted); opacity: .7; }
.lv-image-actions { display: flex; gap: 8px; margin-top: 8px; }
.lv-image-actions .btn svg { vertical-align: -2px; margin-right: 4px; }
.inline-form .lv-image-field { flex-basis: 240px; min-width: 220px; }
.lv-image-search-disabled-hint { font-size: 11.5px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.lv-image-actions .btn:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* İnternetten Bul — arama modalı (bkz. lv_product_image_field_script()) */
.lv-img-search-panel { max-width: 720px; }
.lv-img-search-bar { display: flex; gap: 8px; margin-bottom: 10px; }
.lv-img-search-bar input { flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: inherit; }
.lv-img-search-status { min-height: 18px; margin-bottom: 8px; }
.lv-img-search-status.is-error { color: var(--red); }
.lv-img-search-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px;
  max-height: 360px; overflow-y: auto; padding: 2px;
}
.lv-img-search-item {
  position: relative; border: 2px solid var(--border); border-radius: 10px; overflow: hidden;
  cursor: pointer; background: var(--surface-2); aspect-ratio: 1 / 1; transition: border-color .12s ease;
}
.lv-img-search-item:hover { border-color: var(--gold); }
.lv-img-search-item.is-selected { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(217, 154, 40, .35); }
.lv-img-search-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lv-img-search-item-src {
  position: absolute; left: 0; right: 0; bottom: 0; background: rgba(8, 21, 33, .72); color: #fff;
  font-size: 10px; padding: 3px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lv-img-search-item-check {
  position: absolute; top: 4px; right: 4px; width: 18px; height: 18px; border-radius: 999px;
  background: var(--gold); color: #fff; display: none; align-items: center; justify-content: center; font-size: 12px;
}
.lv-img-search-item.is-selected .lv-img-search-item-check { display: flex; }
.lv-img-search-empty { padding: 24px 8px; text-align: center; color: var(--muted); font-size: 13px; }

.kds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.kds-card { border-radius: var(--radius); border: 1px solid var(--border); background: #fff; padding: 14px; border-left: 6px solid var(--gray); box-shadow: var(--shadow-card); }
.kds-card.status-SENT { border-left-color: var(--status-empty); }
.kds-card.status-PREPARING { border-left-color: var(--gold); background: rgba(217, 154, 40, 0.06); }
.kds-card.status-READY { border-left-color: var(--status-open); }
.kds-card.status-SERVED { border-left-color: var(--muted); opacity: .75; }
.kds-card.kds-late { background: rgba(239, 68, 68, 0.08); border-left-color: var(--red); }
.kds-card h4 { margin: 0 0 6px; font-size: 15px; }
.kds-card .kds-meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.kds-card .kds-note { font-size: 12px; color: var(--red); margin-bottom: 8px; }

.item-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.item-row.cancelled { opacity: .45; text-decoration: line-through; }

.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.badge-green { background: rgba(34,197,94,.12); color: var(--green); }
.badge-red { background: rgba(239,68,68,.12); color: var(--red); }
.badge-gray { background: rgba(138,146,154,.2); color: #4b5563; }

/* ───────────────────────── Auth (Login) — koyu tema, hero split-screen ───────────────────────── */

.auth-body {
  margin: 0; min-height: 100vh; position: relative; overflow: hidden;
  font-family: var(--font-sans);
  background: var(--navy);
}
.auth-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(8,21,33,0.9) 0%, rgba(8,21,33,0.6) 45%, rgba(8,21,33,0.94) 100%),
    url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1800&q=80');
  background-size: cover; background-position: center;
}
.auth-glow {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 20%, #d99a2835, transparent 42%),
    radial-gradient(ellipse at 85% 80%, #101f2daa, transparent 50%);
}
.auth-grid {
  position: relative; z-index: 1; min-height: 100vh;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
}
@media (max-width: 1000px) { .auth-grid { grid-template-columns: 1fr; } .auth-hero { display: none; } }

.auth-hero { display: flex; flex-direction: column; justify-content: space-between; padding: 64px 72px; color: #f7f5f0; }
.auth-hero .tagline { margin-top: 20px; color: var(--light-gold); font-size: 18px; letter-spacing: 0.02em; }
.auth-hero h1 { font-family: var(--font-display); font-size: 44px; font-weight: 600; line-height: 1.2; max-width: 520px; margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.auth-hero p.sub { margin-top: 16px; color: rgba(247,245,240,.7); max-width: 420px; font-size: 15px; }
.auth-hero .features { display: flex; gap: 32px; font-size: 14px; color: rgba(247,245,240,.75); }
.auth-hero .feature { display: flex; align-items: center; gap: 8px; }
.auth-hero .feature .ico { width: 36px; height: 36px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: var(--gold); }

.auth-panel { display: flex; align-items: center; justify-content: center; padding: 24px 40px; }
.auth-card {
  width: 100%; max-width: 420px;
  background: rgba(16,31,45,.85);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 32px;
  color: #f5f6f8;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
}
.auth-card h2 { margin: 0; font-size: 21px; font-weight: 600; color: #fff; }
.auth-card .sub { color: rgba(255,255,255,.55); margin: 4px 0 0; font-size: 13.5px; }
.auth-card .form-row label { color: rgba(245,246,248,.65); font-size: 13px; }
.auth-card .form-row input {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
}
.auth-card .form-row input:focus { outline: none; border-color: var(--gold); }
.auth-card .auth-captcha { margin: 4px 0 10px; }
.auth-card .auth-captcha-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.auth-card .auth-captcha-img { display: block; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); background: #122434; }
.auth-card .auth-captcha-refresh {
  flex: 0 0 auto; padding: 8px 12px; border-radius: 8px; cursor: pointer;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); color: #f5f6f8; font-size: 13px;
}
.auth-card .auth-captcha-refresh:hover { border-color: var(--gold); color: #fff; }
.auth-card .remember { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(245,246,248,.65); margin: 6px 0 18px; }
.auth-card .btn-primary { width: 100%; justify-content: center; padding: 12px; font-size: 15px; }
.auth-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.auth-logo span { font-size: 24px; letter-spacing: .08em; color: var(--gold); font-weight: 700; text-transform: lowercase; }

/* ───────────────────────── Paket Servis Kanban — Next.js paket-servis/page.tsx ile birebir yapi ───────────────────────── */
.qo-create-details { margin-bottom: 14px; }
.qo-create-toggle { display: inline-flex; cursor: pointer; list-style: none; user-select: none; }
.qo-create-toggle::-webkit-details-marker { display: none; }

.kanban-board { display: grid; grid-template-columns: repeat(6, minmax(200px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 4px; }
@media (max-width: 1300px) { .kanban-board { grid-template-columns: repeat(3, minmax(200px, 1fr)); } }
@media (max-width: 760px) { .kanban-board { grid-template-columns: minmax(200px, 1fr); } }
.kanban-col { background: var(--navy); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); min-width: 200px; display: flex; flex-direction: column; max-height: 74vh; }
.kanban-col-head {
  padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 700; font-size: 13px;
  color: #fff; border-radius: var(--radius) var(--radius) 0 0; background: rgba(255,255,255,.04);
  display: flex; align-items: center; justify-content: space-between;
}
.kanban-count { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); border-radius: 999px; padding: 1px 8px; font-size: 11px; }
.kanban-col-body { padding: 8px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kanban-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: 10px; font-size: 12.5px; color: #f7f5f0; }
.kanban-card-title { font-weight: 700; margin-bottom: 2px; }
.kanban-card-sub { color: rgba(247,245,240,.5); font-size: 11.5px; margin-bottom: 2px; }
.kanban-card-amount { color: var(--gold); font-weight: 700; margin: 4px 0; }
.kanban-status-form select {
  width: 100%; padding: 5px 6px; border-radius: 6px; font-size: 11.5px; margin-top: 4px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff;
}
.kanban-empty { text-align: center; color: rgba(247,245,240,.3); font-size: 12px; padding: 10px 0; }

/* ───────────────────────── Ana Panel — Garson/Stok kartlari ───────────────────────── */
.dashboard-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 1000px) { .dashboard-cols { grid-template-columns: 1fr; } }
.dashboard-list { display: flex; flex-direction: column; gap: 8px; }
.dashboard-list-row {
  display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.dashboard-list-row:last-child { border-bottom: none; padding-bottom: 0; }
.dashboard-list-value { color: var(--muted); font-weight: 600; white-space: nowrap; }
.dashboard-footnote { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }

/* ───────────────────────── Masalar: TableScene karti ───────────────────────── */

.table-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.table-search {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 8px 14px; min-width: 220px; flex: 1; max-width: 320px;
}
.table-search input { border: none; outline: none; font-size: 13.5px; width: 100%; font-family: inherit; background: transparent; }
.table-search svg { color: var(--muted); flex-shrink: 0; }

.width-slider { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.width-slider input[type=range] { width: 120px; accent-color: var(--gold); }

.lv-search-clear { display: inline-flex; border: none; background: none; padding: 2px; color: var(--muted); cursor: pointer; flex-shrink: 0; }
.lv-search-clear:hover { color: var(--text-dark); }

/* Chips — Next.js globals.css .chip/.chip-active ile birebir */
.chip {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface);
  color: rgba(23, 32, 42, .75); padding: 6px 14px; font-size: 13px;
  transition: background .15s ease, color .15s ease; cursor: pointer; font-family: inherit;
}
.chip:hover { background: var(--surface-2); }
.chip-active, .chip.chip-active { background: var(--gold); border-color: var(--gold); color: #fff; font-weight: 600; }
.chip.chip-active:hover { background: var(--light-gold); }
.status-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.table-summary { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.table-summary .dot { width: 7px; height: 7px; border-radius: 999px; display: inline-block; margin-left: 6px; }
.table-summary b { color: var(--text-dark); font-weight: 700; }

.table-empty-state {
  border: 1.5px dashed var(--border-strong); border-radius: var(--radius-sm);
  padding: 28px; text-align: center; font-size: 13.5px; color: var(--muted); background: rgba(15,23,42,.02);
}
.table-empty-state a { color: var(--gold); text-decoration: underline; font-weight: 600; }

/* EmptyState — Next.js globals.css .empty-state/.empty-title/.empty-desc ile birebir */
.empty-state { padding: 40px 20px; text-align: center; }
.empty-title { font-weight: 600; color: rgba(23, 32, 42, .8); }
.empty-desc { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

.hall-tab { background: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.hall-tab:hover:not(.active) { background: rgba(23, 32, 42, 0.1); }

.table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--tcw, 120px), 1fr));
  gap: 6px;
}

.content-masalar {
  padding: 10px 10px 14px;
  max-width: none;
}
.content-masalar .topbar { margin-bottom: 10px; }
.content-masalar .table-toolbar { margin-bottom: 8px; gap: 8px 10px; }
.content-masalar .card { padding: 8px; }
.content-masalar .tscene {
  padding: 8px 6px 7px;
  min-height: 78px;
  border-radius: 10px;
}

.tscene {
  border: none; padding: 14px 10px 12px; margin: 0; text-align: center; cursor: pointer; font-family: inherit;
  background: linear-gradient(180deg, #0f1c2a 0%, #0a1520 100%);
  border-radius: 14px;
  overflow: hidden;
  color: #f7f5f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 96px;
  transition: transform .12s ease, filter .12s ease;
}
.tscene:hover { transform: translateY(-2px); }
.tscene:active { transform: translateY(0); filter: brightness(1.06); }
.tscene:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.tscene:disabled { cursor: default; }
.tscene-num {
  font-weight: 800;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.tscene-amount {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  margin-top: 2px;
}
.tscene-amount-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .9;
}
.tscene-pulse {
  animation: tscene-pulse-border 1.4s ease-in-out infinite;
}
@keyframes tscene-pulse-border {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.18); }
}

/* Salon Plani (tasarim) modu */
.lv-canvas-wrap .lv-item.lv-table { background: #0f1c2a; color: #f7f5f0; }

/* ───────────────────────── Adisyon — 3 sutunlu POS ekrani (Next.js /adisyon ile birebir) ───────────────────────── */

.adisyon-shell {
  display: grid;
  grid-template-columns: 200px 1fr 320px;
  gap: 0;
  height: calc(100vh - 0px);
  margin: -24px -28px;
  min-height: 0;
  overflow: hidden;
}
.adisyon-shell > * { min-height: 0; }
.content-adisyon {
  padding: 0;
  max-width: none;
  overflow: hidden;
  min-height: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.content-adisyon .adisyon-shell {
  margin: 0;
  flex: 1;
  height: auto;
  min-height: 0;
}
@media (max-width: 1200px) {
  .adisyon-shell { grid-template-columns: 170px 1fr 280px; }
}
@media (max-width: 900px) {
  .adisyon-shell { grid-template-columns: 1fr; height: auto; overflow: visible; }
  .content-adisyon { height: auto; overflow: visible; }
  .adisyon-catnav { display: none; }
  .adisyon-cart-body { max-height: 42vh; }
}

.adisyon-catnav {
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 14px 10px;
  overflow-y: auto;
}
.adisyon-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--content-bg); border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 8px 12px; margin-bottom: 10px;
}
.adisyon-search input { border: none; outline: none; font-size: 13px; width: 100%; background: transparent; font-family: inherit; }
.adisyon-search svg { color: var(--muted); flex-shrink: 0; }

.cat-btn {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  border: none; background: none; cursor: pointer; font-family: inherit;
  border-radius: 10px; padding: 9px 10px; margin-bottom: 3px;
  font-size: 13px; font-weight: 500; color: rgba(23, 32, 42, 0.72);
}
.cat-btn:hover { background: rgba(23, 32, 42, 0.05); }
.cat-btn.active { background: var(--gold); color: #26200a; font-weight: 700; }
.cat-btn svg { flex-shrink: 0; opacity: 0.85; }

.adisyon-products { background: var(--content-bg); padding: 16px; overflow-y: auto; }
.adisyon-products-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.adisyon-products-head h1 { font-size: 18px; margin: 0; font-weight: 600; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }

.product-card {
  border-radius: var(--radius); background: #fff; border: 1px solid var(--border);
  padding: 10px; text-align: left; cursor: pointer; min-height: 132px;
  transition: border-color 0.15s ease, transform 0.1s ease; display: block; width: 100%;
}
.product-card:hover { border-color: rgba(217, 154, 40, 0.55); transform: translateY(-1px); }
.product-thumb {
  height: 78px; border-radius: 12px; margin-bottom: 8px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-end; padding: 8px;
}
.product-thumb .price-tag {
  position: relative; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px;
  background: rgba(8, 21, 33, 0.85); color: var(--gold);
}
.product-name { font-weight: 600; font-size: 13.5px; color: var(--text-dark); }
.product-tags { display: flex; gap: 5px; margin-top: 5px; flex-wrap: wrap; }
.product-tag { font-size: 10px; font-weight: 600; }
.product-tag.popular { color: var(--status-open); }
.product-tag.low-stock { color: var(--status-payment); }

.adisyon-cart { background: #fff; border-left: 1px solid var(--border); display: flex; flex-direction: column; height: 100%; min-height: 0; overflow: hidden; }
.adisyon-cart-head { padding: 12px 14px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.adisyon-cart-head .name { font-weight: 700; font-size: 15px; }
.adisyon-cart-head .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.adisyon-cart-body { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; }
.adisyon-cart-foot { flex-shrink: 0; background: #fff; }

.cart-items { flex: 0 0 auto; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.cart-item {
  border-radius: 12px; border: 1px solid var(--border); background: var(--content-bg);
  padding: 9px 10px; font-size: 13px;
}
.cart-item.is-comp { opacity: 0.55; }
.cart-item.is-cancelled { opacity: 0.4; text-decoration: line-through; }
.cart-item-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.cart-item-name { font-weight: 600; color: var(--text-dark); }
.cart-item-price { font-weight: 700; color: var(--gold); white-space: nowrap; }
.cart-item-meta { font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.cart-item-actions { display: flex; gap: 6px; margin-top: 6px; }
.cart-item-actions button {
  border: none; background: rgba(23, 32, 42, 0.06); color: var(--muted);
  border-radius: 7px; font-size: 11px; font-weight: 600; padding: 3px 8px; cursor: pointer;
}
.cart-item-actions button:hover { background: rgba(23, 32, 42, 0.12); }
.cart-empty { text-align: center; color: var(--muted); font-size: 13px; padding: 14px 10px; }

.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-btn {
  width: 22px; height: 22px; border-radius: 7px; border: none; background: rgba(23, 32, 42, 0.08);
  color: var(--text-dark); font-size: 14px; font-weight: 700; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: rgba(23, 32, 42, 0.16); }
.qty-val { font-size: 13px; font-weight: 600; width: 20px; text-align: center; }

.cart-totals { padding: 12px 14px; border-top: 1px solid var(--border); font-size: 13px; display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.cart-totals .row { display: flex; justify-content: space-between; color: var(--muted); }
.cart-totals .row.grand { font-weight: 700; font-size: 15px; color: var(--text-dark); padding-top: 4px; border-top: 1px dashed var(--border); margin-top: 4px; }
.cart-totals .row.grand span:last-child { color: var(--gold); }
.cart-totals .row.paid { color: var(--status-open); }
.cart-totals .row.remaining { color: var(--status-payment); font-weight: 700; }

.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; border-top: 1px solid var(--border); flex-shrink: 0; }
.action-btn {
  border-radius: 10px; border: 1px solid var(--border-strong); background: #fff;
  color: rgba(23, 32, 42, 0.78); font-size: 11.5px; font-weight: 600; padding: 9px 6px;
  cursor: pointer; font-family: inherit; text-align: center;
}
.action-btn:hover { background: rgba(23, 32, 42, 0.05); }
.action-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.action-btn.danger { color: var(--red); border-color: rgba(239, 68, 68, 0.35); }
.pay-cta {
  margin: 4px 10px 12px; padding: 12px; border-radius: 10px;
  background: var(--gold); color: #26200a; font-weight: 700; font-size: 13.5px; border: none; cursor: pointer;
  flex-shrink: 0; width: calc(100% - 20px); align-self: center;
}
.pay-cta:hover { background: var(--light-gold); }

@keyframes lv-cart-item-in {
  from { opacity: 0; transform: translateY(8px) scale(0.96); background: rgba(217, 154, 40, 0.28); }
  to { opacity: 1; transform: none; background: var(--content-bg); }
}
.cart-item.lv-cart-item-in { animation: lv-cart-item-in 0.45s ease-out; }
.lv-fly-clone { background: #fff !important; border: 1px solid rgba(217, 154, 40, 0.55) !important; }
/* Modal — Next.js .modal-backdrop/.modal-panel ile ayni desen */
.modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 200; background: rgba(8, 21, 33, 0.55);
  align-items: center; justify-content: center; padding: 16px;
}
.modal-backdrop.is-open { display: flex; }
.modal-panel {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); padding: 22px; width: 100%; max-width: 420px;
  max-height: 90vh; overflow-y: auto;
}
.modal-title { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.modal-desc { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.modal-actions { display: flex; gap: 8px; margin-top: 18px; }
.modal-actions .btn { flex: 1; justify-content: center; }
.modal-list { max-height: 200px; overflow-y: auto; border: 1px solid var(--border); border-radius: 10px; padding: 6px; margin-bottom: 10px; }
.modal-list label { display: flex; align-items: center; gap: 8px; padding: 6px 4px; font-size: 13px; }

.tender-row { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; }
.tender-row select { flex: 1; padding: 9px 10px; border: 1px solid var(--border-strong); border-radius: 8px; font-family: inherit; }
.tender-row input { width: 110px; padding: 9px 10px; border: 1px solid var(--border-strong); border-radius: 8px; font-family: inherit; }
.tender-remove {
  border: none; background: rgba(239, 68, 68, 0.1); color: var(--red); border-radius: 7px;
  width: 30px; height: 34px; font-size: 16px; cursor: pointer; flex-shrink: 0;
}
.tender-remove:hover { background: rgba(239, 68, 68, 0.18); }
.lv-pay-summary { display: flex; justify-content: space-between; font-size: 13px; margin-top: 6px; color: var(--muted); }
.lv-pay-summary span:last-child { font-weight: 700; color: var(--text-dark); }

/* ───────────────────────── Yetkiler — rol chip'leri + izin matrisi ───────────────────────── */
.role-chip {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--border-strong); color: var(--text-dark); background: #fff; text-decoration: none;
}
.role-chip-active { background: var(--gold); color: #26200a; border-color: var(--gold); }
.perm-toggle-label { position: relative; display: inline-flex; cursor: pointer; }
.perm-toggle-input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; cursor: pointer; }
.perm-toggle {
  display: inline-block; width: 20px; height: 20px; border-radius: 5px; border: 1px solid var(--border-strong);
  background: transparent; transition: background .12s, border-color .12s;
}
.perm-toggle-input:checked + .perm-toggle { background: var(--gold); border-color: var(--gold); }
.perm-toggle-na { display: inline-block; width: 20px; height: 20px; border-radius: 5px; border: 1px solid var(--border); opacity: .3; }

/* ───────────────────────── Commercial Onboarding — Kurulum Sihirbazı ───────────────────────── */
/* Not: Wizard layout (açık yüzey) içinde render edilir; beyaz metin kullanma. */
.wizard-shell { max-width: 980px; margin: 28px auto 60px; padding: 0 20px; }
.wizard-head { text-align: center; color: var(--text-dark); margin-bottom: 22px; }
.wizard-head h1 { margin: 4px 0; color: var(--text-dark); font-weight: 800; }
.wizard-head p { color: var(--muted); margin: 0; }
.wizard-head .eyebrow { color: var(--muted) !important; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.wizard-progress { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; justify-content: center; }
.wizard-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--border-strong);
  color: var(--text-dark); background: #fff;
}
.wizard-pill:hover { border-color: var(--gold); color: var(--text-dark); }
.wizard-pill.is-complete { color: #166534; background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.45); }
.wizard-pill.is-current { color: #26200a; background: var(--gold); border-color: var(--gold); }
.wizard-pill.is-skipped { color: #9a3412; background: rgba(249,115,22,.12); border-color: rgba(249,115,22,.4); }
.wizard-card { background: #fff; border-radius: 14px; padding: 26px 28px; box-shadow: 0 8px 28px rgba(23,32,42,.08); border: 1px solid var(--border); }
.wizard-card h2 { margin: 0 0 6px; }
.wizard-card .desc { color: var(--muted); margin: 0 0 20px; }
.wizard-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 10px; flex-wrap: wrap; }
.wizard-actions-right { display: flex; gap: 10px; }
.wizard-checklist { display: flex; flex-direction: column; gap: 10px; }
.wizard-check-item {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border); font-size: 14px;
}
.wizard-check-item.is-pass { background: rgba(34,197,94,.06); border-color: rgba(34,197,94,.25); }
.wizard-check-item.is-warning { background: rgba(249,115,22,.06); border-color: rgba(249,115,22,.3); }
.wizard-check-item.is-blocker { background: rgba(220,38,38,.06); border-color: rgba(220,38,38,.3); }
.wizard-check-item b { display: block; }
.wizard-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wizard-summary-tile { border: 1px solid var(--border); border-radius: 10px; padding: 14px; text-align: center; }
.wizard-summary-tile .n { font-size: 24px; font-weight: 800; color: var(--gold); display: block; }
.wizard-summary-tile .l { font-size: 12px; color: var(--muted); }
.wizard-model-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
.wizard-model-opt {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 600;
}
.wizard-model-opt input { width: auto; margin: 0; }
.wizard-model-opt.is-disabled { opacity: .45; cursor: not-allowed; }
.wizard-cta {
  display: block; width: 100%; text-align: center; padding: 16px; font-size: 17px; font-weight: 800;
  border-radius: 12px; margin-top: 10px;
}
@media (max-width: 720px) {
  .wizard-model-grid, .wizard-grid-3 { grid-template-columns: 1fr; }
  .wizard-card { padding: 18px; }
}

.callerid-stack {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  display: flex; flex-direction: column; gap: 10px; width: min(360px, calc(100vw - 24px));
}
.callerid-card {
  background: #081521; color: #fff; border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 12px 32px rgba(8, 21, 33, .35); border: 1px solid rgba(217, 154, 40, .45);
}
.callerid-kicker { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
.callerid-name { font-size: 17px; font-weight: 800; margin-top: 4px; }
.callerid-phone { font-size: 14px; margin-top: 2px; color: rgba(255,255,255,.85); }
.callerid-addr { font-size: 12px; margin-top: 4px; color: rgba(255,255,255,.65); line-height: 1.35; }
.callerid-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.callerid-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.2); }
