/* Floor Facility Vloerencheck. Alles valt onder .ffvc zodat het thema niet wordt beïnvloed. */
.ffvc {
	--ffvc-navy: #0f3a6d;
	--ffvc-blue: #2c72b6;
	--ffvc-green: #3d8f4c;
	--ffvc-lime: #9bc53d;
	--ffvc-soft: #f5f8fb;
	--ffvc-line: #d5dfea;
	--ffvc-muted: #4f6a8c;
	--ffvc-sel: #e7f0fa;
	--ffvc-red: #b42318;
	color: var(--ffvc-navy);
	font-size: 16px;
	line-height: 1.55;
	width: 100%;
	max-width: none;
	min-width: 0;
	margin: 0;
	text-align: left;
}
.ffvc *, .ffvc *::before, .ffvc *::after { box-sizing: border-box; }
.ffvc img { max-width: 100%; height: auto; }

.ffvc-card { background: #fff; border: 1px solid var(--ffvc-line); border-radius: 22px; overflow: hidden; }
.ffvc-head { padding: 22px 28px 18px; border-bottom: 1px solid var(--ffvc-line); }
.ffvc-prog-top { display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; font-weight: 700; margin-bottom: 8px; }
.ffvc-prog-top span:last-child { color: var(--ffvc-muted); font-weight: 600; }
.ffvc-prog { height: 8px; border-radius: 8px; background: var(--ffvc-line); overflow: hidden; }
.ffvc-prog i { display: block; height: 100%; width: 0; background: var(--ffvc-navy); border-radius: 8px; transition: width .35s ease; }
.ffvc-body { padding: 26px 28px 30px; }

.ffvc .ffvc-title { font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.25; color: var(--ffvc-navy); margin: 0 0 4px; text-wrap: balance; }
.ffvc .ffvc-sub { color: var(--ffvc-muted); margin: 0 0 20px; }

/* Antwoordkaarten */
/* auto-fit verdeelt aanwezige keuzes over de beschikbare breedte; geen lege kolommen. */
.ffvc .ffvc-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.ffvc button.ffvc-opt {
	position: relative; display: flex; flex-direction: column; text-align: left;
	background: #fff; border: 2px solid var(--ffvc-line); border-radius: 16px;
	padding: 0; margin: 0; overflow: hidden; cursor: pointer; width: 100%; min-width: 0;
	font: inherit; color: var(--ffvc-navy); box-shadow: none; text-transform: none; letter-spacing: normal;
	transition: border-color .15s, transform .15s, box-shadow .15s;
}
.ffvc button.ffvc-opt:hover { border-color: var(--ffvc-blue); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15, 58, 109, .12); background: #fff; color: var(--ffvc-navy); }
.ffvc button.ffvc-opt:focus-visible { outline: 3px solid var(--ffvc-lime); outline-offset: 2px; }
.ffvc button.ffvc-opt[aria-pressed="true"] { border-color: var(--ffvc-navy); background: var(--ffvc-sel); }
.ffvc-media { position: relative; display: grid; place-items: center; }
.ffvc-media img { grid-area: 1 / 1; display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin: 0; border-radius: 0; }
.ffvc-sq .ffvc-media img { aspect-ratio: 1 / 1; }
.ffvc-tick {
	grid-area: 1 / 1; width: 52px; height: 52px; border-radius: 50%;
	background: var(--ffvc-navy); color: #fff; display: grid; place-items: center;
	opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s; pointer-events: none;
}
.ffvc-tick svg { width: 26px; height: 26px; }
.ffvc button.ffvc-opt[aria-pressed="true"] .ffvc-tick { opacity: 1; transform: scale(1); }
/* Laat lange antwoordteksten volledig doorlopen, ook bij thema-buttonstyles. */
.ffvc .ffvc-lbl { display: block; width: 100%; padding: 11px 14px 13px; font-weight: 700; font-size: .98rem; line-height: 1.3; white-space: normal; overflow-wrap: break-word; text-overflow: clip; }

/* Knoppen */
.ffvc-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.ffvc button.ffvc-btn {
	font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
	border-radius: 12px; padding: 12px 22px; border: 0; margin: 0; cursor: pointer;
	background: var(--ffvc-navy); color: #fff; display: inline-flex; align-items: center; gap: 8px;
	box-shadow: none; text-transform: none; letter-spacing: normal; width: auto;
}
.ffvc button.ffvc-btn:hover { background: #0b2c53; color: #fff; }
.ffvc button.ffvc-btn.ffvc-green { background: var(--ffvc-green); }
.ffvc button.ffvc-btn.ffvc-green:hover { background: #31743d; }
.ffvc button.ffvc-btn:disabled { opacity: .35; cursor: not-allowed; }
.ffvc button.ffvc-link {
	background: none; border: 0; color: var(--ffvc-muted); font: inherit; font-weight: 600;
	cursor: pointer; padding: 8px 4px; margin: 0; box-shadow: none; text-transform: none; width: auto;
}
.ffvc button.ffvc-link:hover { color: var(--ffvc-navy); background: none; }
.ffvc button.ffvc-btn:focus-visible, .ffvc button.ffvc-link:focus-visible { outline: 3px solid var(--ffvc-lime); outline-offset: 2px; }
.ffvc-hint { font-size: .85rem; color: var(--ffvc-muted); }

/* Advies */
.ffvc-advlist { display: flex; flex-direction: column; gap: 14px; }
.ffvc-advice {
	display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: start;
	background: var(--ffvc-soft); border: 1px solid var(--ffvc-line); border-radius: 18px; padding: 22px;
}
.ffvc-advice.ffvc-noimg { grid-template-columns: minmax(0, 1fr); }
.ffvc-advice > img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--ffvc-blue); margin: 0; }
.ffvc-badge { display: inline-block; background: var(--ffvc-green); color: #fff; border-radius: 99px; padding: 3px 12px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ffvc .ffvc-advice h3 { font-size: 1.35rem; line-height: 1.25; color: var(--ffvc-navy); margin: 10px 0 8px; }
.ffvc .ffvc-advice p { margin: 0 0 12px; max-width: 62ch; }
.ffvc-advice.ffvc-alt { background: #fff; border-style: dashed; grid-template-columns: 110px minmax(0, 1fr); }
.ffvc-advice.ffvc-alt.ffvc-noimg { grid-template-columns: minmax(0, 1fr); }
.ffvc-advice.ffvc-alt > img { width: 110px; height: 110px; box-shadow: 0 0 0 2px var(--ffvc-line); }
.ffvc .ffvc-advice.ffvc-alt h3 { font-size: 1.15rem; }
.ffvc-advice.ffvc-alt .ffvc-badge { background: var(--ffvc-sel); color: var(--ffvc-navy); }
.ffvc .ffvc-cl { font-weight: 700; margin: 14px 0 0; }
.ffvc ul.ffvc-checks { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ffvc ul.ffvc-checks li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; margin: 0; padding: 0; }
.ffvc ul.ffvc-checks li::before { content: none; }
.ffvc-checks svg, .ffvc-trust svg { flex: none; color: var(--ffvc-green); }
.ffvc .ffvc-why { font-size: .9rem; color: var(--ffvc-muted); margin: 14px 0 0; }

/* Formulier */
.ffvc fieldset.ffvc-fs { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.ffvc fieldset.ffvc-fs legend { font-weight: 700; color: var(--ffvc-navy); font-size: 1.05rem; margin-bottom: 12px; padding: 0; }
.ffvc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ffvc-row.ffvc-three { grid-template-columns: 1.6fr 1fr 1.2fr; }
.ffvc-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.ffvc-field label { font-weight: 700; font-size: .9rem; margin: 0; }
.ffvc .ffvc-field input {
	font: inherit; color: var(--ffvc-navy); background: #fff; border: 1.5px solid var(--ffvc-line);
	border-radius: 12px; padding: 12px 14px; width: 100%; height: auto; margin: 0; box-shadow: none;
}
.ffvc .ffvc-field input:focus { outline: none; border-color: var(--ffvc-blue); box-shadow: 0 0 0 4px rgba(44, 114, 182, .2); }
.ffvc .ffvc-field input.ffvc-ok { border-color: var(--ffvc-green); }
.ffvc .ffvc-field input.ffvc-bad { border-color: var(--ffvc-red); }
.ffvc-drop { display: flex; align-items: center; gap: 16px; border: 1.5px solid var(--ffvc-line); background: var(--ffvc-soft); border-radius: 14px; padding: 16px; cursor: pointer; margin: 0; }
.ffvc-drop:hover, .ffvc-drop.ffvc-over { border-color: var(--ffvc-blue); }
.ffvc-drop .ffvc-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--ffvc-sel); display: grid; place-items: center; color: var(--ffvc-navy); flex: none; }
.ffvc-drop strong { display: block; }
.ffvc-drop span span { color: var(--ffvc-muted); font-size: .88rem; }
.ffvc-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.ffvc-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--ffvc-line); }
.ffvc-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin: 4px 0 0; cursor: pointer; }
.ffvc-consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ffvc-navy); flex: none; }
.ffvc-consent a { color: var(--ffvc-navy); text-decoration: underline; }
.ffvc-captcha { margin-top: 16px; }
.ffvc-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: .88rem; color: var(--ffvc-muted); }
.ffvc-trust span { display: inline-flex; align-items: center; gap: 6px; }
.ffvc-error { background: #fef3f2; border: 1px solid #fecdca; color: var(--ffvc-red); border-radius: 12px; padding: 10px 14px; margin-top: 16px; font-size: .92rem; }
.ffvc-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Bedankt */
.ffvc-done { text-align: center; padding: 30px 10px; }
.ffvc-done .ffvc-big { width: 70px; height: 70px; border-radius: 50%; background: var(--ffvc-green); color: #fff; display: grid; place-items: center; margin: 0 auto 14px; }
.ffvc .ffvc-done h2 { color: var(--ffvc-navy); margin: 0 0 6px; }
.ffvc .ffvc-done p { color: var(--ffvc-muted); max-width: 48ch; margin: 0 auto 18px; }
.ffvc-done .ffvc-btn { margin: 0 auto; }

.ffvc-fade { animation: ffvc-fade .28s ease; }
@keyframes ffvc-fade { from { opacity: .001; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 620px) {
	.ffvc-head, .ffvc-body { padding-left: 18px; padding-right: 18px; }
	.ffvc .ffvc-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.ffvc .ffvc-lbl { font-size: .9rem; padding: 9px 10px 11px; }
	.ffvc-row, .ffvc-row.ffvc-three { grid-template-columns: minmax(0, 1fr); }
	.ffvc-advice, .ffvc-advice.ffvc-alt { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.ffvc * { animation: none !important; transition: none !important; }
}
