/* Zelf aanmelden (/aanmelden) en terug van Mollie (/aanmelden/klaar). Bouwt op site.css: zelfde kleuren en letters.
   Rustig: één hoofdknop per scherm, geen kleine tekst onder knoppen. */
[hidden] { display: none !important; }
.top-lite .wrap { justify-content: space-between; }
.top-lite .login { margin-left: auto; }
.top-lite .login span { color: var(--muted); font-weight: 400; }
.top-lite button.login { min-height: 44px; padding: 0; border: 0; background: none; font: 600 16px var(--sans); cursor: pointer; }

.steps-bar { display: flex; gap: 8px; margin: 0 0 36px; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.steps-bar li { display: flex; align-items: center; gap: 10px; }
.steps-bar li + li::before { content: ""; width: 28px; height: 1px; margin-right: 2px; background: rgba(255, 255, 255, 0.16); }
.steps-bar b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); font: 600 13px var(--mono); color: var(--muted); }
.steps-bar .on { color: var(--text); font-weight: 600; }
.steps-bar .on b { background: var(--accent); color: #fff; }
.steps-bar .done b { background: rgba(126, 224, 181, 0.16); color: #7ee0b5; }
.steps-tel { display: none; }

.signup { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 72px; align-items: start; padding: 72px 0 0; }
.signup h1 { font-size: 52px; font-weight: 700; }
.signup .lead { margin-top: 16px; font-size: 19px; }
.form { display: flex; flex-direction: column; max-width: 560px; margin-top: 28px; }
/* Particulier of zakelijk: zelfde vorm als de schakelaar op /prijzen. */
.who { display: inline-flex; gap: 4px; margin-top: 28px; padding: 5px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 999px; background: rgba(255, 255, 255, 0.04); }
.who button { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: none; color: var(--copy); font: 500 16px var(--sans); cursor: pointer; }
.who button[aria-checked="true"] { background: #1c2650; color: #fff; font-weight: 600; }
.who button:focus-visible { outline: 2px solid var(--hl); outline-offset: 2px; }
.who-part, .who-zak { display: flex; flex-direction: column; }
.pair-zip { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); }
.agree.waiver { margin-top: 30px; border-color: rgba(124, 155, 255, 0.35); background: rgba(61, 92, 245, 0.07); }
.agree.waiver + .say + .agree, .who-part + .who-zak[hidden] + .agree { margin-top: 12px; }
.no-kvk { margin: 14px 0 0; color: var(--muted); font-size: 16px; }
.no-kvk button { min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--link); font: 600 16px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.no-kvk button:hover { color: #fff; }
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.form > .field:first-child { margin-top: 0; }
.field > label, .field > span { font-size: 15px; font-weight: 500; color: var(--copy); }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
.input { position: relative; }
.input input { width: 100%; min-height: 56px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; background: #0e1430; color: var(--text); font: 400 17px var(--sans); }
.input input:focus { outline: 0; border-color: #7c9bff; box-shadow: 0 0 0 3px rgba(124, 155, 255, 0.25); }
.input input::placeholder { color: #6f78a0; }
.input .eye { position: absolute; right: 6px; top: 6px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; }
.input .eye:hover { color: #fff; }
.input .eye svg { width: 20px; height: 20px; }
#password { padding-right: 56px; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 22px; }
.pair .field { margin-top: 0; }
.pair.pair-one { grid-template-columns: minmax(0, 1fr); }
.check { position: relative; display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }
.check input { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: 0; opacity: 0; }
.check .box { flex: 0 0 24px; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border: 1.5px solid rgba(255, 255, 255, 0.28); border-radius: 7px; color: transparent; }
.check .box svg { width: 16px; height: 16px; }
.check input:checked + .box { background: var(--accent); border-color: var(--accent); color: #fff; }
.check input:focus-visible + .box { outline: 2px solid var(--hl); outline-offset: 3px; }
.check span:last-child { color: var(--copy); }
.toggle-row { margin-top: 14px; }
.toggle-row .check span:last-child { font-size: 16px; }
.agree { margin-top: 30px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.02); }
.agree .check span:last-child { font-size: 16px; line-height: 1.55; }
.form .btn { margin-top: 32px; width: 100%; min-height: 60px; font-size: 18px; }
.btn:disabled { background: #1c2650; color: #8892b0; box-shadow: none; cursor: default; }

.is-wrong input { border-color: #ff9c8a; box-shadow: 0 0 0 3px rgba(255, 156, 138, 0.18); }
.agree.is-wrong { border-color: rgba(255, 156, 138, 0.5); }
.say { margin: 12px 0 0; padding: 14px 16px; border-radius: 14px; background: rgba(255, 156, 138, 0.1); border: 1px solid rgba(255, 156, 138, 0.28); color: #ffd3ca; font-size: 16px; line-height: 1.45; }
.known { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 12px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 156, 138, 0.1); border: 1px solid rgba(255, 156, 138, 0.28); }
.known p { margin: 0; color: #fff; font-size: 16px; font-weight: 600; line-height: 1.45; }
.known .btn { flex: none; min-height: 44px; padding: 0 20px; font-size: 15px; margin: 0; width: auto; box-shadow: none; }
.rest { transition: opacity 0.2s; }
.rest.is-off { opacity: 0.4; pointer-events: none; }
.rest.is-off .btn { box-shadow: none; }

.signup-off { max-width: 560px; margin-top: 40px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.signup-off p { margin: 0; color: var(--copy); font-size: 18px; }
.signup-off .btn { width: 100%; margin-top: 20px; }
.sum { position: sticky; top: 108px; padding: 32px; }
.sum .kicker { margin-bottom: 14px; }
.sum h2 { font-size: 30px; font-weight: 600; }
.sum .price { margin-top: 18px; font-size: 52px; }
.sum .checks { margin: 26px 0 0; gap: 12px; font-size: 16px; }
.sum-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.sum-foot a { font-weight: 600; }

/* Terug van Mollie, mislukt, nog onderweg */
.mid { display: flex; justify-content: center; padding: 120px 0 40px; background: radial-gradient(700px 420px at 50% 30%, #131b4d 0%, rgba(7, 11, 24, 0) 70%); min-height: calc(calc(100vh / var(--vz, 1)) - 77px); }
.mid-in { width: 100%; max-width: 600px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.mid h1 { margin-top: 12px; font-size: 48px; font-weight: 700; }
.mid .lead { margin-top: 18px; font-size: 19px; }
.mid .kicker { margin: 28px 0 0; }
.mid .steps-bar { justify-content: center; margin-bottom: 48px; }
.badge { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: rgba(124, 155, 255, 0.12); color: #9db4ff; }
.badge svg { width: 32px; height: 32px; }
.badge.warn { background: rgba(255, 196, 107, 0.12); color: #ffc46b; }
.badge.good { background: rgba(126, 224, 181, 0.12); color: #7ee0b5; }
.spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(157, 180, 255, 0.25); border-top-color: #9db4ff; animation: spin 0.9s linear infinite; }
.plan-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; margin-top: 40px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); text-align: left; }
.plan-row strong { display: block; font: 600 19px var(--brand); letter-spacing: -0.02em; }
.plan-row span { color: var(--muted); font-size: 15px; }
.plan-row button { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--link); font: 600 16px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.plan-row button:hover { color: #fff; }
.choose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: 12px; }
.choose button { min-height: 56px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; background: rgba(255, 255, 255, 0.03); color: var(--copy); font: 500 15px var(--sans); text-align: left; cursor: pointer; }
.choose button strong { display: block; color: var(--text); font: 600 16px var(--brand); }
.choose button[aria-pressed="true"] { border-color: var(--accent); background: #18204a; color: #fff; }
.mid .btn { width: 100%; margin-top: 16px; min-height: 60px; font-size: 18px; }
.mid .say { width: 100%; text-align: left; }

@media (max-width: 900px) {
  .signup { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 32px; }
  /* De pakketkaart komt compact tussen de kop en het formulier: de linkerkolom valt open, zodat de kaart ertussen kan. */
  .signup > div:first-child, .signup #coachAsk { display: contents; }
  .signup .sum { order: 1; position: static; margin: 24px 0 0; padding: 22px 20px; }
  .signup :is(.signup-off, .form) { order: 2; }
  .signup .who { order: 0; }
  .sum .kicker { margin-bottom: 8px; }
  .sum h2 { font-size: 22px; }
  .sum .price { margin-top: 12px; font-size: 40px; }
  .sum .checks { margin-top: 16px; gap: 8px; font-size: 15px; }
  .sum-foot { margin-top: 16px; padding-top: 14px; }
}
@media (max-width: 640px) {
  .top-lite .login { display: inline-flex; align-items: center; min-height: 44px; }
  .top-lite .login span { display: none; }
  .steps-bar { display: none; }
  .steps-tel { display: block; margin: 0 0 20px; font: 500 13px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--hl); }
  .signup h1 { font-size: 34px; }
  .signup .lead { margin-top: 12px; font-size: 17px; }
  .form { margin-top: 28px; }
  .field { margin-top: 18px; }
  .pair { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 18px; }
  .who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin-top: 24px; }
  .who button { padding: 0 8px; }
  .agree { padding: 16px; }
  .agree .check span:last-child { font-size: 15px; }
  .known { flex-direction: column; align-items: stretch; }
  .known .btn { width: 100%; }
  .mid { padding: 48px 0 32px; min-height: calc(calc(100vh / var(--vz, 1)) - 65px); }
  .mid h1 { font-size: 34px; }
  .mid .lead { font-size: 17px; }
  .mid-in { align-items: stretch; text-align: left; }
  .badge { width: 60px; height: 60px; border-radius: 18px; }
  .plan-row { padding: 16px 18px; margin-top: 28px; }
  .choose { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 3s; } }
