/* Kleuren en maten overgenomen uit de Lovable-versie (Tailwind/shadcn, lichte modus). */
:root {
  --radius: .625rem;
  --background: oklch(100% 0 0);
  --foreground: oklch(12.9% .042 264.695);
  --card: oklch(100% 0 0);
  --primary: oklch(20.8% .042 265.755);
  --primary-foreground: oklch(98.4% .003 247.858);
  --muted: oklch(96.8% .007 247.896);
  --muted-foreground: oklch(55.4% .046 257.417);
  --destructive: oklch(57.7% .245 27.325);
  --border: oklch(92.9% .013 255.508);
  --linkbutton: oklch(55% .2 255);
  --linkbutton-foreground: oklch(98.4% .003 247.858);
  --warning-bg: #ffedd5;
  --warning-border: #fdba74;
  --warning-fg: #9a3412;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { -webkit-text-size-adjust: 100%; line-height: 1.5; font-family: "Roboto", ui-sans-serif, system-ui, sans-serif; }
body { min-height: 100vh; background: var(--background); color: var(--foreground); }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: transparent; }
button:disabled { cursor: default; }
input::placeholder { color: color-mix(in oklab, currentcolor 50%, transparent); }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }

.text-sm { font-size: .875rem; line-height: calc(1.25 / .875); }

/* Banner bovenaan (testmodus / niet ingesteld) */
.banner { width: 100%; padding: .5rem 1rem; text-align: center; font-size: .875rem; line-height: calc(1.25 / .875); border-bottom: 1px solid; }
.banner.test { background: var(--warning-bg); border-color: var(--warning-border); color: var(--warning-fg); }
.banner.missing { background: color-mix(in oklab, var(--destructive) 10%, transparent); border-color: color-mix(in oklab, var(--destructive) 30%, transparent); color: var(--destructive); }

/* Dashboard */
.dash { margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; max-width: 36rem; padding: 2.5rem 1rem; }
.panel { display: flex; flex-direction: column; align-items: center; gap: 1rem; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.5rem; }
.panel h2 { font-size: 1.125rem; line-height: calc(1.75 / 1.125); font-weight: 500; }
.methods { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.method { border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px); padding: .5rem 1rem; font-weight: 500; background: var(--background); color: var(--foreground); }
.method:hover { background: var(--muted); }
.method[aria-pressed="true"] { border-color: var(--foreground); background: var(--foreground); color: var(--background); }
.linkbtn { border-radius: calc(var(--radius) - 2px); background: var(--linkbutton); color: var(--linkbutton-foreground); padding: .5rem 1.5rem; font-weight: 500; }
.linkbtn:hover { background: color-mix(in oklab, var(--linkbutton) 90%, transparent); }
.row { display: flex; align-items: center; gap: .75rem; }
.input { border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px); background: var(--background); padding: .5rem .75rem; font-size: .875rem; line-height: calc(1.25 / .875); }
.w-36 { width: 9rem; }
.w-24 { width: 6rem; }
.muted { color: var(--muted-foreground); }

/* Inlogpagina */
.center { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 0 1rem; }
.card { width: 100%; max-width: 24rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); padding: 2rem; text-align: center; box-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a; }
.card h1 { font-size: 1.5rem; line-height: calc(2 / 1.5); font-weight: 600; letter-spacing: -.025em; }
.card .sub { margin-top: .5rem; }
.card .input { margin-top: 1.5rem; width: 100%; padding: .625rem .75rem; text-align: left; }
.btn-primary { margin-top: .75rem; display: inline-flex; width: 100%; align-items: center; justify-content: center; border-radius: calc(var(--radius) - 2px); background: var(--primary); color: var(--primary-foreground); padding: .625rem 1rem; font-size: .875rem; line-height: calc(1.25 / .875); font-weight: 500; transition: background-color .15s cubic-bezier(.4, 0, .2, 1); }
.btn-primary:hover { background: color-mix(in oklab, var(--primary) 90%, transparent); }
.btn-primary:disabled { opacity: .6; }
.error { margin-top: 1rem; color: var(--destructive); }

/* Bedankpagina en foutpagina */
.thanks { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 0 1rem; text-align: center; }
.thanks img { margin: 0 auto 2rem; width: 140px; }
.thanks h1 { font-size: 1.5rem; line-height: calc(2 / 1.5); font-weight: 600; }
.thanks p { margin-top: .5rem; color: var(--muted-foreground); }
.thanks a { color: var(--linkbutton); }
