/* Inlogpagina: los van de rest, want zonder inloggen mag de browser niets anders laden. */
:root { --page: #ece8ff; --card: #fff; --ink: #17153b; --ink-2: #4d4a75; --ink-3: #6f6c95; --line: #e1ddf5; --accent: #6c4df6; --bad: #b42318; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; background: var(--page); color: var(--ink);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; padding: 16px; }
.box { width: 100%; max-width: 400px; background: var(--card); border-radius: 26px; padding: 28px 24px; box-shadow: 0 20px 60px rgba(40, 20, 120, .12); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; margin-bottom: 18px; }
.brand i { width: 34px; height: 34px; border-radius: 12px; background: conic-gradient(from 210deg, #6c4df6, #2fb380, #ffc531, #ff7a59, #6c4df6); display: block; }
.brand small { display: block; font-weight: 500; font-size: 11px; color: var(--ink-3); }
h1 { font-size: 24px; margin: 0 0 12px; }
form { display: flex; flex-direction: column; gap: 12px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
input { font: inherit; font-size: 17px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #faf9ff; color: var(--ink); }
input:focus { outline: 3px solid rgba(108, 77, 246, .3); border-color: var(--accent); }
/* Fitts: grote knop over de hele breedte */
.btn { border: 0; border-radius: 999px; min-height: 50px; padding: 12px 20px; font: inherit; font-weight: 700; background: var(--ink); color: #fff;
  cursor: pointer; text-align: center; text-decoration: none; display: block; }
.btn.soft { background: #e5deff; color: #3a22b8; }
.btn:disabled { opacity: .6; }
.muted { color: var(--ink-3); margin: 0; font-size: 14px; }
.small { font-size: 13px; }
ol.muted { padding-left: 18px; }
code { font-size: 13px; background: #f1eefc; padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.qr { display: flex; justify-content: center; }
.qr svg { width: 200px; height: 200px; }
.err { color: var(--bad); font-size: 14px; margin: 0; min-height: 0; }
.err:empty { display: none; }
/* "Dit apparaat vertrouwen": groot aanklikbaar vlak (Fitts) */
.trust { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 600; color: var(--ink); cursor: pointer; }
.trust input { width: 22px; height: 22px; accent-color: var(--accent); margin: 0; }
.trust small { flex-basis: 100%; padding-left: 32px; font-weight: 400; color: var(--ink-3); font-size: 13px; }
