/* Customer order status + my orders (/order) — same palette as the home page */
:root {
  --gold:      #c8a96e;
  --gold-dim:  rgba(200,169,110,0.18);
  --bg:        #0f0e0c;
  --surface:   #1a1612;
  --rim:       rgba(200,169,110,0.22);
  --text:      #f0e8d8;
  --text-dim:  rgba(240,232,216,0.6);
  --ok:        #4ade80;
  --ok-dim:    rgba(6,199,85,0.18);
  --bad:       #ff8a8d;
  --bad-dim:   rgba(229,72,77,0.15);
  --blue:      #5b9bd5;             /* status colours = admin (css/station/variables.css) */
  --blue-dim:  rgba(91,155,213,0.15);
  --orange:    #e0943a;
  --orange-dim: rgba(224,148,58,0.15);
  --pink:      #f858f0;
  --pink-dim:  rgba(248,88,240,0.15);
  --radius:    14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', 'Noto Sans Thai', sans-serif;
  min-height: 100vh;
}

.page { max-width: 560px; margin: 0 auto; padding: 16px 16px 40px; }

.top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.back {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--rim); color: var(--gold); text-decoration: none; font-size: 1.2rem;
}
h1 { font-family: 'Noto Serif Thai', serif; font-size: 1.25rem; color: var(--gold); }

.card {
  display: block; background: var(--surface); border: 1px solid var(--rim);
  border-radius: var(--radius); padding: 16px; margin-bottom: 12px;
  color: inherit; text-decoration: none;
}

/* One order */
.hero { text-align: center; }
.label { color: var(--text-dim); font-size: 0.85rem; }
.pickup-no { font-size: 3.5rem; font-weight: 700; color: var(--gold); letter-spacing: 0.08em; line-height: 1.1; margin: 4px 0; }
.sub { color: var(--text-dim); font-size: 0.8rem; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; counter-reset: step; }
.steps li { position: relative; padding-top: 32px; text-align: center; font-size: 0.75rem; color: var(--text-dim); }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--rim);
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem;
}
.steps li.done { color: var(--text); }
.steps li.done::before { content: '✓'; background: var(--gold-dim); color: var(--gold); }
.steps li.now { color: var(--gold); font-weight: 700; }
.steps li.now::before { background: var(--gold); border-color: var(--gold); color: var(--bg); }

.banner { border-radius: var(--radius); padding: 12px 16px; margin-bottom: 12px; text-align: center; font-weight: 600; }
.banner.danger { background: var(--bad-dim); color: var(--bad); border: 1px solid var(--bad); }

.line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 0.95rem; }
.line small { display: block; color: var(--text-dim); font-size: 0.8rem; }
.line.extra { color: var(--text-dim); font-size: 0.85rem; padding: 2px 0; }
.line.total { border-top: 1px solid var(--rim); margin-top: 6px; padding-top: 10px; font-weight: 700; color: var(--gold); }
.pay-note { color: var(--text-dim); font-size: 0.8rem; margin-top: 6px; }

.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Buttons */
.btn-gold, .btn-outline {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border-radius: 10px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn-gold { background: linear-gradient(135deg, #c8a96e 0%, #a8843e 100%); color: var(--bg); border: none; }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--rim); }

/* My orders */
.order-card { display: flex; align-items: center; gap: 14px; }
.oc-no { font-size: 1.6rem; font-weight: 700; color: var(--gold); min-width: 72px; }
.oc-info { flex: 1; min-width: 0; font-size: 0.85rem; color: var(--text-dim); }
.oc-total { color: var(--text); font-weight: 600; margin-top: 2px; }
.chip { font-size: 0.75rem; padding: 4px 10px; border-radius: 999px; background: var(--gold-dim); color: var(--gold); white-space: nowrap; }
.chip.new { background: var(--blue-dim); color: var(--blue); }
.chip.cooking { background: var(--orange-dim); color: var(--orange); }
.chip.ready { background: var(--ok-dim); color: var(--ok); }
.chip.done { background: var(--pink-dim); color: var(--pink); }
.chip.danger { background: var(--bad-dim); color: var(--bad); }

.empty { display: grid; gap: 16px; justify-items: center; padding: 48px 16px; text-align: center; color: var(--text-dim); }
.more-wrap { display: flex; justify-content: center; margin-top: 8px; }
