/* Forgot-password modal (Views/Shared/Partials/Auth/_ForgotPasswordModal.cshtml +
   Scripts/ab/forgot-password.js).

   Design system: the login page's own olive/sage brand (#63734A on #EEF3E6) executed with
   depth -- olive gradient medallion + buttons, 3-step progress rail, staggered step
   reveals. Typography inherits the page font (no font-family overrides -- components
   must use the same font app-wide, owner directive 2026-07-14). Everything is scoped to
   #forgot_password_modal (or fp-* classes used only inside it) so the 2FA #otp_modal
   keeps its own look untouched.

   DEPENDS ON otp-modal.css for: .otp-digit-box/.otp-box-row BEHAVIOR classes
   (otp-filled/otp-shake keyframes) and the success check keyframes (otpSuccessRing/
   otpSuccessPop/otpSuccessTextIn). Their COLORS are re-skinned below with scoped
   overrides. The backdrop reuses body.otp-modal-backdrop-scope from otp-modal.css.

   The login page has Layout = null and loads NO Bootstrap 4 CSS, so the base modal
   chrome (#forgot_password_modal.modal etc.) is fully self-contained here -- same
   reasoning as otp-modal.css's #otp_modal block. */

#forgot_password_modal {
    --fp-olive: #63734A;
    --fp-olive-deep: #4d5c39;
    --fp-olive-dark: #39442a;
    --fp-sage: #EEF3E6;
    --fp-sage-deep: #dfe8cf;
    --fp-cream: #fdfdf9;
    --fp-ink: #2f3627;
    --fp-muted: #7d8a6e;
    --fp-line: #d9e2c8;
    --fp-success: #3f8f5b;
    --fp-danger: #c0504d;
}

/* ---------------------------------------------------------------- chrome */

#forgot_password_modal.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10500;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

    #forgot_password_modal.modal.show,
    #forgot_password_modal.modal.in {
        display: block;
    }

#forgot_password_modal .modal-dialog {
    position: relative;
    width: auto;
    margin: 0 auto;
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
    max-width: 440px;
    pointer-events: none;
}

@media (max-width: 480px) {
    #forgot_password_modal .modal-dialog {
        max-width: calc(100vw - 24px);
        margin: 0 12px;
    }
}

#forgot_password_modal .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: var(--fp-cream);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(57, 68, 42, 0.28), 0 4px 16px rgba(57, 68, 42, 0.12);
    outline: 0;
    overflow: hidden;
    opacity: 1;
}

    /* Applied by Scripts/ab/forgot-password.js on shown.bs.modal, mirroring otp-modal.js --
       keyframe comes from otp-modal.css. */
    #forgot_password_modal .modal-content.otp-animate-in {
        animation: otpModalPopIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

#forgot_password_modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 16px 22px;
    background: linear-gradient(135deg, #f6f9ee 0%, var(--fp-sage) 55%, var(--fp-sage-deep) 100%);
    border-bottom: 1px solid var(--fp-line);
}

    /* No font-family override anywhere in this modal -- it inherits the page font so the
       component matches the rest of the app (owner directive 2026-07-14). */
    #forgot_password_modal .modal-header .modal-title {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 0.2px;
        color: var(--fp-olive-dark);
    }

    #forgot_password_modal .modal-header .close {
        padding: 6px;
        background: transparent;
        border: 0;
        font-size: 17px;
        line-height: 1;
        color: var(--fp-muted);
        cursor: pointer;
        border-radius: 50%;
        transition: color 0.2s ease, background-color 0.2s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

        #forgot_password_modal .modal-header .close:hover {
            color: var(--fp-olive-dark);
            background-color: rgba(99, 115, 74, 0.12);
            transform: rotate(90deg);
        }

#forgot_password_modal .modal-body {
    padding: 0 !important;
}

.fp-body {
    position: relative;
    text-align: center;
    padding: 18px 26px 24px 26px;
}

    /* Soft sage wash bleeding down from the header for depth. */
    .fp-body::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 120px;
        background: linear-gradient(180deg, rgba(238, 243, 230, 0.55), rgba(238, 243, 230, 0));
        pointer-events: none;
    }

    .fp-body > * {
        position: relative;
    }

