/* Customer account pages — same pixel universe as the shop. */

.acct-main { max-width: 860px; margin: 0 auto; padding: 28px 16px 64px; }
.acct-app { color: #e6edff; }
.acct-loading { text-align: center; opacity: .6; }

.acct-h1 { font-family: 'Press Start 2P', monospace; font-size: 18px; line-height: 1.6; color: #ffd166; margin: 8px 0 6px; }
.acct-sub { opacity: .8; margin: 0 0 22px; line-height: 1.6; }

.acct-card { background: #0c1224; border: 2px solid #22305c; padding: 18px; margin: 0 0 18px; }
.acct-card h2 { font-family: 'Press Start 2P', monospace; font-size: 12px; color: #ffd166; margin: 0 0 12px; line-height: 1.6; }

.acct-form { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
.acct-input { background: #070b18; border: 2px solid #22305c; color: #e6edff; font: inherit; padding: 11px 12px; }
.acct-input:focus { outline: 2px solid #ffd166; outline-offset: 1px; border-color: #ffd166; }
.acct-code { letter-spacing: 6px; text-align: center; font-size: 20px; }

.acct-btn { display: inline-block; background: #ffd166; border: 0; color: #08101f; font: inherit; font-weight: 700; padding: 12px 16px; cursor: pointer; text-decoration: none; text-align: center; }
.acct-btn:hover { filter: brightness(1.06); }
.acct-btn[disabled] { opacity: .55; cursor: wait; }
.acct-btn--ghost { background: transparent; color: #ffd166; border: 2px solid #ffd166; }

.acct-msg { margin: 10px 0 0; line-height: 1.6; }
.acct-msg--err { color: #ff8d97; }
.acct-msg--ok { color: #9fe29f; }

.acct-order { display: block; background: #0c1224; border: 2px solid #22305c; padding: 16px 18px; margin: 0 0 14px; color: inherit; text-decoration: none; }
.acct-order:hover { border-color: #ffd166; }
.acct-order-top { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.acct-order-num { font-weight: 700; }
.acct-order-meta { opacity: .75; font-size: 14px; }
.acct-order-item { margin: 10px 0 0; opacity: .9; }

.acct-chip { display: inline-block; padding: 4px 9px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.acct-chip--received, .acct-chip--processing { background: #22305c; color: #cfe0ff; }
.acct-chip--in_production { background: #4a3a06; color: #ffd166; }
.acct-chip--shipped { background: #0e3a24; color: #8ef0b4; }
.acct-chip--delivered { background: #0e3a24; color: #8ef0b4; }
.acct-chip--cancelled, .acct-chip--failed, .acct-chip--refunded { background: #450f16; color: #ff9aa4; }
.acct-track { display: inline-block; margin-top: 8px; color: #ffd166; }

.acct-timeline { list-style: none; margin: 6px 0 0; padding: 0; }
.acct-step { position: relative; padding: 0 0 18px 30px; }
.acct-step:before { content: ''; position: absolute; left: 7px; top: 4px; width: 12px; height: 12px; background: #22305c; border: 2px solid #070b18; }
.acct-step:after { content: ''; position: absolute; left: 12px; top: 18px; bottom: -2px; width: 2px; background: #22305c; }
.acct-step:last-child:after { display: none; }
.acct-step--done:before { background: #8ef0b4; }
.acct-step--current:before { background: #ffd166; }
.acct-step--current .acct-step-label { color: #ffd166; }
.acct-step-label { font-weight: 700; }
.acct-step-at { display: block; opacity: .65; font-size: 13px; margin-top: 2px; }

.acct-items { width: 100%; border-collapse: collapse; margin: 6px 0 0; }
.acct-items td { padding: 7px 0; border-bottom: 1px solid #1b2850; vertical-align: top; }
.acct-items td:last-child { text-align: right; white-space: nowrap; }
.acct-total td { font-weight: 700; border-bottom: 0; }

.acct-foot-note { opacity: .7; font-size: 14px; line-height: 1.6; }
.acct-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.acct-footer { text-align: center; opacity: .7; padding: 24px 16px 40px; font-size: 14px; }
.acct-footer a { color: #ffd166; }

@media (max-width: 560px) {
  .acct-h1 { font-size: 14px; }
  .acct-main { padding-top: 18px; }
}

.acct-addr { border: 2px solid #22305c; padding: 10px 12px; margin: 0 0 10px; }
.acct-addr p { margin: 0; line-height: 1.6; }
.acct-addr-actions { margin-top: 4px !important; }
