main{
    display: flex;
    flex-direction: row;
    height: 100vh;
    width: 100vw;
}

.page-left{
    min-width: 45rem;
    height: 100%;
    background-color: #FBFBFE;
    border: 1px solid #E8EAF4;
    padding-inline: 5.6rem;
    padding-bottom: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-left h1{
    font-size: 2.4rem;
    font-weight: 700;
    color: #1B1D2A;
    margin-bottom: 1.5rem;
}


.page-left h2{
    font-size: 1.4rem;
    font-weight: 700;
    color: #7A8096;
    font-weight: 400;
}


.page-right{
    flex: 1;
    height: 100%;
}


.input-section{
    display: flex;
    flex-direction: column;
    margin-block: 2rem;
}

.email-input,
.password-input,
.auth-input{
    margin-top: 1rem;
    border-radius: 1rem;
    height: 5rem;
    border: none;
    outline: none;
    background-color: #F4F5FB;
    color: #1B1D2A;
    padding-inline: 2rem;
    border: 1px solid #E8EAF4;

}



input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #F4F5FB inset !important;
    -webkit-text-fill-color: #1B1D2A !important;
    border: 1px solid #E8EAF4 !important;
    caret-color: #1B1D2A;
    transition: background-color 9999s ease-in-out 0s;
}



label{
    margin-top: 1.5rem;
    font-size: 1.3rem;
    font-weight: 500;
    color: #565B70;
}


.log-in-btn{
    height: 5rem;
    border-radius: 999px;
    background-color: #5A67F2;
    color: #FFFFFF;
    font-weight: 600;
    width: 100%;
}


.sign-in-line-container{
    display: flex;
    font-size: 1.35rem;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
}


.sign-up-btn{
    background-color: transparent;
    font-size: 1.35rem;
    color: #5A67F2;
    font-weight: 700;
}


.remember-line-container{
    display: flex;
    margin-top: 2rem;
    align-items: center;
    gap: 1rem;
}

.remember-line-container p{
    font-size: 1.5rem;
    color: #1B1D2A;
}


.remember-line-container input{
    margin: 0;
}


.page-right{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding-left: 6.4rem;
}


.page-right h1{
    font-size: 3.4rem;
    font-weight: 700;
}

.page-right p{
    font-size: 1.5rem;
    color: #7A8096;
    margin-top: 1.2rem;
}
























/* ---------- shared by login + sign up ---------- */

.email-input:focus,
.password-input:focus,
.auth-input:focus{
    border-color: #5A67F2;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(90, 103, 242, 0.15);
}

.email-input::placeholder,
.password-input::placeholder,
.auth-input::placeholder{
    color: #9AA0B4;
}

.log-in-btn{
    margin-top: 1rem;
    transition: background-color 0.2s ease;
}

.log-in-btn:hover{
    background-color: #4B57E0;
}

/* message under the button ("Passwords do not match", "Account created") */
#auth-result{
    min-height: 1.8rem;
    margin-top: 1.4rem;
    font-size: 1.3rem;
    text-align: center;
}

#auth-result.error{
    color: #E5484D;
}

#auth-result.success{
    color: #1E7A58;
}
