/* GENERATED by `php artisan gv:css` from resources/css/*.css — do not edit this file. */

/* --- 01-base.css --- */
/* ==========================================================================
   01 · Base — design tokens, reset, typography
   ========================================================================== */
:root {
  --brand: #1e3a8a;
  --brand-2: #2563eb;
  --brand-soft: #e8eefc;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f6f8fb;
  --card: #ffffff;
  --ok: #047857;
  --ok-soft: #d1fae5;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --bad: #b91c1c;
  --bad-soft: #fee2e2;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .06);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-size: clamp(1.5rem, 4vw, 2rem); }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
small, .muted { color: var(--muted); }

/* --- 02-layout.css --- */
/* ==========================================================================
   02 · Layout — page container, top bar, footer, grid helpers, print
   ========================================================================== */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.container.dash-wrap { max-width: 1380px; }
.narrow { max-width: 640px; }
main { padding: 24px 0 64px; }

/* top bar */
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.nav a, .nav button.linklike { padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: .95rem; }
.nav a.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.nav a:hover { background: var(--bg); text-decoration: none; }

footer.site { border-top: 1px solid var(--line); padding: 20px 0; color: var(--muted); font-size: .875rem; background: #fff; }

/* grid & spacing helpers */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
.mt { margin-top: 16px; }
.mt-lg { margin-top: 28px; }
.mb { margin-bottom: 16px; }

@media (max-width: 640px) {
  main { padding-top: 16px; }
}
@media print {
  .topbar, footer.site, .no-print { display: none !important; }
  body { background: #fff; }
}

/* --- 03-components.css --- */
/* ==========================================================================
   03 · Components — reusable pieces used across the site
   cards, buttons, forms, alerts, badges, pills, chips, stats, tables,
   summaries, avatars, dialogs, toasts, switches, sortable lists, QR boxes
   ========================================================================== */

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card + .card { margin-top: 16px; }
.grid > .card + .card { margin-top: 0; }
.grid > .card { align-self: start; }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.sec-head h2 { margin: 0; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.page-head h1 { margin: 0; }
.page-head p { margin: 4px 0 0; color: var(--muted); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 10px; border: 1px solid transparent;
  background: var(--brand); color: #fff; font: inherit; font-weight: 600; cursor: pointer;
  min-height: 44px; text-decoration: none; line-height: 1.2;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ok { background: var(--ok); }
.btn-bad { background: #fff; color: var(--bad); border-color: #fecaca; }
.btn-sm { padding: 6px 10px; min-height: 34px; font-size: .875rem; border-radius: 8px; }
.btn-block { width: 100%; }
button.linklike { background: none; border: 0; font: inherit; cursor: pointer; color: var(--brand-2); }

/* forms */
label { display: block; font-weight: 600; font-size: .925rem; margin-bottom: 6px; }
.field { margin-bottom: 14px; }
.hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number],
input[type=url], input[type=time], input[type=date], input[type=search], select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 10px;
  font: inherit; background: #fff; color: var(--ink); min-height: 44px;
}
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand-2); outline-offset: 1px; border-color: transparent; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.error-text { color: var(--bad); font-size: .875rem; margin-top: 4px; }
.sr-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }

/* on/off switch */
.switch { position: relative; width: 44px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: #cbd5e1; border-radius: 999px; transition: .15s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--brand-2); outline-offset: 2px; }

/* alerts, badges, pills */
.alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; border: 1px solid; }
.alert-ok { background: var(--ok-soft); border-color: #a7f3d0; color: #065f46; }
.alert-bad { background: var(--bad-soft); border-color: #fecaca; color: #7f1d1d; }
.alert-warn { background: var(--warn-soft); border-color: #fde68a; color: #78350f; }
.alert-info { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand-2) 25%, #fff); color: var(--brand); }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--bg); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.badge-ok { background: var(--ok-soft); color: var(--ok); border-color: #a7f3d0; }
.badge-warn { background: var(--warn-soft); color: var(--warn); border-color: #fde68a; }
.badge-bad { background: var(--bad-soft); color: var(--bad); border-color: #fecaca; }
.badge-info { background: var(--brand-soft); color: var(--brand); border-color: color-mix(in srgb, var(--brand-2) 25%, #fff); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-bad { background: var(--bad-soft); color: var(--bad); }
.pill-warn { background: var(--warn-soft); color: var(--warn); }

/* chips (day pickers, filters) */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chip {
  flex: none; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  color: var(--ink); text-align: center; min-width: 64px; line-height: 1.2; cursor: pointer;
}
button.chip { font: inherit; cursor: pointer; }
.chip small { display: block; font-size: .75rem; }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip.active small { color: rgba(255, 255, 255, .82); }
.chip:hover { text-decoration: none; border-color: var(--brand-2); }

/* stats */
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.stat .num { font-size: 1.6rem; font-weight: 800; }
.stat .lbl { color: var(--muted); font-size: .85rem; }
.stat-link { display: block; color: inherit; text-decoration: none; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.stat-link:hover { text-decoration: none; border-color: var(--brand-2); box-shadow: 0 2px 8px color-mix(in srgb, var(--brand-2) 15%, transparent); }
.stat-link.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand) inset; }

/* tables & definition lists */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); font-weight: 600; }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; }
.info-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0; }
.info-list div { background: var(--bg); border-radius: 10px; padding: 10px 12px; }
.info-list dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; }
.info-list dd { margin: 2px 0 0; }
details.more > summary { list-style: none; cursor: pointer; }
details.more > summary::-webkit-details-marker { display: none; }

/* avatars */
.avatar { width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 88px; height: 88px; border-radius: 22px; font-size: 1.8rem; border: 4px solid #fff; box-shadow: var(--shadow); }
.avatar-wrap { position: relative; flex: none; }

/* map & QR */
.map-frame { width: 100%; height: 260px; border: 0; border-radius: 12px; background: #e2e8f0; display: block; }
.qr-box { background: #fff; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); display: inline-block; }
.qr-box svg { width: 240px; height: 240px; display: block; }

/* live indicator (pulsing dot) */
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* pop-up dialogs (public/js/dialogs.js) */
dialog.dlg { width: min(560px, 94vw); max-height: 90vh; overflow: auto; border: 0; border-radius: 16px; padding: 18px 20px; box-shadow: 0 24px 60px rgba(15,23,42,.35); color: var(--ink); }
dialog.dlg-wide { width: min(820px, 96vw); }
dialog.dlg::backdrop { background: rgba(15,23,42,.55); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.dlg-head h2 { margin: 0; }
.dlg-x { border: 0; background: var(--bg); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1rem; }

/* toasts: flash messages after a background (data-ajax) save, core.js */
.toast-stack { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: grid; gap: 8px; max-width: min(360px, calc(100vw - 32px)); }
.toast { background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); font-size: .9rem; }
.toast .alert { all: unset; }
.toast a { color: #bfdbfe; }
.toast-bad { background: #991b1b; }

/* drag-to-reorder lists (public/js/sortable.js) */
.sortable { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sortable li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; cursor: grab; user-select: none; touch-action: none; }
.sortable li.dragging { opacity: .6; border-style: dashed; border-color: var(--brand-2); box-shadow: var(--shadow); }
.sortable .grip { font-size: 1.2rem; color: #94a3b8; line-height: 1; }
.sortable .label { flex: 1; font-weight: 600; }
.sortable .label small { display: block; font-weight: 400; }

@media (max-width: 640px) {
  .card { padding: 16px; }
  th.hide-sm, td.hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) { .live::before { animation: none; } }

/* --- 05-themes.css --- */
/* ==========================================================================
   05 · Colour themes for the owner's account: the dashboard (layouts/dashboard) and the customer pages
   (book/show, form, order, confirmation, public). <body class="theme-{key}">, key = Business::theme()
   (owner picks it in Dashboard → Colours; Business::THEMES). Colour everything with these tokens, never fixed blues.
   Each theme only re-sets the design tokens from 01-base, plus a few page tokens:
   --head-bg/--head-ink (header), --tab-bg (Reserve | Pickup switch), --slot-line (free time border), --logo-bg.
   ========================================================================== */
.theme-navy { --head-bg: #fff; --head-ink: var(--ink); --tab-bg: #e3e8f0; --slot-line: #86efac; --logo-bg: var(--brand); }

.theme-terracotta {
  --brand: #c2410c; --brand-2: #ea580c; --brand-soft: #ffedd5;
  --ink: #1c1917; --muted: #78716c; --line: #f1e4d6; --bg: #fff8f1;
  --head-bg: #fff; --head-ink: var(--ink); --tab-bg: #f6e7d8; --slot-line: #fdba74; --logo-bg: #9a3412;
}
.theme-saffron {
  --brand: #1f2937; --brand-2: #d97706; --brand-soft: #fef3c7;
  --ink: #111827; --muted: #6b7280; --line: #e7e1d6; --bg: #faf7f2;
  --head-bg: #1f2937; --head-ink: #fff; --tab-bg: #ede6da; --slot-line: #fcd34d; --logo-bg: #d97706;
}
.theme-olive {
  --brand: #4d5b23; --brand-2: #65a30d; --brand-soft: #ecf3d8;
  --ink: #1f2416; --muted: #6b705c; --line: #e6e2d3; --bg: #faf8f1;
  --head-bg: #fff; --head-ink: var(--ink); --tab-bg: #ebe7d8; --slot-line: #a3c46b; --logo-bg: #4d5b23;
}
.theme-wine {
  --brand: #7f1d1d; --brand-2: #b45309; --brand-soft: #fbefe4;
  --ink: #1c1414; --muted: #7a6a66; --line: #ebddd5; --bg: #fbf7f4;
  --head-bg: #fff; --head-ink: var(--ink); --tab-bg: #f0e4dc; --slot-line: #d6a35c; --logo-bg: #7f1d1d;
}
.theme-teal {
  --brand: #0f766e; --brand-2: #f97360; --brand-soft: #ccfbf1;
  --ink: #0f1f1d; --muted: #5f7470; --line: #d8e9e6; --bg: #f4faf9;
  --head-bg: #fff; --head-ink: var(--ink); --tab-bg: #ddefec; --slot-line: #5eead4; --logo-bg: #0f766e;
}
/* the top bar's ✓ mark follows the theme accent */
body[class^="theme-"] .logo-mark { background: var(--brand-2); }

/* --- 10-business-page.css --- */
/* ==========================================================================
   10 · Business page (/{country}/{slug}) — book/show.blade.php
   header & identity (+ QR), one centred column, owner tools, Reserve / Pickup switch, services, days, live slots
   ========================================================================== */

/* header: logo, name, open status, area, quick actions, and the Scan-to-book QR on wide screens (colours from 05-themes) */
.container.biz-wrap { max-width: 820px; }
.biz-header { background: var(--head-bg, #fff); color: var(--head-ink, var(--ink)); border-bottom: 1px solid var(--line); }
.biz-id { display: flex; gap: 16px; align-items: center; padding: 18px 0; }
.biz-id .avatar-wrap { position: relative; flex: none; }
.biz-logo { width: 76px; height: 76px; border-radius: 18px; font-size: 1.5rem; background: var(--logo-bg, var(--brand)); }
.biz-logo img { border-radius: 18px; }
.biz-title { min-width: 0; flex: 1; }
.biz-title h1 { margin: 0; font-size: clamp(1.35rem, 4vw, 1.9rem); line-height: 1.15; color: inherit; }
.biz-sub { opacity: .75; font-size: .92rem; margin-top: 2px; }
.biz-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: .9rem; align-items: center; }
.biz-meta a { color: inherit; }
.open-state { font-weight: 700; }
.open-state::before { content: "●"; margin-right: 5px; }
.open-state.ok { color: var(--ok); }
.open-state.warn { color: var(--warn); }
.open-state.bad { opacity: .75; }
.theme-saffron .open-state.ok { color: #86efac; } /* on the dark header */
.biz-actions { display: flex; gap: 6px; margin-top: 8px; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font-size: .95rem; text-decoration: none !important; }
.icon-btn:hover { border-color: var(--brand-2); background: var(--brand-soft); }
.head-qr { flex: none; display: flex; gap: 10px; align-items: center; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px 8px 8px; }
.head-qr svg { width: 76px; height: 76px; display: block; flex: none; }
.head-qr strong { display: block; }
.head-qr small { color: var(--muted); font-size: .8rem; }

/* page: one centred column, sections in the owner's order */
.biz-page { padding-top: 6px; }
.biz-page > * { margin-bottom: 16px; }
.biz-page .map-frame { height: 220px; }

/* photo buttons and their options lists (shared/photo-menu, public/js/photo-menu.js) */
.photo-btn { border: 0; border-radius: 10px; padding: 8px 12px; background: rgba(255,255,255,.92); color: var(--ink); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; box-shadow: 0 2px 8px rgba(15,23,42,.2); }
.photo-btn:hover { background: #fff; }
.photo-btn.round { width: 36px; height: 36px; border-radius: 50%; padding: 0; display: grid; place-items: center; }
.pmenu { position: relative; }
.pmenu-logo { position: absolute; right: -4px; bottom: -4px; }
.pmenu-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 230px; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 14px 40px rgba(15,23,42,.3); display: flex; flex-direction: column; color: var(--ink); }
.pmenu-logo .pmenu-list { right: auto; left: -60px; }
.pmenu-list form { margin: 0; }
.pmenu-list button, .pmenu-list a { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 9px 12px; border-radius: 8px; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink) !important; text-decoration: none !important; cursor: pointer; }
.pmenu-list button:hover, .pmenu-list a:hover { background: var(--bg); }
.pmenu-list .danger { color: #b91c1c !important; }
.pmenu-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 6px 12px 4px; }

/* owner-only: dark bar, yellow edit buttons, hidden-section notes (book/_edit, book/_owner-tools) */
.owner-bar { background: var(--ink); color: #fff; }
.owner-bar .container { display: flex; gap: 8px 14px; align-items: center; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; font-size: .9rem; }
.owner-bar a, .owner-bar button { color: #fff; background: rgba(255,255,255,.12); padding: 5px 10px; border-radius: 8px; border: 0; font: inherit; font-size: .9rem; cursor: pointer; }
.owner-bar a:hover, .owner-bar button:hover { background: rgba(255,255,255,.22); text-decoration: none; }
.edit-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.edit-btn { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 700; padding: 5px 10px; border-radius: 8px; background: var(--warn-soft); color: #92400e; border: 1px solid #fde68a; }
button.edit-btn { cursor: pointer; font-family: inherit; }
.edit-btn:hover { text-decoration: none; filter: brightness(.97); }
.hidden-note { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; border: 1px dashed #cbd5e1; border-radius: 12px; padding: 10px 14px; margin: 16px 0; color: var(--muted); font-size: .88rem; background: #fff; }
.hidden-note a { font-weight: 700; }
/* pop-up editors */
.svc-row { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.svc-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 8px; }
.svc-grid label, .hrow label { font-size: .8rem; }
.hrow { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hsess { display: flex; align-items: center; gap: 4px; }
.hsess input { width: 130px; min-height: 38px; padding: 6px 8px; }

/* Reserve / Order for pickup: a centred two-way switch (public/js/booking-tabs.js) */
.book-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px; max-width: 560px; margin: 0 auto 14px; background: var(--tab-bg, #e3e8f0); border-radius: 16px; scroll-margin-top: 70px; }
.book-tabs a { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 11px 8px; border-radius: 12px; color: var(--muted); text-decoration: none !important; text-align: left; }
.book-tabs a .ti { font-size: 1.4rem; line-height: 1; }
.book-tabs a strong { display: block; font-size: 1rem; color: var(--ink); }
.book-tabs a small { display: block; font-size: .75rem; color: var(--muted); }
.book-tabs a.on { background: var(--brand); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.book-tabs a.on strong, .book-tabs a.on small { color: #fff; }

/* booking & pickup steps (layout C): each step is a small box with a light, theme-tinted heading strip */
.book-tabs a strong { font-weight: 800; color: var(--ink); }
.book-tabs a.on strong { color: #fff; }
.book-title { margin: 0; font-size: 1.4rem; font-weight: 800; color: var(--ink); }
.step-blk { margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.step-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0; padding: 9px 14px;
  background: var(--brand-soft); color: var(--brand); font-size: 1rem; font-weight: 800; line-height: 1.5; }
.step-head h3 { margin: 0; font: inherit; color: inherit; }
.step-head .live { color: var(--brand); font-weight: 600; }
.step-body { padding: 12px 14px; }
.step-body > :last-child, .step-body .period:last-child { margin-bottom: 0; }

/* services */
.svc-line { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 10px 12px; background: var(--bg); border-radius: 10px; }
.svc-line small { color: var(--muted); }
/* days: one-line chips that scroll sideways when there are many */
.day-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.day-chips a { flex: none; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .88rem; white-space: nowrap; text-decoration: none !important; }
.day-chips a b { font-weight: 800; }
.day-chips a.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.tz-note { font-size: .8rem; margin: 0 0 6px; }
.service-list { display: grid; gap: 10px; }
.service-opt { display: flex; justify-content: space-between; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; }
.service-opt.active { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.service-opt:hover { text-decoration: none; border-color: var(--brand-2); }
.party-stepper { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: #fff; }
.party-stepper .step-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-2); color: #fff; font-size: 1.2rem; font-weight: 700; line-height: 1; text-decoration: none; }
.party-stepper .step-btn.off { background: var(--bg); color: #b6bcc8; pointer-events: none; }
.party-stepper .party-n { min-width: 104px; text-align: center; font-weight: 700; font-size: 1.05rem; }
.party-note { font-size: .82rem; margin-top: -8px; }

/* time slots (book/_slots, kept live by public/js/live-slots.js) */
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .78rem; color: var(--muted); margin: 0 0 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; border: 1px solid var(--line); }
.legend .l-free { background: #fff; border-color: var(--slot-line, #86efac); }
.legend .l-few { background: var(--warn-soft); border-color: #fde68a; }
.legend .l-booked { background: #e2e8f0; }
.legend .l-closed { background: repeating-linear-gradient(45deg, #f1f5f9, #f1f5f9 3px, #e2e8f0 3px, #e2e8f0 6px); }
.period { margin-bottom: 14px; }
.period-head { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 6px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.period-head small { color: var(--ok); font-size: .78rem; text-transform: none; letter-spacing: 0; }
.period:first-child .period-head { margin-top: 2px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.period .slots { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.period .slot { padding: 8px 4px; border-radius: 10px; }
.period .slot strong { font-size: .98rem; }
.period .slot small { font-size: .68rem; }
.slot { display: block; padding: 10px 8px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-align: center; color: var(--ink); line-height: 1.25; }
.slot strong { display: block; font-size: 1.05rem; white-space: nowrap; } /* "12:30 PM" stays on one line */
.slot small { font-size: .75rem; display: block; }
.slot.open { border-color: var(--slot-line, #86efac); }
.slot.open:hover { border-color: var(--brand); background: var(--brand-soft); text-decoration: none; }
.slot.few small { color: var(--warn); font-weight: 600; }
.slot.open.few { border-color: #fde68a; background: #fffbeb; }
.slot.booked { background: #e2e8f0; color: #64748b; cursor: not-allowed; border-color: #e2e8f0; }
.slot.booked small { color: #64748b; font-weight: 600; }
.slot.closed { background: repeating-linear-gradient(45deg, #f8fafc, #f8fafc 4px, #eef2f7 4px, #eef2f7 8px); color: #94a3b8; cursor: not-allowed; }
.meter { height: 4px; background: #e2e8f0; border-radius: 4px; margin-top: 6px; overflow: hidden; }
.meter > i { display: block; height: 100%; background: var(--brand-2); }

/* opening hours table */
.hours-today { background: var(--brand-soft); border-radius: 6px; }

@media (max-width: 640px) {
  .book-col > .card { padding: 14px 12px; } /* the step boxes already frame the content */
  .step-head { padding: 8px 12px; }
  .step-body { padding: 10px; }
  .biz-id { gap: 12px; padding: 14px 0; align-items: flex-start; }
  .biz-logo, .biz-logo img { width: 60px; height: 60px; border-radius: 14px; }
  .head-qr { display: none; } /* already on the phone */
  .period .slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .period .slot { padding: 8px 2px; }
  .period .slot strong { font-size: .86rem; }
  .book-tabs a { gap: 6px; padding: 10px 4px; justify-content: flex-start; }
  .book-tabs a small { display: none; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid > :first-child { grid-column: 1 / -1; }
  .hsess input { width: 112px; }
}
@media (max-width: 420px) {
  .book-tabs a { justify-content: center; }
  .book-tabs a .ti { display: none; } /* keep both labels on one line */
}

/* "Where would you like to sit?" optional floor & table choice, folded (book/_seating, public/js/seating.js) */
.seat-pref { margin-top: 12px; }
.seat-pref > summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); }
.seat-pref > summary::-webkit-details-marker { display: none; }
.seat-pref > summary::after { content: " ▾"; color: var(--muted); }
.seat-pref[open] > summary::after { content: " ▴"; }
.seat-pref[open] > summary { margin-bottom: 8px; }
.seating-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.seating-field { display: grid; gap: 4px; font-weight: 600; font-size: .85rem; }
.seating-field span { color: var(--muted); }

/* hospital booking page: find a doctor (book/_hospital-picker) */
.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 12px; }
.dept-tile { display: grid; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; text-align: center; }
.dept-tile:hover { text-decoration: none; border-color: var(--brand-2); }
.dept-tile.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.dept-tile small { color: var(--muted); }
.dept-ico { font-size: 1.6rem; }
.doc-list-head { margin: 16px 0 8px; display: flex; gap: 10px; align-items: baseline; }
.doc-list { display: grid; gap: 8px; }
.doc-pick { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; }
a.doc-pick:hover { text-decoration: none; border-color: var(--brand-2); }
.doc-pick.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.doc-ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.doc-info { display: grid; gap: 1px; min-width: 0; }
.doc-info small { color: var(--muted); }
.doc-info .doc-next { color: var(--ok); font-weight: 600; }
.doc-fee { font-weight: 700; white-space: nowrap; }
.doc-change { display: inline-block; margin-top: 8px; font-weight: 600; }
@media (max-width: 480px) { .doc-pick { grid-template-columns: 44px minmax(0, 1fr); } .doc-fee { grid-column: 2; } }

/* --- 11-booking.css --- */
/* ==========================================================================
   11 · Booking form & booking / order page
   book/form.blade.php (payment options), book/confirmation.blade.php (temporary ID, countdowns)
   ========================================================================== */

/* payment options on the booking form */
.pay-options { display: grid; gap: 10px; }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 500; }
.pay-opt input { margin-top: 3px; width: 20px; height: 20px; flex: none; }
.pay-opt:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }

/* temporary ID card with QR and the download button */
.tid { text-align: center; padding: 22px 16px; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.tid small { color: rgba(255, 255, 255, .82); }
.tid .ref { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: clamp(1.6rem, 7vw, 2.3rem); font-weight: 800; letter-spacing: .06em; }
.tid .qr-mini { background: #fff; border-radius: 12px; display: inline-block; padding: 6px; margin-top: 10px; }
.tid .qr-mini svg { width: 120px; height: 120px; display: block; }
.btn.btn-tid { background: #fff; color: var(--brand) !important; border: 0; font-weight: 700; }
.btn.btn-tid:hover { background: #eef2ff; }

/* countdowns (public/js/booking-ticket.js) */
.countdown { display: flex; justify-content: center; gap: 8px; margin: 10px 0 4px; }
.countdown div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; min-width: 64px; padding: 8px 6px; text-align: center; }
.countdown b { display: block; font-size: 1.7rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.deadline { border-radius: var(--radius); padding: 14px 16px; border: 1px solid #fecaca; background: var(--bad-soft); color: #7f1d1d; }
.deadline.ok { border-color: #a7f3d0; background: var(--ok-soft); color: #065f46; }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.timeline div { background: var(--bg); border-radius: 12px; padding: 12px; }
.timeline small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.timeline b { font-size: 1.15rem; }

/* "coming soon" app banner */
.app-banner { display: flex; gap: 14px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 16px; }
.app-banner .muted { color: #cbd5e1; }

/* --- 12-pickup.css --- */
/* ==========================================================================
   12 · Menu & pickup ordering (customer side)
   book/_menu.blade.php (menu, cart bar, pickup time), book/order.blade.php (checkout),
   pickup progress on book/confirmation.blade.php
   ========================================================================== */

/* menu */
/* categories wrap (no sideways scrolling); the dishes scroll up/down inside .menu-scroll (public/js/menu-tabs.js) */
.menu-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.menu-tabs a { padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.menu-tabs a.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.menu-scroll { position: relative; max-height: min(560px, 62vh); overflow-y: auto; overscroll-behavior: contain; padding: 0 6px 4px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scrollbar-gutter: stable; }
.menu-scroll:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.menu-cat { margin: 14px 0 6px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.menu-scroll > .menu-cat:first-child { margin-top: 10px; }
.menu-list { display: grid; gap: 10px; }
.dish { display: flex; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.dish.in-cart { border-color: var(--brand-2); box-shadow: 0 0 0 2px var(--brand-soft); }
.dish.soldout { opacity: .55; }
.dish-img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; }
.dish-main { min-width: 0; flex: 1; }
.dish-desc { color: var(--muted); font-size: .86rem; margin-top: 2px; }
.dish-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; }
.dish-price { font-weight: 700; white-space: nowrap; }
.me-tag { display: inline-block; font-size: .72rem; font-weight: 700; background: #fff7ed; color: #9a3412; border-radius: 999px; padding: 1px 7px; margin-left: 4px; }

/* quantity stepper and the sticky cart bar (public/js/menu-cart.js) */
.qty { display: inline-flex; align-items: center; gap: 6px; }
.qty button { border: 0; background: var(--brand); color: #fff; font: inherit; font-weight: 700; border-radius: 999px; min-width: 34px; height: 34px; padding: 0 12px; cursor: pointer; }
.qty .q-minus { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.qty .q-n { min-width: 18px; text-align: center; }
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--ink); color: #fff; padding: 10px 0; box-shadow: 0 -6px 20px rgba(15,23,42,.25); }
.cart-bar .btn { background: #fff; color: var(--brand); }
body.has-cart { padding-bottom: 70px; }

/* pickup day & time — buttons in the tab, radio labels on the checkout fallback */
.step-h { scroll-margin-top: 80px; }
.step-h.flash { animation: flashbg 1.2s; border-radius: 8px; }
@keyframes flashbg { 0%, 60% { background: #fef3c7; } 100% { background: transparent; } }
.pick-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-bottom: 8px; }
.pick-time-btn { border: 1px solid var(--line); border-radius: 10px; padding: 8px 4px; font: inherit; font-weight: 700; background: #fff; color: var(--ink); cursor: pointer; text-align: center; }
.pick-time-btn small { display: block; font-weight: 400; font-size: .72rem; color: var(--muted); }
.pick-time-btn.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pick-time-btn.on small { color: rgba(255, 255, 255, .82); }
.pick-time-btn.off { opacity: .45; cursor: not-allowed; background: var(--bg); }
.pick-time input { position: absolute; opacity: 0; pointer-events: none; }
.pick-time span { display: block; text-align: center; border: 1px solid var(--line); border-radius: 10px; padding: 8px 4px; font-weight: 700; cursor: pointer; background: #fff; }
.pick-time small { display: block; font-weight: 400; font-size: .72rem; color: var(--muted); }
.pick-time input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pick-time input:checked + span small { color: rgba(255, 255, 255, .82); }
.pick-time input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand-2) 45%, #fff); }
.pick-time.off span { opacity: .45; cursor: not-allowed; background: var(--bg); }

/* checkout summary */
.order-lines { width: 100%; border-collapse: collapse; }
.order-lines td { padding: 6px 4px; border-bottom: 1px solid var(--line); }
.order-lines .q { width: 40px; font-weight: 700; }
.order-lines .p { text-align: right; white-space: nowrap; }
.order-lines .tot td { font-weight: 700; border-bottom: 0; font-size: 1.05rem; }
.pickup-when-box { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand-2) 25%, #fff); border-radius: 12px; padding: 10px 14px; }
.pickup-when-box a { font-weight: 700; white-space: nowrap; }

/* order progress: Received → Preparing → Ready → Picked up */
.order-steps { display: flex; list-style: none; padding: 0; margin: 0; gap: 4px; counter-reset: s; }
.order-steps li { flex: 1; text-align: center; font-size: .78rem; font-weight: 700; color: var(--muted); padding-top: 26px; position: relative; }
.order-steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--line); color: var(--muted); display: grid; place-items: center; font-size: .72rem; }
.order-steps li.on { color: var(--ok); }
.order-steps li.on::before { background: var(--ok); color: #fff; content: "✓"; }
.order-steps li.cur { color: var(--brand); }
.order-steps li.cur::before { background: var(--brand); content: counter(s); }

@media (max-width: 640px) {
  .dish-img { width: 64px; height: 52px; }
  .dish { gap: 10px; padding: 8px; }
  .qty button { white-space: nowrap; }
}
@media print { .menu-scroll { max-height: none; overflow: visible; border: 0; } }

/* --- 20-dashboard.css --- */
/* ==========================================================================
   20 · Owner dashboard (/dashboard) — layouts/dashboard.blade.php and its pages
   sidebar, bookings list & 14-day strip, weekly schedule, QR page, profile photos,
   menu editor, kitchen (pickup orders) board
   ========================================================================== */

/* shell & sidebar (App\View\Composers\DashboardNavComposer) */
.dash { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.side { position: sticky; top: 76px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.side-biz { display: flex; gap: 10px; align-items: center; padding: 4px 4px 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.side-biz strong { display: block; line-height: 1.2; }
.side-biz a { font-size: .8rem; }
.side-group { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin: 12px 8px 4px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink); font-size: .94rem; }
.side-nav a:hover { background: var(--bg); text-decoration: none; }
.side-nav a.active { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.side-nav .ico { width: 20px; text-align: center; flex: none; }
.side-nav .count { margin-left: auto; background: var(--warn-soft); color: var(--warn); border-radius: 999px; font-size: .72rem; font-weight: 700; padding: 1px 7px; }
.side-qr { display: flex; gap: 10px; align-items: center; padding: 8px; margin: 0 0 8px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.side-qr:hover { text-decoration: none; filter: brightness(.98); }
.side-qr-img { width: 64px; height: 64px; background: #fff; border-radius: 8px; padding: 3px; flex: none; }
.side-qr-img svg { width: 100%; height: 100%; display: block; }
.side-qr strong { display: block; font-size: .92rem; }
.side-qr small { color: var(--brand-2); font-size: .75rem; }

/* bookings: next-14-days strip and the list (dashboard/index.blade.php) */
.week-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.wday { flex: 0 0 auto; min-width: 74px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 6px; color: var(--ink); text-decoration: none !important; }
.wday small { display: block; color: var(--muted); font-size: .75rem; }
.wday strong { display: block; font-size: 1.15rem; }
.wday span { display: block; font-size: .72rem; color: var(--muted); }
.wday.has { border-color: color-mix(in srgb, var(--brand-2) 45%, #fff); background: var(--brand-soft); }
.wday.has span { color: var(--brand-2); font-weight: 700; }
.wday.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.wday.on small, .wday.on span { color: rgba(255, 255, 255, .82); }
.day-sep { font-size: .95rem; margin: 16px 0 6px; padding-bottom: 6px; border-bottom: 2px solid var(--line); color: var(--brand); }
.day-sep:first-of-type { margin-top: 0; }
.bk { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.bk:last-child { border-bottom: 0; }
.bk .time { font-weight: 800; font-size: 1.1rem; }
.bk .time small { display: block; font-weight: 400; font-size: .75rem; color: var(--muted); }
.bk .arrival { display: inline-block; margin-bottom: 4px; padding: 1px 8px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; }
.bk .booked-at { display: block; font-size: .8rem; color: var(--muted); }
.bk .who strong { font-size: 1.02rem; }
.bk .tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.bk .acts { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; max-width: 360px; }

/* weekly schedule editor (public/js/schedule-editor.js) */
.week { display: grid; gap: 10px; }
.day-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.day-row.closed { background: #f8fafc; }
.day-row .day-name { display: flex; align-items: center; gap: 10px; font-weight: 700; min-height: 44px; }
.ranges { display: grid; gap: 8px; }
.range { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.range input[type=time] { width: 150px; }
.closed-label { color: var(--muted); min-height: 44px; display: flex; align-items: center; }
.bar { position: relative; height: 10px; background: #eef2f7; border-radius: 6px; margin-top: 8px; overflow: hidden; }
.bar i { position: absolute; top: 0; bottom: 0; background: var(--brand-2); border-radius: 6px; }
.bar-scale { display: flex; justify-content: space-between; font-size: .68rem; color: #94a3b8; margin-top: 2px; }
.presets { display: flex; gap: 6px; flex-wrap: wrap; }

/* QR page */
.qr-hero { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; }
.qr-hero .qr-box svg { width: 180px; height: 180px; }

/* business profile: logo preview with the same 📷 menu as the public page */
.photo-preview { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }

/* menu editor (shared/menu-editor, public/js/menu-editor.js) */
.me-cat { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.me-cat-head { display: flex; gap: 6px; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.me-cat-head form { margin: 0; }
.me-cat-name { font-weight: 700; max-width: 260px; min-height: 36px; padding: 6px 10px; }
.me-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.me-item.soldout .me-main { opacity: .55; }
.me-thumb { width: 64px; height: 48px; border-radius: 8px; border: 1px dashed #cbd5e1; background: var(--bg) center / cover no-repeat; cursor: pointer; font-size: 1.1rem; }
.me-actions { display: flex; gap: 6px; }
.me-actions form { margin: 0; }
.me-edit { grid-column: 1 / -1; background: var(--bg); border-radius: 10px; padding: 10px 12px; }
.me-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 10px; }
.me-add-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.me-add { background: var(--bg); border-radius: 12px; padding: 12px 14px; }

/* Pickup Queue list (dashboard/orders; today refreshes via public/js/orders-refresh.js). The timeline is in 22-timeline. */
.order-acts { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; align-items: flex-start; max-width: 360px; }
.order-acts details.more { position: relative; }
.more-menu { position: absolute; right: 0; z-index: 5; padding: 8px; min-width: 190px; display: grid; gap: 4px; }
.more-menu form, .more-menu form .btn { width: 100%; }
.pickup-at { margin: 4px 0 2px; padding: 4px 10px; display: block; width: fit-content; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-size: .92rem; }
.pickup-at span { color: var(--muted); white-space: nowrap; }
.pickup-at.late { background: #fef2f2; color: var(--bad); }
.pickup-at.late span { color: var(--bad); font-weight: 700; }
/* confirmation call (App\Services\ConfirmCall): "call now" list on both queues */
.calls-due { background: #fff7ed; border: 1px solid #fdba74; border-left: 5px solid #ea580c; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.calls-due ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.calls-due li { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; background: #fff; border-radius: 8px; padding: 6px 10px; }
.call-badge { font-weight: 700; }
.order-items { margin: 6px 0 4px; padding-left: 0; list-style: none; font-size: .92rem; }
.order-items li { padding: 1px 0; }
.badge.stage-new { background: #fef3c7; color: #92400e; }
.badge.stage-preparing { background: var(--brand-soft); color: var(--brand); }
.badge.stage-ready { background: #dcfce7; color: #166534; }
.badge.stage-done { background: #f1f5f9; color: #334155; }
.badge.stage-cancelled { background: #fee2e2; color: #991b1b; }
.order-note { font-size: .82rem; background: #fef9c3; border-radius: 6px; padding: 4px 6px; margin-top: 6px; }

@media (max-width: 900px) {
  .dash { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .side { position: static; padding: 8px; min-width: 0; }
  .side-biz { border: 0; margin: 0; padding-bottom: 6px; }
  .side-group { display: none; }
  .side-nav { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: thin; }
  .side-nav a { white-space: nowrap; flex: none; padding: 8px 10px; }
  .side-qr { display: none; }
}
@media (max-width: 760px) {
  .bk { grid-template-columns: 60px minmax(0, 1fr); }
  .bk .acts, .bk .order-acts { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }
  .me-add-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .day-row { grid-template-columns: 1fr; }
  .range input[type=time] { width: 140px; }
  .range .muted { display: none; }
  .qr-hero { grid-template-columns: 1fr; text-align: center; }
  .qr-hero .row { justify-content: center; }
  .photo-preview { grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
  .photo-preview .avatar-lg { width: 72px; height: 72px; font-size: 1.5rem; }
  .me-fields { grid-template-columns: 1fr; }
  .me-item { grid-template-columns: 56px minmax(0, 1fr); }
  .me-actions { grid-column: 1 / -1; }
}

/* bookings: Timeline | List tabs (dashboard/_bookings-tabs) and the list search */
.view-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.view-tabs a { padding: 8px 16px; border-radius: 9px; font-weight: 600; color: var(--ink); text-decoration: none; }
.view-tabs a.on { background: var(--brand); color: #fff; }
.search-bar { display: flex; gap: 8px; }
.search-bar input { flex: 1; min-width: 0; }

/* colour theme picker (shared/theme-picker: Dashboard → Colours and the 🎨 dialog on the public page) */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.theme-opt input { position: absolute; opacity: 0; }
.theme-card { display: block; height: 100%; padding: 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.theme-card strong { display: block; margin-top: 8px; }
.theme-card small { color: var(--muted); font-size: .8rem; }
.theme-sw { display: flex; gap: 4px; }
.theme-sw i { width: 26px; height: 26px; border-radius: 8px; border: 1px solid rgba(0, 0, 0, .08); }
.theme-opt input:checked + .theme-card { border-color: var(--brand-2); box-shadow: 0 0 0 3px var(--brand-soft); }
.theme-opt input:focus-visible + .theme-card { outline: 2px solid var(--brand-2); outline-offset: 2px; }

/* Booking rules: confirmation-call time chips (call-presets.js) */
.call-presets { flex-wrap: wrap; margin-bottom: 12px; }
.call-presets .chip { cursor: pointer; }
.call-presets input { position: absolute; opacity: 0; pointer-events: none; }

/* ✓ Confirmed after the call (dashboard/_confirm-call): kept apart from 📞 Call */
.call-ok { margin-left: 12px; }

/* hospital: "Doctors today" board (dashboard/doctors) and Departments (dashboard/departments) */
.doc-board { padding: 0; }
.doc-board th:first-child, .doc-board td:first-child { padding-left: 16px; }
.doc-board td { vertical-align: middle; }
.doc-board tbody tr:last-child td { border-bottom: 0; }
.inline-act { display: inline-block; margin-left: 6px; }
.dept-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto auto; gap: 8px; align-items: end; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dept-row:last-child { border-bottom: 0; }
@media (max-width: 640px) { .dept-row { grid-template-columns: 80px minmax(0, 1fr); } }

/* --- 21-floor-plan.css --- */
/* ==========================================================================
   21 · Restaurant floor plan — seating (dashboard/tables) and editor (dashboard/tables/plan)
   ========================================================================== */

/* the floor and its shapes */
.floor { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; border: 1px solid var(--line);
  background-color: #fbfaf7; background-image: linear-gradient(#efece4 1px, transparent 1px), linear-gradient(90deg, #efece4 1px, transparent 1px);
  background-size: 5% 8%; overflow: hidden; touch-action: none; user-select: none; }
.floor.shape-rect { aspect-ratio: 16 / 9; }
.floor.shape-square { aspect-ratio: 1 / 1; max-width: 820px; margin: 0 auto; }
.floor.shape-oval { aspect-ratio: 1 / .62; border-radius: 50%; }
.floor.shape-lshape { aspect-ratio: 1 / .7; clip-path: polygon(0 0, 55% 0, 55% 45%, 100% 45%, 100% 100%, 0 100%); }
.floor-tag { position: absolute; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #a8a29e; }
.floor.shape-lshape .floor-tag { left: 27% !important; }
.floor.shape-oval .floor-tag { top: 4% !important; }
.floor-tabs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.floor-tabs button, .floor-tabs a { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: .9rem; cursor: pointer; color: var(--ink); }
.floor-tabs .on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.floor-tabs small { opacity: .75; }
.floor-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .78rem; color: var(--muted); margin: 8px 0 0; }
.floor-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; border: 2px solid; margin-right: 5px; vertical-align: -2px; }

/* tables and their states */
.tbl { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; align-content: center; text-align: center;
  background: #fff; border: 2px solid #94a3b8; color: var(--ink); line-height: 1.05; cursor: pointer; padding: 2px; min-width: 34px;
  box-shadow: 0 0 0 4px rgba(148,163,184,.18); transition: box-shadow .15s, background .15s; }
.tbl.round { border-radius: 50%; aspect-ratio: 1; }
.tbl.square { border-radius: 10px; aspect-ratio: 1; }
.tbl.rect { border-radius: 10px; aspect-ratio: 1.9; }
.tbl.booth { border-radius: 6px 6px 14px 14px; aspect-ratio: 1.5; border-top-width: 7px; }
.tbl b { font-size: clamp(.72rem, 1.6vw, 1.05rem); }
.tbl small { font-size: clamp(.55rem, 1vw, .7rem); color: var(--muted); display: block; }
.tbl .tnote { color: var(--brand-2); font-weight: 700; }
.tbl.sel { border-color: var(--brand-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-2) 35%, transparent); }
.tbl.dragging { opacity: .8; z-index: 5; cursor: grabbing; }

/* seating: floors and table sizes (public/js/seating-editor.js) */
.floor-rows { display: grid; gap: 8px; }
.floor-row { display: grid; gap: 8px; background: var(--bg); border-radius: 12px; padding: 10px; }
.table-groups { display: grid; gap: 8px; }
.table-group { display: grid; grid-template-columns: 1fr 1fr 40px; gap: 8px; align-items: end; }
.table-group-del { min-height: 44px; padding: 0; }
.table-group + .table-group label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } /* labels once per floor, still read by screen readers */
.floor-foot { gap: 8px; }

/* editor: designs palette beside the map, table popover (public/js/floor-editor.js) */
.plan-editor { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 12px; align-items: start; }
.palette { position: sticky; top: 76px; display: grid; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.palette h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 2px 0 2px; }
.design-chip { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: grab; touch-action: none; user-select: none; }
.design-chip:hover { border-color: var(--brand-2); }
.design-chip .mini { width: 28px; height: 28px; border: 2px solid #64748b; background: #fff; flex: none; }
.design-chip .mini.round { border-radius: 50%; }
.design-chip .mini.square { border-radius: 6px; }
.design-chip .mini.rect { border-radius: 5px; height: 16px; width: 34px; }
.design-chip .mini.booth { border-radius: 4px 4px 9px 9px; border-top-width: 5px; height: 20px; }
.palette .design-chip { flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 10px 6px; position: relative; }
.palette .design-chip .mini { width: 36px; height: 36px; }
.palette .design-chip .mini.rect { width: 48px; height: 22px; }
.palette .design-chip .mini.booth { width: 42px; height: 28px; }
.palette .design-chip strong { font-size: .82rem; }
.palette .design-chip small { font-size: .72rem; }
.palette .design-chip .x { position: absolute; top: 2px; right: 2px; border: 0; background: none; color: #94a3b8; cursor: pointer; font-size: .9rem; padding: 2px 5px; border-radius: 6px; }
.palette .design-chip .x:hover { background: var(--bad-soft); color: var(--bad); }
.drag-ghost { position: fixed; z-index: 50; pointer-events: none; transform: translate(-50%, -50%); padding: 6px 10px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; font-size: .85rem; box-shadow: var(--shadow); }
.map-wrap { position: relative; }
.tbl-pop { position: absolute; z-index: 20; width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(15,23,42,.18); padding: 12px; }
.tbl-pop .row input, .tbl-pop .row select { min-height: 36px; padding: 6px 8px; }
.tbl-pop label { font-size: .78rem; margin-bottom: 2px; }
.tbl-pop .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.tbl-pop .close { position: absolute; top: 6px; right: 8px; border: 0; background: none; cursor: pointer; font-size: 1rem; color: var(--muted); }
.note-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.note-chips button { font-size: .75rem; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; }

@media (max-width: 760px) {
  .plan-editor { grid-template-columns: 1fr; }
  .palette { position: static; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .palette h3 { grid-column: 1 / -1; }
}

/* --- 22-timeline.css --- */
/* 22 · Day timelines: Reservation Queue (dashboard/timeline) and Pickup Queue (dashboard/orders-timeline); public/js/timeline.js */
.tl-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.tl-stats > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.tl-stats small { display: block; color: var(--muted); font-size: .78rem; }
.tl-stats b { font-size: 1.4rem; }
.tl-stats .bad b { color: #b91c1c; }

.tl { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.tl-grid { position: relative; min-width: 1000px; --label: 130px; }
.tl-head, .tl-row, .tl-group > summary { display: grid; grid-template-columns: var(--label) minmax(0, 1fr); }
.tl-label { padding: 0 10px; white-space: nowrap; overflow: hidden; display: flex; align-items: center; gap: 6px; font-size: .86rem; border-right: 1px solid var(--line); background: #fff; position: sticky; left: 0; z-index: 2; }
.tl-label small { color: var(--muted); }
.tl-track { position: relative; min-height: 34px;
  background-image: repeating-linear-gradient(to right, var(--line) 0 1px, transparent 1px calc(100% / var(--slots))); }
.tl-head { position: sticky; top: 0; z-index: 3; background: var(--bg); border-bottom: 1px solid var(--line); }
.tl-head .tl-label { font-weight: 700; background: var(--bg); min-height: 34px; }
.tl-head .tl-track { background: none; }
.tl-hour { position: absolute; top: 9px; transform: translateX(-50%); font-size: .78rem; font-weight: 700; color: var(--muted); }
.tl-hour:first-child { transform: none; padding-left: 4px; }
.tl-hour:last-child { transform: translateX(-100%); padding-right: 4px; }
.tl-group > summary { cursor: pointer; list-style: none; background: var(--brand-soft); border-bottom: 1px solid var(--line); }
.tl-group > summary::-webkit-details-marker { display: none; }
.tl-group > summary .tl-label { background: var(--brand-soft); font-weight: 700; min-height: 30px; }
.tl-group > summary .tl-label::before { content: '▾'; color: var(--muted); }
.tl-group:not([open]) > summary .tl-label::before { content: '▸'; }
.tl-group > summary .tl-track { min-height: 30px; background: none; }
.tl-row { border-bottom: 1px solid var(--line); }
.tl-bar { position: absolute; top: 4px; bottom: 4px; display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 0 8px; border-radius: 6px; color: #fff; font-size: .78rem; font-weight: 600; overflow: hidden; white-space: nowrap; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.tl-bar:hover { filter: brightness(1.08); z-index: 1; }
.tl-name { overflow: hidden; text-overflow: ellipsis; }
.tl-party { flex: none; opacity: .9; }
.tl-bar.booked, .tl-k.booked { background: var(--brand-2); }
.tl-bar.request, .tl-k.request { background: #d97706; }
.tl-bar.held, .tl-k.held { background: color-mix(in srgb, var(--brand-2) 45%, #fff); color: var(--brand); }
.tl-bar.seated, .tl-k.seated { background: #16a34a; }
.tl-bar.done, .tl-k.done { background: #94a3b8; }
.tl-bar.noshow, .tl-k.noshow { background: #fecaca; color: #991b1b; text-decoration: line-through; }
/* pickup orders: coloured by stage; short bars, so each hour gets at least 220px */
.tl-grid-pickup { --label: 160px; min-width: calc(var(--label) + var(--hours) * 220px); }
.tl-grid-pickup .tl-bar { justify-content: flex-start; padding: 0 6px; }
.tl-grid-pickup .tl-bar b { flex: none; }
.tl-bar.new, .tl-k.new { background: #d97706; }
.tl-bar.preparing, .tl-k.preparing { background: var(--brand-2); }
.tl-bar.ready, .tl-k.ready { background: #16a34a; }
.tl-now { position: absolute; top: 0; bottom: 0; width: 2px; background: #ef4444; z-index: 4; pointer-events: none;
  left: calc(var(--label) + (100% - var(--label)) * var(--now) / 100); }
.tl-legend .tl-k { border: 0; }
@media (max-width: 640px) {
  .tl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-grid, .tl-grid-pickup { --label: 96px; }
  .tl-row .tl-label small { display: none; } /* the group row already says the seats */
}

/* --- 30-overlays.css --- */
/* ==========================================================================
   30 · Overlays — photo cropper dialog (shared/cropper) and the owner 🔔 (partials/bell)
   ========================================================================== */

/* photo cropper (public/js/photo-cropper.js); frame shapes match Images::PRESETS */
.crop-frame { position: relative; overflow: hidden; background: #0f172a; border-radius: 12px; touch-action: none; cursor: grab; user-select: none; }
.crop-frame.logo { aspect-ratio: 1; width: min(360px, 100%); margin: 0 auto; border-radius: 50%; }
.crop-frame.dish { aspect-ratio: 4 / 3; width: min(520px, 100%); margin: 0 auto; }
.crop-frame img { position: absolute; left: 0; top: 0; max-width: none; pointer-events: none; }
.crop-frame:active { cursor: grabbing; }
.crop-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #94a3b8; font-size: .9rem; }
.crop-empty.pick { cursor: pointer; text-align: center; color: #cbd5e1; }
.crop-empty.pick:hover, .crop-frame.drop .crop-empty { background: rgba(255,255,255,.08); }

/* owner notifications (public/js/bell.js) */
.bell { position: relative; display: inline-block; }
.bell-btn { position: relative; border: 0; background: none; font-size: 1.25rem; cursor: pointer; padding: 6px 10px; border-radius: 10px; line-height: 1; }
.bell-btn:hover { background: var(--bg); }
.bell-count { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--bad); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.bell-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(380px, 92vw); max-height: 70vh; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px rgba(15,23,42,.25); z-index: 60; text-align: left; }
.bell-head, .bell-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; }
.bell-head { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.bell-foot { border-top: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
.bell-item { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink) !important; text-decoration: none !important; font-size: .9rem; }
.bell-item:hover { background: var(--bg); }
.bell-item.unread { background: var(--brand-soft); }
.bell-item.unread strong::before { content: "● "; color: var(--brand-2); }
.bell-item.k-pickup_soon.unread, .bell-item.k-visit_soon.unread { background: #fff7ed; }
.bell-item.call { border-left: 4px solid #ea580c; } /* call still to make: stays until ✓ Confirmed */
.bell-item .bi { font-size: 1.2rem; }
.bell-item small { display: block; color: var(--muted); }
.bell-item time { font-size: .72rem; color: var(--muted); white-space: nowrap; }
.bell-empty { padding: 16px 14px; margin: 0; }

@media (max-width: 640px) {
  .bell-panel { position: fixed; left: 8px; right: 8px; top: 64px; width: auto; }
}

/* --- 40-landing.css --- */
/* ==========================================================================
   40 · Landing page (landing.blade.php)
   ========================================================================== */
.hero { padding: 48px 0 32px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: -.02em; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 44px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 14px; left: 20px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
