/* PFC guided simulator selector (quote form). Self-contained; pairs with quote-selector.js. */
.pfc-qsel { margin-top: 6px; }
.pfc-qsel-step { margin: 0 0 22px; }
.pfc-qsel-step[hidden] { display: none; }
.pfc-qsel-steplabel {
	font-family: "Bebas Neue", Impact, sans-serif;
	letter-spacing: .5px;
	font-size: 20px;
	color: #0a2540;
	margin-bottom: 10px;
}
.pfc-qsel-sub { font-family: Inter, sans-serif; font-size: 12px; font-weight: 400; color: #6e7686; letter-spacing: 0; }

.pfc-qsel-tiles { display: flex; flex-wrap: wrap; gap: 12px; }

/* Base tile */
.pfc-qsel-tile {
	appearance: none;
	border: 2px solid #d3dceb;
	background: #ffffff;
	border-radius: 14px;
	padding: 14px 18px;
	cursor: pointer;
	font-family: Inter, sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #0a2540;
	transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, background .15s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
	line-height: 1.25;
}
.pfc-qsel-tile:hover { transform: translateY(-2px); border-color: #1f7ae0; box-shadow: 0 6px 16px rgba(10, 37, 64, .12); }
.pfc-qsel-tile.is-on { border-color: #1f7ae0; background: #eef5ff; box-shadow: 0 4px 14px rgba(31, 122, 224, .18); }

/* Class + category tiles are larger, text-only */
.pfc-qsel-class .pfc-qsel-tile,
.pfc-qsel-cats .pfc-qsel-tile { flex: 1 1 160px; min-height: 64px; justify-content: center; font-size: 17px; }

/* Simulator + option tiles: image + label, ~120px */
.pfc-qsel-sims .pfc-qsel-tile,
.pfc-qsel-options .pfc-qsel-tile { width: 158px; padding: 12px; }
.pfc-qsel-thumb,
.pfc-qsel-ph {
	width: 120px; height: 120px; border-radius: 8px; object-fit: cover; background: #e9eef6; display: block;
}
.pfc-qsel-ph { display: flex; align-items: center; justify-content: center; color: #9aa6ba; font-size: 11px; font-weight: 600; text-align: center; padding: 6px; }
.pfc-qsel-tile-label { font-size: 13px; font-weight: 600; }
.pfc-qsel-tile-t { font-weight: 700; }

/* Option tiles get a check chip when selected */
.pfc-qsel-options .pfc-qsel-tile { position: relative; }
.pfc-qsel-options .pfc-qsel-tile.is-on::after {
	content: "\2713";
	position: absolute; top: 8px; right: 8px;
	width: 22px; height: 22px; border-radius: 50%;
	background: #1f7ae0; color: #fff; font-size: 13px; line-height: 22px; text-align: center;
}

/* Help link + reset */
.pfc-qsel-help {
	display: inline-block; margin-top: 12px; background: none; border: 0;
	color: #1f7ae0; font-family: Inter, sans-serif; font-size: 14px; font-weight: 600;
	cursor: pointer; text-decoration: underline; padding: 4px 0;
}
.pfc-qsel-help.is-on { color: #0a2540; }
.pfc-qsel-reset {
	display: inline-block; margin-top: 6px; background: none; border: 0;
	color: #6e7686; font-family: Inter, sans-serif; font-size: 13px; cursor: pointer; text-decoration: underline; padding: 4px 0;
}

/* Summary recap */
.pfc-qsel-summary {
	margin-top: 14px; padding: 14px 16px; border-radius: 12px;
	background: #0a2540; color: #fff; font-family: Inter, sans-serif; font-size: 14px; line-height: 1.5;
}
.pfc-qsel-summary[hidden] { display: none; }
.pfc-qsel-summary strong { color: #cfe0f7; }

/* Error state reuses the form's .pfc-qf-err on the wrapper */
.pfc-qsel-field.pfc-qf-err .pfc-qsel { outline: 2px solid #d63638; outline-offset: 8px; border-radius: 12px; }
.pfc-qsel-field.pfc-qf-err .pfc-qf-title i { color: #d63638; font-weight: 700; }

@media (max-width: 600px) {
	.pfc-qsel-sims .pfc-qsel-tile,
	.pfc-qsel-options .pfc-qsel-tile { width: calc(50% - 6px); }
	.pfc-qsel-thumb, .pfc-qsel-ph { width: 100%; height: auto; aspect-ratio: 1 / 1; }
}

/* Fix: the global form-control reset sets appearance:none on the radio/checkbox
   inputs but no custom indicator exists, so checking them showed no visual change.
   Restore native rendering with the brand accent so selections are clearly visible. */
.pfc-brand .pfc-qf-choice input[type="radio"],
.pfc-brand .pfc-qf-choice input[type="checkbox"],
.pfc-brand .pfc-qf-likert input[type="radio"] {
	-webkit-appearance: auto !important;
	appearance: auto !important;
	width: 20px !important;
	height: 20px !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	background: none !important;
	accent-color: #1f7ae0;
	flex: 0 0 auto;
}
