:root {
  --ink: #0A0612;
  --card-dark: #1A0F2E;
  --border-dark: #2A1F45;
  --text-on-dark: #E0D4FF;
  --text-strong-on-dark: #F5EEFF;
  --muted-on-dark: #9A8FAE;
  --grad: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ink);
  color: var(--text-on-dark);
  min-height: 100vh;
}
.auth-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.auth-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(18, 10, 31, 0.92);
  border-bottom: 1px solid var(--border-dark);
}
.auth-nav a { text-decoration: none; }
.auth-nav img { height: 38px; }
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 40px 36px;
  margin-top: 60px;
}
.auth-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--text-strong-on-dark);
  margin-bottom: 8px;
}
.auth-sub { font-size: 14px; color: var(--muted-on-dark); margin-bottom: 28px; line-height: 1.5; }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-input {
  background: #120A1F;
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text-strong-on-dark);
  font-size: 15px;
  outline: none;
}
.auth-input:focus { border-color: #7C3AED; }
.auth-input::placeholder { color: #6B5F80; }
.auth-btn {
  background: var(--grad);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  margin-top: 4px;
}
.auth-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-error {
  display: none;
  background: #DC262618;
  border: 1px solid #DC262633;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #FCA5A5;
  margin-bottom: 12px;
}
.auth-switch { text-align: center; margin-top: 20px; font-size: 13px; color: var(--muted-on-dark); }
.auth-switch a { color: #A855F7; text-decoration: none; }
.plan-badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: #C4B5FD;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.fine-print { font-size: 12px; color: #6B5F80; margin-top: 16px; text-align: center; }
