/* frontend/public/account.css — auth forms + account dashboard */
.auth-section { max-width: 420px; margin: 0 auto; padding: 56px 24px 100px; }
.auth-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; }
.auth-title { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.auth-sub { font-size: 13px; color: var(--gray); margin-bottom: 22px; line-height: 1.5; }
.auth-error { background: #fdf3f2; color: #b52b27; border: 1px solid #d9534f; border-radius: 10px; padding: 12px 14px; font-size: 13px; margin-bottom: 16px; display: none; }
.auth-ok { background: #eef7f0; color: #1f6d3a; border: 1px solid #8fcaa0; border-radius: 10px; padding: 12px 14px; font-size: 13px; margin-bottom: 16px; display: none; }
.auth-submit { width: 100%; margin-top: 6px; }
.auth-links { margin-top: 18px; font-size: 13px; color: var(--gray); text-align: center; line-height: 1.8; }
.auth-links a { color: var(--amber-dark); font-weight: 600; }
.auth-hint { font-size: 11px; color: var(--gray); margin-top: -2px; }

/* Account dashboard */
.acct-section { max-width: 1000px; margin: 0 auto; padding: 40px 32px 100px; }
.acct-header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.acct-title { font-size: 26px; font-weight: 800; }
.acct-sub { font-size: 13px; color: var(--gray); }
.acct-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--border); margin-bottom: 28px; flex-wrap: wrap; }
.acct-tab { padding: 10px 16px; font-size: 13px; font-weight: 700; color: var(--gray); cursor: pointer; border-bottom: 2px solid transparent; }
.acct-tab.active { color: var(--teal-dark); border-bottom-color: var(--amber); }
.acct-panel { display: none; }
.acct-panel.active { display: block; }

.acct-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; margin-bottom: 18px; }
.acct-card-title { font-weight: 800; font-size: 14px; margin-bottom: 16px; }

.acct-order-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); cursor: pointer; flex-wrap: wrap; }
.acct-order-row:last-child { border-bottom: none; }
.acct-order-main { display: flex; flex-direction: column; gap: 4px; }
.acct-order-id { font-weight: 800; font-size: 14px; }
.acct-order-meta { font-size: 12px; color: var(--gray); }
.acct-order-right { display: flex; align-items: center; gap: 14px; }
.acct-status-pill { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; padding: 5px 10px; border-radius: 999px; background: var(--teal-light, #eeeeee); color: var(--teal-dark); white-space: nowrap; }
.acct-status-pill.status-shipped { background: #fdf1de; color: #8a5a12; }
.acct-status-pill.status-delivered { background: #eef7f0; color: #1f6d3a; }
.acct-order-total { font-weight: 700; font-size: 14px; }
.acct-order-detail { display: none; margin-top: 6px; padding: 18px; background: var(--cream, #f4f1ec); border-radius: 12px; }
.acct-order-detail.open { display: block; }
.acct-detail-line { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.acct-detail-line:last-child { border-bottom: none; }
.acct-detail-img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); background: #fff; flex-shrink: 0; }
.acct-detail-title { font-size: 13px; font-weight: 700; }
.acct-detail-meta { font-size: 12px; color: var(--gray); margin-top: 2px; }
.acct-tracking-box { margin-top: 14px; padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: 10px; font-size: 13px; }
.acct-timeline { margin-top: 14px; font-size: 12px; color: var(--gray); line-height: 1.9; }
.acct-timeline b { color: var(--ink); }
.acct-empty { color: var(--gray); font-size: 13px; padding: 20px 0; text-align: center; }

.acct-addr-card { border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 12px; font-size: 13px; line-height: 1.6; position: relative; }
.acct-addr-actions { margin-top: 10px; display: flex; gap: 10px; }
.acct-addr-actions a { font-size: 12px; font-weight: 700; color: var(--amber-dark); cursor: pointer; }
.acct-default-badge { position: absolute; top: 14px; right: 14px; font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--teal-dark); background: var(--teal-light, #eeeeee); padding: 3px 8px; border-radius: 999px; }

.acct-btn-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
@media (max-width: 640px) { .acct-order-row { flex-direction: column; align-items: flex-start; } .acct-order-right { width: 100%; justify-content: space-between; } }
