/* HadasMenu müşteri paneli (yonet.hadasmenu.com). Tanıtım sitesiyle (hadasmenu.com) aynı aile: Plus Jakarta Sans, kurumsal mavi #2563EB.
   2026-11-20 yeniden tasarım (Hakan: "mobilde navbar yok, sıradan sayfa hissi, siparişler ile ayar aynı sayfada"):
   masaüstünde solda kenar çubuğu, telefon / tablette üst çubuk + menü çekmecesi (<details>), sipariş panosu ayrı ve tam genişlik.
   Satır içi stil yok (CSP: style-src 'self'). */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Marka (tanıtım sitesi stil.css ile aynı değerler) */
  --brand: #2563eb;
  --brand-hover: #1d4ed8;
  --brand-soft: #eaf1fe;
  --brand-line: #bcd0f7;
  --navy: #173459;
  /* Yüzeyler ve yazı */
  --bg: #f4f7fb;
  --surface: #fff;
  --surface-2: #f8fafd;
  --text: #14213d;
  --muted: #4a5875;
  --line: #dbe3ee;
  --line-strong: #c5d0e0;
  /* Durumlar (yazı renkleri beyaz / açık zeminde ≥ 4.5:1) */
  --ok: #15803d; --ok-soft: #e8f6ee; --ok-text: #166534;
  --warn: #d97706; --warn-soft: #fdf3e2; --warn-text: #92400e;
  --error: #b91c1c; --error-soft: #fdecec; --error-text: #991b1b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(20 33 61 / 5%), 0 4px 16px rgb(20 33 61 / 4%);
  --shadow-up: 0 2px 6px rgb(20 33 61 / 8%), 0 18px 48px rgb(20 33 61 / 14%);
  --focus: 0 0 0 3px rgb(37 99 235 / 35%);
  --side-w: 256px;
  --bar-h: 60px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  font: 15.5px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-hover); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; }
