/* Fond général blanc */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Effet de miroir (glassmorphism) */
.container {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.4); /* semi-transparent */
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Titres */
h2 {
    text-align: center;
    font-weight: 600;
    font-size: 28px;
    color: #1d1d1f;
    margin-bottom: 30px;
}

/* Champs */
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    box-sizing: border-box;
    transition: border 0.2s, background 0.2s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #0071e3;
    background-color: #ffffff;
}

/* Boutons */
button {
    width: 100%;
    background-color: #0071e3;
    color: white;
    padding: 14px 0;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background-color: #005bb5;
}

/* Liens */
a {
    color: #0071e3;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: 20px;
}

a:hover {
    text-decoration: underline;
}

/* Messages d'erreur */
p.error {
    color: red;
    text-align: center;
    margin-bottom: 20px;
}
