/* ================================================================
   MOTM Vendor Account Portal — account.css
   All classes are prefixed with .acct- to avoid conflicts with
   the main site stylesheet.
   ================================================================ */

/* ── Auth Pages (login / register) ───────────────────────────── */
.acct-auth-body {
  margin: 0;
  min-height: 100vh;
  background: #0b0805;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: Roboto, Arial, sans-serif;
  padding: 2rem 1rem;
}

.acct-auth-wrap { width: min(460px, 96vw); }

.acct-auth-logo { text-align: center; margin-bottom: 2rem; }
.acct-auth-logo img { max-height: 52px; width: auto; filter: brightness(0) invert(1); display: inline-block; }
.acct-auth-portal-tag { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .28em; font-size: .68rem; color: var(--gold); text-align: center; margin-top: .55rem; }

.acct-auth-card { background: #160e09; border: 1px solid rgba(199,161,122,.38); border-radius: 16px; padding: 2.5rem 2rem; color: #f0e4d4; }

.acct-auth-tabs { display: flex; border-bottom: 1px solid rgba(199,161,122,.22); margin-bottom: 2rem; }
.acct-auth-tab { flex: 1; padding: .75rem; text-align: center; font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: .88rem; color: rgba(231,213,189,.5); cursor: pointer; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; background: none; border-top: none; border-left: none; border-right: none; }
.acct-auth-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

.acct-form-panel { display: none; }
.acct-form-panel.active { display: block; }

.acct-auth-title { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: 1.6rem; letter-spacing: .05em; margin: 0 0 .35rem; color: #f6ede1; }
.acct-auth-sub { font-size: .88rem; color: rgba(240,228,212,.6); margin: 0 0 1.75rem; line-height: 1.5; }

.acct-form-row { display: grid; gap: .85rem; margin-bottom: .85rem; }
.acct-form-row.two-col { grid-template-columns: 1fr 1fr; }

.acct-field { display: grid; gap: .32rem; }
.acct-label { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .09em; font-size: .74rem; color: #d8b790; }
.acct-label .req { color: #e08060; margin-left: .2rem; }

.acct-input, .acct-select, .acct-textarea {
  width: 100%; border: 1px solid rgba(199,161,122,.38); background: rgba(255,255,255,.05);
  color: #f5e9d8; padding: .82rem .9rem; font-family: Roboto, Arial, sans-serif;
  font-size: .95rem; border-radius: 7px; transition: border-color .2s, box-shadow .2s;
  outline: none; box-sizing: border-box;
}
.acct-input:focus, .acct-select:focus, .acct-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199,161,122,.18); }
.acct-input::placeholder { color: rgba(245,233,216,.3); }
.acct-select option { background: #1a0f09; color: #f5e9d8; }
.acct-textarea { resize: vertical; min-height: 95px; }

.acct-auth-btn {
  width: 100%; padding: 1rem; background: var(--gold); border: none; border-radius: 7px;
  color: #120806; font-family: Oswald, sans-serif; text-transform: uppercase;
  letter-spacing: .12em; font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: background .2s, transform .1s; margin-top: .65rem; display: flex;
  align-items: center; justify-content: center; gap: .5rem;
}
.acct-auth-btn:hover { background: #d4ad86; }
.acct-auth-btn:active { transform: scale(.99); }
.acct-auth-btn:disabled { background: rgba(199,161,122,.4); cursor: not-allowed; }
.acct-auth-btn .spinner { width: 18px; height: 18px; border: 2px solid rgba(18,8,6,.3); border-top-color: #120806; border-radius: 50%; animation: acctSpin .7s linear infinite; display: none; }
.acct-auth-btn.loading .spinner { display: block; }
.acct-auth-btn.loading .btn-text { opacity: .6; }

.acct-auth-alert { padding: .8rem 1rem; border-radius: 7px; font-size: .88rem; margin-bottom: 1.2rem; display: none; line-height: 1.45; }
.acct-auth-alert.show { display: block; }
.acct-auth-alert.error { background: rgba(180,30,30,.2); border: 1px solid rgba(220,60,60,.5); color: #ffb4b4; }
.acct-auth-alert.success { background: rgba(42,107,58,.2); border: 1px solid rgba(42,107,58,.5); color: #a8e6b0; }
.acct-auth-alert.info { background: rgba(199,161,122,.12); border: 1px solid rgba(199,161,122,.42); color: #f0d8b8; }

.acct-auth-toggle { text-align: center; font-size: .88rem; color: rgba(240,228,212,.65); margin-top: 1.5rem; }
.acct-auth-toggle a { color: var(--gold); text-decoration: none; }
.acct-auth-toggle a:hover { text-decoration: underline; }

.acct-auth-back { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; color: rgba(199,161,122,.7); text-decoration: none; margin-top: 1.5rem; justify-content: center; width: 100%; font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.acct-auth-back:hover { color: var(--gold); }

.acct-pw-strength { margin-top: .35rem; display: none; gap: .35rem; }
.acct-pw-strength.show { display: grid; }
.acct-pw-bar-row { display: flex; gap: 4px; }
.acct-pw-bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); transition: background .3s; }
.acct-pw-bar.filled-weak { background: #e05050; }
.acct-pw-bar.filled-fair { background: #c79a30; }
.acct-pw-bar.filled-good { background: #70a840; }
.acct-pw-bar.filled-strong { background: #2a8040; }
.acct-pw-label { font-size: .74rem; color: rgba(240,228,212,.55); }

/* ── Dashboard Layout ─────────────────────────────────────────── */
.acct-body { margin: 0; padding: 0; min-height: 100vh; background: #f2ede7; font-family: Roboto, Arial, sans-serif; }
.acct-wrap { display: flex; min-height: 100vh; }

/* ── Sidebar ─────────────────────────────────────────────────── */
.acct-sidebar {
  width: 268px; flex: 0 0 268px; background: #0b0805; color: #e7d5bd;
  display: flex; flex-direction: column; position: fixed; top: 0; left: 0;
  height: 100vh; overflow-y: auto; z-index: 200;
  scrollbar-width: thin; scrollbar-color: rgba(199,161,122,.3) transparent;
  transition: transform .28s ease;
}
.acct-sidebar::-webkit-scrollbar { width: 3px; }
.acct-sidebar::-webkit-scrollbar-thumb { background: rgba(199,161,122,.3); border-radius: 2px; }

.acct-sidebar-logo { padding: 1.35rem 1.5rem 1.15rem; border-bottom: 1px solid rgba(199,161,122,.16); }
.acct-logo-img { max-height: 42px; width: auto; filter: brightness(0) invert(1); }
.acct-portal-tag { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .26em; font-size: .65rem; color: var(--gold); margin-top: .4rem; }

.acct-user-panel { padding: 1.35rem 1.5rem; border-bottom: 1px solid rgba(199,161,122,.12); display: flex; flex-direction: column; gap: .6rem; }
.acct-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), #9a6830); display: flex; align-items: center; justify-content: center; font-family: Oswald, sans-serif; font-size: 1.25rem; color: #0e0a07; font-weight: 700; border: 2px solid rgba(199,161,122,.38); letter-spacing: .02em; }
.acct-user-name { font-family: Oswald, sans-serif; font-size: .98rem; font-weight: 700; color: #f6ede1; letter-spacing: .02em; line-height: 1.2; }
.acct-user-email { font-size: .78rem; color: rgba(231,213,189,.55); word-break: break-all; line-height: 1.3; }
.acct-member-badge { display: inline-flex; align-items: center; gap: .35rem; background: rgba(199,161,122,.12); border: 1px solid rgba(199,161,122,.28); border-radius: 999px; padding: .2rem .65rem; font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: .64rem; color: var(--gold); width: fit-content; }

.acct-completion { margin: 1rem 1.5rem; padding: .85rem 1rem; background: rgba(199,161,122,.08); border: 1px solid rgba(199,161,122,.22); border-radius: 8px; }
.acct-completion-label { font-size: .73rem; color: #c8a070; margin-bottom: .42rem; font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .07em; display: flex; justify-content: space-between; }
.acct-completion-bar { height: 5px; background: rgba(255,255,255,.1); border-radius: 999px; overflow: hidden; margin-bottom: .42rem; }
.acct-completion-fill { height: 100%; background: linear-gradient(90deg, var(--gold), #e0c080); border-radius: 999px; transition: width .8s ease; }
.acct-completion-cta { font-size: .74rem; color: var(--gold); text-decoration: none; font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.acct-completion-cta:hover { text-decoration: underline; }

.acct-nav { flex: 1; padding: .6rem 0; }
.acct-nav-section { padding: .5rem 1.5rem .2rem; font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .2em; font-size: .62rem; color: rgba(199,161,122,.38); margin-top: .55rem; }

.acct-nav-item {
  display: flex; align-items: center; gap: .72rem; padding: .8rem 1.5rem;
  color: rgba(231,213,189,.68); text-decoration: none;
  transition: background .18s, color .18s, border-left-color .18s;
  border-left: 3px solid transparent;
  font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .07em; font-size: .88rem;
}
.acct-nav-item:hover { background: rgba(199,161,122,.07); color: #e7d5bd; border-left-color: rgba(199,161,122,.35); }
.acct-nav-item.active { background: rgba(199,161,122,.13); color: var(--gold); border-left-color: var(--gold); }
.acct-nav-icon { width: 17px; height: 17px; flex: 0 0 17px; stroke: currentColor; fill: none; }
.acct-nav-badge { margin-left: auto; background: var(--rust); color: #fff5ec; border-radius: 999px; font-size: .66rem; padding: .1rem .42rem; font-family: Roboto, sans-serif; font-weight: 700; min-width: 18px; text-align: center; line-height: 1.5; }

.acct-sidebar-footer { padding: 1.15rem 1.5rem; border-top: 1px solid rgba(199,161,122,.12); }
.acct-logout-btn { display: flex; align-items: center; gap: .62rem; color: rgba(231,213,189,.52); text-decoration: none; font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; transition: color .2s; }
.acct-logout-btn svg { width: 16px; height: 16px; flex: 0 0 16px; }
.acct-logout-btn:hover { color: #ff8a80; }

.acct-sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 190; }

/* ── Main content area ───────────────────────────────────────── */
.acct-main { margin-left: 268px; flex: 1; min-height: 100vh; display: flex; flex-direction: column; }

.acct-mobile-header { display: none; align-items: center; gap: 1rem; padding: .9rem 1.25rem; background: #0b0805; color: #e7d5bd; border-bottom: 1px solid rgba(199,161,122,.2); position: sticky; top: 0; z-index: 100; }
.acct-mobile-title { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--gold); flex: 1; }
.acct-menu-toggle { background: none; border: 1px solid rgba(199,161,122,.38); color: #e7d5bd; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 5px; padding: 0; }
.acct-menu-toggle svg { width: 18px; height: 18px; }

.acct-content { padding: 2.4rem 2.6rem; flex: 1; max-width: 1050px; width: 100%; }

/* ── Page header ─────────────────────────────────────────────── */
.acct-page-header { margin-bottom: 1.8rem; padding-bottom: 1.2rem; border-bottom: 2px solid #e8e0d8; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.acct-page-eyebrow { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .22em; font-size: .68rem; color: var(--gold); margin-bottom: .3rem; }
.acct-page-title { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: clamp(1.75rem, 3vw, 2.3rem); letter-spacing: .04em; color: #090705; margin: 0; line-height: 1; }
.acct-page-sub { font-size: .88rem; color: #6c5c4e; margin: .4rem 0 0; max-width: 520px; line-height: 1.55; }

/* ── Cards ───────────────────────────────────────────────────── */
.acct-card { background: #fff; border: 1px solid #e8e0d8; border-radius: 12px; padding: 1.65rem; margin-bottom: 1.4rem; }
.acct-card-title { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; color: #2b140d; margin: 0 0 1.2rem; padding-bottom: .75rem; border-bottom: 1px solid #f0e8e0; display: flex; align-items: center; gap: .55rem; }
.acct-card-title svg { width: 17px; height: 17px; color: var(--gold); flex: 0 0 17px; }

/* ── Stats row ───────────────────────────────────────────────── */
.acct-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.4rem; }
.acct-stat-card { background: #fff; border: 1px solid #e8e0d8; border-radius: 12px; padding: 1.4rem; display: flex; align-items: flex-start; gap: 1rem; }
.acct-stat-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.acct-stat-icon.gold { background: rgba(199,161,122,.14); color: var(--gold); }
.acct-stat-icon.coffee { background: rgba(43,20,13,.09); color: #2b140d; }
.acct-stat-icon.rust { background: rgba(139,74,40,.1); color: var(--rust); }
.acct-stat-icon svg { width: 20px; height: 20px; }
.acct-stat-num { font-family: Oswald, sans-serif; font-size: 2rem; color: #090705; line-height: 1; margin-bottom: .2rem; }
.acct-stat-label { font-size: .78rem; color: #6c5c4e; text-transform: uppercase; letter-spacing: .08em; font-family: Oswald, sans-serif; }

/* ── Welcome banner ──────────────────────────────────────────── */
.acct-welcome { background: linear-gradient(135deg, #2b140d, #1a0b08); color: #f5e9d8; border-radius: 14px; padding: 2rem 2.4rem; margin-bottom: 1.4rem; position: relative; overflow: hidden; }
.acct-welcome:before { content: ''; position: absolute; top: -40%; right: -5%; width: 300px; height: 300px; border-radius: 50%; background: rgba(199,161,122,.07); pointer-events: none; }
.acct-welcome:after { content: ''; position: absolute; bottom: -50%; left: 30%; width: 220px; height: 220px; border-radius: 50%; background: rgba(199,161,122,.05); pointer-events: none; }
.acct-welcome-eyebrow { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .22em; font-size: .68rem; color: var(--gold); margin-bottom: .45rem; }
.acct-welcome-title { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: clamp(1.55rem, 2.8vw, 2.1rem); margin: 0 0 .4rem; letter-spacing: .04em; position: relative; z-index: 1; }
.acct-welcome-sub { font-size: .9rem; color: rgba(245,233,216,.68); margin: 0; line-height: 1.5; position: relative; z-index: 1; }

/* ── Forms ───────────────────────────────────────────────────── */
.acct-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.acct-form-grid.three-col { grid-template-columns: 2fr 1fr 1fr; }
.acct-form-grid.full { grid-template-columns: 1fr; }
.acct-form-field { display: flex; flex-direction: column; gap: .38rem; }
.acct-form-field.span-2 { grid-column: span 2; }
.acct-form-label { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; color: #6c5c4e; }
.acct-form-label .req { color: var(--rust); margin-left: .2rem; }

.acct-form-input, .acct-form-select, .acct-form-textarea {
  border: 1.5px solid #d4c9bc; background: #fff; color: #090705;
  padding: .76rem .85rem; font-family: Roboto, Arial, sans-serif; font-size: .93rem;
  border-radius: 7px; transition: border-color .2s, box-shadow .2s; outline: none;
  width: 100%; box-sizing: border-box;
}
.acct-form-input:focus, .acct-form-select:focus, .acct-form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199,161,122,.18); }
.acct-form-input:disabled, .acct-form-select:disabled { background: #f5f0ea; color: #9a8a7a; cursor: not-allowed; }
.acct-form-textarea { resize: vertical; min-height: 110px; }
.acct-form-hint { font-size: .76rem; color: #9a8a7a; margin-top: .14rem; line-height: 1.4; }

.acct-section-sep { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; color: #2b140d; margin: 1.75rem 0 1.1rem; display: flex; align-items: center; gap: .65rem; }
.acct-section-sep:before { content: ''; display: block; width: 22px; height: 2px; background: var(--gold); flex-shrink: 0; }

.acct-form-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid #f0e8e0; flex-wrap: wrap; }
.acct-form-feedback { font-size: .86rem; display: none; }
.acct-form-feedback.ok { color: #2a6b3a; display: block; }
.acct-form-feedback.err { color: #8b1a1a; display: block; }

/* ── Buttons ─────────────────────────────────────────────────── */
.acct-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .48rem;
  padding: .8rem 1.45rem; border: 2px solid; border-radius: 7px;
  font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .1em;
  font-size: .86rem; font-weight: 700; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .1s; text-decoration: none;
}
.acct-btn:active { transform: scale(.98); }
.acct-btn svg { width: 15px; height: 15px; flex: 0 0 15px; }

.acct-btn.primary { background: #090705; border-color: #090705; color: white; }
.acct-btn.primary:hover { background: #2b140d; border-color: #2b140d; }
.acct-btn.primary:disabled { background: #9a8a7a; border-color: #9a8a7a; cursor: not-allowed; }

.acct-btn.gold { background: var(--gold); border-color: var(--gold); color: #090705; }
.acct-btn.gold:hover { background: #d4ad86; border-color: #d4ad86; }

.acct-btn.outline { background: transparent; border-color: #d4c9bc; color: #2b140d; }
.acct-btn.outline:hover { border-color: #090705; background: #090705; color: white; }

.acct-btn.danger { background: transparent; border-color: #c0392b; color: #c0392b; }
.acct-btn.danger:hover { background: #c0392b; color: white; }

.acct-btn .spinner { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.3); border-top-color: white; border-radius: 50%; animation: acctSpin .7s linear infinite; display: none; flex-shrink: 0; }
.acct-btn.gold .spinner { border-color: rgba(18,8,6,.2); border-top-color: #090705; }
.acct-btn.loading .spinner { display: block; }

/* ── Toast Notifications ─────────────────────────────────────── */
.acct-toast-wrap { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 2000; display: flex; flex-direction: column; gap: .55rem; max-width: 340px; pointer-events: none; }
.acct-toast {
  padding: .88rem 1.1rem; border-radius: 10px; display: flex; align-items: flex-start;
  gap: .7rem; font-size: .88rem; box-shadow: 0 8px 28px rgba(0,0,0,.28);
  animation: acctToastIn .3s ease; cursor: pointer; line-height: 1.42; pointer-events: auto;
}
.acct-toast.success { background: #1a3d25; border: 1px solid rgba(42,107,58,.6); color: #a8e6b0; }
.acct-toast.error { background: #3d1a1a; border: 1px solid rgba(180,30,30,.6); color: #ffb4b4; }
.acct-toast.info { background: #1c1008; border: 1px solid rgba(199,161,122,.5); color: #f0d8b8; }
.acct-toast svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: .06rem; }
.acct-toast.fade-out { animation: acctToastOut .3s ease forwards; }

@keyframes acctToastIn  { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
@keyframes acctToastOut { to   { opacity: 0; transform: translateX(16px); } }
@keyframes acctSpin     { to   { transform: rotate(360deg); } }

/* ── Tables ──────────────────────────────────────────────────── */
.acct-table-wrap { overflow-x: auto; border-radius: 8px; border: 1px solid #e8e0d8; }
.acct-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.acct-table th { background: #f8f4ee; padding: .7rem 1rem; text-align: left; font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: #6c5c4e; border-bottom: 2px solid #e8e0d8; white-space: nowrap; }
.acct-table td { padding: .82rem 1rem; border-bottom: 1px solid #f0e8e0; color: #090705; vertical-align: middle; }
.acct-table tr:last-child td { border-bottom: none; }
.acct-table tr:hover td { background: #fdf8f3; }
.acct-table-empty { text-align: center; color: #9a8a7a; padding: 2rem; font-style: italic; }

.acct-status { display: inline-flex; align-items: center; gap: .32rem; padding: .22rem .6rem; border-radius: 999px; font-size: .72rem; font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.acct-status:before { content: ''; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.acct-status.pending { background: rgba(139,90,0,.1); color: #8b5a00; }
.acct-status.pending:before { background: #c7a030; }
.acct-status.completed { background: rgba(42,107,58,.1); color: #1a5c2a; }
.acct-status.completed:before { background: #2a6b3a; }
.acct-status.failed { background: rgba(180,30,30,.1); color: #8b1a1a; }
.acct-status.failed:before { background: #c0392b; }
.acct-status.refunded { background: rgba(70,70,120,.1); color: #464682; }
.acct-status.refunded:before { background: #5a5aaa; }

/* ── Toggle Switch ───────────────────────────────────────────── */
.acct-toggle-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid #f0e8e0; }
.acct-toggle-row:last-child { border-bottom: none; }
.acct-toggle-info { flex: 1; }
.acct-toggle-title { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .88rem; color: #090705; margin-bottom: .2rem; }
.acct-toggle-desc { font-size: .8rem; color: #6c5c4e; line-height: 1.45; }
.acct-toggle { position: relative; width: 44px; height: 24px; flex-shrink: 0; margin-top: .1rem; }
.acct-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.acct-toggle-slider { position: absolute; inset: 0; background: #d4c9bc; border-radius: 999px; cursor: pointer; transition: background .2s; }
.acct-toggle-slider:before { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: white; top: 3px; left: 3px; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.acct-toggle input:checked + .acct-toggle-slider { background: var(--gold); }
.acct-toggle input:checked + .acct-toggle-slider:before { transform: translateX(20px); }

/* ── Messages ────────────────────────────────────────────────── */
.acct-thread { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 1.4rem; min-height: 200px; max-height: 460px; overflow-y: auto; padding: 1rem 1.1rem; background: #f8f4ee; border: 1px solid #e8e0d8; border-radius: 10px; scrollbar-width: thin; }
.acct-bubble { display: flex; flex-direction: column; max-width: 72%; }
.acct-bubble.out { align-self: flex-end; align-items: flex-end; }
.acct-bubble.in { align-self: flex-start; align-items: flex-start; }
.acct-bubble-meta { font-size: .7rem; color: #9a8a7a; margin-bottom: .28rem; font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.acct-bubble-subject { font-size: .72rem; font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; opacity: .7; }
.acct-bubble-body { padding: .82rem 1rem; border-radius: 12px; font-size: .9rem; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.acct-bubble.out .acct-bubble-body { background: #2b140d; color: #f5e9d8; border-radius: 12px 12px 3px 12px; }
.acct-bubble.in .acct-bubble-body { background: #fff; color: #090705; border: 1px solid #e8e0d8; border-radius: 12px 12px 12px 3px; }
.acct-thread-empty { text-align: center; color: #9a8a7a; padding: 2rem; margin: auto; display: flex; flex-direction: column; align-items: center; gap: .65rem; font-style: italic; font-size: .9rem; }
.acct-thread-empty svg { width: 36px; height: 36px; opacity: .3; }

/* ── Sponsorship Tiers ───────────────────────────────────────── */
.acct-tier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; margin-bottom: 1.4rem; }
.acct-tier-card { border: 2px solid #e8e0d8; border-radius: 12px; padding: 1.35rem; text-align: center; cursor: pointer; transition: border-color .2s, transform .15s, box-shadow .2s; background: #fff; display: flex; flex-direction: column; align-items: center; gap: .45rem; }
.acct-tier-card:hover { border-color: rgba(199,161,122,.7); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(199,161,122,.18); }
.acct-tier-card.selected { border-color: var(--gold); background: #fdf8f2; box-shadow: 0 0 0 3px rgba(199,161,122,.2); }
.acct-tier-emoji { font-size: 1.7rem; line-height: 1; }
.acct-tier-name { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: .86rem; color: #2b140d; }
.acct-tier-amount { font-family: Oswald, sans-serif; font-size: 1.4rem; color: var(--gold); line-height: 1; }
.acct-tier-desc { font-size: .76rem; color: #6c5c4e; line-height: 1.35; }

/* ── Billing card display ────────────────────────────────────── */
.acct-payment-card { background: linear-gradient(135deg, #2b140d 0%, #0e0805 100%); color: #f5e9d8; border-radius: 14px; padding: 1.5rem 1.7rem; position: relative; overflow: hidden; min-height: 158px; display: flex; flex-direction: column; justify-content: space-between; }
.acct-payment-card:before { content: ''; position: absolute; top: -35%; right: -8%; width: 200px; height: 200px; border-radius: 50%; background: rgba(199,161,122,.1); }
.acct-payment-card:after  { content: ''; position: absolute; bottom: -45%; left: 20%; width: 160px; height: 160px; border-radius: 50%; background: rgba(199,161,122,.07); }
.acct-card-chip { width: 30px; height: 22px; border-radius: 4px; background: linear-gradient(135deg, #d4aa7a, #a07040); margin-bottom: .7rem; }
.acct-card-number { font-family: 'Courier New', monospace; font-size: 1.1rem; letter-spacing: .22em; color: #f0e0c8; margin-bottom: .45rem; position: relative; z-index: 1; }
.acct-card-bottom { display: flex; justify-content: space-between; align-items: flex-end; position: relative; z-index: 1; }
.acct-card-bottom-lbl { font-size: .62rem; text-transform: uppercase; letter-spacing: .15em; color: rgba(245,233,216,.5); margin-bottom: .18rem; }
.acct-card-bottom-val { font-family: Oswald, sans-serif; text-transform: uppercase; font-size: .86rem; letter-spacing: .06em; color: #f5e9d8; }
.acct-card-brand { font-family: Oswald, sans-serif; font-size: .95rem; letter-spacing: .08em; color: rgba(245,233,216,.75); text-transform: uppercase; }
.acct-no-card { border: 2px dashed #d4c9bc; border-radius: 12px; padding: 1.6rem; text-align: center; color: #9a8a7a; font-size: .9rem; }
.acct-no-card svg { width: 32px; height: 32px; display: block; margin: 0 auto .65rem; opacity: .35; }

/* ── Security items ──────────────────────────────────────────── */
.acct-sec-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem; border: 1px solid #e8e0d8; border-radius: 10px; margin-bottom: .8rem; background: #fff; }
.acct-sec-icon { width: 40px; height: 40px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(199,161,122,.1); color: var(--gold); }
.acct-sec-icon svg { width: 19px; height: 19px; }
.acct-sec-body { flex: 1; }
.acct-sec-title { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .88rem; color: #090705; margin-bottom: .22rem; }
.acct-sec-desc { font-size: .8rem; color: #6c5c4e; line-height: 1.45; }
.acct-sec-tag { font-size: .72rem; font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .08em; margin-top: .3rem; }
.acct-sec-tag.on { color: #2a6b3a; }
.acct-sec-tag.off { color: #9a8a7a; }

/* ── Activity feed ───────────────────────────────────────────── */
.acct-activity-item { display: flex; align-items: flex-start; gap: .85rem; padding: .85rem 0; border-bottom: 1px solid #f0e8e0; }
.acct-activity-item:last-child { border-bottom: none; }
.acct-activity-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: .42rem; }
.acct-activity-text { font-size: .88rem; color: #090705; line-height: 1.42; }
.acct-activity-time { font-size: .75rem; color: #9a8a7a; margin-top: .18rem; }

/* ── Alert box ───────────────────────────────────────────────── */
.acct-alert { padding: .85rem 1.1rem; border-radius: 8px; font-size: .88rem; line-height: 1.45; margin-bottom: 1.2rem; display: flex; align-items: flex-start; gap: .65rem; }
.acct-alert svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: .06rem; }
.acct-alert.info { background: rgba(199,161,122,.1); border: 1px solid rgba(199,161,122,.4); color: #5a4a2e; }
.acct-alert.warn { background: rgba(180,120,0,.1); border: 1px solid rgba(180,120,0,.4); color: #7a5000; }
.acct-alert.success { background: rgba(42,107,58,.1); border: 1px solid rgba(42,107,58,.4); color: #1a5c2a; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 920px) {
  .acct-sidebar { transform: translateX(-100%); }
  .acct-sidebar.is-open { transform: translateX(0); }
  .acct-sidebar-overlay.is-active { display: block; }
  .acct-main { margin-left: 0; }
  .acct-mobile-header { display: flex; }
  .acct-content { padding: 1.4rem 1.25rem; }
  .acct-stats-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .acct-stats-row { grid-template-columns: 1fr; }
  .acct-form-grid, .acct-form-grid.three-col { grid-template-columns: 1fr; }
  .acct-form-field.span-2 { grid-column: span 1; }
  .acct-tier-grid { grid-template-columns: 1fr 1fr; }
  .acct-auth-card { padding: 1.75rem 1.25rem; }
  .acct-form-row.two-col { grid-template-columns: 1fr; }
}
