body.page-forgot-password {
    color: #17263a;
    background:
        radial-gradient(ellipse at 12% 18%, rgba(33, 125, 202, .09), transparent 32%),
        radial-gradient(ellipse at 92% 86%, rgba(30, 147, 204, .08), transparent 30%),
        #f3f7fb;
    font-family: "Segoe UI", Tahoma, sans-serif;
}

.forgot-password-shell {
    display: grid;
    min-height: min(680px, calc(100vh - 180px));
    place-items: center;
    padding: 44px 18px 54px;
}

.forgot-password-card {
    width: min(100%, 520px);
    padding: 36px clamp(24px, 6vw, 48px) 30px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #e0e8f0;
    border-radius: 16px;
    box-shadow: 0 22px 60px rgba(24, 56, 91, .12);
}

.forgot-password__logo {
    display: flex;
    width: 212px;
    min-height: 61px;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    margin: 0 auto 25px;
    background: #0b1524;
    border-radius: 9px;
}

.forgot-password__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.forgot-password__icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin: 0 auto 18px;
    color: #1267a8;
    background: #eaf4fc;
    border: 1px solid #d8eafb;
    border-radius: 15px;
}

.forgot-password__icon svg {
    width: 31px;
    height: 31px;
}

.forgot-password__eyebrow {
    margin: 0;
    color: #1874ad;
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-align: center;
}

.forgot-password-card h1 {
    margin: 8px 0 9px;
    color: #172a40;
    font-size: clamp(1.7rem, 5vw, 2.05rem);
    font-weight: 750;
    letter-spacing: -.04em;
    line-height: 1.2;
    text-align: center;
}

.forgot-password__intro {
    max-width: 390px;
    margin: 0 auto 24px;
    color: #718096;
    font-size: .92rem;
    line-height: 1.65;
    text-align: center;
}

.forgot-password__message {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 14px;
    margin-bottom: 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: .86rem;
    line-height: 1.55;
}

.forgot-password__message--error {
    color: #9d2727;
    background: #fff1f0;
    border-color: #f5c9c6;
}

.forgot-password__message--success {
    color: #226a43;
    background: #eef9f1;
    border-color: #c5e9d0;
}

.forgot-password__success-icon {
    display: inline-grid;
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    place-items: center;
    color: #fff;
    background: #2b8a57;
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 800;
}

.forgot-password__inbox-hint {
    margin: 0 0 17px;
    color: #397253;
    font-size: .82rem;
    line-height: 1.5;
}

.forgot-password__form {
    display: grid;
    gap: 19px;
}

.forgot-password__field {
    display: grid;
    gap: 8px;
}

.forgot-password__field label {
    color: #26384d;
    font-size: .86rem;
    font-weight: 700;
}

.forgot-password__email-input {
    position: relative;
}

.forgot-password__email-input svg {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 21px;
    height: 21px;
    color: #8292a3;
    pointer-events: none;
    transform: translateY(-50%);
}

.forgot-password__email-input input {
    width: 100%;
    height: 51px;
    padding: 0 14px 0 44px;
    color: #1d2c3d;
    background: #fbfdff;
    border: 1px solid #d7e1eb;
    border-radius: 9px;
    font: inherit;
    font-size: .92rem;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.forgot-password__email-input input::placeholder {
    color: #9ba9b8;
}

.forgot-password__email-input input:focus {
    background: #fff;
    border-color: #2685c7;
    box-shadow: 0 0 0 4px rgba(38, 133, 199, .13);
}

.forgot-password__submit {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    color: #fff;
    background: linear-gradient(105deg, #1479bd, #105e9f);
    border: 0;
    border-radius: 9px;
    box-shadow: 0 7px 16px rgba(17, 102, 167, .18);
    font: inherit;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, opacity .16s ease;
}

.forgot-password__submit:hover:not(:disabled) {
    background: linear-gradient(105deg, #116ba9, #0d5189);
    box-shadow: 0 10px 20px rgba(17, 102, 167, .23);
    transform: translateY(-1px);
}

.forgot-password__submit:disabled {
    cursor: wait;
    opacity: .78;
}

.forgot-password__submit span:last-child {
    font-size: 1.2rem;
}

.forgot-password__divider {
    height: 1px;
    margin: 23px 0 17px;
    background: #e5ecf2;
}

.forgot-password__back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #1267a8;
    font-size: .87rem;
    font-weight: 700;
    text-decoration: none;
}

.forgot-password__back:hover {
    color: #0c4e83;
    text-decoration: underline;
}

.forgot-password__privacy {
    margin: 20px 0 0;
    color: #8996a4;
    font-size: .74rem;
    line-height: 1.5;
    text-align: center;
}

.forgot-password__submit:focus-visible,
.forgot-password__back:focus-visible,
.forgot-password__logo:focus-visible {
    outline: 3px solid rgba(38, 133, 199, .45);
    outline-offset: 3px;
}

@media (max-width: 575px) {
    .forgot-password-shell {
        min-height: unset;
        padding: 28px 14px 38px;
    }

    .forgot-password-card {
        padding: 28px 22px 24px;
        border-radius: 13px;
    }

    .forgot-password__logo {
        width: 180px;
        min-height: 52px;
        margin-bottom: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .forgot-password__email-input input,
    .forgot-password__submit {
        transition-duration: .01ms;
    }
}
