/* Inloggen voor ouders – in het design van de website (leerling-360.nl): zelfde kleuren, knoppen, kop en hero. */

:root {
  --dark: #062f2b;
  --forest: #073b34;
  --jade: #087b60;
  --bright: #20ad83;
  --mint-light: #78dfbb;
  --mint: #e5f4ee;
  --page: #f5f7f8;
  --white: #ffffff;
  --text: #102b29;
  --muted: #5f6f6c;
  --border: #e1e9e7;
  --error: #b42318;
  --error-bg: #fde7e5;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(6, 47, 43, .10);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--jade); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; border-radius: 6px; }

h1, h2 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: 1.6rem; font-weight: 800; color: var(--text); }
p { margin: 0 0 1rem; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Knoppen (zoals de website) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.3rem; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-size: .97rem; font-weight: 650; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--jade); color: var(--white); box-shadow: 0 8px 22px rgba(8, 123, 96, .25); }
.btn-primary:hover { background: var(--forest); color: var(--white); }
.btn-outline { border-color: var(--border); color: var(--text); background: var(--white); }
.btn-outline:hover { border-color: var(--jade); color: var(--jade); }
.btn-link { background: none; border: 0; padding: 0; color: var(--jade); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.btn-block { width: 100%; }

/* ---------- Kop ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 76px; }
.nav-logo img { height: 40px; width: auto; }

/* ---------- Hero met inlogkaart ---------- */
.hero {
  flex: 1; position: relative; overflow: hidden;
  padding: clamp(40px, 7vw, 96px) 0;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(32, 173, 131, .30), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(20, 186, 161, .16), transparent 60%),
    linear-gradient(165deg, var(--dark) 0%, var(--forest) 62%, #0a4a40 100%);
  color: rgba(255, 255, 255, .8);
}
.hero::after {
  content: ""; position: absolute; right: -220px; top: -160px; width: 760px; height: 760px; border-radius: 50%;
  border: 1.5px dashed rgba(120, 223, 187, .18); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--mint-light); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
  font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-light);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .76); max-width: 520px; }
.points { display: grid; gap: .55rem; margin: 1.75rem 0 0; padding: 0; list-style: none; font-size: .97rem; }
.points li { display: flex; align-items: center; gap: .6rem; }
.points svg { width: 20px; height: 20px; color: var(--mint-light); flex-shrink: 0; }

.card {
  background: var(--white); color: var(--text); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
  padding: clamp(24px, 4vw, 40px);
}
.card .sub { color: var(--muted); margin-bottom: 1.5rem; }

/* ---------- Formulier ---------- */
.field { display: block; font-size: .92rem; font-weight: 650; margin: 0 0 1.1rem; }
.field input {
  display: block; width: 100%; margin-top: .45rem; padding: .85rem 1rem;
  border: 1.5px solid var(--border); border-radius: 12px; background: var(--white); color: var(--text);
  font: inherit; font-weight: 400;
}
.field input:focus { outline: none; border-color: var(--jade); box-shadow: 0 0 0 4px rgba(8, 123, 96, .14); }
.field .code {
  text-align: center; font-family: Consolas, "Courier New", monospace; font-size: 1.9rem; font-weight: 700; letter-spacing: .45em;
  padding-left: calc(1rem + .45em);
}
.field-error { display: block; color: var(--error); font-weight: 500; font-size: .85rem; margin-top: .35rem; }
.alert { border-radius: 12px; padding: .8rem 1rem; font-size: .93rem; margin-bottom: 1.1rem; background: var(--error-bg); color: var(--error); }
.notice { border-radius: 12px; padding: .8rem 1rem; font-size: .93rem; margin-bottom: 1.1rem; background: var(--mint); color: var(--forest); }
.hint { font-size: .87rem; color: var(--muted); margin: 1.1rem 0 0; }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.1rem; font-size: .9rem; }

/* ---------- Voet ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .6); font-size: .85rem; padding: 18px 0; }
.site-footer a { color: rgba(255, 255, 255, .8); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero::after { width: 520px; height: 520px; right: -260px; top: -120px; }
  .intro .points { display: none; }
}

@media (max-width: 520px) {
  .nav .btn-outline { padding: .6rem .9rem; font-size: .88rem; }
  .nav-logo img { height: 34px; }
}
