/* Forgot password (account/forgot-password). Builds on the shared a8 sign-in look (tapsy-auth-v8.css). */
.fp-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 26px; }
.fp-steps li { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; color: #94a0b6; font-size: 12.5px; font-weight: 700; }
.fp-steps li b { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #e9edf5; color: #7b869c; font-size: 12px; transition: background .2s, color .2s; }
.fp-steps li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-steps li:not(:last-child):after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: #e4e9f3; margin-left: 4px; min-width: 10px; }
.fp-steps li.on { color: #0D285E; }
.fp-steps li.on b { background: #0D285E; color: #fff; }
.fp-steps li.done b { background: #16a34a; color: #fff; }
.fp-steps li.done:not(:last-child):after { background: #16a34a; }

.fp-badge-blue { background: #e6eefc; color: #0D285E; }
.fp-code { letter-spacing: .28em; font-weight: 700; font-size: 18px; }
.fp-code::placeholder { letter-spacing: 0; font-weight: 400; font-size: 15px; }

.fp-resend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 8px; font-size: 13px; color: #6b7589; }
.fp-linkbtn { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: #0D285E; cursor: pointer; text-decoration: none; }
.fp-linkbtn:hover { text-decoration: underline; }
.fp-linkbtn[hidden] { display: none; }

.fp-err { margin-top: 8px; font-size: 13px; font-weight: 600; color: #dc2626; }
.fp-err[hidden] { display: none; }
.fp-err-box { margin: 0 0 14px; padding: 11px 14px; border-radius: 12px; background: #fdecec; color: #b91c1c; }
.fp-ok { color: #15803d; background: #e8f7ee; }
.a8-input.bad { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220,38,38,.08); }

.fp-back { margin-left: 0 !important; }
.fp-done { text-align: center; padding-top: 6px; }
.fp-done .a8-btn { text-decoration: none; margin-top: 8px; }
.fp-tick { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #e8f7ee; color: #16a34a; animation: fpPop .45s cubic-bezier(.2,1.4,.4,1) both; }
.fp-tick svg { width: 40px; height: 40px; }
@keyframes fpPop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fp-tick { animation: none; } }

@media (max-width: 480px) { .fp-steps li span { display: none; } .fp-steps li.on span { display: inline; } }

html[data-theme="dark"] .fp-steps li b { background: #2c3040; color: #98a2b8; }
html[data-theme="dark"] .fp-steps li:not(:last-child):after { background: #2c3040; }
html[data-theme="dark"] .fp-steps li.on { color: #e5e9f5; }
html[data-theme="dark"] .fp-steps li.on b { background: #3b6fe0; color: #fff; }
html[data-theme="dark"] .fp-badge-blue { background: #1f2d52; color: #cfe0ff; }
html[data-theme="dark"] .fp-linkbtn { color: #8fb3ff; }
html[data-theme="dark"] .fp-err-box { background: #3a1f24; color: #ffb4b4; }
html[data-theme="dark"] .fp-tick { background: #143a24; color: #4ade80; }
