
:root { color-scheme: light dark; --fond: #f5f5f2; --carte: #ffffff; --texte: #222220; --accent: #1f5f4a; --texte-bouton: #ffffff; --erreur: #b42318; }

@media (prefers-color-scheme: dark) { :root { --fond: #1b1b1a; --carte: #262624; --texte: #e8e6df; --accent: #6fc2a0; --texte-bouton: #10241c; --erreur: #f97066; } }

body { margin: 0; font-family: system-ui, sans-serif; background: var(--fond); color: var(--texte); display: flex; justify-content: center; padding: 4rem 1rem; }

.carte { background: var(--carte); padding: 2rem; border-radius: 12px; max-width: 420px; width: 100%; box-shadow: 0 1px 4px rgba(0,0,0,.08); }

h1 { margin-top: 0; font-size: 1.4rem; }

label { display: block; margin-bottom: .4rem; }

input[type=password] { width: 100%; box-sizing: border-box; padding: .6rem; border: 1px solid #8886; border-radius: 8px; font-size: 1rem; margin-bottom: 1rem; background: transparent; color: inherit; }

button { background: var(--accent); color: var(--texte-bouton); border: 0; border-radius: 8px; padding: .6rem 1.2rem; font-size: 1rem; cursor: pointer; }

.erreur { color: var(--erreur); }

.discret { opacity: .7; }


a { color: var(--accent); }

a.bouton { display: inline-block; margin-top: .4rem; background: var(--accent); color: var(--texte-bouton); border-radius: 8px; padding: .4rem .9rem; text-decoration: none; }

.banque { padding: .8rem 0; border-top: 1px solid #8884; }

.ok { color: var(--accent); }

