/* ── Login page styles ────────────────────────────────────────────────────── */
body { display: flex; align-items: center; justify-content: center; padding: 20px; }

.wrap { position: relative; z-index: 1; width: 100%; max-width: 400px; }

.login-logo {
  text-align: center; margin-bottom: 32px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; color: var(--text);
}
.login-logo .logo-text { font-size: 20px; }

.login-card { border-radius: 20px; padding: 32px; }

.tabs {
  display: flex; gap: 4px; background: var(--bg);
  border-radius: 10px; padding: 4px; margin-bottom: 28px;
}
.tab {
  flex: 1; padding: 9px; border-radius: 7px; border: none; background: none;
  color: var(--muted); font-family: var(--sans); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.tab.active { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,0.3); }

.form { display: none; }
.form.active { display: block; }

.login-card .btn { width: 100%; padding: 13px; margin-top: 4px; }
.login-card .btn:hover { box-shadow: 0 8px 24px rgba(124,106,255,0.3); }

.login-card input::placeholder { color: var(--muted); }

.divider { text-align: center; margin: 24px 0 0; }
.divider a { color: var(--muted); font-size: 13px; text-decoration: none; }
.divider a:hover { color: var(--accent); text-decoration: none; }

.plan-info {
  background: rgba(124,106,255,0.06); border: 1px solid rgba(124,106,255,0.15);
  border-radius: 10px; padding: 14px; margin-top: 20px;
  font-size: 12px; color: var(--muted); font-family: var(--mono);
}
.plan-info strong { color: var(--accent); }

.verify-icon { font-size: 48px; margin-bottom: 12px; }
.verify-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.verify-hint { color: var(--muted); font-size: 13px; }
.verify-code-input {
  text-align: center; font-size: 24px; letter-spacing: 8px; font-family: monospace;
}
.resend-btn {
  background: none; border: none; color: var(--accent);
  cursor: pointer; font-size: 13px; font-family: inherit;
}
.resend-btn:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 480px) {
  .login-card { padding: 28px 20px; }
}
