/* =========================================
   FORGOT PASSWORD REDESIGN
   Mirrors: login-redesign.css / home-redesign
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

body:has(.fp-page),
html:has(.fp-page) {
  background: #070b14 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body { background: #070b14; }

/* ── CSS Variables ── */
.fp-page {
  --accent:           var(--AppColor, #00d4aa);
  --accent-glow:      rgba(0, 212, 170, 0.25);
  --accent-dark:      #009e7e;
  --bg-base:          #070b14;
  --bg-card:          #0d1424;
  --bg-glass:         rgba(255,255,255,0.04);
  --bg-glass-border:  rgba(255,255,255,0.08);
  --text-primary:     #f0f4ff;
  --text-secondary:   #8b9bb4;
  --text-muted:       #4a5568;
  --border:           rgba(255,255,255,0.07);
  --radius:           18px;
  --radius-sm:        10px;
  --radius-pill:      100px;

  font-family: 'Inter', 'Space Grotesk', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  box-sizing: border-box;
}
.fp-page * { box-sizing: border-box; }

/* ── Hide old wrappers ── */
.fp-page > .preloader,
.fp-page > header.main-header,
.fp-page > .mobile-menu,
.fp-page > section.page-title,
.fp-page > footer.main-footer,
.fp-page > .sticky-header,
.fp-page > .scroll-top { display: none !important; }

/* ============================================================
   BACKGROUND
   ============================================================ */
.fp-bg {
  position: fixed; inset: 0; z-index: 0;
  background: var(--bg-base);
}
.fp-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 30%, rgba(0,212,170,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(99,102,241,0.06) 0%, transparent 60%);
}
.fp-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 0%, transparent 100%);
}
.fp-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
}
.fp-orb-1 { width: 450px; height: 450px; background: rgba(0,212,170,0.09); top: -100px; left: -120px; animation: fpOrbFloat 9s ease-in-out infinite; }
.fp-orb-2 { width: 300px; height: 300px; background: rgba(99,102,241,0.08); bottom: -60px; right: 10%; animation: fpOrbFloat 12s ease-in-out infinite reverse; }
@keyframes fpOrbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(16px,-20px) scale(1.05); }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.fp-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: 68px;
  padding: 0 clamp(20px, 5vw, 80px);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(7,11,20,0.80);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.fp-nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.fp-nav-logo img { height: 36px; filter: brightness(1.1); }
.fp-nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.fp-nav-links a { font-size: 14px; font-weight: 500; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.fp-nav-links a:hover { color: var(--text-primary); }
.fp-nav-actions { display: flex; align-items: center; gap: 10px; }
.fp-nav-ghost {
  padding: 8px 20px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600;
  color: var(--text-primary); background: transparent; border: 1px solid var(--border);
  text-decoration: none; transition: all 0.25s;
}
.fp-nav-ghost:hover { border-color: var(--accent); color: var(--accent); }
.fp-nav-cta {
  padding: 8px 20px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600;
  color: #fff; background: var(--accent);
  text-decoration: none; transition: all 0.25s;
  box-shadow: 0 0 18px var(--accent-glow);
}
.fp-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 28px var(--accent-glow); color: #fff; }

/* ============================================================
   TWO-COLUMN LAYOUT
   ============================================================ */
.fp-wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.fp-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(32px, 6vw, 100px) 80px;
  position: relative;
  z-index: 1;
}
.fp-right {
  width: 480px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 120px 40px 60px;
  position: relative;
  z-index: 1;
}

/* right panel separator line */
.fp-right::before {
  content: '';
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
}

/* ============================================================
   LEFT SIDE — Branding
   ============================================================ */
.fp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: var(--radius-pill); margin-bottom: 28px;
  background: rgba(0,212,170,0.1); border: 1px solid rgba(0,212,170,0.22);
  font-size: 11px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1px;
  max-width: 100%; box-sizing: border-box;
  animation: fpFadeUp 0.6s ease both;
}
.fp-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: fpPulse 2s infinite;
}
@keyframes fpPulse { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:0.4; transform:scale(1.4); } }

.fp-left h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin: 0 0 8px;
  word-break: break-word;
  animation: fpFadeUp 0.6s ease 0.1s both;
}
.fp-left h1 em { font-style: normal; color: var(--accent); }

.fp-left p {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 460px;
  margin: 20px 0 40px;
  animation: fpFadeUp 0.6s ease 0.2s both;
}

/* trust-points row */
.fp-trust {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fpFadeUp 0.6s ease 0.3s both;
}
.fp-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.fp-trust-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(0,212,170,0.10);
  border: 1px solid rgba(0,212,170,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.fp-trust-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--text-primary); }
.fp-trust-text span   { font-size: 13px; color: var(--text-muted); }

