body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

#email,
#nom,
#prenom,
#password,
#confirm_password {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
    flex: 1;
    padding-right: 80px;
}

.password-wrapper button {
    position: absolute;
    right: 10px;
    padding: 5px 10px;
    background-color: #634caf;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 10px;
}

.password-wrapper button:hover {
    background-color: rgb(54, 16, 119);
}

.btn-submit {
    width: 100%;
    padding: 10px;
    background-color: #634caf;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: rgb(54, 16, 119);
}

.error {
    color: red;
    margin-top: 5px;
    font-size: 14px;
}

.success {
    color: green;
    margin-top: 5px;
    font-size: 15px;
}

.user-info {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.user-info th, .user-info td {
    padding: 10px;
    border: 1px solid #ccc;
}