h1 { font-size: 1.75rem; font-weight: 800; margin: 0; letter-spacing: -.025em; }
h2 { font-size: 1.08rem; font-weight: 700; margin: 0; }
h3 { font-size: 1rem; margin: 0; }
p { margin: 0; }
img { max-width: 100%; }
svg.ikon { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
main:focus { outline: none; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Marka ---------- */
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; color: var(--text); text-decoration: none; min-height: 44px; }
.brand img { width: 30px; height: 30px; flex: none; }
.brand b { color: var(--brand); font-weight: 800; }
.brand:hover { color: var(--text); }

/* ---------- Gezinme (kenar çubuğu ve çekmece aynı yapı) ---------- */
.nav { display: flex; flex-direction: column; gap: 10px; }
.nav-group { display: flex; flex-direction: column; gap: 2px; }
.nav-label { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .01em; padding: 0 12px 4px; }
.nav a, .nav-button {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 10px;
  color: var(--muted); text-decoration: none; font: inherit; font-weight: 600; font-size: .96rem; text-align: left; width: 100%;
  background: none; border: 0; cursor: pointer; transition: background .15s, color .15s;
}
.nav a:hover, .nav-button:hover { background: var(--bg); color: var(--text); }
.nav a .ikon, .nav-button .ikon { color: #6b7894; transition: color .15s; }
.nav a:hover .ikon { color: var(--text); }
.nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-hover); }
.nav a[aria-current="page"] .ikon { color: var(--brand); }
.nav a[aria-current="page"]::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--brand); }
.nav-end { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav-button:hover { color: var(--error-text); background: var(--error-soft); }
.nav-button:hover .ikon { color: var(--error-text); }
.logout { margin: 0; }

/* İşletme adı ve menü durumu */
.side-biz { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.side-biz-name { font-weight: 700; font-size: .95rem; line-height: 1.3; overflow-wrap: anywhere; }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600; }
.live i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.live.on { color: var(--ok-text); } .live.on i { background: #16a34a; box-shadow: 0 0 0 3px rgb(22 163 74 / 18%); }
.live.off { color: var(--warn-text); } .live.off i { background: var(--warn); }

/* Masaüstü kenar çubuğu */
.side { display: none; }
@media (min-width: 1024px) {
  body.app {
    display: grid; min-height: 100vh;
    background: linear-gradient(90deg, var(--surface) calc(var(--side-w) - 1px), var(--line) calc(var(--side-w) - 1px), var(--line) var(--side-w), var(--bg) var(--side-w));
    grid-template-columns: var(--side-w) minmax(0, 1fr); grid-template-rows: 1fr auto;
    grid-template-areas: "side main" "side foot";
  }
  .side {
    grid-area: side; position: sticky; top: 0; height: 100vh; overflow-y: auto;
    display: flex; flex-direction: column; gap: 14px; padding: 16px 16px 16px 16px;
    background: var(--surface); border-right: 1px solid var(--line);
  }
  .side .brand { padding: 0 8px; }
  .side .nav { flex: 1; }
  .side .nav-end { margin-top: auto; }
  body.app > .wrap { grid-area: main; }
  body.app > .foot { grid-area: foot; }
  .appbar { display: none; }
}

/* Telefon / tablet üst çubuğu */
.appbar {
  position: sticky; top: 0; z-index: 30; height: var(--bar-h); display: flex; align-items: center; gap: 8px;
  padding: 0 max(12px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left));
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.appbar .brand { margin-right: auto; min-width: 0; }
.appbar-orders {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 700; font-size: .92rem; text-decoration: none;
}
.appbar-orders .ikon { color: var(--brand); }
.appbar-orders:hover { background: var(--bg); color: var(--text); }
.appbar-orders[aria-current="page"] { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand-hover); }
.mnav > summary {
  list-style: none; display: flex; align-items: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; font-weight: 700; font-size: .92rem;
}
.mnav > summary::-webkit-details-marker { display: none; }
.mnav > summary:hover { background: var(--bg); }
.mnav[open] > summary { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand-hover); }
.hamburger { position: relative; display: block; width: 18px; height: 14px; }
.hamburger i { position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .18s, opacity .18s, top .18s; }
.hamburger i:nth-child(1) { top: 0; }
.hamburger i:nth-child(2) { top: 6px; }
.hamburger i:nth-child(3) { top: 12px; }
.mnav[open] .hamburger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.mnav[open] .hamburger i:nth-child(2) { opacity: 0; }
.mnav[open] .hamburger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
/* Perde: çekmecenin arkası (yonet.js tıklayınca kapatır) */
.mnav[open]::before { content: ""; position: fixed; inset: var(--bar-h) 0 0 0; background: rgb(15 23 42 / 42%); z-index: 1; }
.mnav-panel {
  position: fixed; z-index: 2; top: var(--bar-h); right: 0; bottom: 0; width: min(100%, 360px);
  display: flex; flex-direction: column; gap: 14px; padding: 16px 16px max(24px, env(safe-area-inset-bottom)) 16px;
  background: var(--surface); border-left: 1px solid var(--line); box-shadow: var(--shadow-up); overflow-y: auto; overscroll-behavior: contain;
  animation: cekmece .2s ease-out;
}
.mnav-panel .nav a, .mnav-panel .nav-button { min-height: 48px; font-size: 1rem; }
@keyframes cekmece { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
body:has(.mnav[open]) { overflow: hidden; }
@media (min-width: 1024px) { .appbar { display: none; } }
@media (max-width: 420px) {
  .appbar { gap: 6px; }
  .appbar .brand { font-size: 1.08rem; gap: 7px; }
  .appbar-orders { padding: 0 11px; }
  .mnav-text { display: none; }
}
@media (max-width: 359px) { .appbar-orders span { display: none; } }

/* ---------- Sayfa iskeleti ---------- */
body.app, body.auth { min-height: 100vh; display: flex; flex-direction: column; }
@media (min-width: 1024px) { body.app { display: grid; } }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 22px 16px 40px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
@media (min-width: 720px) { .wrap { padding: 28px 28px 48px; gap: 20px; } }
@media (min-width: 1024px) { .wrap { padding: 32px 40px 56px; } }
body.app-wide .wrap { max-width: none; }

.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.page-title { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 420px; }
.lead { color: var(--muted); max-width: 68ch; }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.back { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .9rem; text-decoration: none; min-height: 32px; }
.back .ikon { width: 18px; height: 18px; }

/* ---------- Alt bilgi + HADAS imzası ---------- */
/* Alt bilgi (Hakan 2026-11-20 "toparlayın" + HADAS imzası): üstte çizgi, solda bağlantılar, sağda imza; telefonda ortalı alt alta */
.foot { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .85rem; }
body.app .foot { background: transparent; }
.foot-in { max-width: 1160px; margin: 0 auto; padding: 18px 16px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
@media (min-width: 720px) { body.app .foot-in { padding: 18px 28px 24px; } }
@media (min-width: 1024px) { body.app .foot-in { padding: 18px 40px 26px; } body.app-wide .foot-in { max-width: none; } }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.foot-legal { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--brand); text-decoration: underline; }
.foot a.foot-brand { font-weight: 700; color: var(--text); }
.foot a.foot-brand b { color: var(--brand); }
.foot a.foot-brand:hover { text-decoration: none; }

/* HADAS imzası (HADAS_IMZA.md değerleri, Tailwind'siz; etiket elle büyük harf, text-transform YOK) */
.foot a.hadas-imza { display: inline-flex; text-decoration: none; transition: transform .2s ease; }
.foot a.hadas-imza:hover { transform: translateX(-5px); text-decoration: none; }
.imza-ic { display: flex; flex-direction: column; align-items: flex-end; }
.imza-etiket { font-size: 9px; line-height: 1; margin-bottom: 4px; letter-spacing: .3em; font-weight: 700; color: #475569; }
.imza-alt { display: flex; align-items: center; gap: 8px; }
.imza-ad { font-size: 14px; font-weight: 900; letter-spacing: -.05em; color: #94a3b8; transition: color .2s ease; }
.hadas-imza:hover .imza-ad { color: #3b82f6; }
.imza-nokta { display: flex; gap: 2px; }
.imza-nokta i { width: 6px; height: 6px; border-radius: 50%; background: #2563eb; }
.imza-nokta i:nth-child(2) { background: #60a5fa; }
.imza-nokta i:nth-child(3) { background: #bfdbfe; }
.hadas-imza:hover .imza-nokta i { animation: imza-zipla 1s infinite; }
.hadas-imza:hover .imza-nokta i:nth-child(2) { animation-delay: .1s; }
.hadas-imza:hover .imza-nokta i:nth-child(3) { animation-delay: .2s; }
@keyframes imza-zipla {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(.8, 0, 1, 1); }
  50% { transform: none; animation-timing-function: cubic-bezier(0, 0, .2, 1); }
}
@media (max-width: 760px) {
  .foot-in { flex-direction: column; justify-content: center; text-align: center; }
  .foot-links { flex-direction: column; gap: 6px; }
  .foot-legal { justify-content: center; }
}

/* ---------- Kartlar ve yerleşim ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; box-shadow: var(--shadow); }
@media (max-width: 480px) { .card { padding: 18px 16px; border-radius: 14px; } }
.card.narrow { max-width: 480px; width: 100%; margin: 24px auto 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
.card-head p { color: var(--muted); font-size: .9rem; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; align-items: start; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.big { font-size: 1.15rem; font-weight: 600; word-break: break-all; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.block { display: block; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 4px; }

/* ---------- Form alanları ---------- */
label { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: inherit; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 10px 12px; min-height: 46px;
  transition: border-color .15s, box-shadow .15s;
}
input:hover, select:hover, textarea:hover { border-color: #9fb0c8; }
textarea { resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #7a879e; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible, summary:focus-visible { outline: none; box-shadow: var(--focus); border-color: var(--brand); }
input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; padding: 0; flex: none; accent-color: var(--brand); cursor: pointer; }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 14px; margin: 0; min-width: 0; }
legend { font-weight: 700; padding: 0 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 0; padding: 6px 0; min-height: 36px; cursor: pointer; }
.grid-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px 14px; margin-bottom: 10px; }
.addr { display: flex; align-items: stretch; }
.addr input { border-radius: var(--radius-sm) 0 0 var(--radius-sm); min-width: 0; }
.addr > span { display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--line-strong); border-left: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--bg); color: var(--muted); white-space: nowrap; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.err:empty { display: none; }
.err { color: var(--error-text); font-size: .85rem; margin-top: 4px; }

/* Aç / kapa anahtarı (gerçek onay kutusu; role="switch") */
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 500; }
.switch-row:hover { border-color: var(--brand-line); background: var(--surface-2); }
.switch-text { display: flex; flex-direction: column; gap: 2px; }
.switch-text b { font-weight: 700; }
input.switch { appearance: none; -webkit-appearance: none; position: relative; width: 52px; height: 30px; margin: 0; border-radius: 999px; background: #c5d0e0; border: 0; flex: none; transition: background .18s; }
input.switch::before { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(20 33 61 / 30%); transition: transform .18s; }
input.switch:checked { background: var(--brand); }
input.switch:checked::before { transform: translateX(22px); }
input.switch:focus-visible { box-shadow: var(--focus); }

/* ---------- Düğmeler ---------- */
button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: .95rem; color: #fff; background: var(--brand); border: 1px solid var(--brand);
  border-radius: var(--radius-sm); padding: 9px 18px; min-height: 44px; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s; touch-action: manipulation;
}
button:hover, .button:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
button:active, .button:active { transform: translateY(1px); }
button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
button.ghost, .button.ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
button.ghost:hover, .button.ghost:hover { background: var(--bg); border-color: #9fb0c8; color: var(--text); }
button.ghost:disabled:hover { background: var(--surface); }
.button.ghost .ikon, button.ghost .ikon { color: var(--brand); }
button.danger { background: var(--error); border-color: var(--error); }
button.danger:hover { background: #991b1b; border-color: #991b1b; }
button.ghost.danger { background: var(--surface); color: var(--error-text); border-color: var(--line-strong); }
button.ghost.danger:hover { background: var(--error-soft); border-color: #f2b8b8; color: var(--error-text); }
button.link { background: none; border: 0; color: var(--muted); padding: 6px 4px; min-height: 0; }
button.link:hover { color: var(--text); background: none; }
button.small { font-size: .86rem; }
.buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.button + span { margin-left: 8px; }

/* ---------- Bildirimler, rozetler ---------- */
.notice, .problem, .hint { padding: 12px 16px; border-radius: 12px; border: 1px solid transparent; }
.notice { background: var(--ok-soft); color: var(--ok-text); border-color: #bfe3cc; font-weight: 600; }
.problem { background: var(--error-soft); color: var(--error-text); border-color: #f2c4c4; }
.hint { display: flex; gap: 10px; align-items: flex-start; background: var(--brand-soft); color: #1e3a8a; border-color: var(--brand-line); }
.hint .ikon { color: var(--brand); margin-top: 1px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #eef1f6; color: var(--muted); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok-text); }
.badge.bad { background: var(--warn-soft); color: var(--warn-text); }
a.badge { text-decoration: none; }

.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.plain { margin: 8px 0 0; padding-left: 18px; }
.plain li { padding: 4px 0; }
details summary { cursor: pointer; font-weight: 600; min-height: 32px; display: flex; align-items: center; }

/* ---------- Özet (kontrol paneli) ---------- */
.dash { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 900px) { .dash { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; } }
.hero { position: relative; overflow: hidden; padding: 24px; background: linear-gradient(160deg, #fff 55%, #eef4ff 100%); border-color: var(--brand-line); }
.hero-label { font-size: .88rem; font-weight: 600; color: var(--muted); }
.hero-url { display: inline; font-size: clamp(1.05rem, 4vw, 1.55rem); font-weight: 800; letter-spacing: -.02em; color: var(--text); text-decoration: none; word-break: break-all; }
.hero-url .ikon { display: inline-block; vertical-align: -3px; margin-left: 8px; }
.hero-url:hover { color: var(--brand-hover); }
.hero-url .ikon { color: var(--brand); width: 20px; height: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.facts > div { background: var(--surface); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.facts dd { order: -1; }
.facts dt { font-size: .82rem; color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.facts dd small { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
@media (max-width: 420px) { .facts dd { font-size: 1.15rem; } .facts > div { padding: 10px; } }
.plan { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.plan-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.prices { color: var(--muted); font-size: .86rem; }
.campaign { font-size: .9rem; padding: 10px 12px; border-radius: 10px; background: var(--warn-soft); color: var(--warn-text); }
.shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.shortcut {
  display: flex; flex-direction: column; gap: 6px; padding: 16px; min-height: 96px; border-radius: 14px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .15s, background .15s;
}
.shortcut:hover { border-color: var(--brand-line); background: var(--surface-2); color: var(--text); }
.shortcut .ikon { width: 24px; height: 24px; color: var(--brand); }
.shortcut b { font-size: .98rem; }
.shortcut span { font-size: .84rem; color: var(--muted); line-height: 1.4; }
.shortcut.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.shortcut.primary .ikon { color: #93c5fd; }
.shortcut.primary span { color: #c7d5ec; }
.shortcut.primary:hover { background: #1d3f6b; color: #fff; }
.setup-progress { display: flex; align-items: center; gap: 12px; }
.meter { flex: 1; height: 8px; border-radius: 999px; background: #e3e9f2; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.meter i.w0 { width: 4%; } .meter i.w1 { width: 33.3%; } .meter i.w2 { width: 66.6%; } .meter i.w3 { width: 100%; background: var(--ok); }
.setup { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; counter-reset: adim; }
.setup li { counter-increment: adim; display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); }
.setup li::before {
  content: counter(adim); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font-weight: 800; font-size: .85rem; background: var(--brand-soft); color: var(--brand-hover);
}
.setup li.done { background: var(--surface-2); }
.setup li.done::before { content: "✓"; background: var(--ok-soft); color: var(--ok); }
.setup li.done a { color: var(--muted); }
.setup li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.setup a { font-weight: 700; text-decoration: none; }
.setup a:hover { text-decoration: underline; }

/* ---------- Menü düzenleme ---------- */
.inline { display: flex; gap: 8px; align-items: center; }
.title-input { font-weight: 800; font-size: 1.12rem; border-color: transparent; background: transparent; padding-left: 8px; margin-left: -8px; }
.title-input:hover { border-color: var(--line); background: var(--surface); }
.tools { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.tools form { margin: 0; }
.tools button, .tools .button { min-height: 40px; padding: 6px 12px; }
.tools button[aria-label] { min-width: 40px; padding: 6px; font-size: 1.05rem; }
.products { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.products li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.products li img, .products .noimg { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--bg); flex: none; }
.products .noimg { border: 1px dashed var(--line-strong); }
.products .pname { font-weight: 700; color: var(--text); text-decoration: none; flex: 1; min-width: 140px; }
.products .pname:hover { color: var(--brand-hover); text-decoration: underline; }
.products .price { color: var(--text); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.products li.out .pname { color: var(--muted); text-decoration: line-through; }
.add { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.card > .add:only-child, .card > .add:first-child { border-top: 0; padding-top: 0; }
.add input { flex: 1; min-width: 160px; }
.add .narrow-input { flex: 0 1 140px; min-width: 100px; }
.preview { width: 100%; max-width: 320px; border-radius: 12px; border: 1px solid var(--line); }
.preview.logo { max-width: 160px; }

@media (max-width: 760px) {
  .cols, .two { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: 1.45rem; }
  /* Ürün satırı: görsel solda (iki satır boyu), adın sağında hep fiyat, araçlar altında */
  .products li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 8px; align-items: center; }
  .products li > img, .products li > .noimg { grid-row: span 2; align-self: start; }
  .products .pname { min-width: 0; }
  .products li .tools { grid-column: 2 / -1; }
  .add .narrow-input { flex: 1 1 110px; }
  .card > .row-between > form.inline { flex: 1 1 100%; }
  .products li .tools { gap: 4px; }
  .products li .tools button, .products li .tools .button { padding: 6px 10px; }
  .products li .tools button[aria-label] { min-width: 40px; padding: 6px; }
  .add button { flex: 1 1 100%; }
}

/* ---------- Karekod basım sayfası (A4) ---------- */
.print-page { background: #e5e7eb; }
.print-bar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.sheet { width: 210mm; margin: 16px auto; background: #fff; display: grid; }
.sheet.n1 { grid-template-columns: 1fr; grid-auto-rows: 297mm; }
.sheet.n4 { grid-template-columns: 1fr 1fr; grid-auto-rows: 148.5mm; }
.sheet.n12 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 74.25mm; }
.qr { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4mm; border: 1px dashed #cbd5e1; text-align: center; break-inside: avoid; overflow: hidden; }
.qr img { image-rendering: pixelated; }
.n1 .qr img { width: 140mm; }
.n4 .qr img { width: 80mm; }
.n12 .qr img { width: 42mm; }
.qr figcaption { display: flex; flex-direction: column; gap: 1mm; }
.n1 .qr b { font-size: 28pt; }
.n4 .qr b { font-size: 18pt; }
.n12 .qr b { font-size: 10pt; }
.n12 .qr figcaption span, .n12 .qr small { font-size: 7pt; }
@page { size: A4; margin: 0; }
@media print {
  .print-page { background: #fff; }
  .print-bar { display: none; }
  .sheet { margin: 0; }
}

/* ---------- Hazır menü ve hızlı fiyat ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.card.sector { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--text); }
.card.sector:hover { border-color: var(--brand); background: var(--surface-2); }
.template-cat legend { font-weight: 800; font-size: 1.05rem; }
.grid-checks.wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.sticky-actions { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 12px; align-items: center; background: rgb(244 247 251 / 94%); backdrop-filter: blur(6px); padding: 12px 0 max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th { text-align: left; font-weight: 600; padding: 8px 10px 8px 0; border-top: 1px solid var(--line); }
.price-table tr:first-child th, .price-table tr:first-child td { border-top: 0; }
.price-table td { width: 160px; padding: 6px 0; border-top: 1px solid var(--line); }
.price-table input { min-height: 42px; text-align: right; font-variant-numeric: tabular-nums; }
.price-table tr.missing th { color: var(--error-text); }
.price-table tr.missing input { border-color: #f2a5a5; background: #fffafa; }
.price-table tr.option-row th { padding-left: 16px; font-weight: 500; }
@media (max-width: 760px) { .price-table td { width: 120px; } }

/* ---------- Sipariş ayarları ---------- */
.how-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }
.how-steps li::marker { font-weight: 800; color: var(--brand); }
.how-steps li span { display: block; font-size: .92rem; }

/* ---------- Sipariş panosu (kasada / tablette açık durur) ---------- */
.board-top .lead { font-size: .95rem; }
@media (max-width: 1023px) { .board-top .lead { display: none; } }
.board { display: flex; flex-direction: column; gap: 14px; }
.board-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 10px 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.board-state { display: flex; align-items: center; gap: 10px; font-weight: 700; flex: 1 1 260px; min-width: 0; font-variant-numeric: tabular-nums; }
.board-state i { width: 12px; height: 12px; border-radius: 50%; background: #94a3b8; flex: none; }
.board-state.ok { color: var(--ok-text); }
.board-state.ok i { background: #16a34a; animation: nabiz 2s ease-out infinite; }
.board-state.warn { color: var(--warn-text); }
.board-state.warn i { background: var(--warn); }
@keyframes nabiz { 0% { box-shadow: 0 0 0 0 rgb(22 163 74 / 45%); } 70% { box-shadow: 0 0 0 10px rgb(22 163 74 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(22 163 74 / 0%); } }
.board-paused { font-weight: 700; font-size: .9rem; color: var(--warn-text); }
.board-paused[hidden] { display: none; }
button.sound { min-height: 44px; }
.sound .sound-on-ikon { display: none; }
.board[data-sound="1"] .sound { background: var(--ok-soft); border-color: #a7dcbb; color: var(--ok-text); }
.board[data-sound="1"] .sound .sound-on-ikon { display: inline-flex; }
.board[data-sound="1"] .sound .sound-off-ikon { display: none; }
.sound .sound-off-ikon .ikon { color: var(--muted); }
.sound .sound-on-ikon .ikon { color: var(--ok); }
.sound span { display: inline-flex; }

.board-top { flex-wrap: nowrap; align-items: center; }
.board-top .page-title { flex: 1 1 auto; }
@media (max-width: 520px) {
  .board-top .page-actions .button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .board-top .page-actions .button { width: 44px; padding: 0; }
  .board-state { flex-basis: 100%; }
  .board-bar .sound { flex: 1; }
  .call button.call-ok { flex: 1 1 100%; }
}

/* Garson çağrıları: en üstte, büyük ve belirgin */
.calls { display: grid; gap: 10px; }
.calls:empty { display: none; }
.call {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px 14px 14px 20px; border-radius: 14px;
  background: var(--error); color: #fff; box-shadow: 0 8px 24px rgb(185 28 28 / 28%); animation: cagri 1.6s ease-out 2;
}
.call.bill { background: var(--navy); box-shadow: 0 8px 24px rgb(23 52 89 / 28%); animation-name: cagri-hesap; }
.call-text { flex: 1 1 220px; font-size: 1.2rem; line-height: 1.3; }
.call-text strong { font-weight: 800; }
.call-age { font-weight: 600; opacity: .9; font-variant-numeric: tabular-nums; }
button.call-ok { background: #fff; color: var(--error); border-color: #fff; min-height: 48px; padding: 8px 22px; font-size: 1rem; }
.call.bill button.call-ok { color: var(--navy); }
button.call-ok:hover { background: #fde8e8; color: var(--error); border-color: #fde8e8; }
.call.bill button.call-ok:hover { background: var(--brand-soft); color: var(--navy); }
@keyframes cagri { 0% { box-shadow: 0 0 0 0 rgb(185 28 28 / 55%); } 100% { box-shadow: 0 0 0 16px rgb(185 28 28 / 0%); } }
@keyframes cagri-hesap { 0% { box-shadow: 0 0 0 0 rgb(23 52 89 / 50%); } 100% { box-shadow: 0 0 0 16px rgb(23 52 89 / 0%); } }

/* Üç sütun: Yeni / Hazırlanıyor / Hazır. Tablette iki sütun + altta Hazır; telefonda alt alta (Yeni önce) */
.lanes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
@media (min-width: 700px) {
  .lanes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lane-done { grid-column: 1 / -1; }
  .lane-done .lane-body { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
  .lane-done .lane-body > .lane-empty { grid-column: 1 / -1; }
}
@media (min-width: 1280px) {
  .lanes { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .85fr); }
  .lane-done { grid-column: auto; }
  .lane-done .lane-body { display: flex; }
}
.lane { border-radius: 16px; padding: 12px; min-height: 160px; border: 1px solid; border-top-width: 4px; }
.lane-new { background: #eef4ff; border-color: #cddcfb; border-top-color: var(--brand); }
.lane-prep { background: #fff7eb; border-color: #f6dfb8; border-top-color: var(--warn); }
.lane-done { background: #eef8f2; border-color: #c9e8d4; border-top-color: #16a34a; min-height: 0; }
.lane-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 4px 12px; }
.lane-head h2 { font-size: 1.05rem; font-weight: 800; }
.lane-count { min-width: 32px; height: 28px; padding: 0 9px; display: inline-grid; place-items: center; border-radius: 999px; font-weight: 800; font-variant-numeric: tabular-nums; background: #fff; }
.lane-new .lane-count { color: var(--brand-hover); }
.lane-prep .lane-count { color: var(--warn-text); }
.lane-done .lane-count { color: var(--ok-text); }
.lane-body { display: flex; flex-direction: column; gap: 14px; }
.lane-empty { color: var(--muted); font-size: .92rem; padding: 18px 8px; text-align: center; border: 1px dashed rgb(74 88 117 / 28%); border-radius: 12px; }

/* Sipariş fişi: üst kenarı adisyon gibi tırtıklı, altta kesik çizgiyle toplam */
.ticket {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 14px; margin-top: 7px;
  background: #fff; border-radius: 0 0 12px 12px; box-shadow: 0 1px 1px rgb(20 33 61 / 6%), 0 8px 20px rgb(20 33 61 / 8%);
}
.ticket::before {
  content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 8px;
  background: radial-gradient(circle at 6px 0, transparent 5px, #fff 5.5px) repeat-x; background-size: 12px 8px;
}
.ticket.new { box-shadow: inset 0 4px 0 var(--brand), 0 1px 1px rgb(20 33 61 / 6%), 0 12px 28px rgb(37 99 235 / 20%); padding-top: 18px; }
.ticket.done { opacity: .82; }
.ticket-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ticket-table { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; }
.ticket-age { flex: none; font-size: .88rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.ticket.late .ticket-age { color: var(--error-text); }
.ticket-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ticket-lines li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 8px; align-items: baseline; }
.ticket-lines .qty { font-weight: 800; font-size: 1.08rem; color: var(--brand-hover); font-variant-numeric: tabular-nums; }
.ticket-lines .item { display: flex; flex-direction: column; min-width: 0; }
.ticket-lines .item b { font-size: 1.05rem; font-weight: 700; }
.ticket-lines .item small { color: var(--muted); font-size: .88rem; }
.ticket-lines .item em { color: var(--warn-text); font-style: normal; font-weight: 600; font-size: .9rem; }
.ticket-note { padding: 8px 12px; border-radius: 8px; background: var(--warn-soft); color: var(--warn-text); font-weight: 700; }
.ticket-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 10px; border-top: 2px dashed var(--line); }
.ticket-total { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ticket-actions button { min-height: 48px; }
.ticket-actions .act-main { flex: 1 1 96px; font-size: 1.02rem; }
.ticket-actions button.ghost { padding: 9px 14px; }
.ticket-actions button.act-ready { background: var(--ok); border-color: var(--ok); }
.ticket-actions button.act-ready:hover { background: #166534; border-color: #166534; }
.ticket-done { flex: 1; display: inline-flex; align-items: center; font-weight: 800; color: var(--ok-text); }
.ticket-done::before { content: "✓"; margin-right: 6px; }
/* İşlem sürerken düğmeler pasif (çift tıklama), 2026-11-20 */
.board.busy .ticket-actions button, .board.busy .call button { opacity: .5; pointer-events: none; }

/* Boş durum (sipariş kapalı / premium değil) */
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 40px 20px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty-state p { max-width: 56ch; color: var(--muted); }
.empty-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--brand-soft); }
.empty-icon .ikon { width: 30px; height: 30px; color: var(--brand); }

/* ---------- Diller ---------- */
.lang-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2px 16px; }
.table-wrap { max-height: 60vh; overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.translations { width: 100%; border-collapse: collapse; }
.translations th { position: sticky; top: 0; z-index: 1; background: var(--surface-2); text-align: left; padding: 10px 8px; font-size: .9rem; border-bottom: 1px solid var(--line); }
.translations td { padding: 6px 8px; border-top: 1px solid #edf1f7; }
.translations td:first-child { font-weight: 600; min-width: 140px; }
.translations input { width: 100%; min-width: 140px; min-height: 40px; }

/* Dosya seçme düğmesi panelin düğmeleri gibi (logo / ürün görseli) */
input[type="file"] { max-width: 100%; color: var(--muted); font: inherit; padding: 7px; min-height: 0; border-style: dashed; }
input[type="file"]::file-selector-button { margin-right: 10px; padding: 8px 14px; min-height: 38px; border: 1px solid var(--brand-line); border-radius: 10px;
  background: var(--brand-soft); color: var(--brand-hover); font: inherit; font-weight: 700; cursor: pointer; }

/* ---------- Happy hour ---------- */
.day-picks { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .three { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.now-line { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rule-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.card details { border-top: 1px solid var(--line); padding-top: 10px; }
.card details[open] > summary { margin-bottom: 10px; }

/* ---------- Ziyaret istatistiği ---------- */
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: #e8eef6; }
.seg a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 9px; font-weight: 700; font-size: .92rem; color: var(--muted); text-decoration: none; }
.seg a:hover { color: var(--text); }
.seg a[aria-current="page"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgb(20 33 61 / 12%); }
.stats-total { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0; }
.stats-total dd { order: -1; }
.stats-total > div { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.stats-total > div:first-child { background: var(--brand-soft); border-color: var(--brand-line); }
.stats-total dd { margin: 0; }
.stats-total b { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; display: block; font-variant-numeric: tabular-nums; }
.stats-scroll { overflow-x: auto; }
.stats-table { width: 100%; border-collapse: collapse; }
.stats-table th, .stats-table td { text-align: left; padding: 10px 10px; border-top: 1px solid var(--line); white-space: nowrap; }
.stats-table thead th { border-top: 0; font-size: .85rem; color: var(--muted); }
.stats-table .n { text-align: right; font-variant-numeric: tabular-nums; }
.stats-table tr.today td { font-weight: 800; background: var(--brand-soft); }

/* ---------- Hesap ---------- */
.danger-zone { border-color: #f2c4c4; }
.danger-zone h2 { color: var(--error-text); }

/* ---------- Giriş yapılmamış sayfalar (giriş, kayıt, şifre, hesap açma): ortalı kart, tanıtım sitesiyle aynı hava (Hakan 2026-11-20) ---------- */
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1040px; margin: 0 auto; padding: 10px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
body.auth { background: linear-gradient(180deg, #eaf1ff 0%, var(--bg) 360px); }
body.auth .top { background: rgb(255 255 255 / 85%); }
body.auth .top-in { max-width: 1120px; padding: 12px 20px; }
body.auth .brand { font-size: 1.25rem; margin-right: auto; }
.top-link { min-height: 40px; padding: 7px 16px; }
body.auth .wrap { flex: 1; width: 100%; max-width: 1040px; padding: 32px 16px 40px; gap: 16px; }
.auth-card { max-width: 440px; margin: 0 auto; padding: 32px 30px 28px; border-radius: 16px; gap: 18px;
  box-shadow: 0 1px 2px rgb(15 23 42 / 4%), 0 12px 40px rgb(15 23 42 / 8%); }
.auth-card.auth-card-genis { max-width: 520px; }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-head .muted { font-size: .95rem; }
.auth-card form > button[type="submit"], button.wide { width: 100%; min-height: 48px; font-size: 1rem; margin-top: 4px; }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.label-row label { margin-bottom: 6px; }
.label-row a { text-decoration: none; }
.label-row a:hover { text-decoration: underline; }
.auth-alt { text-align: center; color: var(--muted); padding-top: 16px; border-top: 1px solid var(--line); }
.auth-alt a { font-weight: 600; }
.auth-rozet { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; font-weight: 600; color: var(--ok-text); }
.auth-rozet li::before { content: "✓"; margin-right: 6px; color: #16a34a; }
body.auth .foot { background: transparent; border-top: 0; }
body.auth .foot-in { flex-direction: column; justify-content: center; text-align: center; padding: 8px 16px 28px; gap: 16px; }
body.auth .foot-links { justify-content: center; }
@media (max-width: 480px) {
  body.auth .wrap { padding: 16px 12px 28px; }
  .auth-card { padding: 24px 18px 20px; border-radius: 14px; }
  .auth-card h1 { font-size: 1.4rem; }
  .auth-card .two { grid-template-columns: 1fr; }
}

/* ---------- Sipariş izleyicisi (yonet-nobet.js, 2026-11-20): her sayfada rozet, uyarı kartı, sipariş alımı durumu ---------- */
.nav-badge {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; margin-left: auto; border-radius: 999px;
  background: var(--error); color: #fff; font-size: .78rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px var(--surface);
}
.appbar-orders .nav-badge { margin-left: 0; }
.nav a[aria-current="page"] .nav-badge { box-shadow: 0 0 0 2px var(--brand-soft); }
.live.order-live.on i { animation: nabiz 2s ease-out infinite; }
.live.order-live.idle { color: var(--muted); }
.live.order-live.idle i { background: #94a3b8; }

.nobet { position: fixed; z-index: 25; left: 0; right: 0; top: var(--bar-h); padding: 8px max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left)); pointer-events: none; }
.nobet[hidden] { display: none; }
@media (min-width: 1024px) { .nobet { left: auto; top: 16px; right: 20px; width: 400px; padding: 0; } }
.nobet-card {
  pointer-events: auto; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 12px; padding: 14px 14px 14px 16px;
  border-radius: 14px; background: var(--surface); color: var(--text); border: 1px solid var(--brand-line); border-top: 4px solid var(--brand);
  box-shadow: var(--shadow-up); animation: nobet-gel .28s ease-out;
}
@keyframes nobet-gel { from { transform: translateY(-12px); opacity: 0; } to { transform: none; opacity: 1; } }
.nobet-ikon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.nobet-ikon svg { width: 22px; height: 22px; }
.nobet-text { font-size: 1rem; line-height: 1.35; overflow-wrap: anywhere; }
.nobet-text strong { font-weight: 800; }
.nobet-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.nobet-actions > * { flex: 1 1 120px; }
.nobet-problem { grid-column: 1 / -1; font-size: .88rem; font-weight: 600; color: var(--error-text); }
/* Garson çağrısı kırmızı, hesap isteği lacivert (panodaki bantlarla aynı) */
.nobet-call .nobet-card, .nobet-bill .nobet-card { background: var(--error); color: #fff; border-color: var(--error); box-shadow: 0 10px 30px rgb(185 28 28 / 35%); }
.nobet-bill .nobet-card { background: var(--navy); border-color: var(--navy); box-shadow: 0 10px 30px rgb(23 52 89 / 35%); }
.nobet-call .nobet-ikon, .nobet-bill .nobet-ikon { background: rgb(255 255 255 / 18%); color: #fff; }
.nobet-call .nobet-card .button, .nobet-bill .nobet-card .button,
.nobet-call .nobet-card button.ghost, .nobet-bill .nobet-card button.ghost { background: transparent; border-color: rgb(255 255 255 / 70%); color: #fff; }
.nobet-call .nobet-card .button:hover, .nobet-bill .nobet-card .button:hover,
.nobet-call .nobet-card button.ghost:hover, .nobet-bill .nobet-card button.ghost:hover { background: rgb(255 255 255 / 14%); color: #fff; }
button.nobet-ok { background: #fff; color: var(--error); border-color: #fff; }
.nobet-bill button.nobet-ok { color: var(--navy); }
button.nobet-ok:hover { background: #fde8e8; color: var(--error); border-color: #fde8e8; }
.nobet-bill button.nobet-ok:hover { background: var(--brand-soft); color: var(--navy); }
.nobet-call .nobet-problem, .nobet-bill .nobet-problem { color: #fff; }
.nobet-warn .nobet-card { border-color: #f1d3a6; border-top-color: var(--warn); }
.nobet-warn .nobet-ikon { background: var(--warn-soft); color: var(--warn-text); }
.button.danger-link { background: var(--error); border-color: var(--error); color: #fff; }
.button.danger-link:hover { background: #991b1b; border-color: #991b1b; }

/* Ses tarayıcıda kapalı kaldıysa: "ekrana bir kez dokunun" */
button.ses-etiket {
  position: fixed; z-index: 45; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); max-width: calc(100vw - 24px);
  gap: 10px; padding: 10px 18px 10px 14px; border-radius: 999px; background: var(--navy); border-color: var(--navy); color: #fff; font-size: .92rem;
  white-space: normal; text-align: left; box-shadow: var(--shadow-up);
}
button.ses-etiket:hover { background: #10284a; border-color: #10284a; }
button.ses-etiket:active { transform: translateX(-50%) translateY(1px); }
button.ses-etiket[hidden] { display: none; }
.ses-etiket-ikon { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 0 4px rgb(251 191 36 / 25%); }
@media (min-width: 1024px) { button.ses-etiket { left: calc(var(--side-w) + (100vw - var(--side-w)) / 2); } }

/* Sipariş ayarları → Bu cihaz */
.device-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.device-state { color: var(--muted); }
.device-state.ok { color: var(--ok-text); font-weight: 700; }
.device-state.bad { color: var(--error-text); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hadas-imza:hover .imza-nokta i { animation: none; }
  .foot a.hadas-imza:hover { transform: none; }
}
