/* ================================================
   AUTH.CSS — FxPro+ Authentication Styles
   Shared across: login.html, signup.html, forgot-password.html
   ================================================ */

/* ---- CSS VARIABLES ---- */
:root {
  --bg-primary:        #f0f4f8;
  --bg-card:           #ffffff;
  --bg-muted:          #f5f7fa;
  --accent-cyan:       #0284c7;
  --accent-cyan-dim:   rgba(2,132,199,0.10);
  --accent-cyan-light: rgba(2,132,199,0.06);
  --accent-green:      #059669;
  --accent-green-dim:  rgba(5,150,105,0.10);
  --accent-red:        #dc2626;
  --accent-red-dim:    rgba(220,38,38,0.08);
  --accent-gold:       #d97706;
  --accent-blue-grad:  linear-gradient(135deg,#0284c7,#0369a1);
  --text-primary:      #0f172a;
  --text-secondary:    #475569;
  --text-muted:        #94a3b8;
  --border:            rgba(0,0,0,0.07);
  --border-medium:     rgba(0,0,0,0.11);
  --border-accent:     rgba(2,132,199,0.25);
  --shadow-sm:         0 2px 8px rgba(0,0,0,0.07),0 1px 3px rgba(0,0,0,0.04);
  --shadow-md:         0 4px 16px rgba(0,0,0,0.08),0 2px 6px rgba(0,0,0,0.04);
  --shadow-cyan:       0 4px 20px rgba(2,132,199,0.22);
  --radius-sm:         10px;
  --radius-md:         14px;
  --radius-lg:         18px;
  --radius-xl:         24px;
}

/* ---- RESET ---- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ================================================
   LAYOUT WRAPPER
   ================================================ */
.auth-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* ================================================
   LEFT PANEL (Desktop only)
   ================================================ */
.auth-left {
  width: 48%;
  min-height: 100vh;
  background: var(--accent-blue-grad);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 48px;
  flex-shrink: 0;
}

/* Decorative circles */
.auth-left::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}
.auth-left::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.auth-left-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
  pointer-events: none;
}

/* Logo */
.left-logo {
  display: flex; align-items: center; gap: 12px;
  position: relative; z-index: 1;
  animation: authFadeDown 0.5s ease both;
}
.left-logo img { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; }
.left-logo-fallback {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,0.18);
  display: none; align-items: center; justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 1rem; color: #fff;
}
.left-brand {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.4rem; font-weight: 800; color: #fff; letter-spacing: -0.02em;
}
.left-brand-tag {
  font-size: 0.65rem; color: rgba(255,255,255,0.65);
  font-weight: 500; margin-top: 1px; letter-spacing: 0.04em;
}

/* Main content block */
.left-content {
  position: relative; z-index: 1;
  animation: authFadeUp 0.6s 0.2s ease both;
}
.left-headline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.4rem; font-weight: 800; color: #fff;
  line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 16px;
}
.left-headline span { color: rgba(255,255,255,0.65); }
.left-desc {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem; line-height: 1.7;
  max-width: 380px; margin-bottom: 32px;
}

/* Stats row */
.left-stats {
  display: flex; gap: 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden; backdrop-filter: blur(10px);
}
.left-stat {
  flex: 1; padding: 18px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.left-stat:last-child { border-right: none; }
.left-stat-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.4rem; font-weight: 800; color: #fff; letter-spacing: -0.03em;
}
.left-stat-label {
  font-size: 0.68rem; color: rgba(255,255,255,0.6);
  font-weight: 500; margin-top: 3px; letter-spacing: 0.03em;
}

