body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-wrap: wrap;
}

.LeftPart, .RightPart {
    width: 40%;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
    border-radius: 8px;
}

.LeftPart {
    border-right: 1px solid gray;
}

.RightPart {
    padding-left: 20px;
}

.input-field {
    position: relative;
    margin-bottom: 15px;
}

.input-field input {
    width: 100%;
    padding: 15px 10px 15px 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.input-field label {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #8d8d8d;
    pointer-events: none;
    transition: all 0.3s ease;
    background-color: transparent;
}

.input-field input:focus,
.input-field input:not(:placeholder-shown) {
    border-color: #0034de;
    outline: none;
}

.input-field input:focus ~ label,
.input-field input:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 10px;
    font-size: 14px;
    background-color: #fff;
    padding: 0 5px;
    color: #0034de;
    font-weight: bold;
}

button {
    padding: 10px 15px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

h2 {
    margin-top: 0;
    font-size: 24px;
    color: #333;
}

.divider {
    width: 10px; /* Ajuster selon la séparation souhaitée */
}

.error-message, .success-message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 16px;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