/* ------------------------------------------------------------ progress rail */

.fp-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 4px 26px 22px 26px;
}

.fp-progress-track {
    position: absolute;
    top: 16px;
    left: 34px;
    right: 34px;
    height: 3px;
    background: var(--fp-sage-deep);
    border-radius: 2px;
    overflow: hidden;
}

.fp-progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--fp-olive), var(--fp-olive-deep));
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

#fp_progress[data-step="2"] .fp-progress-fill { width: 50%; }
#fp_progress[data-step="3"] .fp-progress-fill { width: 100%; }

.fp-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 68px;
}

.fp-progress-dot {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--fp-sage-deep);
    color: #a9b596;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: border-color 0.35s ease, background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

    /* Hard-center every glyph in the circle regardless of what page-level CSS
       (Metronic basecss, icon-font resets) gives .la -- the icon fills the dot and
       flex-centers inside it. Explicit top/right/bottom/left, NOT the `inset`
       shorthand: unsupported engines silently drop `inset`, leaving the absolute
       element un-positioned (the stray off-center glyphs in the owner's screenshot). */
    .fp-progress-dot > .la {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        margin: 0;
    }

.fp-dot-check {
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fp-progress-label {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #a9b596;
    transition: color 0.35s ease;
}

/* active dot: olive, gently lifted, breathing halo */
#fp_progress[data-step="1"] .fp-ps-1 .fp-progress-dot,
#fp_progress[data-step="2"] .fp-ps-2 .fp-progress-dot,
#fp_progress[data-step="3"] .fp-ps-3 .fp-progress-dot {
    border-color: var(--fp-olive);
    background: var(--fp-olive);
    color: #f4f8ec;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 115, 74, 0.35);
    animation: fpDotBreathe 2.4s ease-in-out infinite;
}

#fp_progress[data-step="1"] .fp-ps-1 .fp-progress-label,
#fp_progress[data-step="2"] .fp-ps-2 .fp-progress-label,
#fp_progress[data-step="3"] .fp-ps-3 .fp-progress-label {
    color: var(--fp-olive-dark);
}

/* completed dots: filled, icon swaps to a check */
#fp_progress[data-step="2"] .fp-ps-1 .fp-progress-dot,
#fp_progress[data-step="3"] .fp-ps-1 .fp-progress-dot,
#fp_progress[data-step="3"] .fp-ps-2 .fp-progress-dot {
    border-color: var(--fp-olive-deep);
    background: var(--fp-olive-deep);
    color: #f4f8ec;
}

#fp_progress[data-step="2"] .fp-ps-1 .fp-progress-dot > .la:not(.fp-dot-check),
#fp_progress[data-step="3"] .fp-ps-1 .fp-progress-dot > .la:not(.fp-dot-check),
#fp_progress[data-step="3"] .fp-ps-2 .fp-progress-dot > .la:not(.fp-dot-check) {
    opacity: 0;
}

#fp_progress[data-step="2"] .fp-ps-1 .fp-dot-check,
#fp_progress[data-step="3"] .fp-ps-1 .fp-dot-check,
#fp_progress[data-step="3"] .fp-ps-2 .fp-dot-check {
    opacity: 1;
    transform: scale(1);
}

@keyframes fpDotBreathe {
    0%, 100% { box-shadow: 0 4px 12px rgba(99, 115, 74, 0.35), 0 0 0 0 rgba(99, 115, 74, 0.25); }
    50%      { box-shadow: 0 4px 12px rgba(99, 115, 74, 0.35), 0 0 0 7px rgba(99, 115, 74, 0); }
}

/* -------------------------------------------------------- step reveal stagger */

/* Children marked .fp-reveal animate in (rise + fade) each time JS re-adds
   .fp-step-in to the step container; per-element delay via --d. */
.fp-step .fp-reveal {
    opacity: 0;
}

.fp-step.fp-step-in .fp-reveal {
    animation: fpRise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: var(--d, 0s);
}