/* Steps guide (signup) */
.steps-guide {
  position: relative; z-index: 1;
  animation: authFadeUp 0.6s 0.2s ease both;
}
.steps-guide-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.6rem; font-weight: 800; color: #fff;
  letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 10px;
}
.steps-guide-sub {
  font-size: 0.85rem; color: rgba(255,255,255,0.65);
  line-height: 1.6; margin-bottom: 32px;
}
.steps-list { display: flex; flex-direction: column; gap: 0; }
.step-guide-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s;
}
.step-guide-item:last-child { border-bottom: none; }
.step-guide-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.6);
  flex-shrink: 0; transition: all 0.3s;
}
.step-guide-item.active .step-guide-num {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6); color: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.1);
}
.step-guide-item.done .step-guide-num {
  background: var(--accent-green);
  border-color: var(--accent-green); color: #fff;
}
.step-guide-label {
  font-size: 0.84rem; font-weight: 600;
  color: rgba(255,255,255,0.55); margin-bottom: 2px; transition: color 0.3s;
}
.step-guide-item.active .step-guide-label { color: #fff; }
.step-guide-item.done  .step-guide-label { color: rgba(255,255,255,0.75); }
.step-guide-sublabel { font-size: 0.7rem; color: rgba(255,255,255,0.4); }
.step-guide-item.active .step-guide-sublabel { color: rgba(255,255,255,0.6); }

/* Footer area */
.left-footer {
  position: relative; z-index: 1;
  animation: authFadeUp 0.6s 0.35s ease both;
}
.left-footer-note {
  font-size: 0.72rem; color: rgba(255,255,255,0.5); line-height: 1.6;
}
.left-footer-note i { color: rgba(255,255,255,0.7); margin-right: 4px; }
.trust-badges { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.trust-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem; color: rgba(255,255,255,0.65); font-weight: 500;
}
.trust-badge i { color: rgba(255,255,255,0.85); }

/* ================================================
   MOBILE ANIMATED BACKGROUND (Right panel mobile)
   ================================================ */
.auth-mobile-bg {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.mobile-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Floating orbs */
.mob-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: orbFloat linear infinite;
}
.mob-orb-1 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(2,132,199,0.18) 0%, transparent 70%);
  top: -80px; left: -80px;
  animation-duration: 8s; animation-delay: 0s;
  opacity: 0.8;
}
.mob-orb-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(5,150,105,0.12) 0%, transparent 70%);
  top: 30%; right: -60px;
  animation-duration: 11s; animation-delay: -3s;
  opacity: 0.7;
}
.mob-orb-3 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(2,132,199,0.10) 0%, transparent 70%);
  bottom: 10%; left: 20%;
  animation-duration: 9s; animation-delay: -5s;
  opacity: 0.6;
}
.mob-orb-4 {
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(217,119,6,0.08) 0%, transparent 70%);
  top: 60%; left: -40px;
  animation-duration: 13s; animation-delay: -2s;
  opacity: 0.5;
}

/* Floating ticker cards */
.mob-ticker {
  position: absolute;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  animation: tickerDrift linear infinite;
  opacity: 0;
}
.mob-ticker-icon {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800;
  font-family: 'Bricolage Grotesque', sans-serif;
  flex-shrink: 0;
}
.mob-ticker-pair { font-size: 0.78rem; font-weight: 700; color: #0f172a; }
.mob-ticker-price { font-size: 0.7rem; color: #64748b; margin-top: 1px; }
.mob-ticker-change { font-size: 0.7rem; font-weight: 700; }
.mob-ticker-change.pos { color: #059669; }
.mob-ticker-change.neg { color: #dc2626; }

.mob-ticker-1 { top: 8%;  left: 5%;  animation-duration: 14s; animation-delay: 0s; }
.mob-ticker-2 { top: 22%; right: 5%; animation-duration: 17s; animation-delay: -4s; }
.mob-ticker-3 { top: 48%; left: 3%; animation-duration: 12s; animation-delay: -7s; }
.mob-ticker-4 { top: 65%; right: 4%; animation-duration: 16s; animation-delay: -2s; }
.mob-ticker-5 { top: 80%; left: 8%; animation-duration: 13s; animation-delay: -9s; }

/* Grid lines */
.mob-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(2,132,199,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,132,199,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Floating particles */
.mob-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-cyan);
  opacity: 0;
  animation: particleFly linear infinite;
}

@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(20px, -30px) scale(1.05); }
  50%  { transform: translate(-15px, -15px) scale(0.95); }
  75%  { transform: translate(10px, 20px) scale(1.02); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes tickerDrift {
  0%   { transform: translateY(0px); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-20px); opacity: 0; }
}
@keyframes particleFly {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  20%  { opacity: 0.4; }
  80%  { opacity: 0.2; }
  100% { transform: translateY(-120px) translateX(30px); opacity: 0; }
}

/* ================================================
   RIGHT PANEL
   ================================================ */
.auth-right {
  flex: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  overflow-y: auto;
  position: relative;
  z-index: 1;
}
.auth-form-wrap {
  width: 100%;
  max-width: 420px;
  animation: authFadeUp 0.5s 0.1s ease both;
  position: relative;
  z-index: 2;
}

/* Page header above card */
.auth-form-header { margin-bottom: 28px; }
.auth-form-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.75rem; font-weight: 800;
  color: var(--text-primary); letter-spacing: -0.03em; margin-bottom: 6px;
}
.auth-form-sub { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.auth-form-sub a { color: var(--accent-cyan); font-weight: 600; text-decoration: none; }
.auth-form-sub a:hover { text-decoration: underline; }

/* Card wrapper */
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 30px 28px;
  box-shadow: var(--shadow-md);
}

/* ================================================
   FORM ELEMENTS
   ================================================ */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 0.78rem; font-weight: 700;
  color: var(--text-secondary); margin-bottom: 8px; letter-spacing: 0.01em;
}
.form-label .optional { font-weight: 400; color: var(--text-muted); font-size: 0.7rem; }

