body {
    min-height: 100vh;
    background: #f4f7fb;
}

.mophy-recovery-page {
    --recovery-primary: #0759c8;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(380px, .88fr) minmax(540px, 1.12fr);
    color: #141b2d;
}

.mophy-recovery-brand {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 46px 54px;
    color: #fff;
    background: linear-gradient(145deg, #073aa8 0%, #096bb8 56%, #07998f 100%);
}

.mophy-recovery-brand::before,
.mophy-recovery-brand::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    pointer-events: none;
}

.mophy-recovery-brand::before {
    width: 470px;
    height: 470px;
    top: -150px;
    right: -230px;
    box-shadow: 0 0 0 78px rgba(255, 255, 255, .026), 0 0 0 156px rgba(255, 255, 255, .018);
}

.mophy-recovery-brand::after {
    width: 250px;
    height: 250px;
    bottom: 74px;
    left: -118px;
    box-shadow: 0 0 0 58px rgba(255, 255, 255, .025);
}

.mophy-recovery-logo {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-self: flex-start;
    padding: 11px 14px;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(3, 29, 83, .2);
}

.mophy-recovery-logo img {
    width: 132px;
    max-height: 42px;
    object-fit: contain;
}

.mophy-recovery-brand-copy,
.mophy-recovery-assurance {
    position: relative;
    z-index: 1;
}

.mophy-recovery-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 17px;
    color: #d8f5f2;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.mophy-recovery-eyebrow i {
    font-size: 19px;
}

.mophy-recovery-brand-copy h1 {
    max-width: 520px;
    margin: 0;
    color: #fff;
    font-size: 43px;
    font-weight: 900;
    line-height: 1.14;
}

.mophy-recovery-brand-copy > p {
    max-width: 450px;
    margin: 17px 0 28px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 1.7;
}

.mophy-recovery-steps {
    display: grid;
    gap: 12px;
    max-width: 430px;
}

.mophy-recovery-step {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, .7);
}

.mophy-recovery-step > span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 7px;
    background: rgba(255, 255, 255, .08);
    font-size: 11px;
    font-weight: 900;
}

.mophy-recovery-step strong,
.mophy-recovery-step small {
    display: block;
}

.mophy-recovery-step strong {
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.mophy-recovery-step small {
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.4;
}

.mophy-recovery-assurance {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 450px;
    padding-top: 21px;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.mophy-recovery-assurance > i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .13);
    font-size: 19px;
}

.mophy-recovery-assurance strong,
.mophy-recovery-assurance span {
    display: block;
}

.mophy-recovery-assurance strong {
    font-size: 12px;
    font-weight: 900;
}

.mophy-recovery-assurance span {
    margin-top: 3px;
    color: rgba(255, 255, 255, .7);
    font-size: 10px;
    line-height: 1.55;
}

.mophy-recovery-access {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 38px;
    background: #f5f7fa;
}

.mophy-recovery-panel {
    width: min(100%, 510px);
    padding: 34px 38px;
    border: 1px solid #e1e7ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(17, 38, 78, .1);
}

.mophy-recovery-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 22px;
    color: #68758a;
    font-size: 10px;
    font-weight: 900;
}

.mophy-recovery-back:hover {
    color: var(--recovery-primary);
}

.mophy-recovery-heading {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
    margin-bottom: 25px;
    padding-bottom: 22px;
    border-bottom: 1px solid #edf0f4;
}

.mophy-recovery-heading-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--recovery-primary), #169aa7);
    font-size: 23px;
}

.mophy-recovery-heading small {
    display: block;
    margin-bottom: 2px;
    color: #0b82b0;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.mophy-recovery-heading h2 {
    margin: 0;
    color: #111827;
    font-size: 23px;
    font-weight: 900;
}

.mophy-recovery-heading p {
    margin: 4px 0 0;
    color: #7a8495;
    font-size: 11px;
    line-height: 1.55;
}

.mophy-recovery-progress {
    min-width: 55px;
    padding: 6px 8px;
    border: 1px solid #dfe7f0;
    border-radius: 6px;
    color: #5d6a7f;
    background: #f6f8fb;
    font-size: 9px;
    font-weight: 900;
    text-align: center;
}

.mophy-recovery-field {
    margin-bottom: 18px;
}

