/* =====================================================================
   AUTH PAGES (login, register, OTP, password reset)
   ===================================================================== */

.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(139,92,246,0.06));
  padding: 2rem 1rem;
}

.auth-wrap { width: 100%; max-width: 440px; }
.auth-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.2rem;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.15);
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1.8rem;
  color: var(--text);
}
.auth-logo img { height: 36px; width: auto; border-radius: 8px; }
.auth-logo .brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
}

.auth-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.auth-sub { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 1.8rem; line-height: 1.6; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label-row { display: flex; justify-content: space-between; align-items: baseline; }
.form-link-sm { font-size: 0.8rem; color: var(--color-primary); font-weight: 500; }
.form-hint-inline { color: var(--text-faint); font-weight: 400; font-size: 0.82rem; }

.auth-footer-link { text-align: center; font-size: 0.88rem; color: var(--text-soft); margin-top: 1.6rem; }
.auth-footer-link a { color: var(--color-primary); font-weight: 600; }

.otp-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(37,99,235,0.1); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.otp-input { text-align: center; font-size: 1.4rem; letter-spacing: 0.5rem; font-weight: 700; }

.resend-form { margin-top: 1rem; text-align: center; }
.link-btn { background: none; border: none; color: var(--color-primary); font-weight: 600; font-size: 0.86rem; padding: 0.4rem; }
.link-btn:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .auth-card { padding: 1.8rem 1.4rem; }
  .form-row { grid-template-columns: 1fr; }
}