/* stat chips */
.fp-stats-row {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
  animation: fpFadeUp 0.6s ease 0.4s both;
}
.fp-stat-chip {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
}
.fp-stat-chip-num {
  font-size: 24px; font-weight: 800; color: var(--text-primary); letter-spacing: -1px; line-height: 1;
}
.fp-stat-chip-num em { font-style: normal; color: var(--accent); }
.fp-stat-chip-lbl { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

/* ============================================================
   RIGHT SIDE — Form Card
   ============================================================ */
.fp-card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: rgba(13,20,36,0.85);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 24px;
  padding: 44px clamp(20px, 6vw, 40px) 40px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.05);
  animation: fpFadeUp 0.7s ease 0.1s both;
  position: relative; overflow: hidden;
  text-align: center;
}
.fp-card::before {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,170,0.5), transparent);
}

/* ── Icon circle at top ── */
.fp-icon-ring {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(0,212,170,0.10);
  border: 1px solid rgba(0,212,170,0.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px; color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
  animation: fpFadeUp 0.6s ease 0.05s both;
}

.fp-card-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.fp-card-title {
  font-size: 26px; font-weight: 800; letter-spacing: -0.8px;
  color: var(--text-primary); margin: 0 0 10px;
}
.fp-card-sub {
  font-size: 14px; color: var(--text-muted); margin: 0 0 32px; line-height: 1.65;
}

/* ── Alert/message ── */
#Lblmsg { margin-bottom: 16px; text-align: left; }
#Lblmsg .alert { border-radius: var(--radius-sm); font-size: 14px; }

/* ── Field ── */
.fp-field { margin-bottom: 20px; text-align: left; }
.fp-field label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 7px;
  letter-spacing: 0.3px; text-transform: uppercase;
}
.fp-input-wrap { position: relative; }
.fp-input-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 15px;
  pointer-events: none; transition: color 0.25s;
}
.fp-input {
  width: 100%;
  padding: 13px 16px 13px 42px;
  border-radius: var(--radius-sm);
  background: rgba(7,11,20,0.70);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--text-primary);
  font-size: 14px; font-family: inherit;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.fp-input::placeholder { color: var(--text-muted); }
.fp-input:focus {
  border-color: var(--accent);
  background: rgba(0,212,170,0.04);
  box-shadow: 0 0 0 3px rgba(0,212,170,0.14);
}
.fp-input-wrap:focus-within .fp-input-icon { color: var(--accent); }

/* ── Custom validator ── */
.fp-card span[id*="CustomValidator"] {
  display: block; font-size: 13px; color: #ef4444;
  text-align: left; margin-top: -12px; margin-bottom: 12px;
}

/* ── Submit ── */
.fp-submit {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm); border: none;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: all 0.25s ease;
  box-shadow: 0 4px 20px var(--accent-glow);
  position: relative; overflow: hidden;
  margin-bottom: 20px;
}
.fp-submit::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.25s;
}
.fp-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--accent-glow); }
.fp-submit:hover::after { opacity: 1; }
.fp-submit:active { transform: translateY(0); }

/* ── Bottom links ── */
.fp-back-link {
  font-size: 13px; color: var(--text-muted);
}
.fp-back-link a {
  color: var(--accent); text-decoration: none; font-weight: 600;
  transition: opacity 0.2s;
}
.fp-back-link a:hover { opacity: 0.8; }

/* ── Info strip below the card ── */
.fp-info-strip {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 28px;
  background: rgba(0,212,170,0.06);
  border: 1px solid rgba(0,212,170,0.15);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-align: left;
}
.fp-info-strip i { color: var(--accent); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.fp-info-strip p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ============================================================
   ANIMATION
   ============================================================ */
@keyframes fpFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .fp-left { padding: 110px 40px 60px; }
  .fp-right { width: 420px; padding: 100px 32px 60px; }
  .fp-right::before { display: none; }
}
@media (max-width: 820px) {
  .fp-wrapper { flex-direction: column; align-items: center; padding-top: 68px; }
  .fp-left { padding: 40px 24px 20px; text-align: center; align-items: center; }
  .fp-left h1 { text-align: center; }
  .fp-left p { text-align: center; margin-bottom: 10px; }
  .fp-trust { display: none; }
  .fp-stats-row { display: none; }
  .fp-right { width: 100%; padding: 0 20px 60px; }
  .fp-right::before { display: none; }
  .fp-card { max-width: 420px; margin: 0 auto; }
  .fp-nav-links { display: none; }
}
@media (max-width: 480px) {
  .fp-card { padding: 32px 16px; }
  .fp-left h1 { letter-spacing: -1px; font-size: 28px; }
  .fp-left p { font-size: 14px; }
  .fp-nav-cta {
    padding: 6px 14px;
    font-size: 12px;
  }
  .fp-nav-ghost {
    padding: 6px 12px;
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .fp-nav-cta {
    padding: 5px 10px;
    font-size: 11px;
  }
  .fp-nav-ghost {
    padding: 5px 8px;
    font-size: 11px;
  }
}
