/* =============================================================================
   /herroepen/ — online herroepingsfunctie (template-parts/legal/herroepen.php).
   Same hero as the legal pages (brand sky gradient), calm white cards, blue actions.
   ============================================================================= */

.sbk-wd {
	--wd-navy: #0d1f2d;
	--wd-text: #3a4a5c;
	--wd-muted: #5a6b80;
	--wd-blue: #0062e3;
	--wd-blue-dark: #004fc4;
	--wd-blue-light: #ebf3fe;
	--wd-line: #dde3ec;
	--wd-bg: #f5f7fa;
	--wd-red: #b42318;
	--wd-red-soft: #fdecec;
	--wd-green: #15803d;
	background: var(--wd-bg);
	color: var(--wd-text);
	font-family: var(--font-body, 'DM Sans', sans-serif);
	line-height: 1.6;
	padding-bottom: 72px;
}

.sbk-wd *,
.sbk-wd *::before,
.sbk-wd *::after { box-sizing: border-box; }

.sbk-wd-wrap {
	width: min(760px, calc(100% - 40px));
	margin-inline: auto;
}

/* Hero */
.sbk-wd-hero {
	background:
		radial-gradient(ellipse 65% 80% at 78% 35%, rgba(255, 255, 255, .17) 0%, transparent 65%),
		linear-gradient(135deg, var(--color-sky-light, #4ac8f5) 0%, var(--color-sky, #29b6f6) 52%, var(--color-sky-dark, #039be5) 100%);
	color: #fff;
	padding: 56px 0 48px;
}

.sbk-wd-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 14px;
	padding: 4px 14px;
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 999px;
	background: rgba(255, 255, 255, .16);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.sbk-wd-hero__title {
	margin: 0 0 12px;
	color: #fff;
	font-family: var(--font-display, 'Sora', sans-serif);
	font-size: clamp(30px, 5vw, 44px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.025em;
}

.sbk-wd-hero__sub {
	max-width: 620px;
	margin: 0;
	color: rgba(255, 255, 255, .94);
	font-size: 17px;
	line-height: 1.6;
}

.sbk-wd-body { padding-top: 32px; }

/* Steps */
.sbk-wd-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	color: var(--wd-muted);
	font-size: 14px;
	font-weight: 600;
}

.sbk-wd-steps li { display: inline-flex; align-items: center; gap: 8px; }

.sbk-wd-steps span {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 1px solid var(--wd-line);
	border-radius: 50%;
	background: #fff;
	font-size: 13px;
}

.sbk-wd-steps .is-current { color: var(--wd-navy); }
.sbk-wd-steps .is-current span { border-color: var(--wd-blue); background: var(--wd-blue); color: #fff; }
.sbk-wd-steps .is-done span { border-color: var(--wd-green); background: var(--wd-green); color: #fff; }

/* Cards */
.sbk-wd-card {
	margin: 0 0 20px;
	padding: 32px;
	border: 1px solid var(--wd-line);
	border-radius: 16px;
	background: #fff;
	scroll-margin-top: 120px;
}

.sbk-wd-card h2 {
	margin: 0 0 10px;
	color: var(--wd-navy);
	font-family: var(--font-display, 'Sora', sans-serif);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.sbk-wd-card p { margin: 0 0 16px; }
.sbk-wd-card a:not(.sbk-wd-btn) { color: var(--wd-blue); text-decoration: underline; text-underline-offset: 2px; }

.sbk-wd-small { color: var(--wd-muted); font-size: 14px; }
.sbk-wd-card--start .sbk-wd-btn--large { margin: 8px 0 20px; }

/* Buttons */
.sbk-wd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-family: var(--font-display, 'Sora', sans-serif);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease;
}

.sbk-wd-btn--primary { background: var(--wd-blue); color: #fff; }
.sbk-wd-btn--primary:hover { background: var(--wd-blue-dark); color: #fff; }
.sbk-wd-btn--large { min-height: 56px; padding: 0 28px; font-size: 17px; }
.sbk-wd-btn--ghost { border-color: #c5d2e2; background: #fff; color: var(--wd-navy); }
.sbk-wd-btn--ghost:hover { border-color: var(--wd-navy); }

.sbk-wd-btn:focus-visible,
.sbk-wd a:focus-visible,
.sbk-wd input:focus-visible,
.sbk-wd textarea:focus-visible {
	outline: 3px solid var(--wd-blue);
	outline-offset: 2px;
}

.sbk-wd-link { color: var(--wd-muted); font-size: 15px; }

.sbk-wd-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: 24px;
}

/* Form */
.sbk-wd-field { margin: 0 0 18px; }

.sbk-wd-field label {
	display: block;
	margin: 0 0 4px;
	color: var(--wd-navy);
	font-weight: 700;
}

.sbk-wd-field__req { color: var(--wd-muted); font-weight: 400; font-size: 14px; }
.sbk-wd-field__hint { margin: 0 0 6px !important; color: var(--wd-muted); font-size: 14px; }

.sbk-wd-field input,
.sbk-wd-field textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid #c5d2e2;
	border-radius: 10px;
	background: #fff;
	color: var(--wd-navy);
	font: inherit;
	font-size: 16px; /* no iOS zoom */
}

.sbk-wd-field textarea { min-height: 110px; resize: vertical; }
.sbk-wd-field.has-error input,
.sbk-wd-field.has-error textarea { border-color: var(--wd-red); }
.sbk-wd-field__error { margin: 6px 0 0 !important; color: var(--wd-red); font-size: 14px; font-weight: 600; }

.sbk-wd-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Notices, summary, statement */
.sbk-wd-notice {
	margin: 0 0 16px;
	padding: 12px 16px;
	border: 1px solid #f3c1bd;
	border-radius: 10px;
	background: var(--wd-red-soft);
	color: var(--wd-red);
	font-weight: 600;
}

.sbk-wd-statement {
	margin: 0 0 20px;
	padding: 16px 18px;
	border-left: 4px solid var(--wd-blue);
	border-radius: 8px;
	background: var(--wd-blue-light);
	color: var(--wd-navy);
	font-weight: 600;
}

.sbk-wd-summary { margin: 0 0 8px; }

.sbk-wd-summary > div {
	display: grid;
	grid-template-columns: minmax(160px, 34%) 1fr;
	gap: 4px 16px;
	padding: 10px 0;
	border-top: 1px solid var(--wd-line);
}

.sbk-wd-summary dt { color: var(--wd-muted); font-size: 14px; }
.sbk-wd-summary dd { margin: 0; color: var(--wd-navy); font-weight: 600; word-break: break-word; }

.sbk-wd-check {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: #e9f8ef;
	color: var(--wd-green);
	font-size: 24px;
	font-weight: 800;
}

.sbk-wd-received-at { color: var(--wd-navy); }

/* Model form */
.sbk-wd-model__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.sbk-wd-model__head h2 { margin: 0; }

.sbk-wd-model__text {
	padding: 20px 22px;
	border: 1px dashed #c5d2e2;
	border-radius: 12px;
	background: #fbfcfe;
	font-size: 15px;
}

.sbk-wd-model__lines { margin: 0 0 16px; padding-left: 20px; }
.sbk-wd-model__lines li { margin-bottom: 10px; }

@media (max-width: 640px) {
	.sbk-wd-hero { padding: 40px 0 36px; }
	.sbk-wd-card { padding: 22px 20px; }
	.sbk-wd-actions .sbk-wd-btn { width: 100%; }
	.sbk-wd-card--start .sbk-wd-btn--large { width: 100%; }
	.sbk-wd-summary > div { grid-template-columns: 1fr; }
}

/* Printing the model form: print only the form, on plain paper. */
@media print {
	body * { visibility: hidden !important; }
	.sbk-wd-model,
	.sbk-wd-model * { visibility: visible !important; }
	.sbk-wd-model {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		border: 0;
		padding: 0;
	}
	.sbk-wd-print { display: none !important; }
	.sbk-wd-model__text { border: 0; background: none; padding: 0; font-size: 12pt; }
	.sbk-wd-model__lines li { margin-bottom: 18pt; }
	.sbk-wd-model a { color: inherit; text-decoration: none; }
}
