/* BNC IT-Keuzehulp — B&C huisstijl
 * Kleuren overschrijfbaar via module-settings (CSS-vars).
 */
.bnc-keuzehulp {
	--bnc-accent: #016A93;
	--bnc-accent-dark: #015378;
	--bnc-secondary: #20A5DE;
	--bnc-highlight: #F8C537;
	--bnc-highlight-dark: #e0ae1f;
	--bnc-bg: #ffffff;
	--bnc-soft-bg: #F8FAFC;
	--bnc-border: #CFDADF;
	--bnc-border-soft: #E7E8ED;
	--bnc-muted: #5b6675;
	--bnc-ink: #1a2735;
	--bnc-radius: 8px;
	--bnc-radius-lg: 14px;

	background: var(--bnc-bg);
	color: var(--bnc-ink);
	font-family: 'Raleway', Helvetica, Arial, Lucida, sans-serif;
	line-height: 1.55;
	padding: 36px 36px 32px;
	border-radius: var(--bnc-radius-lg);
	border: 1px solid var(--bnc-border-soft);
	width: 100%;
	margin: 0 auto;
	box-shadow: 0 2px 24px -12px rgba(1, 83, 120, 0.18);
}

.bnc-keuzehulp * { box-sizing: border-box; }

.bnc-keuzehulp .bnc-sr-only {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.bnc-keuzehulp .bnc-heading:focus { outline: none; }
.bnc-keuzehulp .bnc-heading:focus-visible { outline: none; }

.bnc-keuzehulp .bnc-screen { display: flex; flex-direction: column; gap: 20px; }

/* Intree-animatie bij stapwissel */
.bnc-keuzehulp .bnc-anim-in { animation: bncScreenIn .34s cubic-bezier(.22, 1, .36, 1); }
@keyframes bncScreenIn {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: none; }
}

/* Tijdens de korte overgang geen verdere klikken toelaten */
.bnc-keuzehulp .bnc-locked { pointer-events: none; }

/* Korte puls op de zojuist gekozen optie/tegel */
.bnc-keuzehulp .bnc-locked .is-selected { animation: bncPick .24s ease; }
@keyframes bncPick {
	0%   { transform: scale(1); }
	45%  { transform: scale(1.015); }
	100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	.bnc-keuzehulp .bnc-anim-in,
	.bnc-keuzehulp .bnc-locked .is-selected { animation: none; }
}

.bnc-keuzehulp .bnc-heading {
	font-family: inherit;
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
	color: var(--bnc-ink);
	letter-spacing: -0.01em;
}
.bnc-keuzehulp .bnc-heading::after {
	content: '';
	display: block;
	width: 44px;
	height: 3px;
	margin-top: 10px;
	background: var(--bnc-highlight);
	border-radius: 3px;
}

.bnc-keuzehulp .bnc-text { margin: 0; color: var(--bnc-ink); }
.bnc-keuzehulp .bnc-privacy { font-size: 0.85rem; color: var(--bnc-muted); margin: 4px 0 0; line-height: 1.45; }

