/* public/customer/style.css — PickUpPro customer app
   Minimalist black / white / cherry-red. Mono for numbers & labels. */

:root {
  --ink: #0E0E0E;
  --paper: #FFFFFF;
  --bg: #F7F6F4;
  --line: #E3E2DF;
  --line-soft: #ECEBE8;
  --muted: #8A8A87;
  --faint: #B4B2AE;
  --red: #DA1A32;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: "JetBrains Mono", monospace; }
.hidden { display: none !important; }
.center { text-align: center; }

.screen {
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  padding: 26px 24px calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

/* --- Brand --- */
.brand-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 44px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand-dot { width: 14px; height: 14px; background: var(--red); border-radius: 2px; }
.brand-name { font-family: "JetBrains Mono", monospace; font-size: 13px; letter-spacing: 4px; font-weight: 700; }

/* --- Landing --- */
.hero-title { font-size: 36px; font-weight: 700; margin: 0 0 12px; letter-spacing: -0.02em; line-height: 1.05; }
.hero-sub { margin: 0 0 28px; color: var(--muted); font-size: 15px; }
.price-card { border: 1.5px solid var(--line); border-radius: 18px; padding: 24px; margin-bottom: 22px; background: var(--paper); }
.price-row { display: flex; align-items: baseline; gap: 8px; }
.price-big { font-size: 48px; font-weight: 700; line-height: 1; }
.price-tag { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.price-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* --- Buttons --- */
.btn {
  display: block; width: 100%; border: none; border-radius: 15px;
  font-weight: 700; cursor: pointer; text-align: center; font-family: inherit;
}
.btn-big { padding: 19px; font-size: 16px; min-height: 56px; }
.btn-red { background: var(--red); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.push-bottom { margin-top: auto; }

.micro { font-size: 10px; letter-spacing: 1px; color: var(--faint); text-align: center; margin: 14px 0 0; }

/* --- Step flow --- */
.step-row { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.back-btn { background: none; border: none; font-size: 22px; line-height: 1; color: var(--ink); cursor: pointer; padding: 6px; min-width: 44px; min-height: 44px; }
.progress { flex: 1; height: 4px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--red); }
.step-count { font-size: 11px; color: var(--muted); letter-spacing: 1px; }

.q-title { font-size: 28px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
.q-sub { margin: 0 0 24px; color: var(--muted); font-size: 14px; }

.item-box {
  width: 100%; border: 1.5px solid var(--ink); border-radius: 14px; padding: 18px;
  background: var(--paper); min-height: 130px; font-size: 16px; line-height: 1.5;
  font-family: inherit; resize: vertical;
}
.item-box:focus { outline: 2px solid var(--red); outline-offset: 1px; }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; margin-bottom: 16px; }
.chip {
  font-size: 12px; border: 1.5px solid var(--line); background: var(--paper);
  border-radius: 20px; padding: 10px 13px; color: #6A6A66; cursor: pointer; min-height: 40px;
}

.text-input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 13px; padding: 15px;
  background: var(--paper); font-size: 16px; font-family: inherit; margin-bottom: 14px;
}
.text-input:focus { outline: none; border-color: var(--ink); }

.field-label { display: block; font-size: 10px; letter-spacing: 2px; color: var(--muted); margin: 4px 0 8px; }

.link-btn {
  background: none; border: none; color: var(--red); font-size: 12px; letter-spacing: 1px;
  padding: 16px 0 6px; cursor: pointer; width: 100%; text-align: center; min-height: 44px;
}

/* --- Summary --- */
.summary-card { border: 1.5px solid var(--line-soft); border-radius: 16px; background: var(--paper); padding: 18px; margin-top: 8px; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid #EEEDEA; font-size: 14px; }
.summary-row span { color: var(--muted); font-size: 13px; }
.summary-row strong { font-weight: 600; text-align: right; }
.summary-row.total { border-bottom: none; }
.summary-row.total strong { font-size: 26px; font-weight: 700; }

.error-text { color: var(--red); font-size: 13px; min-height: 18px; margin: 10px 0 0; }

.disclaimer-box {
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px; max-height: 140px; overflow-y: auto; margin-top: 14px;
}
.disclaimer-title { font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.disclaimer-content { font-size: 12px; line-height: 1.5; color: var(--muted); }
.disclaimer-check {
  display: flex; align-items: flex-start; gap: 9px; font-size: 13px;
  color: var(--ink); margin: 12px 0; cursor: pointer;
}
.disclaimer-check input { margin-top: 2px; flex-shrink: 0; }

/* --- Tracking --- */
.track-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.track-id { font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.status-pill { font-size: 10px; letter-spacing: 1px; background: var(--ink); color: #fff; padding: 6px 11px; border-radius: 20px; }
.status-pill.red { background: var(--red); }

.driver-card {
  display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--line-soft);
  border-radius: 16px; background: var(--paper); padding: 14px 16px; margin-bottom: 4px;
}
.driver-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; flex-shrink: 0;
}
.driver-info { flex: 1; }
.driver-name { font-weight: 700; font-size: 16px; }
.driver-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.call-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--red); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 10px; letter-spacing: 1px;
  text-decoration: none; flex-shrink: 0;
}

.finding-note { display: flex; align-items: center; gap: 14px; border: 1.5px dashed #D8D6D2; border-radius: 16px; background: var(--paper); padding: 16px; }
.finding-title { font-weight: 600; font-size: 15px; }
.finding-note .micro { text-align: left; margin: 4px 0 0; }
.pulse-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); flex-shrink: 0; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.55); opacity: 0.4; } }

.stepper { display: flex; gap: 6px; }
.step {
  flex: 1; text-align: center; padding: 10px 0; border-radius: 9px; font-size: 9px; letter-spacing: 0.5px;
  background: var(--paper); border: 1.5px solid var(--line); color: var(--faint);
}
.step.done { background: var(--ink); border-color: var(--ink); color: #fff; }
.step.current { background: var(--red); border-color: var(--red); color: #fff; }

.track-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #EEEDEA; padding: 16px 2px; margin-top: 20px; }
.track-price { font-weight: 700; font-size: 22px; }

.notify-banner {
  background: var(--ink); color: #fff; border-radius: 12px; padding: 13px 16px;
  font-size: 13px; margin-bottom: 16px; animation: banner-in 0.25s ease-out;
}
@keyframes banner-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
