/* ==========================================================================
   Craft 忘记密码（forgot-password.php）
   复用 auth.css 的布局与组件，这里只补充：步骤条、成功提示、新密码展示、验证码输入
   ========================================================================== */

.fp-steps {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    padding: 0;
    font-size: 13px;
    color: var(--a-text-3);
}
.fp-steps li { display: flex; align-items: center; gap: 8px; font-weight: 550; }
.fp-steps li + li::before { content: ""; width: 28px; height: 1px; margin-right: 2px; background: var(--a-border); }
.fp-steps span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--a-border);
    background: var(--a-surface);
    font-size: 12px;
    font-weight: 650;
}
.fp-steps .is-active { color: var(--a-text); }
.fp-steps .is-active span { border-color: var(--a-accent); background: var(--a-accent); color: #fff; }
.fp-steps .is-done { color: var(--a-text-2); }
.fp-steps .is-done span { border-color: transparent; background: rgba(22, 163, 74, .12); color: var(--a-success); font-size: 11px; }
.fp-card .auth-card-head + .fp-steps { justify-content: center; }

.fp-alert-success { background: rgba(22, 163, 74, .08); color: #15803d; }

.fp-form .auth-btn + .auth-btn { margin-top: 10px; }
.fp-sent-to { font-style: normal; font-weight: 500; font-size: 12.5px; color: var(--a-text-3); }
.fp-code-input input {
    padding: 0 12px;
    text-align: center;
    font-size: 22px;
    font-weight: 650;
    letter-spacing: .5em;
    text-indent: .5em;
    font-variant-numeric: tabular-nums;
}
.fp-code-input input::placeholder { letter-spacing: .5em; }
.fp-timer { margin: -4px 0 16px; text-align: center; color: var(--a-text-2); font-size: 13px; }
.fp-timer strong { color: var(--a-text); font-variant-numeric: tabular-nums; }

/* 成功状态 */
.fp-badge {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-size: 22px;
}
.fp-badge.is-success { background: rgba(22, 163, 74, .12); color: var(--a-success); }
.fp-password {
    margin-bottom: 14px;
    padding: 16px;
    border-radius: var(--a-radius-sm);
    background: var(--a-surface);
    border: 1px dashed #c7cfdd;
    text-align: center;
}
.fp-password span { display: block; margin-bottom: 6px; color: var(--a-text-3); font-size: 12.5px; }
.fp-password code {
    display: block;
    font-family: "SF Mono", Menlo, Consolas, monospace;
    font-size: 19px;
    font-weight: 650;
    color: var(--a-text);
    word-break: break-all;
    user-select: all;
}
.fp-tip {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 18px;
    padding: 11px 14px;
    border-radius: var(--a-radius-sm);
    background: rgba(245, 158, 11, .1);
    color: #92400e;
    font-size: 13px;
    line-height: 1.55;
}
.fp-tip i { margin-top: 2px; }

.fp-foot { margin: 22px 0 0; text-align: center; font-size: 13.5px; }
.fp-foot a { color: var(--a-text-2); font-weight: 550; }
.fp-foot a:hover { color: var(--a-accent); }
.fp-foot i { margin-right: 4px; font-size: 12px; }