.form-input-wrap { position: relative; }
.form-input-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 0.85rem;
  pointer-events: none; transition: color 0.18s;
}
.form-input {
  width: 100%;
  padding: 13px 14px 13px 40px;
  background: #f8fafc;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem; color: var(--text-primary);
  font-family: inherit; transition: all 0.18s;
}
.form-input:focus {
  outline: none; border-color: var(--accent-cyan);
  background: #fff; box-shadow: 0 0 0 3px rgba(2,132,199,0.08);
}
.form-input-wrap:focus-within .form-input-icon { color: var(--accent-cyan); }
.form-input::placeholder { color: var(--text-muted); font-size: 0.85rem; }
.form-input.error { border-color: var(--accent-red); background: rgba(220,38,38,0.015); }

.form-select {
  width: 100%;
  padding: 12px 13px 12px 38px;
  background: #f8fafc; border: 1.5px solid var(--border);
  border-radius: var(--radius-md); font-size: 0.88rem;
  color: var(--text-primary); font-family: inherit;
  transition: all 0.18s; -webkit-appearance: none; cursor: pointer;
}
.form-select:focus {
  outline: none; border-color: var(--accent-cyan);
  background: #fff; box-shadow: 0 0 0 3px rgba(2,132,199,0.08);
}

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

/* Password toggle */
.password-toggle {
  position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); cursor: pointer; font-size: 0.85rem;
  background: none; border: none; padding: 4px; transition: color 0.18s;
}
.password-toggle:hover { color: var(--text-secondary); }

/* Password strength */
.pass-strength { margin-top: 8px; }
.pass-strength-bars { display: flex; gap: 4px; margin-bottom: 4px; }
.pass-bar { height: 3px; border-radius: 10px; flex: 1; background: var(--border); transition: all 0.3s; }
.pass-bar.weak   { background: var(--accent-red); }
.pass-bar.fair   { background: var(--accent-gold); }
.pass-bar.strong { background: var(--accent-green); }
.pass-strength-label { font-size: 0.68rem; color: var(--text-muted); }

/* Error messages */
.error-msg {
  font-size: 0.72rem; color: var(--accent-red);
  margin-top: 5px; display: none; align-items: center; gap: 4px;
}
.error-msg.show { display: flex; }

/* Remember + forgot row */
.form-row {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 22px;
}
.remember-wrap { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.remember-wrap input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent-cyan); cursor: pointer; }
.remember-label { font-size: 0.8rem; color: var(--text-secondary); cursor: pointer; user-select: none; }
.forgot-link {
  font-size: 0.8rem; color: var(--accent-cyan);
  font-weight: 600; text-decoration: none; transition: opacity 0.18s;
}
.forgot-link:hover { opacity: 0.75; }

