
:root { --kw-red: #B40101; --kw-red-dark: #8E0101; --ink: #16181D; --muted: #677080; --bg: #F6F7F9; --card: #FFFFFF; --line: #E3E6EB; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--ink); }
.hidden { display: none !important; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.login-screen { display: flex; justify-content: center; padding: 12vh 1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); }
.login-card { max-width: 420px; width: 100%; text-align: center; }
.login-card h1 { margin-top: 0; }
.logo-login { height: 74px; width: auto; display: block; margin: 0 auto 1.1rem; }
.login-a-propos { margin: 22px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.login-a-propos a, .login-repli a { color: inherit; text-decoration: underline; white-space: nowrap; }
.login-repli { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
#google-signin { display: flex; justify-content: center; margin-top: 0.6rem; }
.lien-mail { display: block; margin: 1.1rem auto 0; padding: 0.4rem; border: 0; background: none; color: var(--muted); font: inherit; font-size: 0.85rem; text-decoration: underline; cursor: pointer; }
.lien-mail:hover { color: var(--ink); }
.lien-mail:focus-visible { outline: 2px solid var(--kw-red); outline-offset: 2px; border-radius: 4px; }
#login-form { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.2rem; }
#login-form input { text-align: center; font: inherit; padding: 0.5rem 0.6rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; }
#login-form input:focus { outline: 2px solid var(--kw-red); outline-offset: 0; border-color: var(--kw-red); }
.btn-primary { background: var(--kw-red); color: #fff; border: none; padding: 0.65rem 1.4rem; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; }
.btn-primary:hover { background: var(--kw-red-dark); }
.btn-primary:disabled { opacity: 0.5; cursor: default; }
.msg { padding: 0.6rem 0.9rem; border-radius: 8px; font-size: 0.92rem; }
.msg.ok { background: #e6f6e6; color: #1a6b1a; }
.msg.err, .error { background: #fdecec; color: var(--kw-red-dark); }
.error { padding: 0.6rem 0.9rem; border-radius: 8px; }
