/* The web booking - one system with the customer app (mobile/customer-app/src/utils/theme.js COLORS). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0A0A0A; --surface: #1A1A1A; --surface-high: #242424; --border: #2A2A2A;
  --green: #5CB558; --green-dark: #4A9947; --green-glow: rgba(92,181,88,.15);
  --text: #FFFFFF; --muted: #A3A3A3; --faint: #6B6B6B; --ink: #0A0A0A;
  --red: #FF4444; --amber: #F59E0B; --gold: #FFD700;
  --radius: 14px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text); min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.5;
}
a { color: var(--green); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.top {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 16px; background: rgba(10,10,10,.92); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.wordmark {
  font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 22px; letter-spacing: -.3px;
  line-height: 1; white-space: nowrap; text-decoration: none;
}
.wm-hala { color: var(--green); } .wm-move { color: var(--text); }
.top-nav { display: flex; gap: 16px; }
.top-nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 0; }
.top-nav a.active { color: var(--text); }

.view { max-width: 560px; margin: 0 auto; padding: 24px 16px 96px; }
.loading { color: var(--muted); padding: 40px 0; text-align: center; }

h1 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 32px; line-height: 1.12; letter-spacing: -.5px; }
h2 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 22px; line-height: 1.2; }
h3 { font-size: 15px; font-weight: 700; color: var(--muted); text-transform: none; }
.lead { color: var(--muted); font-size: 17px; margin-top: 12px; }
.hero { padding: 12px 0 8px; }
.hero h1 { font-size: 36px; }
.hero .accent { color: var(--green); }

.promise { list-style: none; margin: 22px 0 6px; display: grid; gap: 10px; }
.promise li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 15px; }
.promise .dot { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--green-glow); border: 1px solid var(--green); color: var(--green); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 1px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-top: 16px; }
.card.glow { border-color: rgba(92,181,88,.45); background: linear-gradient(180deg, rgba(92,181,88,.10), var(--surface) 70%); }
.stack > * + * { margin-top: 14px; }

.field label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.req { color: var(--red); font-weight: 800; margin-left: 3px; }
.opt { color: var(--faint); font-weight: 500; margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 13px 14px; font-size: 16px; outline: none; transition: border-color .15s;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field .hint { font-size: 13px; color: var(--faint); margin-top: 6px; }
.row { display: flex; gap: 12px; } .row > * { flex: 1; min-width: 0; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-top: 8px; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }

.seg { display: flex; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 3px; gap: 3px; }
.seg button { flex: 1; background: none; border: 0; border-radius: 8px; padding: 10px 6px; color: var(--muted); font-weight: 600; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--green-glow); color: var(--text); box-shadow: inset 0 0 0 1px rgba(92,181,88,.5); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  border: 0; border-radius: 12px; padding: 15px 18px; font-size: 16px; font-weight: 800; cursor: pointer;
  text-decoration: none; transition: background .15s, opacity .15s;
}
.btn-primary { background: var(--green); color: var(--ink); }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: none; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-danger { background: none; color: var(--red); border: 1px solid rgba(255,68,68,.45); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; gap: 10px; margin-top: 16px; } .btn-row .btn { flex: 1; }
.link-btn { background: none; border: 0; color: var(--green); font-weight: 700; cursor: pointer; padding: 6px 0; }
.link-btn.quiet { color: var(--muted); font-weight: 600; }

.form-error { margin-top: 12px; padding: 12px 14px; background: rgba(255,68,68,.12); border: 1px solid rgba(255,68,68,.6); border-radius: 10px; color: #FF8A8A; font-size: 15px; font-weight: 600; }
.note { margin-top: 12px; padding: 12px 14px; background: var(--surface-high); border-radius: 10px; color: var(--muted); font-size: 14px; }

.places { position: relative; }
.suggest { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); background: var(--surface-high); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.suggest button { display: block; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--border); padding: 11px 14px; cursor: pointer; }
.suggest button:first-child { border-top: 0; }
.suggest button:hover, .suggest button:focus { background: var(--surface); outline: none; }
.suggest .main { font-weight: 600; } .suggest .sec { color: var(--muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { background: var(--surface-high); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--muted); cursor: pointer; }
.chip:hover { color: var(--text); border-color: var(--muted); }
.chosen { margin-top: 6px; font-size: 13px; color: var(--green); }

.price-big { font-family: 'Outfit', sans-serif; font-size: 40px; font-weight: 900; letter-spacing: -1px; line-height: 1; }
.price-sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.lines { margin-top: 12px; display: grid; gap: 6px; font-size: 15px; }
.lines div { display: flex; justify-content: space-between; gap: 12px; }
.lines .total { border-top: 1px solid var(--border); padding-top: 8px; font-weight: 800; font-size: 17px; }

.route { display: grid; gap: 8px; }
.route .stop { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.route .pin { flex: 0 0 10px; height: 10px; border-radius: 50%; margin-top: 7px; }
.route .pin.a { background: var(--green); } .route .pin.b { background: var(--red); }
.muted { color: var(--muted); } .small { font-size: 13px; }

.status { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .3px; padding: 4px 10px; border-radius: 999px; background: var(--surface-high); color: var(--muted); }
.status.live { background: var(--green-glow); color: var(--green); }
.status.wait { background: rgba(245,158,11,.14); color: var(--amber); }
.status.end { background: var(--surface-high); color: var(--faint); }

.moves { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.moves a { display: block; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.moves a:hover { border-color: var(--muted); }
.moves .top-line { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.moves .where { margin-top: 6px; font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.offer { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; }
.offer .pic { width: 64px; height: 64px; border-radius: 12px; background: #fff center/contain no-repeat; border: 1px solid var(--border); }
.offer .pic.face { background-size: cover; background-color: var(--surface-high); }
.offer .who { font-weight: 800; font-size: 17px; }
.offer .meta { color: var(--muted); font-size: 14px; }
.offer .amount { font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 26px; margin-top: 4px; }
.offer .msg { margin-top: 8px; font-size: 14px; color: var(--text); background: var(--bg); border-radius: 10px; padding: 8px 10px; }
.stars-inline { color: var(--gold); }

.pulse { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--green); margin-right: 8px; animation: pulse 1.6s ease-out infinite; vertical-align: middle; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(92,181,88,.6); } 100% { box-shadow: 0 0 0 14px rgba(92,181,88,0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

.pin-code { font-family: 'Outfit', sans-serif; font-size: 44px; font-weight: 900; letter-spacing: 10px; color: var(--green); margin-top: 6px; }
.steps { list-style: none; display: grid; gap: 10px; margin-top: 8px; }
.steps li { display: flex; gap: 10px; align-items: center; color: var(--faint); font-size: 15px; }
.steps li .tick { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); flex: 0 0 20px; }
.steps li.done { color: var(--muted); } .steps li.done .tick { background: var(--green); border-color: var(--green); }
.steps li.now { color: var(--text); font-weight: 700; } .steps li.now .tick { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-glow); }

.chat { display: grid; gap: 8px; max-height: 320px; overflow-y: auto; margin-top: 10px; padding-right: 2px; }
.bubble { max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: 15px; }
.bubble.me { justify-self: end; background: var(--green); color: var(--ink); border-bottom-right-radius: 4px; }
.bubble.them { justify-self: start; background: var(--surface-high); border-bottom-left-radius: 4px; }
.bubble .t { display: block; font-size: 11px; opacity: .7; margin-top: 2px; }
.chat-form { display: flex; gap: 8px; margin-top: 10px; }
.chat-form input { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px; font-size: 16px; outline: none; }
.chat-form .btn { width: auto; padding: 11px 16px; }

.stars { display: flex; gap: 8px; margin-top: 8px; }
.stars button { background: none; border: 0; font-size: 36px; line-height: 1; color: var(--border); cursor: pointer; padding: 2px; }
.stars button.on { color: var(--gold); }

.places-list { list-style: none; display: grid; gap: 8px; margin-top: 10px; }
.places-list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 14px; }

.sheet { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.65); display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
.sheet-card { width: 100%; max-width: 520px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px 18px 18px; }
.sheet-card #sheet-body { margin-top: 10px; color: var(--muted); }
.sheet-actions { display: flex; gap: 10px; margin-top: 18px; } .sheet-actions .btn { flex: 1; }
@media (min-width: 600px) { .sheet { align-items: center; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: var(--surface-high); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; font-size: 15px; max-width: calc(100% - 32px); }
.foot { margin-top: 28px; text-align: center; color: var(--faint); font-size: 13px; }
.noscript { padding: 24px 16px; color: var(--muted); }
