:root{--bg:#ffffff;--card:#ffffff;--text:#0f172a;--muted:#64748b;--primary:#2563eb;--success:#16a34a;--border:#e5e7eb}
*{box-sizing:border-box;font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Ubuntu,Arial,sans-serif}
body{margin:0;background:var(--bg);color:var(--text)}
.container{max-width:860px;margin:32px auto;padding:0 16px}
.hero{padding:16px 0 8px}
.hero.small{padding:8px 0}
.brand{display:flex;align-items:center;gap:12px}
.logo{height:48px;width:auto;border-radius:8px;border:1px solid var(--border);background:#fff;padding:6px}
h1{font-size:28px;margin:0 0 6px}
h2{font-size:20px;margin:16px 0 8px}
h3{font-size:18px;margin:8px 0}
p{line-height:1.55}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}
.sub{color:var(--muted)}
.card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:16px;margin:12px 0;box-shadow:0 6px 18px rgba(0,0,0,.06)}
.notice{border:1px solid var(--border);border-radius:12px;padding:12px;margin:12px 0;background:#f8fafc}
.notice.is-success{border-color:#c7f9cc;background:#f3fff6}
.notice.is-warning{border-color:#fde68a;background:#fffbeb}
.notice.is-error{border-color:#fecaca;background:#fef2f2}
label{display:block;margin:8px 0 6px;font-weight:600}
input[type=text],input[type=email],input[type=password],input[type=date],input[type=tel],textarea{
  width:100%;padding:12px;border-radius:12px;border:1px solid var(--border);background:#fff;color:var(--text)
}
textarea{min-height:180px}
button,.btn{padding:12px 16px;border:0;border-radius:12px;background:var(--primary);color:#fff;font-weight:700;cursor:pointer;text-decoration:none;display:inline-block}
button.secondary{background:#e2e8f0;color:#0f172a}

/* Opvallende warning-knop (voor "bestaande e-mail" flow) */
.btn-warning{
  padding:12px 16px;border:0;border-radius:12px;
  background:#f59e0b; color:#111827; font-weight:800; cursor:pointer; display:inline-block;
  box-shadow:0 2px 0 rgba(0,0,0,0.05);
}
.btn-warning:hover{filter:brightness(0.95)}
.btn-warning:active{transform:translateY(1px)}

.checkbox{display:flex;gap:8px;align-items:center}
.row{display:flex;gap:12px;flex-wrap:wrap}
.row > *{flex:1}
.muted{color:var(--muted);font-size:14px}
.list{display:flex;flex-direction:column;gap:8px}
.list-item{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--card);border:1px solid var(--border);border-radius:12px;padding:12px}
.badge{display:inline-block;padding:6px 10px;border-radius:999px;background:#e2e8f0;color:#334155;font-size:12px}
.badge.success{background:#e6fbe9;color:#166534}
pre.waiver{white-space:pre-wrap;background:#f8fafc;border:1px dashed var(--border);padding:12px;border-radius:12px;max-height:320px;overflow:auto}
.form-grid{display:grid;grid-template-columns:1fr;gap:10px}
.actions{margin-top:6px}
footer{margin:24px 0}
canvas#sigpad{width:100%;max-width:100%;background:#f8fafc;border:1px dashed var(--border);border-radius:12px;touch-action:none}
@media (max-width:640px){ .container{margin:16px auto} }