@keyframes fpRise {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------- medallion */

.fp-icon {
    position: relative;
    width: 62px;
    height: 62px;
    margin: 2px auto 14px auto;
    border-radius: 50%;
    background: linear-gradient(145deg, #78885c, var(--fp-olive) 45%, var(--fp-olive-deep));
    color: #f4f8ec;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    box-shadow: 0 10px 24px rgba(99, 115, 74, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    animation: fpFloat 4s ease-in-out infinite;
}

    /* Same hard-centering treatment as .fp-progress-dot > .la above. */
    .fp-icon > .la {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        margin: 0;
    }

.fp-icon-ring {
    position: absolute;
    top: -6px;
    right: -6px;
    bottom: -6px;
    left: -6px;
    border-radius: 50%;
    border: 1.5px dashed rgba(99, 115, 74, 0.35);
    animation: fpSpin 22s linear infinite;
}

@keyframes fpFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

@keyframes fpSpin {
    to { transform: rotate(360deg); }
}

/* ------------------------------------------------------------------- text */

.fp-message {
    color: #5c6850;
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0 0 18px 0;
}

.fp-user-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--fp-olive-dark);
    background: var(--fp-sage);
    border: 1px solid var(--fp-line);
    border-radius: 999px;
    padding: 5px 14px;
    margin: -6px 0 16px 0;
}

    .fp-user-info .la {
        color: var(--fp-olive);
        font-size: 13px;
    }

.fp-info-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--fp-olive);
    opacity: 0.45;
    margin: 0 2px;
}

.fp-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 2px 14px 2px;
    color: var(--fp-muted);
    font-size: 11px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

    .fp-divider::before,
    .fp-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--fp-line));
    }

    .fp-divider::after {
        background: linear-gradient(90deg, var(--fp-line), transparent);
    }

.fp-hint {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 11px;
    line-height: 1.45;
    color: var(--fp-muted);
    text-align: left;
    margin: -4px 2px 12px 2px;
}

    .fp-hint .la {
        font-size: 13px;
        margin-top: 1px;
        color: var(--fp-olive);
    }

.fp-spam-note {
    color: var(--fp-danger);
    font-size: 11px;
    line-height: 1.4;
    text-align: left;
    margin: 14px 0 0 0;
    padding: 9px 12px;
    background: rgba(192, 80, 77, 0.07);
    border-left: 3px solid rgba(192, 80, 77, 0.45);
    border-radius: 6px;
}

    .fp-spam-note .la {
        margin-right: 4px;
    }

/* ------------------------------------------------------------------ fields */

/* Fields are the app's OWN form components (Html.DefaultForm + Html.DefaultFormElementCol
   + .form-control), NOT restyled -- textboxes must look identical to every other form in
   the application (owner directive 2026-07-14; see Views/MasterGodown/_Form.cshtml).
   Only the wrappers are adapted so the app markup sits cleanly inside this modal: */

/* DefaultForm wraps its content in .m-portlet__body (Metronic padding) -- .fp-body
   already owns this modal's padding, so neutralize the double-up here only. */
#forgot_password_modal .m-portlet__body {
    padding: 0;
}

/* .fp-body centers text for the messaging/OTP composition; form rows must stay
   left-composed like every other app form. */
#forgot_password_modal .fp-step .form-group.m-form__group {
    text-align: left;
    margin-bottom: 14px;
}

/* Per-element stagger delays for .fp-reveal (classes instead of inline style so
   Html.DefaultFormElementCol's extra_class parameter can carry them too). */
.fp-d0 { --d: 0s; }
.fp-d1 { --d: 0.06s; }
.fp-d2 { --d: 0.12s; }
.fp-d3 { --d: 0.18s; }
.fp-d4 { --d: 0.24s; }
.fp-d5 { --d: 0.3s; }
.fp-d6 { --d: 0.36s; }

/* ------------------------------------------------------------- digit boxes */

/* Behavior classes (.otp-digit-box + otp-filled/otp-shake) come from otp-modal.js/css;
   re-skinned here to the olive brand, scoped so #otp_modal keeps its own teal look. */
#forgot_password_modal .otp-box-row {
    gap: 8px;
    margin-bottom: 18px;
}

