.forgot-password-grid-container {
    display: flex;
    height: 100vh;
}

.forgot-password-grid-stretch {
    flex: 1;
    display: flex;
    height: 100%;
    place-items: center;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
    flex-direction: column;
}

.forgot-password-background {
    background: linear-gradient(#d72f2f 0%, #fff 100%);
}

.center-align {
    margin-top: 20px;
}

.forgot-password-flex-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.forgot-password-grid-stretch.form-section-small .forgot-password-flex-column > img {
    margin-top: 200px;
}

.forgot-password-joyfullhuman_large {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateX(83px);
    width: 406px;
    height: 603px;
    top: 150px;
}

.forgot-password-flex-column > .text {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.resent_conformation {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .resent_conformation > img {
        border: 1px solid #48c75c;
        border-radius: 50%;
        background-color: #48c75c;
    }

.left-align {
    text-align: left;
    justify-content: left;
}

@media screen and (max-width: 960px) {
    .forgot-password-grid-stretch.forgot-password-background {
        position: fixed;
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        z-index: 0;
    }

    .forgot-password-grid-stretch.form-section-small {
        position: relative;
        z-index: 1;
    }

        .forgot-password-grid-stretch.form-section-small .forgot-password-flex-column {
            background: #fff;
            padding: 32px;
            width: auto;
            border-radius: 32px;
            background: linear-gradient(to right bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2));
            backdrop-filter: blur(1rem);
        }
}

@media screen and (max-width: 768px) {
    .forgot-password-grid-container {
        min-height: 100vh;
    }

    .input-field > input {
        height: 50px;
    }

    .btn.btn-primary {
        height: 45px;
        margin-bottom: 10px;
        border-radius: 10px;
    }

    .forgot-password-grid-stretch {
        flex-direction: column;
        height: 100vh;
    }

        .forgot-password-grid-stretch.forgot-password-background {
            position: fixed;
            width: 100vw;
            height: 100vh;
            align-items: center;
        }

        .forgot-password-grid-stretch.form-section-small .forgot-password-flex-column {
            width: 70%;
            backdrop-filter: blur(0.25rem);
            margin-top: 60px;
            margin-left: 185px;
            align-items: center;
        }

    .forgot-password-joyfullhuman_large {
        left: -200px;
        top: 20%;
        z-index: 100;
    }

    .forgot-password-grid-stretch.form-section-small .forgot-password-flex-column > img {
        margin-top: 10px;
    }
}

@media screen and (max-width: 540px) {
    .forgot-password-grid-container {
        min-height: 100vh;
    }

    .forgot-password-grid-stretch.forgot-password-background {
        position: fixed;
        width: 100vw;
        height: 100vh;
    }

    .forgot-password-joyfullhuman_large {
        display: none;
    }

    .forgot-password-grid-stretch.form-section-small .forgot-password-flex-column > img {
        margin-top: 10px;
    }

    .forgot-password-grid-stretch.form-section-small .forgot-password-flex-column {
        width: 90%;
        backdrop-filter: blur(0.25rem);
        align-items: center;
        margin-left: 0px;
        margin-top: 10px;
    }
}

@media screen and (max-width: 480px) {
    .forgot-password-grid-stretch.forgot-password-background {
        position: fixed;
        width: 100vw;
        height: 100vh;
    }

    .forgot-password-grid-stretch.form-section-small .forgot-password-flex-column > img {
        margin-top: 10px;
    }

    .forgot-password-grid-stretch.forgot-password-background > img {
        width: 400px;
    }

    .forgot-password-grid-stretch.form-section-small .forgot-password-flex-column {
        backdrop-filter: blur(0.15rem);
        height: fit-content;
    }
}

@media screen and (max-width: 450px) {
    .forgot-password-flex-column > .text {
        font-size: 15px;
        line-height: 23px;
    }

    .resent_conformation > img {
        width: 60px;
    }
}

@media screen and (max-width: 380px) {
    .forgot-password-grid-stretch.forgot-password-background {
        position: fixed;
        width: 100vw;
        height: 100vh;
    }

        .forgot-password-grid-stretch.forgot-password-background > img {
            width: 300px;
        }

    .forgot-password-grid-stretch.form-section-small .forgot-password-flex-column > img {
        margin-top: 10px;
    }

    .forgot-password-grid-stretch {
        width: 100%;
    }

        .forgot-password-grid-stretch.form-section-small .forgot-password-flex-column {
            backdrop-filter: blur(0.15rem);
            height: fit-content;
        }
}

@media screen and (max-width: 375px) {
    .resent_conformation > img {
        width: 48px;
    }
}

@media screen and (max-width: 320px) {
    .forgot-password-grid-container {
        min-height: 100vh;
        overflow-x: hidden;
    }

    .forgot-password-grid-stretch {
        min-width: 100%;
        width: 100vw;
    }

        .forgot-password-grid-stretch.forgot-password-background {
            position: fixed;
            width: 100vw;
            height: 100vh;
        }

        .forgot-password-grid-stretch.form-section-small {
            padding: 0 15px;
            box-sizing: border-box;
        }

            .forgot-password-grid-stretch.form-section-small .forgot-password-flex-column {
                width: 100%;
                max-width: 100%;
                padding: 20px 15px;
                box-sizing: border-box;
                gap: 16px;
            }

                .forgot-password-grid-stretch.form-section-small .forgot-password-flex-column > img {
                    margin-top: 0;
                    width: 50px;
                    align-self: center;
                }

    /* Fix heading and text */
    .forgot-password-flex-column .header1 {
        font-size: 18px !important;
        line-height: 1.2;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
    }

    .forgot-password-flex-column > .text {
        font-size: 13px;
        line-height: 1.4;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
    }

    /* Fix input field */
    .input-field {
        width: 100%;
        box-sizing: border-box;
        align-items: center;
    }

        .input-field .label {
            font-size: 14px;
            width: 80%;
            word-wrap: break-word;
        }

        .input-field > input {
            height: 45px;
            width: 80%;
            box-sizing: border-box;
            font-size: 14px;
            padding: 10px 12px;
        }

    /* Fix button */
    .buttton-div {
        width: 100%;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .btn.btn-primary,
    .btn.btn-primary.login-password {
        width: 80%;
        height: auto;
        min-height: 45px;
        box-sizing: border-box;
        padding: 12px 16px;
        border-radius: 10px;
        font-size: 14px;
    }

        .btn.btn-primary a {
            font-size: 14px;
        }

    /* Fix center align link */
    .center-align {
        width: 100%;
        word-wrap: break-word;
        text-align: center;
    }

        .center-align .link {
            font-size: 13px;
            word-wrap: break-word;
            display: inline-block;
            max-width: 100%;
        }

    .resent_conformation > img {
        width: 45px;
    }
}