/* Terms */
.terms-wrap { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; }
.terms-wrap input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent-cyan); margin-top: 1px; flex-shrink: 0; cursor: pointer; }
.terms-label { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.5; }
.terms-label a { color: var(--accent-cyan); font-weight: 600; text-decoration: none; }

/* ================================================
   BUTTONS
   ================================================ */
.submit-btn {
  width: 100%; padding: 14px;
  background: var(--accent-blue-grad); color: #fff;
  border: none; border-radius: var(--radius-md);
  font-size: 0.92rem; font-weight: 700;
  cursor: pointer; font-family: inherit;
  box-shadow: var(--shadow-cyan); transition: all 0.22s;
  display: flex; align-items: center; justify-content: center;
  gap: 9px; letter-spacing: 0.01em;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(2,132,199,0.38); }
.submit-btn:active { transform: translateY(0); }
.submit-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.btn-back {
  flex: 0 0 auto; padding: 13px 18px;
  background: var(--bg-muted); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); font-size: 0.88rem; font-weight: 600;
  cursor: pointer; font-family: inherit; color: var(--text-secondary);
  display: flex; align-items: center; gap: 7px; transition: all 0.18s;
}
.btn-back:hover { background: var(--border); color: var(--text-primary); }

.btn-next {
  flex: 1; padding: 13px;
  background: var(--accent-blue-grad); color: #fff;
  border: none; border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 700; cursor: pointer;
  font-family: inherit; box-shadow: var(--shadow-cyan);
  display: flex; align-items: center; justify-content: center;
  gap: 9px; transition: all 0.22s; letter-spacing: 0.01em;
}
.btn-next:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(2,132,199,0.38); }
.btn-next:active { transform: translateY(0); }
.btn-next:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.btn-row { display: flex; gap: 10px; margin-top: 20px; }

.btn-spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff; border-radius: 50%;
  animation: authSpin 0.7s linear infinite; display: none;
}

/* ================================================
   DIVIDER
   ================================================ */
.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; }
.divider-line { flex: 1; height: 1px; background: var(--border); }
.divider-text { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; white-space: nowrap; }

/* ================================================
   BOTTOM LINK
   ================================================ */
.signup-link, .login-link {
  text-align: center; margin-top: 20px;
  font-size: 0.82rem; color: var(--text-muted);
}
.signup-link a, .login-link a {
  color: var(--accent-cyan); font-weight: 700; text-decoration: none;
}
.signup-link a:hover, .login-link a:hover { text-decoration: underline; }

/* ================================================
   PROGRESS BAR (signup)
   ================================================ */
.progress-top { margin-bottom: 28px; animation: authFadeDown 0.4s ease both; }
.progress-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.progress-label {
  font-size: 0.78rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.progress-fraction {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.85rem; font-weight: 700; color: var(--accent-cyan);
}
.progress-track { height: 5px; background: var(--border); border-radius: 10px; overflow: hidden; }
.progress-fill {
  height: 100%; background: var(--accent-blue-grad);
  border-radius: 10px; transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}
.step-dots { display: flex; gap: 6px; margin-top: 10px; }
.step-dot { height: 4px; border-radius: 10px; background: var(--border); flex: 1; transition: all 0.4s; }
.step-dot.active { background: var(--accent-cyan); }
.step-dot.done   { background: var(--accent-green); }

/* ================================================
   STEP PANELS (signup)
   ================================================ */
.step-header { margin-bottom: 24px; }
.step-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.5rem; font-weight: 800; color: var(--text-primary);
  letter-spacing: -0.03em; margin-bottom: 5px;
}
.step-sub { font-size: 0.83rem; color: var(--text-muted); line-height: 1.5; }

.step-panel { display: none; }
.step-panel.active { display: block; animation: stepSlideIn 0.35s ease both; }
.step-panel.back   { animation: stepSlideBack 0.35s ease both; }

