/* Halaman publik pelanggan: /booking & /member.
   Tanpa Tailwind CDN supaya tetap rapi walau koneksi lambat. Nuansa ungu
   mengikuti halaman login kasir. */
:root {
  --bg: #1d1a26; --card: #2c2738; --field: #3a3448; --field-2: #433c53; --line: #4a445a;
  --ink: #f6f4fb; --muted: #aaa3bd; --dim: #7d7690; --accent: #7b63dc; --accent-2: #8f79ea;
  --link: #c4b8ff; --ok: #4ade80; --warn: #fbbf24; --err: #ff8fa3;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; background: radial-gradient(900px 500px at 50% -10%, #3b2f6e 0%, transparent 70%), var(--bg);
  color: var(--ink); font: 400 15px/1.5 "Manrope", "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--link); }
.wrap { max-width: 760px; margin: 0 auto; padding: 20px 16px 56px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 18px/1 "Space Grotesk", sans-serif; letter-spacing: .04em; text-decoration: none; color: var(--ink); }
.brand svg { width: 36px; height: auto; color: var(--accent-2); }
.nav { display: flex; gap: 8px; }
.pill { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 600; background: transparent; }
.pill[aria-current="page"] { background: var(--accent); border-color: var(--accent); }
h1 { margin: 0 0 6px; font: 600 clamp(26px, 6vw, 36px)/1.15 "Space Grotesk", sans-serif; letter-spacing: -.02em; }
h2 { margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.sub { margin: 0 0 22px; color: var(--muted); }
.card { background: var(--card); border-radius: 16px; padding: 18px; box-shadow: 0 0 0 1px rgba(255,255,255,.04); }
.card + .card, .step + .step { margin-top: 14px; }
.step-n { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 99px;
  background: var(--accent); font-size: 12.5px; font-weight: 800; vertical-align: 1px; }
.muted { color: var(--muted); } .dim { color: var(--dim); } .small { font-size: 13px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.scroller { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.chip { flex: none; min-width: 62px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: transparent;
  text-align: center; line-height: 1.2; transition: background .15s, border-color .15s; }
.chip b { display: block; font-size: 17px; }
.chip span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.chip:hover { border-color: var(--accent-2); }
.chip.on { background: var(--accent); border-color: var(--accent); }
.chip.on span { color: #ece7ff; }
.chip:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.chip:focus-visible, .pick:focus-visible, .btn:focus-visible, .field:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.slots { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
.slots .chip { min-width: 0; padding: 10px 4px; font-weight: 700; }
.pick { display: block; width: 100%; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: transparent; text-align: left; }
.pick:hover { border-color: var(--accent-2); }
.pick.on { border-color: var(--accent-2); background: rgba(123, 99, 220, .16); box-shadow: inset 0 0 0 1px var(--accent-2); }
.pick b { display: block; font-size: 16px; }
.price { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.price b { color: var(--ink); font-size: 13px; display: inline; }
label.lbl { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; color: #d9d4e6; }
.field { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1px solid transparent; background: var(--field); font-size: 16px; }
.field::placeholder { color: #8f88a3; }
.field:focus { outline: none; border-color: #b3a6f0; background: var(--field-2); }
.form { display: grid; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 15.5px; text-decoration: none; transition: background .15s; }
.btn:hover { background: var(--accent-2); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.btn.block { width: 100%; }
.err { padding: 10px 14px; border-radius: 10px; background: rgba(255, 80, 110, .12); border: 1px solid rgba(255, 110, 140, .4); color: #ffd0d8; font-size: 14px; }
.ok-box { padding: 14px; border-radius: 12px; background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .35); }
.summary { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--field); font-size: 14px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary span { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hidden { display: none !important; }
.center { text-align: center; }
.foot { margin-top: 28px; text-align: center; font-size: 12.5px; color: var(--dim); }
.tabs { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: var(--field); margin-bottom: 16px; }
.tabs button { flex: 1; min-height: 40px; border: 0; border-radius: 9px; background: transparent; font-weight: 700; color: var(--muted); }
.tabs button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.3); }

/* Kartu member */
.mcard { position: relative; overflow: hidden; padding: 22px; border-radius: 20px; color: #fff;
  background: radial-gradient(420px 220px at 100% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, #5b45c4, #2f2470 70%);
  box-shadow: 0 24px 48px -18px rgba(60, 40, 160, .65); }
.mcard .mtop { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mcard .mstore { font: 700 15px/1.2 "Space Grotesk", sans-serif; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.mcard .mname { margin-top: 18px; font: 600 24px/1.2 "Space Grotesk", sans-serif; }
.mcard .mcode { margin-top: 4px; font: 700 18px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .14em; }
.mcard .mstats { display: flex; gap: 22px; margin-top: 18px; }
.mcard .mstats b { display: block; font-size: 26px; line-height: 1.1; }
.mcard .mstats span { font-size: 12px; opacity: .8; text-transform: uppercase; letter-spacing: .06em; }
.mqr { flex: none; width: 104px; height: 104px; padding: 6px; border-radius: 12px; background: #fff; }
.mqr svg, .mqr img { display: block; width: 100%; height: 100%; }
.pre { white-space: pre-line; }
@media (max-width: 480px) { .mqr { width: 84px; height: 84px; } .mcard .mname { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
