.login-page {
    width: 100%;
    min-height: 100vh;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #F3F3F3;
}


.login-one {
    display: flex;
    width: 85%;
    height: 1070px;
    margin: auto;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    margin-top: 20px;
    padding: 80px 120px;
}

.left-login,
.right-login {
    width: 50%;
}

.left-login {
    width: 100%;
    max-width: 816px;
    height: 100%;
    max-height: 1070px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-login h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.left-login form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.left-login input {
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.left-login button {
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.login-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.social-button-google :hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: black;
}

.nav a.active {
    font-weight: bold;
    color: black;
}



.login-button {
    background-color: #162D3A;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.or-separator {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 20px 0;
    color: #0f0e0e;
    font-size: 12px;
}

.or-separator::before,
.or-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
}

.or-separator span {
    padding: 0 12px;
    font-weight: 500;
}


.social-button-google {
    background-color: #F3F9FA;
    color: #161414;
    margin-bottom: 10px;
}

.social-button-facebook {
    background-color: #F3F9FA;
    color: #161414;
    margin-bottom: 10px;
}

.social-button-google img {
    width: 18px;
    height: 18px;
}

.social-button-facebook img {
    width: 18px;
    height: 18px;
}



.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.right-login {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.right-login img {
    width: 100%;
    max-width: 816px;
    height: 90%;
    max-height: 1070px;
    object-fit: cover;
    border-radius: 10px;
}

@media (max-width: 768px) {

    .login-one {
        width: 100%;
        padding: 20px;
        gap: 10px;
    }

    .back-arrow {
        margin-top: 20px;
        padding: 0;
        width: 40px;
        height: 40px;
    }

    .login-container {
        flex-direction: column;
        width: 100%;
        height: auto;
        padding: 30px 20px;
        box-shadow: none;
    }

    .right-login {
        display: none;
        /* on cache l’image sur mobile */
    }

    .left-login {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        height: auto;
    }

    .left-login h1 {
        font-size: 26px;
        text-align: center;
        justify-content: center;
    }

    .left-login form {
        gap: 16px;
    }

    .left-login input {
        font-size: 14px;
    }

    .left-login button {
        font-size: 14px;
        padding: 12px;
    }

    .or-separator {
        margin: 15px 0;
    }

    .social-button-google,
    .social-button-facebook {
        font-size: 14px;
    }
}