/* Forgot-password: full-screen split layout (reuses the login hero) + stepper, OTP boxes, strength meter */
.forgot-page .login-hero-copy .fp-shield { align-items: center; background: linear-gradient(135deg, rgba(79,141,255,.35), rgba(139,108,255,.35)); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; box-shadow: 0 14px 40px rgba(84,108,242,.35); display: inline-flex; height: 68px; justify-content: center; margin-bottom: 26px; width: 68px; }
.forgot-page .fp-shield svg { fill: none; height: 34px; stroke: #e4e9ff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; width: 34px; }
.forgot-page .login-panel-top { justify-content: space-between; }
.fp-back-top { align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: rgba(240,244,255,.85); display: inline-flex; font-size: 13px; font-weight: 700; gap: 7px; padding: 9px 16px; text-decoration: none; transition: background .2s; }
.fp-back-top:hover { background: rgba(255,255,255,.12); }
.fp-back-top svg { fill: none; height: 15px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; width: 15px; }
.forgot-page .auth-card-head h2 { font-size: clamp(30px, 3.2vw, 40px); }
.forgot-page .auth-card-head p { font-size: 15px; line-height: 1.55; }
.forgot-page .auth-card { font-size: 14px; }
.forgot-page label { font-size: 13px; }
.forgot-page .field-wrap { height: 56px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.14); }
.forgot-page .field-wrap input { color: #fff; font-size: 16px; }
.forgot-page .field-wrap input::placeholder { color: rgba(248,250,255,.32); }
.forgot-page .field-wrap:focus-within { border-color: #8b7bff; box-shadow: 0 0 0 4px rgba(139,123,255,.2); }
.forgot-page .field-wrap > svg { height: 19px; width: 19px; }
.forgot-page .auth-submit { border-radius: 14px; font-size: 15px; min-height: 56px; margin-top: 18px; }
.forgot-page .auth-error { background: rgba(240,86,107,.14); border: 1px solid rgba(240,86,107,.35); color: #ff9aa9; font-size: 13px; }
.forgot-page .auth-switch, .forgot-page .auth-switch a { color: rgba(236,240,255,.6); font-size: 13px; }
.forgot-page .auth-switch a { font-weight: 700; text-decoration: none; }
.forgot-page .auth-switch a:hover { color: #fff; }
.fp-pane { animation: fp-in .35s ease both; }
.fp-pane.is-hidden { display: none; }
@keyframes fp-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fp-email { color: #fff; word-break: break-all; }

/* stepper */
.fp-steps { align-items: center; display: flex; gap: 0; list-style: none; margin: 0 0 30px; padding: 0; }
.fp-steps li { align-items: center; color: rgba(236,240,255,.4); display: flex; font-size: 12.5px; font-weight: 700; gap: 9px; letter-spacing: .02em; }
.fp-steps li + li::before { background: rgba(255,255,255,.14); content: ""; display: block; height: 2px; margin: 0 12px; width: clamp(18px, 5vw, 44px); }
.fp-steps li i { align-items: center; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.18); border-radius: 50%; display: inline-flex; font-size: 12px; font-style: normal; height: 28px; justify-content: center; width: 28px; }
.fp-steps li.is-active { color: #fff; }
.fp-steps li.is-active i { background: linear-gradient(135deg, #4c8cff, #7a5cf0); border-color: transparent; box-shadow: 0 6px 16px rgba(94,98,240,.45); }
.fp-steps li.is-done { color: rgba(236,240,255,.75); }
.fp-steps li.is-done i { background: #22c07a; border-color: transparent; color: #04200f; }
.fp-steps li.is-done i::before { content: "✓"; font-weight: 800; }
.fp-steps li.is-done i { font-size: 0; }
.fp-steps li.is-done i::before { font-size: 13px; }

/* OTP boxes */
.fp-otp { display: grid; gap: clamp(6px, 1.6vw, 12px); grid-template-columns: repeat(6, 1fr); margin: 8px 0 4px; }
.fp-otp input { background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.16); border-radius: 14px; caret-color: #8b7bff; color: #fff; font: 800 clamp(22px, 5vw, 30px) "Manrope", sans-serif; height: clamp(56px, 14vw, 68px); min-width: 0; outline: 0; text-align: center; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; }
.fp-otp input:focus { background: rgba(255,255,255,.08); border-color: #8b7bff; box-shadow: 0 0 0 4px rgba(139,123,255,.22); }
.fp-otp input.is-filled { border-color: rgba(139,123,255,.6); }
.fp-otp.is-bad input { animation: fp-shake .35s; border-color: #f0566b; }
@keyframes fp-shake { 20%,60% { transform: translateX(-5px); } 40%,80% { transform: translateX(5px); } }
.fp-resend { color: rgba(236,240,255,.6); font-size: 13.5px; margin: 18px 0 0; text-align: center; }
.fp-resend .text-button { color: #a79bff; font-size: 13.5px; }
.fp-resend .text-button:disabled { color: rgba(236,240,255,.35); cursor: default; }

/* password strength + skip */
.fp-meter { display: grid; gap: 6px; grid-template-columns: repeat(4, 1fr); margin-top: 10px; }
.fp-meter i { background: rgba(255,255,255,.1); border-radius: 4px; height: 4px; transition: background .2s; }
.fp-meter[data-level="1"] i:nth-child(-n+1) { background: #f0566b; }
.fp-meter[data-level="2"] i:nth-child(-n+2) { background: #f5a524; }
.fp-meter[data-level="3"] i:nth-child(-n+3) { background: #7bd35a; }
.fp-meter[data-level="4"] i { background: #22c07a; }
.forgot-page .divider { color: rgba(236,240,255,.4); font-size: 12px; margin: 22px 0 16px; }
.forgot-page .divider::before, .forgot-page .divider::after { background: rgba(255,255,255,.12); }
.fp-skip { background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.18); border-radius: 14px; color: #fff; cursor: pointer; font-size: 15px; font-weight: 800; min-height: 54px; transition: background .2s, border-color .2s; width: 100%; }
.fp-skip:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.fp-skip:disabled { opacity: .6; cursor: default; }
.fp-skip-note { color: rgba(236,240,255,.45); font-size: 12.5px; margin: 10px 0 0; text-align: center; }
#backSwitch { display: block !important; margin-top: 26px; text-align: center; }
@media (max-width: 400px) { .fp-steps li span { display: none; } .fp-back-top { padding: 8px 13px; } }
