/* Yellowbellies — customer account page */

.acct { max-width: 720px; margin-inline: auto; padding-block: 40px 80px; min-height: 55vh; }

/* ---- sign in ---- */
.acct-login { max-width: 440px; margin: 24px auto 0; text-align: center; }
.acct-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.al-emoji { font-size: 2.6rem; }
.acct-login h1 { font-size: 1.8rem; margin-top: 6px; }
.al-lead { color: var(--muted); margin: 10px 0 22px; }
.acct-login label { display: block; text-align: left; font-family: var(--font-display); font-weight: 500; color: var(--navy); font-size: .92rem; margin: 0 0 6px; }
.acct-login input {
  width: 100%; padding: 13px 16px; border: 2px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 1.05rem; margin-bottom: 14px; background: #fff;
}
.acct-login input:focus { outline: none; border-color: var(--teal); }
#acctCode { text-align: center; letter-spacing: 10px; font-weight: 800; font-size: 1.5rem; }
.al-sent { color: var(--muted); font-size: .95rem; margin: 0 0 16px; }
.al-links { display: flex; justify-content: center; gap: 18px; margin-top: 14px; flex-wrap: wrap; }
.btn-link { color: var(--teal); text-decoration: underline; font-size: .9rem; font-weight: 600; }
.btn-link:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.al-err { color: #b04141; font-weight: 700; margin: 14px 0 0; }

/* ---- orders ---- */
.acct-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.acct-head h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.ah-email { color: var(--muted); margin: 6px 0 0; font-weight: 600; }
.acct-empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.acct-empty .big { font-size: 3rem; }

.order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.oc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.oc-id { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.oc-date { color: var(--muted); font-size: .88rem; }
.oc-pill { font-size: .76rem; font-weight: 800; padding: 4px 12px; border-radius: var(--r-pill); }
.oc-pill.new { background: #fff2cf; color: #9a7400; }
.oc-pill.prep { background: #e2ecfb; color: #2e52a8; }
.oc-pill.ship { background: #e4f5e2; color: #2f7d2b; }
.oc-pill.done { background: #eeeae0; color: #5a6782; }
.oc-pill.cancel { background: #f2e2e2; color: #b04141; }

/* progress steps */
.oc-steps { display: flex; align-items: center; margin: 16px 0 4px; }
.oc-step { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 64px; }
.oc-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--line); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.oc-step.done .oc-dot { background: var(--leaf); box-shadow: 0 0 0 1px var(--leaf); }
.oc-step.current .oc-dot { background: var(--sun); box-shadow: 0 0 0 1px var(--sun-deep); }
.oc-lbl { font-size: .7rem; font-weight: 800; color: var(--muted); text-align: center; line-height: 1.15; }
.oc-step.done .oc-lbl, .oc-step.current .oc-lbl { color: var(--navy-ink); }
.oc-line { flex: 1; height: 3px; background: var(--line); border-radius: 2px; margin: 0 4px 18px; min-width: 12px; }
.oc-line.done { background: var(--leaf); }

.oc-items { border-top: 1px dashed var(--line); margin-top: 14px; padding-top: 12px; }
.oc-item { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: .96rem; }
.oc-item .muted { color: var(--muted); }
.oc-total { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 600; color: var(--navy-ink); font-size: 1.08rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }
.oc-actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.oc-track-num { color: var(--muted); font-size: .86rem; }
.oc-collect-note { background: #f2f8fc; border: 1px solid #cfeaf5; border-radius: 12px; padding: 11px 14px; font-size: .92rem; margin-top: 12px; color: var(--ink); }

@media (max-width: 560px) {
  .oc-step { min-width: 52px; }
  .acct-card { padding: 24px 18px; }
}
