/*
 * Mohamed Saleh V2 — Lost Password
 * Version: 1.0.0
 */

body.ms-v2-lost-password {
    background: #F6F8FB;
}


.ms-lost-password {
    width: 100%;
    min-height: 60vh;
}


.ms-lost-password__section {
    padding: 64px 0 76px;
}


.ms-lost-password__container {
    width: min(
        1240px,
        calc(100% - 48px)
    );

    margin-inline: auto;

    display: flex;
    justify-content: center;
}


.ms-lost-password__card {
    width: min(100%, 520px);

    padding: 34px 38px 30px;

    border: 1px solid #E3E8EF;
    border-top: 3px solid #4A7CC6;
    border-radius: 14px;

    background: #FFFFFF;

    box-shadow:
        0 18px 45px
        rgba(27, 36, 48, .08);

    text-align: center;
}


.ms-lost-password__badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 12px;
    padding: 6px 11px;

    border-radius: 999px;

    background: #EEF4FC;

    color: #4A7CC6;

    font-size: 12px;
    font-weight: 800;

    line-height: 1;
}


.ms-lost-password__title {
    margin: 0;

    color: #1B2430;

    font-size: clamp(
        26px,
        3vw,
        34px
    );

    font-weight: 850;

    line-height: 1.3;
}


.ms-lost-password__intro {
    max-width: 430px;

    margin:
        12px auto 0;

    color: #667282;

    font-size: 14.5px;

    line-height: 1.9;
}


.ms-lost-password__notice {
    margin-top: 22px;
    padding: 12px 14px;

    border-radius: 10px;

    font-size: 13px;
    line-height: 1.8;

    text-align: right;
}


.ms-lost-password__notice--success,
.ms-lost-password__notice--info {
    border: 1px solid #CBEBD7;
    background: #F0FBF4;
    color: #257341;
}


.ms-lost-password__notice--error {
    border: 1px solid #F1CCCC;
    background: #FFF4F4;
    color: #A33A3A;
}


.ms-lost-password__form {
    margin-top: 24px;

    text-align: right;
}


.ms-lost-password__field {
    display: grid;

    gap: 8px;
}


.ms-lost-password__label {
    color: #1B2430;

    font-size: 13px;
    font-weight: 800;
}


.ms-lost-password__input {
    width: 100%;
    height: 48px;

    padding: 0 14px;

    border: 1px solid #D8E0E8;
    border-radius: 8px;

    background: #FFFFFF;

    color: #1B2430;

    font: inherit;
    font-size: 14px;

    box-sizing: border-box;

    outline: none;

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}


.ms-lost-password__input:focus {
    border-color: #4A7CC6;

    box-shadow:
        0 0 0 3px
        rgba(74, 124, 198, .12);
}


.ms-lost-password__submit {
    width: 100%;
    min-height: 48px;

    margin-top: 16px;
    padding: 11px 18px;

    border: 0;
    border-radius: 8px;

    background: #F79A10;

    color: #FFFFFF;

    font: inherit;
    font-size: 14px;
    font-weight: 850;

    cursor: pointer;

    box-shadow:
        0 8px 18px
        rgba(247, 154, 16, .18);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}


.ms-lost-password__submit:hover {
    transform: translateY(-1px);

    box-shadow:
        0 11px 22px
        rgba(247, 154, 16, .24);
}


.ms-lost-password__submit:focus-visible,
.ms-lost-password__input:focus-visible,
.ms-lost-password__footer a:focus-visible {
    outline:
        3px solid
        rgba(74, 124, 198, .25);

    outline-offset: 3px;
}


.ms-lost-password__footer {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 22px;
    padding-top: 18px;

    border-top: 1px solid #EDF0F4;

    color: #7A8694;

    font-size: 12.5px;
}


.ms-lost-password__footer a {
    color: #4A7CC6;

    font-weight: 800;

    text-decoration: none;
}


.ms-lost-password__footer a:hover {
    text-decoration: underline;
}


@media (max-width: 767px) {

    .ms-lost-password__section {
        padding: 36px 0 54px;
    }


    .ms-lost-password__container {
        width:
            calc(100% - 28px);
    }


    .ms-lost-password__card {
        padding:
            28px 20px 24px;
    }

}