/* Digit boxes are input[type=text] too, so custom-ab.css's global
   `input[type="text"]:focus { !important }` would wash the focused box out the same
   way it did the User ID field -- hence the !important on the contested properties. */
#forgot_password_modal .otp-digit-box {
    width: 44px;
    height: 52px;
    font-size: 21px;
    color: var(--fp-olive-dark);
    background: #fff !important;
    border: 1.5px solid var(--fp-line) !important;
    border-radius: 11px;
    box-shadow: none !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease, background-color 0.18s ease;
}

    #forgot_password_modal .otp-digit-box:focus {
        background: #fbfdf6 !important;
        border: 1.5px solid var(--fp-olive) !important;
        box-shadow: 0 0 0 4px rgba(99, 115, 74, 0.14) !important;
    }

    #forgot_password_modal .otp-digit-box.otp-filled {
        border: 1.5px solid var(--fp-olive) !important;
    }

/* Visual 3+3 grouping -- reads like the code in the email. */
#forgot_password_modal .fp-box-gap {
    margin-left: 10px;
}

@media (max-width: 380px) {
    #forgot_password_modal .otp-digit-box {
        width: 38px;
        height: 47px;
        font-size: 18px;
    }

    #forgot_password_modal .otp-box-row {
        gap: 6px;
    }
}

/* ------------------------------------------------------------------ errors */

.fp-error {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    text-align: left;
    color: var(--fp-danger);
    font-size: 12.5px;
    line-height: 1.4;
    background: rgba(192, 80, 77, 0.08);
    border: 1px solid rgba(192, 80, 77, 0.25);
    border-radius: 9px;
    padding: 9px 12px;
    margin: 0 2px 14px 2px;
    animation: fpErrorIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

    .fp-error .la {
        font-size: 15px;
        margin-top: 1px;
        flex: none;
    }

@keyframes fpErrorIn {
    0% {
        opacity: 0;
        transform: translateY(-5px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ----------------------------------------------------------------- buttons */

.fp-actions {
    margin: 4px 0 2px 0;
}

.fp-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 46px;
    padding: 0 26px;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #f6f9ee;
    background: linear-gradient(145deg, #75865a, var(--fp-olive) 50%, var(--fp-olive-deep));
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(99, 115, 74, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s ease, filter 0.18s ease;
}

    /* Sheen sweep on hover. */
    .fp-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: -80%;
        width: 45%;
        height: 100%;
        background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.28), transparent);
        transform: skewX(-20deg);
        transition: left 0.55s ease;
        pointer-events: none;
    }

    .fp-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 26px rgba(99, 115, 74, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.22);
        filter: brightness(1.04);
    }

        .fp-btn:hover::after {
            left: 130%;
        }

    .fp-btn:active {
        transform: translateY(0) scale(0.97);
        box-shadow: 0 5px 14px rgba(99, 115, 74, 0.35);
    }

    .fp-btn[disabled] {
        cursor: default;
        filter: saturate(0.75);
    }

.fp-btn-label {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fp-btn-arrow {
    margin-left: 2px;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fp-btn:hover .fp-btn-arrow {
    transform: translateX(4px);
}

/* CSS spinner, swapped in for the label while a request is in flight
   (Scripts/ab/forgot-password.js toggles .fp-btn-loading). */
.fp-btn-spinner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(246, 249, 238, 0.35);
    border-top-color: #f6f9ee;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.fp-btn.fp-btn-loading .fp-btn-label {
    opacity: 0;
    transform: translateY(6px);
}

.fp-btn.fp-btn-loading .fp-btn-spinner {
    opacity: 1;
    transform: scale(1);
    animation: fpSpinFast 0.7s linear infinite;
}

@keyframes fpSpinFast {
    to { transform: rotate(360deg); }
}

/* ------------------------------------------------------------------ resend */

.fp-resend {
    font-size: 13px;
    margin-top: 12px;
}

    .fp-resend a {
        color: var(--fp-olive-deep);
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .fp-resend a .la {
            margin-right: 2px;
            display: inline-block;
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .fp-resend a:hover {
            color: var(--fp-olive-dark);
            text-decoration: underline;
        }

            .fp-resend a:hover .la {
                transform: translateX(2px) translateY(-2px) rotate(8deg);
            }

        .fp-resend a.otp-resend-disabled {
            pointer-events: none;
            color: #a9b596;
            font-weight: 500;
        }

#fp_resend_countdown {
    color: #a9b596;
    font-variant-numeric: tabular-nums;
    animation: fpCountPulse 1s ease-in-out infinite;
}

@keyframes fpCountPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.55; }
}

/* ----------------------------------------------------------------- success */

#fp_step_success {
    padding: 14px 0 6px 0;
    text-align: center;
}

