/* WoonStroom — loginpagina (split-screen + rustige witte paneel). */
/* Standalone; sluit aan bij landing-brandkleuren (warm oranje + blauwe CTA). */

:root {
  --wl-warm: #e07a3c;
  --wl-warm-dark: #9a4d1f;
  --wl-ink: #1a120c;
  --wl-ink-soft: rgba(255, 255, 255, 0.92);
  --wl-card-line: #e6eaf2;
  --wl-text: #1f2a3d;
  --wl-text-dim: #5b6478;
  --wl-text-muted: #8b94a8;
  --wl-bg-panel: #f6f8fb;
  --wl-bg-input: #f0f4fa;
  --wl-accent: #2f86e8;
  --wl-accent-strong: #1f6fcc;
  --wl-accent-soft: #e8f1fc;
  --wl-radius-card: 22px;
  --wl-radius-input: 14px;
  --wl-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.07), 0 12px 40px rgba(15, 23, 42, 0.06);
  --wl-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body.wl-page {
  font-family: var(--wl-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--wl-text);
  background: var(--wl-bg-panel);
  -webkit-font-smoothing: antialiased;
}

.wl-skip {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--wl-ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 1000;
  font-size: 14px;
}
.wl-skip:focus {
  top: 12px;
}

/* ----- split shell ----- */
.wl-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ----- linkerkant ----- */
.wl-left {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    155deg,
    #2a1810 0%,
    #4a2a18 35%,
    #6b3d22 55%,
    #8f4f28 78%,
    var(--wl-warm-dark) 100%
  );
  color: var(--wl-ink-soft);
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.wl-left__noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.wl-left__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wl-left__decor::before,
.wl-left__decor::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.wl-left__decor::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -100px;
  background: radial-gradient(circle, rgba(255, 180, 120, 0.18) 0%, transparent 70%);
}
.wl-left__decor::after {
  width: 320px;
  height: 320px;
  left: -80px;
  bottom: 10%;
  background: radial-gradient(circle, rgba(47, 134, 232, 0.12) 0%, transparent 68%);
}

.wl-left__inner {
  position: relative;
  z-index: 1;
  max-width: 480px;
  width: min(100%, 480px);
  flex-shrink: 0;
}

.wl-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 28px;
  transition: color 0.15s ease;
}
.wl-back:hover {
  color: #fff;
}

.wl-hero-title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.wl-hero-lead {
  margin: 0 0 32px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.wl-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wl-benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
}

.wl-benefit__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.wl-benefit__icon svg {
  width: 18px;
  height: 18px;
}

.wl-benefit__title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.wl-benefit__text {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

/* ----- rechterkant ----- */
.wl-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(180deg, #ffffff 0%, var(--wl-bg-panel) 100%);
}

.wl-right__inner {
  width: 100%;
  max-width: 420px;
}

.wl-brandmark {
  text-align: center;
  margin-bottom: 28px;
}

.wl-brandmark__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
.wl-brandmark__link:hover .wl-brandmark__word {
  opacity: 0.88;
}

.wl-brandmark__icon {
  width: 56px;
  height: auto;
}

.wl-brandmark__word {
  height: 28px;
  width: auto;
}

.wl-brandmark__slogan {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--wl-warm);
  letter-spacing: 0.01em;
}

/* ----- card ----- */
.wl-card {
  background: #fff;
  border: 1px solid var(--wl-card-line);
  border-radius: var(--wl-radius-card);
  padding: clamp(28px, 5vw, 36px);
  box-shadow: var(--wl-shadow-card);
}

.wl-card__head {
  margin-bottom: 8px;
}

.wl-card__title {
  margin: 0 0 8px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--wl-text);
  letter-spacing: -0.02em;
}

.wl-card__sub {
  margin: 0;
  font-size: 0.95rem;
  color: var(--wl-text-dim);
}

.wl-form-msg {
  min-height: 22px;
  margin: 12px 0 4px;
  font-size: 14px;
  color: var(--wl-text-dim);
}
.wl-form-msg.is-error {
  color: #b91c1c;
}
.wl-form-msg.is-ok {
  color: #15803d;
}

.wl-form {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wl-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--wl-text-dim);
  margin-bottom: 8px;
  text-transform: none;
}

.wl-field__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wl-field__row label {
  margin-bottom: 0;
}

.wl-forgot {
  font-size: 13px;
  font-weight: 500;
  color: var(--wl-accent);
  text-decoration: none;
}
.wl-forgot:hover {
  color: var(--wl-accent-strong);
  text-decoration: underline;
}

.wl-field input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid transparent;
  border-radius: var(--wl-radius-input);
  background: var(--wl-bg-input);
  color: var(--wl-text);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
.wl-field input::placeholder {
  color: var(--wl-text-muted);
}
.wl-field input:hover {
  background: #e8eef6;
}
.wl-field input:focus {
  outline: none;
  border-color: var(--wl-accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--wl-accent-soft);
}

.wl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--wl-radius-input);
  border: none;
  cursor: pointer;
  transition:
    transform 0.08s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.wl-btn:active {
  transform: translateY(1px);
}

.wl-btn--primary {
  background: linear-gradient(180deg, var(--wl-accent) 0%, var(--wl-accent-strong) 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(47, 134, 232, 0.35);
  margin-top: 4px;
}
.wl-btn--primary:hover {
  background: linear-gradient(180deg, #3f90eb 0%, var(--wl-accent) 100%);
}
.wl-btn--primary:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px var(--wl-accent-soft),
    0 2px 8px rgba(47, 134, 232, 0.35);
}

.wl-card__footer {
  margin: 22px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--wl-text-dim);
}
.wl-card__footer a {
  color: var(--wl-accent);
  font-weight: 600;
  text-decoration: none;
}
.wl-card__footer a:hover {
  text-decoration: underline;
}

/* trust badges */
.wl-trust {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.wl-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--wl-text-dim);
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--wl-card-line);
}

.wl-trust__ico {
  display: flex;
  color: var(--wl-warm);
}
.wl-trust__ico svg {
  width: 16px;
  height: 16px;
}

.wl-disclaimer {
  margin: 20px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
  color: var(--wl-text-muted);
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

/* ----- responsive ----- */
@media (max-width: 960px) {
  .wl-shell {
    grid-template-columns: 1fr;
  }

  .wl-left {
    padding: 28px 24px 32px;
    min-height: auto;
    align-items: stretch;
  }

  .wl-left__inner {
    max-width: none;
    width: 100%;
    margin: 0;
  }

  .wl-hero-title {
    font-size: 1.65rem;
  }

  .wl-right {
    padding: 32px 20px 40px;
  }
}

@media (max-width: 420px) {
  .wl-card {
    padding: 24px 20px;
  }
}
