/* Structure de base */
body.body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #5e2fe8, #8e44ad);
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
}

/* Conteneur principal */
.container-1, .container-2 {
    width: 50%;
    height: 600px;
    box-sizing: border-box;
    padding: 40px;
}

/* Partie gauche avec illustration */
.container-1 {
    background-color: #5e2fe8;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}




.container-1 img {
    width: 100%;
}

/* Partie droite (formulaire) */
.container-2 {
    background-color: white;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.div-form {
    width: 100%;
    max-width: 350px;
}

/* Titres */
.div-form h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

/* Étiquettes */
.label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

/* Champs de saisie */
.field {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.field:focus {
    border-color: #5e2fe8;
    outline: none;
}

/* Erreurs */
.error {
    color: red;
    font-size: 12px;
    margin-top: 4px;
}

/* Lien mot de passe oublié */
a {
    color: #5e2fe8;
    text-decoration: none;
    font-size: 14px;
}

a:hover {
    text-decoration: underline;
}

/* Bouton de connexion */
button.field {
    background-color: #5e2fe8;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.field:hover {
    background-color: #4b25c8;
}

.link-forget{
    margin: 8px 0;
}