.mophy-recovery-field > label,
.mophy-recovery-label-row label {
    display: block;
    margin-bottom: 7px;
    color: #303a4d;
    font-size: 11px;
    font-weight: 900;
}

.mophy-recovery-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mophy-recovery-label-row small {
    margin-bottom: 7px;
    color: #8a94a5;
    font-size: 9px;
    font-weight: 700;
}

.mophy-recovery-input {
    min-height: 50px;
    display: grid;
    grid-template-columns: 39px minmax(0, 1fr);
    align-items: center;
    border: 1px solid #dce3ec;
    border-radius: 7px;
    background: #fbfcfe;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.mophy-recovery-input.has-action {
    grid-template-columns: 39px minmax(0, 1fr) 40px;
}

.mophy-recovery-input:focus-within {
    border-color: #168ec1;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(22, 142, 193, .1);
}

.mophy-recovery-input > i {
    color: #8792a3;
    font-size: 18px;
    text-align: center;
}

.mophy-recovery-input input {
    min-width: 0;
    height: 48px;
    padding: 0 8px;
    border: 0;
    outline: 0;
    color: #172033;
    background: transparent;
    font-size: 13px;
    font-weight: 650;
}

.mophy-recovery-input input::placeholder {
    color: #a0a8b6;
    font-weight: 500;
}

.mophy-recovery-toggle {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    color: #68758a;
    background: transparent;
    font-size: 18px;
}

.mophy-recovery-toggle:hover,
.mophy-recovery-toggle:focus-visible {
    color: var(--recovery-primary);
    background: #eaf3ff;
}

.mophy-recovery-error {
    display: block;
    margin-top: 6px;
    color: #c63849;
    font-size: 10px;
    font-weight: 700;
}

.mophy-recovery-help {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 2px 0 19px;
    padding: 12px 13px;
    border: 1px solid #dbe8f5;
    border-radius: 7px;
    color: #5f6d81;
    background: #f4f9ff;
    font-size: 10px;
    line-height: 1.55;
}

.mophy-recovery-help i {
    margin-top: 1px;
    color: #147eb6;
    font-size: 17px;
}

.mophy-recovery-captcha > .form-group {
    margin-bottom: 18px;
}

.mophy-recovery-captcha .form-label,
.mophy-recovery-captcha .form--label {
    color: #303a4d;
    font-size: 11px;
    font-weight: 900;
}

.mophy-recovery-captcha .form-control,
.mophy-recovery-captcha .form--control {
    min-height: 48px;
    border: 1px solid #dce3ec;
    border-radius: 7px;
    background: #fbfcfe;
}

.mophy-recovery-submit {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: linear-gradient(105deg, var(--recovery-primary), #109dd0);
    box-shadow: 0 12px 24px rgba(7, 89, 200, .2);
    font-size: 12px;
    font-weight: 900;
}

.mophy-recovery-submit:hover,
.mophy-recovery-submit:focus-visible {
    color: #fff;
    box-shadow: 0 15px 28px rgba(7, 89, 200, .27);
}

.mophy-recovery-submit:disabled {
    opacity: .65;
    cursor: wait;
}

.mophy-recovery-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 21px;
    padding-top: 19px;
    border-top: 1px solid #edf0f4;
    color: #7d8798;
    font-size: 10px;
}

.mophy-recovery-footer a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--recovery-primary);
    font-weight: 900;
}

.mophy-recovery-email {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 13px;
    border: 1px solid #e0e7ef;
    border-radius: 7px;
    background: #f8fafc;
}

.mophy-recovery-email i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    border-radius: 7px;
    color: var(--recovery-primary);
    background: #eaf3ff;
    font-size: 17px;
}

.mophy-recovery-email small,
.mophy-recovery-email strong {
    display: block;
}

.mophy-recovery-email small {
    color: #8993a3;
    font-size: 9px;
}

.mophy-recovery-email strong {
    margin-top: 2px;
    color: #2e394c;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.mophy-recovery-code-field > label {
    display: block;
    margin-bottom: 8px;
    color: #303a4d;
    font-size: 11px;
    font-weight: 900;
}

.mophy-recovery-code-boxes {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
}

