:root {
  --blue: #00a8e0;
  --blue-deep: #007eae;
  --ink: #1d252b;
  --muted: #78848b;
  --line: #dce4e7;
  --soft: #f5f8f9;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  background: #fff;
}

.page-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 46%) 1fr; }

.brand-panel {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 56px clamp(40px, 7vw, 112px);
  color: white;
  background: #17252c;
}

.brand-panel::before, .brand-panel::after { position: absolute; content: ""; pointer-events: none; }
.brand-panel::before { width: 460px; height: 570px; top: -100px; right: -285px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: skewY(32deg); opacity: .92; }
.brand-panel::after { width: 540px; height: 250px; right: -215px; bottom: -86px; border: 2px solid rgba(0,168,224,.55); border-left: 0; transform: skewY(-52deg); }
.brand-panel__content { position: relative; z-index: 1; max-width: 510px; }
.logo { display: block; width: min(100%, 380px); }
.logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 18px rgba(0, 168, 224, .16)); }
.brand-copy { margin-top: clamp(44px, 7vh, 80px); }
.brand-line { display: block; width: 40px; height: 5px; margin-bottom: 28px; border-radius: 4px; background: var(--blue); }
h1, h2 { margin: 0; font-family: Manrope, sans-serif; letter-spacing: -.045em; }
h1 { font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1.13; font-weight: 700; }
h1 em { color: var(--blue); font-style: normal; }
.brand-copy > p:last-child { max-width: 390px; margin: 25px 0 0; color: #bac5c9; font-size: 1rem; line-height: 1.7; }
.benefits { display: flex; gap: clamp(22px, 3.5vw, 48px); margin: clamp(44px, 7vh, 76px) 0 0; padding: 0; list-style: none; }
.benefits li { display: grid; gap: 10px; min-width: 66px; color: #b7c1c5; font-size: .62rem; font-weight: 700; letter-spacing: .08em; line-height: 1.35; text-transform: uppercase; }
.benefits svg { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.brand-panel__footer { position: absolute; z-index: 1; left: clamp(40px, 7vw, 112px); bottom: 42px; display: flex; align-items: center; gap: 18px; margin: 0; color: #91a0a6; font-size: .65rem; font-weight: 600; letter-spacing: .27em; text-transform: uppercase; }
.brand-panel__footer span { width: 68px; height: 1px; background: #718087; }

.login-panel { display: grid; place-items: center; padding: 48px 32px; background: #fff; }
.login-card { width: min(100%, 530px); padding: clamp(38px, 5vw, 58px); border: 1px solid #ebf0f2; border-radius: 20px; background: #fff; box-shadow: 0 19px 55px rgba(16, 38, 47, .12); }
.login-card__intro { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.login-card__intro p { margin: 0; color: var(--blue-deep); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.status-line { width: 34px; height: 5px; border-radius: 3px; background: var(--blue); }
h2 { font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.15; font-weight: 700; }
.login-card__subtitle { margin: 12px 0 34px; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.field-group { margin-bottom: 25px; }
label { display: block; margin-bottom: 9px; color: #39444a; font-size: .88rem; font-weight: 600; }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.help-text a, .forgot-password { color: var(--blue-deep); font-size: .82rem; font-weight: 600; text-decoration: none; }
.help-text a:hover, .forgot-password:hover { text-decoration: underline; }
.input-wrap { position: relative; }
.input-wrap > svg { position: absolute; top: 50%; left: 17px; width: 19px; height: 19px; transform: translateY(-50%); fill: none; stroke: #94a1a7; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
input { width: 100%; height: 54px; padding: 0 48px; border: 1px solid var(--line); border-radius: 7px; outline: none; color: var(--ink); font: inherit; font-size: .95rem; transition: border .2s, box-shadow .2s; }
input::placeholder { color: #abb5b9; }
input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,168,224,.12); }
.forgot-password { display: block; width: fit-content; margin: 9px 0 0 auto; }
.password-toggle { position: absolute; top: 50%; right: 11px; display: grid; width: 34px; height: 34px; padding: 0; place-items: center; transform: translateY(-50%); border: 0; border-radius: 5px; color: #75848a; background: transparent; cursor: pointer; }
.password-toggle:hover { background: var(--soft); }
.password-toggle svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.form-message { min-height: 20px; margin: -10px 0 13px; color: #c03830; font-size: .84rem; }
.submit-button { width: 100%; height: 55px; border: 0; border-radius: 7px; color: #fff; background: var(--blue); font: 700 .96rem "DM Sans", sans-serif; cursor: pointer; box-shadow: 0 10px 20px rgba(0,168,224,.19); transition: transform .2s, background .2s, box-shadow .2s; }
.submit-button span { display: inline-block; margin-left: 8px; font-size: 1.1rem; transition: transform .2s; }
.submit-button:hover { background: #0098cb; box-shadow: 0 13px 23px rgba(0,168,224,.26); transform: translateY(-1px); }
.submit-button:hover span { transform: translateX(3px); }
.submit-button:active { transform: translateY(0); }
.security-note { position: relative; margin-top: 37px; padding-top: 18px; border-top: 1px solid #dce4e7; color: #87949a; text-align: center; }
.security-note > span { position: absolute; top: -10px; left: 50%; padding: 0 14px; background: #fff; transform: translateX(-50%); color: #89959a; font-size: .76rem; white-space: nowrap; }
.security-note p { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0; font-size: .76rem; }
.security-note svg { width: 18px; height: 18px; fill: none; stroke: #809097; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.help-text { margin: 28px 0 0; color: var(--muted); font-size: .85rem; text-align: center; }

@media (max-width: 760px) {
  .page-shell { display: block; }
  .brand-panel { min-height: 258px; padding: 34px 28px; }
  .logo { width: min(100%, 285px); }
  .brand-copy, .benefits, .brand-panel__footer { display: none; }
  .brand-panel::after { width: 260px; height: 260px; right: -155px; bottom: -165px; }
  .login-panel { min-height: calc(100vh - 258px); padding: 52px 25px; align-items: start; }
  .login-card { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
}

@media (max-width: 380px) { .login-panel { padding-inline: 20px; } }

/* Toevoegingen voor de Laravel-koppeling */
.logo--text { color: #fff; text-decoration: none; font-family: Manrope, sans-serif; line-height: 1.05; }
.logo--text strong { display: block; font-size: clamp(2rem, 3.2vw, 2.9rem); font-weight: 800; letter-spacing: -.04em; }
.logo--text span { display: block; margin-top: 6px; color: var(--blue); font-size: .8rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; }
input[aria-invalid="true"] { border-color: #c03830; }
.form-message:empty { min-height: 0; margin: 0; }
.form-message:not(:empty) { margin: -10px 0 16px; }
.form-notice { margin: -14px 0 22px; padding: 10px 14px; border-left: 4px solid var(--blue); border-radius: 6px; color: var(--ink); background: #e6f6fc; font-size: .9rem; }
.form-account { margin: -14px 0 22px; color: var(--muted); font-size: .92rem; }
.logout-inline { margin-top: 18px; text-align: center; }
.logout-inline .forgot-password { margin: 0 auto; border: 0; background: none; font-family: inherit; cursor: pointer; }
.field-hint { margin: 8px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.method-choice { display: grid; gap: 12px; margin: 0 0 22px; padding: 0; border: 0; }
.method-choice legend { margin-bottom: 12px; color: #39444a; font-size: .88rem; font-weight: 600; }
.method-option { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.method-option:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,168,224,.12); }
.method-option input { width: 18px; height: 18px; margin-top: 2px; padding: 0; accent-color: var(--blue); }
.method-option strong { display: block; font-size: .95rem; }
.method-option small { display: block; margin-top: 3px; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.setup-steps { margin: 0 0 14px; padding-left: 20px; color: #39444a; font-size: .92rem; }
.qr-code { display: grid; place-items: center; margin: 0 0 12px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.qr-code svg { width: 200px; height: 200px; }
.secret { padding: 2px 6px; border-radius: 4px; background: var(--soft); font-size: .85rem; letter-spacing: .05em; word-break: break-all; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0 0 16px; padding: 16px; border: 1px dashed var(--line); border-radius: 10px; list-style: none; }
.recovery-codes code { font-size: .95rem; letter-spacing: .04em; }
.submit-button--link { display: flex; align-items: center; justify-content: center; margin-top: 22px; text-decoration: none; }
