/* ── AUTH PAGE STYLES ─────────────────────────────────── */
.auth-body { margin: 0; padding: 0; background: #3983F6; min-height: 100vh; }

.auth-layout {
  display: flex;
  min-height: 100vh;
}

/* LEFT */
.auth-left {
  width: 44%;
  background: linear-gradient(145deg, #3983F6 0%, #3983F6 60%, #0e3a6e 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
}
.auth-left::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(ellipse at 30% 30%, rgba(57, 131, 246,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 70%, rgba(240,192,64,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.auth-left-inner { position: relative; z-index: 1; max-width: 420px; }

.auth-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-bottom: 2.5rem;
}
.auth-brand-text { display: flex; flex-direction: column; line-height: 1; }
.auth-brand-top { font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 900; color: #fff; letter-spacing: 0.12em; }
.auth-brand-bottom { font-family: 'Outfit', sans-serif; font-size: 0.65rem; font-weight: 600; color: #f0c040; letter-spacing: 0.18em; }

.auth-hero-text h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}
.auth-hero-text p { color: rgba(255,255,255,0.65); font-size: 1rem; margin: 0 0 2rem; }

.auth-features { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.auth-features li { color: rgba(255,255,255,0.85); font-size: 0.9rem; display: flex; align-items: center; gap: 0.6rem; }
.auth-feat-check {
  width: 20px; height: 20px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}

.auth-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}
.auth-stat { text-align: center; flex: 1; }
.auth-stat strong { display: block; font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 800; color: #f0c040; }
.auth-stat span { font-size: 0.7rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.05em; }
.auth-stat-div { width: 1px; height: 32px; background: rgba(255,255,255,0.15); }

.auth-testimonial {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid #f0c040;
  border-radius: 12px;
  padding: 1.2rem;
}
.auth-testimonial p { color: rgba(255,255,255,0.8); font-size: 0.88rem; line-height: 1.6; margin: 0 0 0.8rem; font-style: italic; }
.auth-test-author { display: flex; align-items: center; gap: 0.6rem; }
.auth-test-av {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg,#3983F6,#3983F6);
  color: #fff; font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.auth-test-author strong { display: block; font-size: 0.85rem; color: #fff; }
.auth-test-author span { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

/* RIGHT */
.auth-right {
  flex: 1;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  overflow-y: auto;
}
.auth-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 40px rgba(0,0,0,0.08);
}
.auth-back-link { margin-bottom: 1.2rem; }
.auth-back-link a { font-size: 0.82rem; color: #64748b; text-decoration: none; }
.auth-back-link a:hover { color: #3983F6; }

.auth-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 2rem;
}
.auth-tab {
  flex: 1; padding: 0.55rem;
  background: transparent;
  border: none; cursor: pointer;
  border-radius: 7px;
  font-size: 0.88rem; font-weight: 600;
  color: #64748b;
  transition: all 0.2s;
}
.auth-tab.active { background: #fff; color: #3983F6; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

.auth-form-header { margin-bottom: 1.5rem; }
.auth-form-header h2 { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 800; color: #0f172a; margin: 0 0 0.3rem; }
.auth-form-header p { color: #64748b; font-size: 0.88rem; margin: 0; }
.auth-form-header.text-center { text-align: center; }
.verify-icon { font-size: 3rem; margin-bottom: 0.8rem; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.input-icon-wrap { position: relative; }
.input-icon { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; }
.input-has-icon { padding-left: 2.5rem; }
.eye-toggle {
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: #94a3b8; display: flex; align-items: center;
  padding: 0;
}
.eye-toggle:hover { color: #3983F6; }

/* Password strength */
.password-strength { margin-bottom: 0.75rem; }
.ps-bar { display: flex; gap: 4px; margin-bottom: 4px; }
.ps-seg { flex: 1; height: 4px; border-radius: 2px; background: #e2e8f0; transition: background 0.3s; }
.ps-seg.weak   { background: #ef4444; }
.ps-seg.fair   { background: #f97316; }
.ps-seg.good   { background: #3983F6; }
.ps-seg.strong { background: #16a34a; }
.ps-label { font-size: 0.75rem; color: #94a3b8; }

/* Auth checkbox */
.auth-checkbox {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.85rem; color: #475569; cursor: pointer;
  margin: 0.75rem 0 1rem;
}
.auth-checkbox input { margin-top: 2px; accent-color: #3983F6; flex-shrink: 0; }

.auth-divider {
  display: flex; align-items: center; gap: 0.75rem;
  margin: 1.5rem 0; color: #94a3b8; font-size: 0.82rem;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }

.auth-social { display: flex; flex-direction: column; gap: 0.75rem; }
.social-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  width: 100%; padding: 0.7rem;
  border: 1.5px solid #e2e8f0; border-radius: 10px;
  background: #fff; cursor: pointer;
  font-size: 0.88rem; font-weight: 500; color: #0f172a;
  transition: all 0.2s;
}
.social-btn:hover { border-color: #94a3b8; background: #f8fafc; }
.social-btn--dark { background: #111; color: #fff; border-color: #111; }
.social-btn--dark:hover { background: #333; }

.auth-switch { text-align: center; font-size: 0.85rem; color: #64748b; margin-top: 1.2rem; margin-bottom: 0; }
.auth-link { color: #3983F6; text-decoration: none; font-weight: 600; }
.auth-link:hover { color: #3983F6; }
.auth-link-right { float: right; font-weight: 500; font-size: 0.82rem; }

/* OTP */
.otp-group { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 1rem; }
.otp-input { width: 48px !important; height: 56px; text-align: center; font-size: 1.4rem; font-weight: 700; border-radius: 10px; }
.otp-timer { text-align: center; font-size: 0.82rem; color: #64748b; margin-bottom: 1.2rem; }

/* Responsive */
@media (max-width: 768px) {
  .auth-layout { flex-direction: column; }
  .auth-left { width: 100%; padding: 2rem 1.5rem; min-height: auto; }
  .auth-left-inner { max-width: 100%; }
  .auth-hero-text h1 { font-size: 1.6rem; }
  .auth-stats { gap: 0.6rem; }
  .auth-stat strong { font-size: 0.9rem; }
  .auth-right { padding: 2rem 1rem; }
  .auth-card { padding: 1.5rem; }
  .form-row-2 { grid-template-columns: 1fr; }
}
