﻿body {
    background: var(--white-bg);
}

.login-wrapper {
    height: 100dvh;
    width: 100%;
    display: grid;
    gap: 1rem;
    grid-template-columns: 40% calc(60% - 1rem);
    grid-template-areas:
        "form carousel";
}

/* ---------------------------- */
/* Login form styling           */
/* ---------------------------- */
.login-form {
    grid-area: form;
    width: 100%;
    max-width: 570px;
    background: var(--brand-terciary);
    padding: 4rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    justify-self: center;
}

    .login-form h1 {
        font-size: 2.5rem;
        text-align: center;
        font-family: RobotoRegular;
    }

    .login-form h3 {
        font-size: 1.25rem;
        text-align: center;
        font-family: RobotoRegular;
    }

    /* Google & Apple button styling */
    .login-form .login-option {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

        .login-form .login-option .option {
            width: calc(100% / 2 - 12px);
        }

            .login-form .login-option .option a {
                height: 56px;
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 12px;
                background: #F8F8FB;
                border: 1px solid #DADAF2;
                border-radius: 5px;
                margin: 34px 0 24px 0;
                text-decoration: none;
                color: #171645;
                font-weight: 500;
                transition: 0.2s ease;
            }

                .login-form .login-option .option a:hover {
                    background: #ededf5;
                    border-color: var(--brand-primary);
                }

                .login-form .login-option .option a img {
                    max-width: 25px;
                }

    .login-form p {
        text-align: center;
        font-weight: 500;
    }

    .login-form .separator {
        position: relative;
        margin-bottom: 24px;
    }

        /* Login option separator styling */
        .login-form .separator span {
            background: #fff;
            z-index: 1;
            padding: 0 10px;
            position: relative;
        }

        .login-form .separator::after {
            content: '';
            position: absolute;
            width: 100%;
            top: 50%;
            left: 0;
            height: 1px;
            background: #C2C2C2;
            display: block;
        }

form {
    width: 100%;
}

    form .brand {
        width: 100%;
        margin-bottom: 4rem;
        display: flex;
        justify-content: center;
        justify-items: center;
    }

        form .brand img {
            width: 100%;
            max-width: 250px;
        }

    form .input-box label {
        display: block;
        font-weight: 500;
        margin-bottom: 8px;
    }

    /* Input field styling */
    form .input-box input {
        width: 35rem;
        height: 57px;
        border: 1px solid #DADAF2;
        border-radius: 5px;
        outline: none;
        background: #F8F8FB;
        font-size: 17px;
        padding: 1rem 20px;
        margin-bottom: 25px;
        transition: 0.2s ease;
        padding-block: 1px;
    }

        form .input-box input:focus {
            border-color: var(--brand-primary);
        }

    form .input-box label.checkbox {
        display: flex;
    }

    form .input-box label input {
        width: 1.5rem;
        height: 1.5rem;
        padding: 0;
        margin-right: 1rem;
        border: 1px solid #DADAF2;
        border-radius: 5px;
        outline: none;
        background: #F8F8FB;
    }

    form .input-box .password-title {
        display: flex;
        justify-content: space-between;
        text-align: center;
    }

    form .input-box {
        position: relative;
    }

a {
    text-decoration: none;
    color: var(--brand-primary);
    font-weight: 500;
}

    a:hover {
        text-decoration: underline;
    }

/* Login button styling */
form button {
    width: 100%;
    height: 56px;
    border-radius: 5px;
    border: none;
    outline: none;
    background: var(--brand-primary);
    color: var(--brand-terciary);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: 28px;
    transition: 0.3s ease;
}

    form button:hover {
        background: var(--brand-secondary);
    }

.go-back {
    margin-top: 2rem;
}

.account__validation__process {
    display: flex;
    justify-content: space-between;
    justify-items: center;
    padding-inline: 1rem;
}

.validation__step {
    width: 25%;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
}

    .validation__step img {
        width: 100%;
        border-radius: 50%;
    }

.step__flow {
    width: 2rem;
    display: flex;
    align-items: center;
    padding-bottom: 3rem;
}

    .step__flow img {
        width: 100%;
    }

/* ---------------------------- */
/* Login carousel styling       */
/* ---------------------------- */
.login-carousel {
    grid-area: carousel;
    background-color: var(--brand-primary);
}

@media (max-width: 768px) {
    .login-wrapper {
        height: 100vh;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        grid-template-areas:
            "form";
    }

    .login-form {
        grid-area: form;
    }

    .login-carousel {
        display: none;
    }
}