.mophy-recovery-code-box {
    width: 100%;
    height: 58px;
    min-width: 0;
    padding: 0;
    border: 1px solid #dce3ec;
    border-radius: 7px;
    outline: 0;
    color: #172033;
    background: #f8fafc;
    font-size: 21px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    text-align: center;
    caret-color: var(--recovery-primary);
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.mophy-recovery-code-box:focus {
    border-color: #168ec1;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(22, 142, 193, .1);
    transform: translateY(-1px);
}

.mophy-recovery-code-box:not(:placeholder-shown) {
    border-color: #b9ccdf;
    background: #f4f9ff;
}

.mophy-recovery-code-error {
    min-height: 16px;
    margin: 7px 0 0;
    color: #c63849;
    font-size: 9px;
    font-weight: 750;
    text-align: center;
}

.mophy-recovery-code-note {
    margin: 10px 0 20px;
    color: #7d8798;
    font-size: 9px;
    line-height: 1.5;
    text-align: center;
}

.mophy-recovery-code-note a {
    color: var(--recovery-primary);
    font-weight: 900;
}

.mophy-recovery-requirements {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: -4px 0 18px;
    color: #778397;
    font-size: 9px;
    line-height: 1.5;
}

.mophy-recovery-requirements i {
    margin-top: 1px;
    color: #1d9d68;
    font-size: 15px;
}

.mophy-password-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: -3px 0 19px;
}

.mophy-password-checklist span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8a94a5;
    font-size: 9px;
    font-weight: 750;
}

.mophy-password-checklist i {
    width: 17px;
    height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 17px;
    border-radius: 50%;
    color: #9da7b5;
    background: #eef1f5;
    font-size: 10px;
}

.mophy-password-checklist span.is-valid {
    color: #197853;
}

.mophy-password-checklist span.is-valid i {
    color: #fff;
    background: #1f9d6b;
}

.mophy-pin-group + .mophy-pin-group {
    margin-top: 20px;
}

.mophy-pin-boxes {
    display: grid;
    grid-template-columns: repeat(4, 58px);
    justify-content: center;
    gap: 12px;
}

.mophy-pin-box {
    width: 58px;
    height: 58px;
    border: 1px solid #dce3ec;
    border-radius: 8px;
    outline: 0;
    color: #172033;
    background: #f8fafc;
    font-size: 23px;
    font-weight: 900;
    text-align: center;
    -webkit-text-security: disc;
}

.mophy-pin-box:focus {
    border-color: #168ec1;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(22, 142, 193, .1);
}

.mophy-pin-message {
    min-height: 17px;
    margin: 10px 0 12px;
    color: #c63849;
    font-size: 10px;
    font-weight: 750;
    text-align: center;
}

@media (max-width: 991px) {
    .mophy-recovery-page {
        grid-template-columns: 1fr;
    }

    .mophy-recovery-brand {
        min-height: auto;
        padding: 24px 28px;
    }

    .mophy-recovery-brand-copy,
    .mophy-recovery-assurance {
        display: none;
    }

    .mophy-recovery-logo img {
        width: 112px;
    }

    .mophy-recovery-access {
        min-height: calc(100vh - 94px);
        padding: 28px 18px;
    }
}

@media (max-width: 575px) {
    .mophy-recovery-brand {
        padding: 17px;
    }

    .mophy-recovery-logo {
        padding: 9px 12px;
    }

    .mophy-recovery-access {
        align-items: flex-start;
        padding: 17px 13px 30px;
    }

    .mophy-recovery-panel {
        padding: 24px 19px;
    }

    .mophy-recovery-heading {
        grid-template-columns: 43px minmax(0, 1fr);
    }

    .mophy-recovery-heading-icon {
        width: 43px;
        height: 43px;
    }

    .mophy-recovery-heading h2 {
        font-size: 20px;
    }

    .mophy-recovery-progress {
        grid-column: 1 / -1;
        justify-self: start;
        margin-top: -3px;
    }

    .mophy-recovery-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .mophy-recovery-code-boxes {
        gap: 6px;
    }

    .mophy-recovery-code-box {
        min-height: 43px;
        font-size: 18px;
    }

    .mophy-pin-boxes {
        grid-template-columns: repeat(4, minmax(0, 55px));
        gap: 9px;
    }

    .mophy-pin-box {
        width: 100%;
        height: 54px;
    }

    .mophy-password-checklist {
        grid-template-columns: 1fr;
    }
}
