/* Inlogschermen (login, 2FA, wachtwoord vergeten/reset, uitnodiging) in de
   STERK-huisstijl: witte kaart op een bruin vlak, Marcellus-koppen, Jost-tekst,
   terracotta pill-knop. Tokens uit ~/sterk-design-system/DESIGN.md.
   Deze pagina's laden bewust geen app.css/M3: die kent eigen .login-* classes
   en een dark mode die hier niet hoort. */

:root {
  --sterk-terracotta: #C2611E;
  --sterk-terracotta-hover: #A94F12;
  --sterk-bruin: #6E4C41;
  --sterk-groen-accent: #B7DBA1;
  --wit: #FFFFFF;
  --creme: #FDFBF8;
  --lijn: #EFE9E4;

  --login-rand: #DDD0C7;
  --login-tekst-zacht: #8A6F65;
  --login-focus: rgba(194, 97, 30, .16);
  --login-ok-bg: #EEF6E9;
  --login-fout-bg: #FBEDE3;

  --font-display: 'Marcellus', serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-hero: 24px;
  --radius-card: 12px;
  --radius-pill: 999px;
  --schaduw-zweef: 0 8px 32px rgba(20, 15, 12, .25);
}

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

.login-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--sterk-bruin);
  color: var(--sterk-bruin);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.login-card {
  width: 100%;
  max-width: 440px;
  padding: 40px 32px 32px;
  border-radius: var(--radius-hero);
  background: var(--wit);
  box-shadow: var(--schaduw-zweef);
}

.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.login-logo img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
}
.login-logo-tekst {
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.login-titel {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.login-sub {
  margin: 8px 0 24px;
  font-size: 17px;
  font-weight: 300;
}

.login-badge {
  display: inline-block;
  padding: 2px 12px;
  border-radius: var(--radius-pill);
  background: var(--lijn);
  font-size: 14px;
  font-weight: 500;
}

.login-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: var(--radius-card);
  font-size: 15px;
  line-height: 1.5;
}
.login-alert svg { flex-shrink: 0; margin-top: 2px; }
.login-alert--ok { background: var(--login-ok-bg); color: var(--sterk-bruin); }
.login-alert--fout { background: var(--login-fout-bg); color: var(--sterk-terracotta-hover); }

.login-veld { margin-bottom: 20px; }
.login-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 500;
}
.login-label small {
  font-size: 14px;
  font-weight: 300;
}
.login-label a {
  font-size: 14px;
  font-weight: 400;
  color: var(--sterk-terracotta);
  text-decoration: none;
}
.login-label a:hover { color: var(--sterk-terracotta-hover); text-decoration: underline; }

.login-input {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 18px;
  font-family: inherit;
  font-size: 17px;
  color: var(--sterk-bruin);
  background: var(--creme);
  border: 1.5px solid var(--login-rand);
  border-radius: var(--radius-card);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 150ms, box-shadow 150ms, background 150ms;
}
.login-input::placeholder { color: var(--login-tekst-zacht); font-weight: 300; }
.login-input:hover { border-color: var(--login-tekst-zacht); }
.login-input:focus {
  background: var(--wit);
  border-color: var(--sterk-terracotta);
  box-shadow: 0 0 0 4px var(--login-focus);
}
.login-input--code {
  height: 64px;
  text-align: center;
  font-size: 26px;
  letter-spacing: .4em;
  font-variant-numeric: tabular-nums;
}

.login-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 20px;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
}
.login-check input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--sterk-terracotta);
  cursor: pointer;
}
.login-check small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 300;
}

.login-knop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  margin-top: 8px;
  padding: 12px 24px;
  line-height: 1.3;
  text-align: center;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--sterk-terracotta);
  color: var(--wit);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms;
}
.login-knop:hover { background: var(--sterk-terracotta-hover); }
.login-knop svg { transition: transform 150ms; }
.login-knop:hover svg { transform: translateX(2px); }
.login-knop:focus-visible { outline: 3px solid var(--login-focus); outline-offset: 2px; }

.login-knop--ghost {
  background: transparent;
  color: var(--sterk-bruin);
  border: 1.5px solid var(--sterk-bruin);
}
.login-knop--ghost:hover { background: var(--sterk-bruin); color: var(--wit); }

.login-hint {
  margin: 20px 0 0;
  text-align: center;
  font-size: 15px;
  font-weight: 300;
}
.login-link {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-size: 15px;
  color: var(--sterk-terracotta);
  text-decoration: none;
}
.login-link:hover { color: var(--sterk-terracotta-hover); text-decoration: underline; }

.login-voet {
  margin: 24px 0 0;
  font-size: 14px;
  font-weight: 300;
  color: var(--creme);
  opacity: .75;
  text-align: center;
}

@media (max-width: 420px) {
  .login-card { padding: 32px 24px 24px; }
  .login-logo { margin-bottom: 24px; }
  .login-titel { font-size: 24px; }
}
