@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

.forgot-password {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: center;
    background-color: #F4F7FA;

    .forgot-password__content {
        display: grid;
        place-content: center;
        row-gap: 24px;
        padding: 15px;
        border-radius: 4px;
        border: 1px solid #F6F6F6;
        background: #FFF;
        box-shadow: 0px 0px 8px 0px rgba(136, 136, 136, 0.18);
        width: min-content;
        position: relative;
        margin: auto;

        @media screen and (width >= 768px) {
            padding: 40px;
        }
        
        @media screen and (width >= 1024px) {
            row-gap: 36px;
            width: 100%;
            max-width: 620px;
        }

        .forgot-password__content__logo {
            width: 130px;
            height: 75px;
            margin: 0;
            margin-left: auto;
            margin-right: auto;

            img {
                width: 100%;
                height: 100%;
            }
        }

        .forgot-password__content__title {
            color: #1A2F42;
            font-family: 'Roboto';
            font-size: 18px;
            font-style: normal;
            font-weight: 700;
            letter-spacing: 0.2px;
            margin: 0;

            &:after {
                content: "";
                display: block;
                background-color: #FEC60D;
                width: 48px;
                height: 4px;
                margin-top: 12px;
            }

            @media screen and (width >= 1024px) {
                font-size: 20px;
            }
        }

        .forgot-password__content__description {
            color: #4B5C71;
            font-family: 'Roboto';
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            letter-spacing: 0.28px;
            margin-bottom: 0;
        }

        .forgot-password__content__form {
            display: grid;
            row-gap: 24px;

            @media screen and (width >= 1024px) {
                row-gap: 36px;
            }

            .forgot-password__content__form__input-group {
                color: #1A2F42;
                font-family: 'Roboto';
                font-size: 16px;
                font-style: normal;
                font-weight: 700;
                letter-spacing: 0.5px;
                margin: 0;
                width: 100%;
                
                input {
                    overflow: hidden;
                    color: #1A2F42;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    font-family: 'Roboto';
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 400;
                    letter-spacing: 0.5px;
                    padding: 12px 16px;
                    border-radius: 4px;
                    border: 1px solid #9FB2C2;
                    display: block;
                    margin-top: 5px;
                    width: 100%;
                    
                    &::placeholder {
                        color: #4B5C71;
                    }
                }
            }
        }

        .forgot-password__content__form__buttons {
            display: flex;
            gap: 20px;

            .forgot-password__content__form__buttons__send {
                margin: 0;
                border: none;
                outline: none;
                background-color: #FEC60D;
                border-radius: 4px;
                color: #173F8A;
                text-align: center;
                font-family: 'Roboto';
                font-size: 16px;
                font-style: normal;
                font-weight: 500;
                letter-spacing: 0.5px;
                padding: 10px 16px;
                cursor: pointer;
                transition: background-color 0.3s ease;
                width: 100%;
                
                @media screen and (width >= 1024px) {
                    width: fit-content;

                    &:hover {
                        background-color: #E3AE00;
                    }
                }
            }

            .forgot-password__content__form__buttons__back {
                border-radius: 4px;
                border: 2px solid #FEC60D;
                background-color: #FFF;
                outline: none;
                color: #173F8A;
                text-align: center;
                font-family: 'Roboto';
                font-size: 16px;
                font-style: normal;
                font-weight: 500;
                letter-spacing: 0.5px;
                display: block;
                padding: 10px 16px;
                text-decoration: none;
                transition: background-color 0.3s ease;
                width: 100%;

                @media screen and (width >= 1024px) {
                    width: fit-content;

                    &:hover {
                        background-color: #F6F6F6;
                    }
                }
            }
        }

    }

    .forgot-password__content__help {
        color: #0176DE;
        font-family: 'Roboto';
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        letter-spacing: 0.5px;
        text-decoration-line: underline;
        text-align: center;
        cursor: pointer;
        width: fit-content;

        @media screen and (width >= 1024px) {
            text-align: left;
        }
    }

    .forgot-password__footer {
        color: #4B5C71;
        font-family: 'Roboto';
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        letter-spacing: 0.28px;

        background-color: #FFF;
        padding: 20px 15px;
        display: flex;
        justify-content: center;
        align-items: center;

        @media screen and (width >= 1024px) {
            margin-top: 0;
            font-size: 14px;
        }
    }
}