/* Charte Avertissance : #0078C1 / #231F20 / #FFFFFF (sentinelle.md section 2).
   Polices systeme uniquement, pas de Google Fonts (sentinelle_rules.md regle 7). */

body {
    margin: 0;
    background: #FFFFFF;
    color: #231F20;
    font-family: -apple-system, "Segoe UI", Arial, sans-serif;
}

main {
    max-width: 640px;
    margin: 2rem auto;
    padding: 0 1rem;
}

h1 {
    color: #0078C1;
    font-size: 1.5rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

label {
    font-weight: bold;
    margin-top: 0.75rem;
}

input, select, textarea {
    padding: 0.5rem;
    border: 1px solid #231F20;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

button {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #0078C1;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

button.lien {
    background: none;
    color: #0078C1;
    text-decoration: underline;
    padding: 0;
}

.message {
    padding: 0.75rem;
    border-radius: 4px;
}

.message.erreur {
    background: #FBE4E4;
    color: #8A1F1F;
}

.message.succes {
    background: #E3F3EA;
    color: #1F6B3F;
}
