/* ============================================
   ModConsole — Auth & Account Styles
   ============================================ */

/* ── AUTH PAGES ── */
.auth-body { background: var(--bg); min-height: 100vh; }
.account-body { background: var(--bg); min-height: 100vh; }

.auth-back {
  position: fixed; top: 1.5rem; left: 1.5rem; z-index: 10;
  display: flex; align-items: center; gap: .4rem;
  color: var(--text-muted); font-size: .85rem; font-weight: 500;
  padding: .45rem .9rem; border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.auth-back:hover { color: var(--text); background: rgba(255,255,255,0.1); }

.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* LEFT PANEL */
.auth-left {
  background: linear-gradient(135deg, #0d0d18 0%, #111128 100%);
  padding: 4rem 3rem;
  display: flex; align-items: center;
  border-right: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute; top: -30%; left: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.auth-brand { position: relative; z-index: 1; max-width: 420px; }
.auth-brand h2 { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 1rem; line-height: 1.2; }
.auth-brand > p { color: var(--text-muted); line-height: 1.7; margin-bottom: 2.5rem; font-size: .95rem; }
.auth-perks { display: flex; flex-direction: column; gap: 1.25rem; }
.perk { display: flex; align-items: flex-start; gap: 1rem; }
.perk-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.perk strong { display: block; font-size: .95rem; font-weight: 700; margin-bottom: .2rem; }
.perk p { color: var(--text-muted); font-size: .82rem; margin: 0; }

/* RIGHT PANEL */
.auth-right {
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 2rem;
  background: var(--bg);
}
.auth-card {
  width: 100%; max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

/* TABS */
.auth-tabs {
  display: flex; position: relative;
  background: var(--bg); border-radius: 10px;
  padding: 4px; margin-bottom: 2rem;
  border: 1px solid var(--border);
}
.auth-tab {
  flex: 1; padding: .6rem; border: none; background: none;
  color: var(--text-muted); font-size: .9rem; font-weight: 600;
  cursor: pointer; border-radius: 8px; transition: var(--transition); z-index: 1;
}
.auth-tab.active { color: var(--text); }
.auth-tab-indicator {
  position: absolute; top: 4px; left: 4px;
  width: calc(50% - 4px); height: calc(100% - 8px);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 7px;
  transition: .25s cubic-bezier(0.4,0,0.2,1);
}
.auth-tab-indicator.right { transform: translateX(100%); }

/* SOCIAL BUTTONS */
.auth-social { display: flex; gap: .75rem; margin-bottom: 1.5rem; }
.social-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .7rem; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--bg);
  color: var(--text); font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.social-btn:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.15); }

/* DIVIDER */
.auth-divider {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem; color: var(--text-dim); font-size: .78rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* FORM */
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.auth-form.hidden { display: none; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.input-wrap {
  position: relative; display: flex; align-items: center;
}
.input-wrap input {
  width: 100%; padding: .7rem 1rem .7rem 2.8rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text); font-size: .9rem;
  font-family: inherit; outline: none; transition: var(--transition);
}
.input-wrap input:not([style*="padding-left"]) { padding-left: 2.8rem; }
.input-wrap input[style*="padding-left:1rem"] { padding-left: 1rem; }
.input-wrap input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }
.input-wrap input:disabled {
  background: rgba(255,255,255,0.02); color: var(--text-muted);
  cursor: default; border-color: rgba(255,255,255,0.05);
}
.input-icon {
  position: absolute; left: .85rem; color: var(--text-dim); pointer-events: none; z-index: 1;
}
.toggle-pwd {
  position: absolute; right: .75rem;
  background: none; border: none; color: var(--text-dim);
  cursor: pointer; padding: .3rem; transition: var(--transition);
}
.toggle-pwd:hover { color: var(--text-muted); }

/* CHECKBOX */
.form-check { margin: .25rem 0; }
.checkbox-label {
  display: flex; align-items: center; gap: .65rem;
  cursor: pointer; font-size: .83rem; color: var(--text-muted);
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkmark {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 1.5px solid var(--border); border-radius: 5px;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.checkbox-label input:checked + .checkmark {
  background: var(--gold); border-color: var(--gold);
}
.checkbox-label input:checked + .checkmark::after {
  content: ''; display: block; width: 5px; height: 9px;
  border: 2px solid #000; border-top: none; border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

/* PASSWORD STRENGTH */
.pwd-strength { display: flex; align-items: center; gap: .75rem; margin-top: .4rem; }
.strength-bars { display: flex; gap: 4px; }
.strength-bars span {
  width: 28px; height: 4px; border-radius: 2px;
  background: var(--border); transition: .3s;
}
.strength-bars.s1 span:nth-child(1) { background: #ef4444; }
.strength-bars.s2 span:nth-child(-n+2) { background: #f59e0b; }
.strength-bars.s3 span:nth-child(-n+3) { background: #3b82f6; }
.strength-bars.s4 span { background: #22c55e; }
.strength-label { font-size: .75rem; color: var(--text-dim); }

/* ERRORS / SUCCESS */
.form-error {
  color: #f87171; font-size: .82rem; padding: .6rem .9rem;
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2);
  border-radius: 8px; display: none;
}
.form-error.show { display: block; }
.form-success {
  color: #4ade80; font-size: .82rem; padding: .6rem .9rem;
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2);
  border-radius: 8px;
}
.form-success.hidden { display: none; }

/* SUBMIT BTN */
.auth-submit { width: 100%; justify-content: center; padding: .85rem; font-size: .95rem; }

/* MISC */
.link-btn {
  background: none; border: none; color: var(--gold);
  font-size: inherit; cursor: pointer; font-family: inherit;
  padding: 0; transition: var(--transition); font-weight: 500;
}
.link-btn:hover { color: var(--gold-light); }
.auth-switch { text-align: center; font-size: .83rem; color: var(--text-muted); }

/* ── ACCOUNT DASHBOARD ── */
.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 68px);
  max-width: 1400px; margin: 0 auto;
}

/* SIDEBAR */
.account-sidebar {
  border-right: 1px solid var(--border);
  padding: 1.5rem;
  display: flex; flex-direction: column;
  position: sticky; top: 68px; height: calc(100vh - 68px);
  overflow-y: auto;
}
.sidebar-profile {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.avatar-wrap { position: relative; flex-shrink: 0; }
.sidebar-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--gold);
}
.sidebar-avatar-initials {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: #000;
  border: 2px solid var(--gold);
}
.sidebar-user { min-width: 0; }
.sidebar-user strong { display: block; font-size: .9rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user span { font-size: .75rem; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.loyalty-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: .25rem; font-size: .7rem; font-weight: 700;
  color: var(--gold); background: rgba(201,168,76,0.1);
  padding: .15rem .5rem; border-radius: 100px;
}
.sidebar-nav { display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.sidebar-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem .85rem; border-radius: 10px;
  border: none; background: none; color: var(--text-muted);
  font-size: .88rem; font-weight: 500; cursor: pointer;
  text-align: left; width: 100%;
  transition: var(--transition); position: relative;
}
.sidebar-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.sidebar-link.active { color: var(--gold); background: rgba(201,168,76,0.08); font-weight: 600; }
.sidebar-link svg { flex-shrink: 0; }
.sidebar-badge {
  margin-left: auto; background: var(--gold); color: #000;
  font-size: .65rem; font-weight: 800; padding: .15rem .45rem;
  border-radius: 100px;
}
.sidebar-logout {
  display: flex; align-items: center; gap: .6rem;
  padding: .65rem .85rem; border-radius: 10px;
  border: none; background: none; color: var(--text-dim);
  font-size: .82rem; cursor: pointer; margin-top: 1rem;
  transition: var(--transition); width: 100%;
}
.sidebar-logout:hover { color: #ef4444; background: rgba(239,68,68,0.05); }

/* MAIN */
.account-main { padding: 2.5rem; max-width: 900px; }
.acc-section { display: none; }
.acc-section.active { display: block; }
.acc-header { margin-bottom: 2rem; }
.acc-header h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .35rem; }
.acc-header p { color: var(--text-muted); font-size: .9rem; }

/* PROFILE AVATAR */
.profile-avatar-section {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.5rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}
.profile-avatar-wrap { position: relative; flex-shrink: 0; }
.profile-avatar-img, .profile-avatar-initials {
  width: 80px; height: 80px; border-radius: 50%;
  border: 3px solid var(--gold);
}
.profile-avatar-img { object-fit: cover; }
.profile-avatar-initials {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 900; color: #000;
}
.avatar-upload-btn {
  position: absolute; bottom: 0; right: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: #000;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: 2px solid var(--bg); transition: var(--transition);
}
.avatar-upload-btn:hover { transform: scale(1.1); }

/* CARDS */
.acc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.acc-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
}
.acc-card-header h3 { font-size: 1rem; font-weight: 700; }
.form-actions { display: flex; gap: .75rem; margin-top: 1rem; }
.form-actions.hidden { display: none; }

/* ORDERS */
.order-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin-bottom: 2rem;
}
.order-stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  text-align: center;
}
.osc-label { display: block; font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4rem; }
.osc-val { font-size: 1.6rem; font-weight: 900; }

.order-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); margin-bottom: 1rem; overflow: hidden;
  transition: var(--transition);
}
.order-card:hover { border-color: var(--border-gold); }
.order-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: .75rem;
}
.order-id { font-size: .78rem; color: var(--text-dim); font-family: monospace; }
.order-status {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .25rem .75rem; border-radius: 100px;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; }
.status--delivered { background: rgba(34,197,94,0.12); color: #4ade80; }
.status--delivered .status-dot { background: #4ade80; }
.status--shipping { background: rgba(245,158,11,0.12); color: #fbbf24; }
.status--shipping .status-dot { background: #fbbf24; animation: blink 1.5s ease-in-out infinite; }
.status--processing { background: rgba(99,102,241,0.12); color: #818cf8; }
.status--processing .status-dot { background: #818cf8; }
.status--cancelled { background: rgba(239,68,68,0.12); color: #f87171; }
.status--cancelled .status-dot { background: #f87171; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.3; } }

.order-card-items { padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.order-item { display: flex; align-items: center; gap: 1rem; }
.order-item-img {
  width: 60px; height: 50px; border-radius: 8px;
  background: var(--surface-2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.order-item-img svg { width: 90%; height: 90%; }
.order-item-info { flex: 1; }
.order-item-name { font-size: .88rem; font-weight: 600; }
.order-item-cat { font-size: .72rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.order-item-price { font-size: .95rem; font-weight: 800; }
.order-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}
.order-total-row { display: flex; align-items: center; gap: 1.5rem; }
.order-total-label { font-size: .8rem; color: var(--text-muted); }
.order-total-val { font-size: 1.1rem; font-weight: 800; }
.order-actions { display: flex; gap: .5rem; }
.order-action-btn {
  padding: .4rem .9rem; border-radius: 8px; font-size: .78rem; font-weight: 600;
  cursor: pointer; border: 1px solid var(--border); background: var(--bg);
  color: var(--text-muted); transition: var(--transition);
}
.order-action-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.order-action-btn.primary { background: rgba(201,168,76,0.1); border-color: var(--border-gold); color: var(--gold); }

/* Tracking bar */
.order-tracking {
  padding: 1rem 1.5rem; background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
}
.tracking-steps { display: flex; align-items: center; gap: 0; position: relative; }
.track-step {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  flex: 1; position: relative; z-index: 1;
}
.track-step::before {
  content: ''; position: absolute; top: 11px; right: -50%; width: 100%;
  height: 2px; background: var(--border); z-index: -1;
}
.track-step:last-child::before { display: none; }
.track-step.done::before { background: var(--gold); }
.track-dot {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--border); display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
}
.track-step.done .track-dot { background: var(--gold); color: #000; }
.track-step.active .track-dot { background: var(--surface-2); border: 2px solid var(--gold); box-shadow: 0 0 8px rgba(201,168,76,0.4); }
.track-label { font-size: .65rem; color: var(--text-dim); text-align: center; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.track-step.done .track-label, .track-step.active .track-label { color: var(--gold); }

/* WISHLIST */
.wishlist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.wishlist-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
}
.wishlist-card:hover { border-color: var(--border-gold); transform: translateY(-2px); }
.wishlist-card-img {
  aspect-ratio: 4/3; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.wishlist-card-img svg { width: 90%; }
.wishlist-card-info { padding: 1rem; }
.wishlist-card-name { font-size: .9rem; font-weight: 700; margin-bottom: .35rem; }
.wishlist-card-price { font-size: 1rem; font-weight: 800; color: var(--gold); margin-bottom: .75rem; }
.wishlist-card-actions { display: flex; gap: .5rem; }

/* ADDRESSES */
.addresses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.address-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
  position: relative; transition: var(--transition);
}
.address-card.default { border-color: var(--border-gold); }
.address-card:hover { border-color: rgba(255,255,255,0.15); }
.address-default-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .68rem; font-weight: 800; color: var(--gold);
  background: rgba(201,168,76,0.1); padding: .2rem .55rem;
  border-radius: 100px; margin-bottom: .65rem;
  text-transform: uppercase; letter-spacing: .06em;
}
.address-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.7; }
.address-actions { display: flex; gap: .5rem; margin-top: 1rem; }
.address-action {
  padding: .35rem .8rem; border-radius: 7px; font-size: .75rem;
  font-weight: 600; cursor: pointer; border: 1px solid var(--border);
  background: transparent; color: var(--text-muted); transition: var(--transition);
}
.address-action:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.address-action.danger:hover { color: #ef4444; border-color: rgba(239,68,68,0.3); }

/* ADDRESS MODAL */
.addr-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  z-index: 1201; width: 90%; max-width: 540px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); opacity: 0; visibility: hidden;
  transition: .3s cubic-bezier(0.4,0,0.2,1);
}
.addr-modal.active { transform: translate(-50%,-50%); opacity: 1; visibility: visible; }

/* LOYALTY */
.loyalty-hero {
  display: grid; grid-template-columns: auto 1fr; gap: 2rem;
  align-items: center; padding: 2rem;
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.03));
  border: 1px solid var(--border-gold); border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}
.loyalty-score {
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  padding-right: 2rem; border-right: 1px solid var(--border-gold);
}
.loyalty-score strong { font-size: 3rem; font-weight: 900; color: var(--gold); line-height: 1; }
.loyalty-score span { font-size: .78rem; color: var(--text-muted); text-align: center; }
.loyalty-tier .tier-badge {
  display: inline-block; padding: .25rem .8rem; border-radius: 100px;
  font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: .5rem;
}
.tier-badge.bronze { background: rgba(205,127,50,0.15); color: #cd7f32; }
.tier-badge.silver { background: rgba(192,192,192,0.15); color: #c0c0c0; }
.tier-badge.gold { background: rgba(201,168,76,0.15); color: var(--gold); }
.loyalty-tier p { font-size: .85rem; color: var(--text-muted); margin-bottom: .75rem; }
.tier-progress { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.tier-bar { height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); border-radius: 3px; transition: 1s ease; }
.loyalty-how { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; }
.loyalty-how h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }
.loyalty-rules { display: flex; flex-direction: column; gap: 1rem; }
.loyalty-rule { display: flex; align-items: flex-start; gap: 1rem; }
.rule-pts {
  font-size: .85rem; font-weight: 800; color: var(--gold);
  background: rgba(201,168,76,0.1); padding: .3rem .7rem;
  border-radius: 8px; white-space: nowrap; border: 1px solid var(--border-gold);
  min-width: 55px; text-align: center;
}
.loyalty-rule strong { display: block; font-size: .9rem; margin-bottom: .15rem; }
.loyalty-rule p { color: var(--text-muted); font-size: .8rem; margin: 0; }

/* SETTINGS TOGGLE */
.settings-list { display: flex; flex-direction: column; gap: 0; }
.setting-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.setting-row:last-child { border-bottom: none; }
.setting-row > div p { color: var(--text-muted); font-size: .8rem; margin-top: .15rem; }
.setting-row > div strong { font-size: .9rem; }
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 100px; cursor: pointer; transition: .3s;
}
.toggle-slider::before {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--text-dim); transition: .3s;
}
.toggle input:checked + .toggle-slider { background: rgba(201,168,76,0.2); border-color: var(--border-gold); }
.toggle input:checked + .toggle-slider::before { background: var(--gold); transform: translateX(20px); }

/* ACCOUNT HEADER INFO */
.account-header-info {
  display: flex; align-items: center; gap: .75rem;
  font-size: .85rem; color: var(--text-muted);
}
.account-header-info img, .account-header-info .mini-initials {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--border-gold);
}
.account-header-info .mini-initials {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 800; color: #000;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .account-layout { grid-template-columns: 220px 1fr; }
}
@media (max-width: 768px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-card { padding: 1.75rem; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; padding: 1rem; }
  .sidebar-profile { display: none; }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; gap: .3rem; }
  .sidebar-link { padding: .5rem .7rem; font-size: .78rem; }
  .sidebar-logout { display: none; }
  .account-main { padding: 1.5rem; }
  .order-stats { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .loyalty-hero { grid-template-columns: 1fr; }
  .loyalty-score { padding-right: 0; border-right: none; padding-bottom: 1rem; border-bottom: 1px solid var(--border-gold); }
}
