

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.button-secondary,
.button-primary {
    height: 40px;
    padding: 8px 16px 8px 16px;
    gap: 3px;
    border-radius: 4px;
    font-family: Source Sans Pro;
    font-size: 16px;
    line-height: 20px;
    text-align: left;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #5e33bf;
}

.button-secondary {
    background-color: var(--color-white);
    border: 1px solid #5e33bf;
}

.button-primary {
    background-color: #5e33bf;
    border: 1px solid #5e33bf;
    color: var(--color-white) !important;
}

.forgot-password-panel .button-container .button-secondary-anchor {
    width: unset !important;
}


.forgot-password-container {
    display: flex;
    min-height: calc(100vh - 80px);
}

.forgot-password-content-1 {
    flex: 1;
    flex-direction: column;
    padding: 140px 43px;
    background: url("../../images/login/login_bg_new.jpg") no-repeat center center;
    background-size: cover;
}

    .forgot-password-content-1 .title-1,
    .forgot-password-content-1 .title-2 {
        font-size: 56px;
        font-weight: 700;
        line-height: 64px;
        text-align: left;
        color: var(--color-white-1);
    }

    .forgot-password-content-1 .sub-title {
        font-size: 20px;
        font-weight: 600;
        line-height: 26px;
        text-align: left;
        margin-top: 40px;
        color: var(--color-white);
    }

    .forgot-password-content-1 .button-container {
        display: flex;
        margin-top: 40px;
    }

        .forgot-password-content-1 .button-container .button-explore {
            width: auto !important;
            font-size: 14px;
            font-weight: 600;
            line-height: 14px;
            text-align: center;
            background: var(--color-green);
            border-color: var(--color-green);
            cursor: pointer;
            color: var(--color-white) !important;
        }

            .forgot-password-content-1 .button-container .button-explore:hover {
                background-color: var(--color-green) !important;
                border-color: var(--color-green) !important;
            }
.forgot-password-panel {
    width: 448px;
    padding: 24px 48px;
    background: var(--color-white);
    box-shadow: 0px 4px 30px 0px var(--color-black-5);
    display: flex;
    flex-direction: column;
}

    .forgot-password-container .hide-error button {
        padding: 8px 16px;
        background: var(--color-light-red);
        border: none;
        color: var(--color-red-1);
        width: 53px;
    }

.forgot-password-panel .form-group {
    position: relative;
    margin: 8px 0 12px 0;
}

.forgot-password-panel input {
    width: 100%;
    border: none;
    color: var(--color-black);
    border-bottom: 1px solid var(--color-grey-4);
    outline: none;
    transition: border-color 0.3s;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    padding-bottom: 6px;
}

    .forgot-password-panel input:focus {
        border-bottom: 2px solid var(--color-purple);
    }

.forgot-password-panel label {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-grey-4);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    padding: 0;
    border-radius: unset;
}

.forgot-password-panel input:focus + .label,
.forgot-password-panel input.filled + .label,
.forgot-password-panel input.invalid + .label {
    top: 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--color-purple);
}

.forgot-password-panel input.invalid + .label {
    color: var(--color-red);
}

.forgot-password-panel input.invalid:focus {
    border-bottom: 2px solid var(--color-red);
}

.forgot-password-panel input.invalid {
    border-bottom: 1px solid var(--color-red);
}

.forgot-password-panel .error-message {
    margin-top: 4px;
    color: var(--color-red);
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    display: flex;
    visibility: hidden;
    gap: 4px;
    height: 24px;
}

.forgot-password-panel input:not(:placeholder-shown) {
    padding-top: 17px;
}

.forgot-password-panel .forgot-password {
    margin: 16px 0;
    display: flex;
}

    .forgot-password-panel .forgot-password a {
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        text-align: left;
    }

.forgot-password-panel a:hover {
    color: var(--color-purple);
}

.forgot-password-panel .button-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

    .forgot-password-panel .button-container button {
        flex: 1;
        width: 100% !important;
        font-size: 16px;
        line-height: 20px;
        padding: 9px;
    }

.forgot-password-panel .terms-conditions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    text-align: center;
    margin-top: 39px;
    justify-content: flex-end;
    flex: 1;
}

    .forgot-password-panel .terms-conditions a {
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
    }

    .forgot-password-panel .terms-conditions div:first-child {
        margin-bottom: 16px;
    }

.forgot-password-panel .forgot-password-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 34px;
    text-align: left;
    color: var(--color-black);
    margin-bottom: 16px;
    margin-top: 99px;
}

.forgot-password-panel .forgot-password-msg {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

@media (max-width: 1032px) {
    .forgot-password-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .forgot-password-content-1 {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
    }

        .forgot-password-content-1 .title-1 {
            justify-content: center;
            margin-bottom: 16px;
            opacity: 0;
            animation: fadeIn 600ms ease-out 800ms forwards;
        }

        .forgot-password-content-1 .title-2 {
            color: var(--color-white);
            font-size: 20px;
            font-weight: 600;
            line-height: 26px;
            text-align: left;
            text-align: center;
            opacity: 0;
            animation: fadeIn 600ms ease-out 800ms forwards;
        }

        .forgot-password-content-1 .button-container {
            display: none !important;
        }


    .forgot-password-panel {
        width: 572px;
        position: relative;
        margin: 0 auto;
        padding: 42px 40px 40px 40px;
        opacity: 0;
        animation: fadeIn 600ms ease-out 800ms forwards;
        margin-top: -150px;
        border-radius: 6px;
    }

        .forgot-password-panel .terms-conditions {
            margin-top: 52px;
            padding: 0 47px;
        }

            .forgot-password-panel .terms-conditions div:first-child {
                margin-bottom: 24px;
            }

        .forgot-password-panel .button-container {
            gap: 24px;
        }

            .forgot-password-panel .button-container button {
                padding: 14px;
            }

            .forgot-password-panel .button-container .button-secondary-anchor {
                height: 50px !important
            }

    .forgot-password-container .signin-error {
        margin-bottom: 28px;
    }

    .forgot-password-panel .forgot-password-title {
        margin: 0 0 24px 0 !important;
    }
}

