/* Auth/account UI - reuses styles.css tokens (--accent, --line, --muted,
   .card/.form-grid/.primary/.secondary/.message/.hint) so these pages read
   as part of the same app, not a bolted-on design. */

.brand-link { color: inherit; text-decoration: none; }

.beta-badge {
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent-2); border: 1px solid rgba(77,212,172,.35);
  background: rgba(77,212,172,.08); padding: 5px 10px; border-radius: 999px;
}

.account-menu { position: relative; }
.account-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 50;
  min-width: 200px; background: #0b0f1a; border: 1px solid var(--line);
  border-radius: 12px; padding: 6px; box-shadow: 0 15px 45px rgba(0,0,0,.5);
  display: flex; flex-direction: column;
}
.account-dropdown.hidden { display: none; }
.account-dropdown a, .account-dropdown button {
  display: block; width: 100%; text-align: left; padding: 9px 12px;
  border-radius: 8px; color: #dce3ef; text-decoration: none;
  background: transparent; border: none; font: inherit; cursor: pointer;
}
.account-dropdown a:hover, .account-dropdown button:hover { background: rgba(124,140,255,.12); }

.app-nav { margin-top: 10px; }

.auth-page { max-width: 520px; margin: 0 auto; }
.auth-card .lead { margin-bottom: 18px; }
.auth-switch { text-align: center; margin-top: 14px; }
.auth-switch a { color: var(--accent-2); }

.account-tabs { margin-bottom: 20px; }
.account-subpage.hidden { display: none; }
.account-subpage .card { margin-bottom: 18px; }

.danger-card { border-color: rgba(255,120,120,.35); }
.danger-btn { border-color: rgba(255,120,120,.5); color: #ff9a9a; }
.danger-btn:hover { background: rgba(255,120,120,.12); }

.legal-card ul { padding-left: 20px; line-height: 1.6; }
.legal-card li { margin-bottom: 8px; }

.site-footer { margin-top: 40px; padding: 20px 0 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.site-footer a { color: var(--accent-2); }

.favorite-row, .account-table-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.favorite-row:last-child, .account-table-row:last-child { border-bottom: none; }