/* Progress */
.bnc-keuzehulp .bnc-progress { display: flex; flex-direction: column; gap: 8px; }
.bnc-keuzehulp .bnc-progress__label {
	font-size: 0.78rem;
	color: var(--bnc-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
}
.bnc-keuzehulp .bnc-progress__track {
	height: 8px;
	background: var(--bnc-border-soft);
	border-radius: 999px;
	overflow: hidden;
}
.bnc-keuzehulp .bnc-progress__fill {
	position: relative;
	height: 100%;
	background: linear-gradient(90deg, var(--bnc-accent) 0%, var(--bnc-secondary) 100%);
	transition: width .6s cubic-bezier(.22, 1, .36, 1);
	border-radius: 999px;
	overflow: hidden;
	box-shadow: 0 0 10px -1px var(--bnc-secondary);
	animation: bncProgGlow 2.4s ease-in-out infinite;
}
/* Glanzende sweep die over de gevulde balk loopt */
.bnc-keuzehulp .bnc-progress__fill::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .55) 50%, transparent 100%);
	transform: translateX(-100%);
	animation: bncProgShimmer 2s ease-in-out infinite;
}
@keyframes bncProgShimmer {
	0%        { transform: translateX(-100%); }
	55%, 100% { transform: translateX(100%); }
}
@keyframes bncProgGlow {
	0%, 100% { box-shadow: 0 0 6px -2px var(--bnc-secondary); }
	50%      { box-shadow: 0 0 14px 0 var(--bnc-secondary); }
}
@media (prefers-reduced-motion: reduce) {
	.bnc-keuzehulp .bnc-progress__fill { animation: none; transition: width .3s ease; }
	.bnc-keuzehulp .bnc-progress__fill::after { animation: none; display: none; }
}
.bnc-keuzehulp .bnc-progress--dots { flex-direction: row; gap: 10px; }
.bnc-keuzehulp .bnc-dot {
	width: 12px; height: 12px; border-radius: 50%;
	background: var(--bnc-border-soft);
	transition: background .2s ease;
}
.bnc-keuzehulp .bnc-dot.is-done {
	background: var(--bnc-accent);
	box-shadow: 0 0 8px -1px var(--bnc-secondary);
	animation: bncDotPop .4s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes bncDotPop {
	0%   { transform: scale(.3); }
	100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
	.bnc-keuzehulp .bnc-dot.is-done { animation: none; }
}

/* Tile grid (Stap 1) */
.bnc-keuzehulp .bnc-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
@media (max-width: 640px) {
	.bnc-keuzehulp { padding: 22px 18px; }
	.bnc-keuzehulp .bnc-grid { grid-template-columns: 1fr; }
	.bnc-keuzehulp .bnc-heading { font-size: 1.35rem; }
}

.bnc-keuzehulp .bnc-tile {
	text-align: left;
	padding: 16px 18px;
	min-height: 64px;
	background: #fff;
	border: 1.5px solid var(--bnc-border);
	border-radius: var(--bnc-radius);
	cursor: pointer;
	font: inherit;
	color: var(--bnc-ink);
	position: relative;
	transition: all .18s ease;
	line-height: 1.4;
}
.bnc-keuzehulp .bnc-tile:hover:not(.is-disabled):not([disabled]) {
	border-color: var(--bnc-secondary);
	background: var(--bnc-soft-bg);
	transform: translateY(-1px);
	box-shadow: 0 4px 14px -8px rgba(1, 106, 147, 0.35);
}
.bnc-keuzehulp .bnc-tile.is-selected {
	border-color: var(--bnc-accent);
	background: #eaf3f9;
	box-shadow: inset 0 0 0 1px var(--bnc-accent);
}
.bnc-keuzehulp .bnc-tile.is-disabled,
.bnc-keuzehulp .bnc-tile[disabled] {
	opacity: 0.4;
	cursor: not-allowed;
	transform: none;
}
.bnc-keuzehulp .bnc-tile__label { display: block; font-weight: 500; }
.bnc-keuzehulp .bnc-rank {
	position: absolute;
	top: 10px; right: 12px;
	font-size: 0.65rem;
	font-weight: 700;
	background: var(--bnc-highlight);
	color: var(--bnc-ink);
	padding: 3px 9px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* Single-column options (Stap 2/3/4) */
.bnc-keuzehulp .bnc-options { display: flex; flex-direction: column; gap: 10px; }
.bnc-keuzehulp .bnc-option {
	text-align: left;
	padding: 16px 20px;
	min-height: 56px;
	background: #fff;
	border: 1.5px solid var(--bnc-border);
	border-radius: var(--bnc-radius);
	cursor: pointer;
	font: inherit;
	font-weight: 500;
	color: var(--bnc-ink);
	transition: all .15s ease;
	line-height: 1.4;
}
.bnc-keuzehulp .bnc-option:hover {
	border-color: var(--bnc-secondary);
	background: var(--bnc-soft-bg);
	transform: translateX(2px);
}
.bnc-keuzehulp .bnc-option.is-selected {
	border-color: var(--bnc-accent);
	background: #eaf3f9;
	box-shadow: inset 0 0 0 1px var(--bnc-accent);
}

/* Q1 bevestiging: chips + acties */
.bnc-keuzehulp .bnc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bnc-keuzehulp .bnc-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px 8px 14px;
	background: #eaf3f9;
	border: 1.5px solid var(--bnc-accent);
	border-radius: 999px;
	font-weight: 500;
	color: var(--bnc-ink);
}
.bnc-keuzehulp .bnc-chip__badge {
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	background: var(--bnc-accent);
	color: #fff;
	padding: 2px 8px;
	border-radius: 999px;
}
.bnc-keuzehulp .bnc-chip__remove {
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 0.9rem;
	line-height: 1;
	color: var(--bnc-muted);
	padding: 2px 4px;
	border-radius: 50%;
}
.bnc-keuzehulp .bnc-chip__remove:hover { color: #b00020; }

.bnc-keuzehulp .bnc-q1-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bnc-keuzehulp .bnc-btn-soft {
	background: var(--bnc-border);
	color: var(--bnc-accent);
	border: 1.5px solid var(--bnc-border);
	border-radius: 999px;
	padding: 12px 22px;
	font: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: all .18s ease;
	min-height: 48px;
}
.bnc-keuzehulp .bnc-btn-soft:hover { background: #b9c5cc; border-color: #b9c5cc; }

/* Buttons (pill, arrow icon) */
.bnc-keuzehulp .bnc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 14px 10px 24px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: all .18s ease;
	text-decoration: none;
	min-height: 52px;
}
.bnc-keuzehulp .bnc-btn--primary {
	background: var(--bnc-accent);
	color: #fff;
	border-color: var(--bnc-accent);
	box-shadow: 0 4px 14px -6px rgba(1, 106, 147, 0.4);
}
.bnc-keuzehulp .bnc-btn--primary:hover:not([disabled]) {
	background: var(--bnc-accent-dark);
	border-color: var(--bnc-accent-dark);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px -6px rgba(1, 106, 147, 0.5);
}
.bnc-keuzehulp .bnc-btn--primary[disabled] {
	opacity: 0.4;
	cursor: not-allowed;
	box-shadow: none;
}
.bnc-keuzehulp .bnc-btn--ghost {
	background: var(--bnc-border);
	color: var(--bnc-accent);
	border-color: var(--bnc-border);
	padding: 10px 24px 10px 14px;
	flex-direction: row-reverse;
}
.bnc-keuzehulp .bnc-btn--ghost:hover {
	color: var(--bnc-accent-dark);
	background: #b9c5cc;
	border-color: #b9c5cc;
}
.bnc-keuzehulp .bnc-btn__arrow {
	display: inline-flex;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}
.bnc-keuzehulp .bnc-btn__arrow svg { width: 100%; height: 100%; display: block; }
.bnc-keuzehulp .bnc-btn--ghost .bnc-btn__arrow { transform: rotate(180deg); }

/* Nav row */
.bnc-keuzehulp .bnc-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; align-items: center; }
.bnc-keuzehulp .bnc-nav:has(> :only-child) { justify-content: flex-end; }

/* Glass-shine die over de knop-achtergrond loopt (startknop + uitkomst-CTA) */
.bnc-keuzehulp .bnc-screen--start .bnc-btn--primary,
.bnc-keuzehulp .bnc-cta .bnc-btn--primary {
	position: relative;
	overflow: hidden;
}
.bnc-keuzehulp .bnc-screen--start .bnc-btn--primary::before,
.bnc-keuzehulp .bnc-cta .bnc-btn--primary::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 55%;
	height: 100%;
	background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .38) 50%, transparent 100%);
	transform: translateX(-180%) skewX(-18deg);
	animation: bncBtnShine 3s ease-in-out infinite;
	pointer-events: none;
	z-index: 0;
}
.bnc-keuzehulp .bnc-screen--start .bnc-btn--primary .bnc-btn__label,
.bnc-keuzehulp .bnc-screen--start .bnc-btn--primary .bnc-btn__arrow,
.bnc-keuzehulp .bnc-cta .bnc-btn--primary .bnc-btn__label,
.bnc-keuzehulp .bnc-cta .bnc-btn--primary .bnc-btn__arrow {
	position: relative;
	z-index: 1;
}
@keyframes bncBtnShine {
	0%        { transform: translateX(-180%) skewX(-18deg); }
	55%, 100% { transform: translateX(320%) skewX(-18deg); }
}
@media (prefers-reduced-motion: reduce) {
	.bnc-keuzehulp .bnc-screen--start .bnc-btn--primary::before,
	.bnc-keuzehulp .bnc-cta .bnc-btn--primary::before { animation: none; display: none; }
}

