/* Login on the brand palette (D-20261015-1052): the dark green side with the client's logo and one strong sentence, the bare form
   on the cream canvas. Only login.html loads this sheet, so the pages after login carry none of it. */

.knop-groot { height: var(--control-h-login); padding: 0 var(--space-20); font-size: var(--fs-14); }
.knop-breed { width: 100%; }
.invoer-groot { min-height: var(--control-h-login); font-size: var(--fs-16); }
.login-logo { display: block; width: var(--logo-login-w); max-width: 100%; height: auto; }

.layout-midden { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100vh; background: var(--bg); }

/* The dark green side: the logo top left, the sentences at the foot under a short lime rule */
.login-zij { display: none; position: relative; flex-direction: column; justify-content: space-between; gap: var(--space-48); overflow: hidden;
  padding: var(--space-40) var(--space-48) var(--space-48); background: var(--merk); color: var(--on-merk); }
.login-zij-merk { display: flex; align-items: center; margin-left: calc(-1 * var(--space-12)); }
.login-zij-tekst { position: relative; max-width: 420px; display: flex; flex-direction: column; gap: var(--space-4); }
.login-zij-tekst::before { content: ""; width: 32px; height: 3px; margin-bottom: var(--space-20); border-radius: 2px; background: var(--merk-lime); }
.login-zij-tekst p { color: var(--merk-zacht); font-size: var(--fs-13); line-height: var(--lh-13); }
.login-zij-tekst .login-zij-zin { margin-bottom: var(--space-8); color: var(--on-merk); font-size: var(--fs-24); line-height: var(--lh-24);
  font-weight: var(--fw-medium); letter-spacing: var(--ls-kop); }

/* The form without a card, 360 px, centred on the canvas */
.login-vlak { display: flex; align-items: center; justify-content: center; padding: var(--space-48) var(--gutter-phone); }
.login-form { width: 100%; max-width: 360px; }
.layout-midden .formulier { gap: var(--space-16); }
.layout-midden .pagina-titel { font-size: var(--fs-24); line-height: var(--lh-24); letter-spacing: var(--ls-kop); }
.login-kop { display: flex; flex-direction: column; gap: var(--space-4); margin-bottom: var(--space-8); }
.login-kop-sub { color: var(--text-3); font-size: var(--fs-13); line-height: var(--lh-13); }
.login-merk { display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-8); }
.login-hulp { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-8); padding-top: var(--space-16);
  border-top: 1px solid var(--hairline); font-size: var(--fs-12); line-height: var(--lh-12); color: var(--text-3); }
@media (min-width: 900px) {
  .layout-midden { grid-template-columns: minmax(360px, 44%) minmax(0, 1fr); }
  .login-zij { display: flex; }
  .layout-midden .login-merk { display: none; }
}
/* Phone and tablet: a full-width dark green band of 120 px with the logo, the form under it */
@media (max-width: 899.98px) {
  .layout-midden { align-content: start; overflow-x: clip; }
  .login-vlak { align-items: flex-start; padding-top: 0; }
  .layout-midden .login-merk { box-sizing: border-box; width: 100vw; height: 120px; margin: 0 calc(50% - 50vw) var(--space-24); padding: 0 calc(50vw - 50%);
    background: var(--merk); }
  .login-merk .login-logo { width: min(var(--logo-login-w), 100%); }
}
