
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Body */
body {
    background: #f4f6f8;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Container */
.login-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 380px;
    text-align: center;
}

/* Title */
.login-container h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

/* Form */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Labels */
label {
    text-align: left;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

/* Inputs & Select */
input[type="text"],
input[type="password"],
input[type="number"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    background-color: #fafafa;
    transition: border-color 0.3s, background-color 0.3s;
}

input:focus,
select:focus {
    border-color: #3498db;
    outline: none;
    background-color: #fff;
}

/* Button */
button {
    background: #3498db;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #2980b9;
}

/* Error message */
.error {
    color: #e74c3c;
    font-size: 14px;
    margin-bottom: 10px;
}

.btn-green {
    background-color: #28a745; /* Vert */
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-green:hover {
    background-color: #218838; /* Vert plus foncé au survol */
}