.bnc-keuzehulp .bnc-direct-link-wrap { margin-top: 6px; }
.bnc-keuzehulp .bnc-direct-link {
	color: var(--bnc-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
	font-size: 0.95rem;
	font-weight: 500;
}
.bnc-keuzehulp .bnc-direct-link:hover { color: var(--bnc-accent-dark); }

/* Forms */
.bnc-keuzehulp .bnc-form { display: flex; flex-direction: column; gap: 16px; }
.bnc-keuzehulp .bnc-field { display: flex; flex-direction: column; gap: 6px; }
.bnc-keuzehulp .bnc-label { font-weight: 600; font-size: 0.9rem; color: var(--bnc-ink); }
.bnc-keuzehulp .bnc-field input,
.bnc-keuzehulp .bnc-field textarea {
	padding: 12px 14px;
	border: 1.5px solid var(--bnc-border);
	border-radius: var(--bnc-radius);
	font: inherit;
	background: #fff;
	color: var(--bnc-ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.bnc-keuzehulp .bnc-field input:focus,
.bnc-keuzehulp .bnc-field textarea:focus {
	outline: none;
	border-color: var(--bnc-accent);
	box-shadow: 0 0 0 3px rgba(32, 165, 222, 0.18);
}
.bnc-keuzehulp .bnc-field--radio { gap: 8px; }
.bnc-keuzehulp .bnc-radio {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-right: 18px;
	cursor: pointer;
	font-weight: 500;
}
.bnc-keuzehulp .bnc-radio input[type="radio"] { accent-color: var(--bnc-accent); }

.bnc-keuzehulp .bnc-form-error { color: #b00020; font-size: 0.9rem; min-height: 1.2em; font-weight: 500; }

/* Outcome */
.bnc-keuzehulp ul.bnc-bullets { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.bnc-keuzehulp ul.bnc-bullets li {
	position: relative !important;
	padding-left: 24px !important;
	margin: 0 0 10px 0 !important;
	list-style: none !important;
	background: none !important;
	line-height: 1.55;
}
.bnc-keuzehulp ul.bnc-bullets li::before {
	content: '' !important;
	position: absolute !important;
	left: 0 !important;
	top: 0.28em !important;
	width: 11px !important;
	height: 11px !important;
	background: var(--bnc-accent) !important;
	border-radius: 2px !important;
	display: block !important;
	margin: 0 !important;
}
.bnc-keuzehulp ul.bnc-bullets li::after { content: none !important; }

.bnc-keuzehulp .bnc-overlay {
	margin-top: 14px;
	padding: 16px 20px;
	background: #fffaf0;
	border-radius: var(--bnc-radius);
	display: flex;
	gap: 16px;
	align-items: flex-start;
}
.bnc-keuzehulp .bnc-overlay__icon {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	margin-top: 2px;
}
.bnc-keuzehulp .bnc-overlay__icon svg { width: 100%; height: 100%; display: block; }
.bnc-keuzehulp .bnc-overlay__body { flex: 1; }
.bnc-keuzehulp .bnc-overlay__heading {
	margin: 0 0 4px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--bnc-ink);
}
.bnc-keuzehulp .bnc-overlay__body .bnc-text { margin: 0; }
.bnc-keuzehulp .bnc-direction {
	margin-top: 14px;
	padding: 16px 20px;
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: #eaf3f9;
	border-radius: var(--bnc-radius);
}
.bnc-keuzehulp .bnc-direction__icon {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	margin-top: 2px;
}
.bnc-keuzehulp .bnc-direction__icon svg { width: 100%; height: 100%; display: block; }
.bnc-keuzehulp .bnc-direction__body { flex: 1; }
.bnc-keuzehulp .bnc-direction__heading {
	margin: 0 0 4px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--bnc-ink);
}
.bnc-keuzehulp .bnc-direction__body .bnc-text { margin: 0; }

.bnc-keuzehulp .bnc-cta {
	margin-top: 18px;
	padding: 22px 24px;
	background: linear-gradient(135deg, var(--bnc-soft-bg) 0%, #eaf3f9 100%);
	border: 1px solid var(--bnc-border);
	border-radius: var(--bnc-radius);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bnc-keuzehulp .bnc-reset-link {
	color: var(--bnc-muted);
	font-size: 0.85rem;
	text-decoration: underline;
	text-underline-offset: 3px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px 4px;
	font: inherit;
	font-size: 0.85rem;
}
.bnc-keuzehulp .bnc-reset-link:hover { color: var(--bnc-accent); }
.bnc-keuzehulp .bnc-cta__heading { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--bnc-ink); }

/* Urgent screen */
.bnc-keuzehulp .bnc-screen--urgent {
	background: #fffaf0;
	padding: 18px 20px;
	border-radius: var(--bnc-radius);
	margin: -4px 0;
}
.bnc-keuzehulp .bnc-skip { color: var(--bnc-muted); text-decoration: underline; font-size: 0.9rem; }
.bnc-keuzehulp .bnc-skip:hover { color: var(--bnc-accent); }

/* Confirm screen */
.bnc-keuzehulp .bnc-screen--confirm .bnc-heading::before {
	content: '✓';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-right: 12px;
	background: var(--bnc-highlight);
	color: var(--bnc-ink);
	border-radius: 50%;
	font-weight: 700;
	font-size: 1.1rem;
	vertical-align: middle;
}

/* Focus */
.bnc-keuzehulp button:focus-visible,
.bnc-keuzehulp a:focus-visible,
.bnc-keuzehulp input:focus-visible,
.bnc-keuzehulp textarea:focus-visible {
	outline: 2px solid var(--bnc-secondary);
	outline-offset: 2px;
}