/* Review styles */
.review-section { margin-bottom: 18px; }
.review-section-title {
  font-size: 0.68rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.review-key { font-size: 0.68rem; color: var(--text-muted); margin-bottom: 2px; }
.review-val { font-size: 0.83rem; font-weight: 600; color: var(--text-primary); word-break: break-word; }
.review-divider { height: 1px; background: var(--border); margin: 14px 0; }

/* ================================================
   SUCCESS STATE
   ================================================ */
.success-state { text-align: center; padding: 8px 0; }
.success-icon-wrap {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent-green-dim);
  border: 2px solid rgba(5,150,105,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  animation: authPopIn 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
.success-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.4rem; font-weight: 800; color: var(--text-primary); margin-bottom: 8px;
}
.success-sub { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 24px; }
.success-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; background: var(--accent-blue-grad);
  color: #fff; border: none; border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 700; cursor: pointer;
  font-family: inherit; box-shadow: var(--shadow-cyan);
  transition: all 0.22s; text-decoration: none;
}
.success-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(2,132,199,0.38); }

/* ================================================
   FORGOT PASSWORD — Specific styles
   ================================================ */
.back-to-login {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: var(--text-muted);
  text-decoration: none; margin-bottom: 28px;
  padding: 8px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-card);
  transition: all 0.18s;
}
.back-to-login:hover { color: var(--accent-cyan); border-color: var(--border-accent); background: var(--accent-cyan-light); }

.info-box {
  background: var(--accent-cyan-light);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.8rem; color: var(--accent-cyan); line-height: 1.5;
}
.info-box i { flex-shrink: 0; margin-top: 1px; }

.otp-group { display: flex; gap: 10px; justify-content: center; margin: 8px 0; }
.otp-input {
  width: 52px; height: 58px;
  text-align: center; font-size: 1.4rem; font-weight: 700;
  font-family: 'Bricolage Grotesque', sans-serif;
  background: #f8fafc; border: 1.5px solid var(--border);
  border-radius: var(--radius-md); color: var(--text-primary);
  transition: all 0.18s; outline: none;
}
.otp-input:focus {
  border-color: var(--accent-cyan);
  background: #fff; box-shadow: 0 0 0 3px rgba(2,132,199,0.08);
}
.otp-input.filled { border-color: var(--accent-cyan); background: var(--accent-cyan-light); }

.resend-row {
  text-align: center; font-size: 0.78rem;
  color: var(--text-muted); margin-top: 14px;
}
.resend-row span { color: var(--accent-cyan); font-weight: 600; cursor: pointer; }
.resend-row span:hover { text-decoration: underline; }

/* Forgot step panels */
.fp-step { display: none; }
.fp-step.active { display: block; animation: authFadeUp 0.35s ease both; }

/* ================================================
   TOAST
   ================================================ */
.toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text-primary); color: #fff;
  padding: 12px 22px; border-radius: 50px;
  font-size: 0.83rem; font-weight: 600;
  z-index: 9999;
  display: flex; align-items: center; gap: 9px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none; white-space: nowrap;
}
.toast.show    { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--accent-green); }
.toast.error   { background: var(--accent-red); }
.toast.info    { background: var(--accent-cyan); }

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes authFadeUp   { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes authFadeDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes authSpin     { to { transform: rotate(360deg); } }
@keyframes authPopIn    { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes stepSlideIn  { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: translateX(0); } }
@keyframes stepSlideBack{ from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: translateX(0); } }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 900px) {
  .auth-left { display: none; }
  .auth-mobile-bg { display: block; }
  .auth-right {
    padding: 36px 20px;
    background: transparent;
  }
  .auth-form-wrap { max-width: 100%; }
}

@media (max-width: 540px) {
  .auth-right { padding: 28px 14px; }
  .auth-card { padding: 24px 20px; }
  .auth-form-title { font-size: 1.5rem; }
  .form-row-2 { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .otp-input { width: 44px; height: 50px; font-size: 1.2rem; }
}