:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #0d1117; color: #e6edf3; font: 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
main { min-height: 100dvh; display: grid; place-items: center; padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); }
form { width: 100%; max-width: 340px; display: grid; gap: 6px; }
h1 { font-size: 20px; font-weight: 600; margin: 0 0 14px; }
label { font-size: 13px; color: #9aa7b4; margin-top: 8px; }
input { font: inherit; font-size: 16px; padding: 11px 12px; border-radius: 10px; border: 1px solid #30363d; background: #161b22; color: inherit; width: 100%; }
input:focus { outline: 2px solid #2f81f7; outline-offset: 0; border-color: transparent; }
button { font: inherit; font-weight: 600; margin-top: 18px; padding: 12px; border-radius: 10px; border: 0; background: #2f81f7; color: #fff; }
.erreur { margin: 0 0 4px; padding: 10px 12px; border-radius: 10px; background: #3d1a1d; color: #ffb3b8; font-size: 14px; }
