/* =====================================================================
   AE PERFORMANCE SUPPLY — Account pages (login, register, dashboard)
   ===================================================================== */

.auth-shell {
  min-height: calc(100vh - 300px);
  display: flex; align-items: center; justify-content: center;
  padding: 48px 20px;
}
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 32px; box-shadow: var(--shadow-card);
}
.auth-card__eyebrow { font-family: var(--font-mono); font-size: 12px; color: var(--accent-dark); letter-spacing: 0.06em; margin-bottom: 8px; }
.auth-card h1 { font-size: 28px; margin-bottom: 6px; }
.auth-card__sub { font-size: 14px; color: var(--ink-muted); margin-bottom: 26px; }
.auth-card__footer { margin-top: 22px; font-size: 14px; color: var(--ink-muted); text-align: center; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select {
  width: 100%; font: inherit; font-size: 15px; padding: 11px 12px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink);
}
.field input:focus, .field select:focus { outline: 2px solid var(--secondary); outline-offset: 1px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-error {
  background: var(--danger-tint); color: var(--danger); border-radius: var(--radius-sm);
  padding: 10px 12px; font-size: 13.5px; margin-bottom: 16px;
}
.form-success {
  background: var(--success-tint); color: var(--success); border-radius: var(--radius-sm);
  padding: 10px 12px; font-size: 13.5px; margin-bottom: 16px;
}

/* ---- Dashboard ------------------------------------------------------*/
.dashboard-shell { padding: 40px 0 64px; }
.dashboard-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.dashboard-head h1 { font-size: 30px; }
.dashboard-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.dashboard-tab {
  padding: 12px 16px; font-weight: 600; font-size: 14.5px; color: var(--ink-muted);
  border-bottom: 2px solid transparent; background: none; border-top: none; border-left: none; border-right: none; cursor: pointer;
}
.dashboard-tab.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.dashboard-panel { display: none; }
.dashboard-panel.is-active { display: block; }

.order-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 12px; background: var(--surface);
}
.order-row__meta { font-size: 13px; color: var(--ink-muted); }
.order-row__number { font-family: var(--font-mono); font-weight: 700; color: var(--ink); font-size: 14.5px; }
.status-pill {
  display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.03em;
}
.status-pill--paid, .status-pill--captured, .status-pill--delivered { background: var(--success-tint); color: var(--success); }
.status-pill--pending, .status-pill--unpaid, .status-pill--processing { background: var(--warning-tint); color: var(--warning); }
.status-pill--shipped { background: var(--secondary-tint); color: var(--secondary); }
.status-pill--refunded, .status-pill--failed, .status-pill--cancelled { background: var(--danger-tint); color: var(--danger); }

.empty-state { text-align: center; padding: 48px 20px; color: var(--ink-faint); }

.address-card {
  border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; margin-bottom: 12px; background: var(--surface);
  font-size: 14px; line-height: 1.6;
}
.address-card__label { font-family: var(--font-mono); font-size: 11px; color: var(--accent-dark); letter-spacing: 0.05em; margin-bottom: 6px; }

@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