.fp-success-burst {
    position: relative;
    width: 96px;
    margin: 0 auto;
}

/* Success check re-skinned to the brand's fresh green; keyframes from otp-modal.css. */
#forgot_password_modal .otp-success-ring,
#forgot_password_modal .otp-success-check {
    background: linear-gradient(145deg, #55a873, var(--fp-success));
}

#forgot_password_modal .otp-success-check {
    box-shadow: 0 10px 26px rgba(63, 143, 91, 0.4);
}

#fp_step_success.otp-success-animate .otp-success-ring {
    animation: otpSuccessRing 0.7s ease-out;
}

#fp_step_success.otp-success-animate .otp-success-check {
    animation: otpSuccessPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
}

/* Six brand-colored confetti chips burst outward with the check pop. */
.fp-confetti {
    position: absolute;
    top: 34px;
    left: 46px;
    width: 7px;
    height: 10px;
    border-radius: 2px;
    opacity: 0;
    pointer-events: none;
}

.fp-c1 { background: var(--fp-olive); }
.fp-c2 { background: var(--fp-success); }
.fp-c3 { background: #c9a24b; }
.fp-c4 { background: var(--fp-sage-deep); }
.fp-c5 { background: #55a873; }
.fp-c6 { background: #8fa06f; }

#fp_step_success.otp-success-animate .fp-c1 { animation: fpConfetti 0.9s ease-out 0.18s; --fx: -52px; --fy: -44px; --fr: 130deg; }
#fp_step_success.otp-success-animate .fp-c2 { animation: fpConfetti 0.9s ease-out 0.22s; --fx: 50px;  --fy: -52px; --fr: -160deg; }
#fp_step_success.otp-success-animate .fp-c3 { animation: fpConfetti 0.9s ease-out 0.20s; --fx: -64px; --fy: 6px;   --fr: 200deg; }
#fp_step_success.otp-success-animate .fp-c4 { animation: fpConfetti 0.9s ease-out 0.26s; --fx: 62px;  --fy: -2px;  --fr: -120deg; }
#fp_step_success.otp-success-animate .fp-c5 { animation: fpConfetti 0.9s ease-out 0.24s; --fx: -30px; --fy: -66px; --fr: 90deg; }
#fp_step_success.otp-success-animate .fp-c6 { animation: fpConfetti 0.9s ease-out 0.28s; --fx: 34px;  --fy: -70px; --fr: -90deg; }

@keyframes fpConfetti {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(0deg) scale(0.6);
    }

    15% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(var(--fx, 0), var(--fy, -50px)) rotate(var(--fr, 120deg)) scale(1);
    }
}

.fp-success-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--fp-olive-dark);
    margin: 16px 0 6px 0;
    opacity: 0;
}

.fp-success-sub {
    font-size: 13.5px;
    line-height: 1.55;
    color: #5c6850;
    margin: 0 0 18px 0;
    opacity: 0;
}

#fp_step_success.otp-success-animate .fp-success-title {
    animation: otpSuccessTextIn 0.4s ease 0.35s forwards;
}

#fp_step_success.otp-success-animate .fp-success-sub {
    animation: otpSuccessTextIn 0.4s ease 0.5s forwards;
}

#fp_step_success.otp-success-animate .fp-actions {
    opacity: 0;
    animation: otpSuccessTextIn 0.4s ease 0.65s forwards;
}

/* ---------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
    #forgot_password_modal *,
    #forgot_password_modal *::before,
    #forgot_password_modal *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fp-step .fp-reveal,
    .fp-success-title,
    .fp-success-sub {
        opacity: 1;
    }
}
