/* ============================================================
   AdCopy AI — auth.css
   Login, Register, Verify, Forgot pages
   ============================================================ */

.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 30% 20%, rgba(124,111,255,0.14) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(124,111,255,0.08) 0%, transparent 60%), var(--bg); }

.auth-wrap { width: 100%; max-width: 440px; padding: 24px 16px; }

.auth-logo { display: block; text-align: center; font-family: var(--ff-head); font-size: 1.7rem;
  font-weight: 800; color: var(--text); text-decoration: none; margin-bottom: 28px; letter-spacing: -0.5px; }
.auth-logo b { color: var(--accent); }

.auth-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 36px 32px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-family: var(--ff-head); font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.auth-sub { color: var(--text-3); font-size: 0.88rem; margin-bottom: 24px; }

.fg { margin-bottom: 18px; }
.fg label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-2); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.5px; }

.btn-auth { display: block; width: 100%; background: var(--accent); color: white;
  font-family: var(--ff-head); font-weight: 700; font-size: 1rem; padding: 13px;
  border: none; border-radius: var(--r-md); cursor: pointer; margin-top: 8px;
  transition: background var(--t), transform var(--t), box-shadow var(--t); }
.btn-auth:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-glow); }

.auth-switch { text-align: center; color: var(--text-3); font-size: 0.85rem; margin-top: 20px; }
.auth-switch a { color: var(--accent); text-decoration: none; font-weight: 600; }

.alert { padding: 11px 16px; border-radius: var(--r-md); font-size: 0.85rem; margin-bottom: 16px; }
.alert-error   { background: rgba(255,92,122,0.1); border: 1px solid rgba(255,92,122,0.35); color: var(--red); }
.alert-success { background: rgba(34,221,168,0.1);   border: 1px solid rgba(34,221,168,0.35);   color: var(--green); }
.alert a { color: inherit; font-weight: 600; }

.fg-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.checkbox-label { display: flex; align-items: center; gap: 7px; font-size: 0.85rem; color: var(--text-2); cursor: pointer; }
.checkbox-label input { width: auto; cursor: pointer; }
.forgot-link { font-size: 0.84rem; color: var(--accent); text-decoration: none; font-weight: 500; }
.forgot-link:hover { text-decoration: underline; }

/* OTP inputs */
.otp-inputs { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
.otp-box { width: 48px; height: 56px; text-align: center; font-size: 1.4rem; font-weight: 700;
  font-family: var(--ff-head); padding: 0; border-radius: var(--r-md); }
.btn-link { background: none; border: none; color: var(--accent); font-size: 0.85rem;
  cursor: pointer; text-decoration: underline; font-family: var(--ff-body); }

/* flash */
.flash { padding: 11px 16px; border-radius: var(--r-md); font-size: 0.85rem; margin-bottom: 16px; }
.flash-success { background: rgba(34,221,168,0.1); border: 1px solid rgba(34,221,168,0.35); color: var(--green); }
.flash-error   { background: rgba(255,92,122,0.1); border: 1px solid rgba(255,92,122,0.35); color: var(--red); }

/* ══════════════════════════════════════════════
   MOBILE RESPONSIVE — auth.css
══════════════════════════════════════════════ */
@media (max-width: 520px) {
  .auth-page { padding: 16px; min-height: 100svh; }
  .auth-card { padding: 28px 20px; border-radius: 14px; }
  .auth-logo { font-size: 1.5rem; margin-bottom: 20px; }
  .auth-title { font-size: 1.4rem; }
  .auth-sub { font-size: .88rem; }
  .auth-input { font-size: 1rem; padding: 12px 14px; }
  .auth-btn { padding: 14px; font-size: 1rem; }
  .auth-links { flex-direction: column; gap: 8px; text-align: center; }
  .otp-inputs { gap: 8px; }
  .otp-inputs input { width: 42px; height: 50px; font-size: 1.3rem; }
}