/**
 * Premium /apply/ quick-check wizard — one question per view.
 * Loaded only on step=quick-check (see 00-apply-onboarding-ui.php).
 */

.pd-qc-wizard {
	max-width: 100%;
}

.pd-qc-wizard__top {
	margin-bottom: 14px;
}

.pd-qc-wizard__progress {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 6px;
}

.pd-qc-wizard__progress-label {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pd-apply-muted, #64748b);
}

.pd-qc-wizard__progress-bar {
	flex: 1;
	height: 6px;
	border-radius: 999px;
	background: #e2e8f0;
	overflow: hidden;
}

.pd-qc-wizard__progress-fill {
	height: 100%;
	width: 0%;
	border-radius: 999px;
	background: var(--pd-apply-brand, #8cc63f);
	transition: width 0.35s ease;
}

.pd-qc-wizard__viewport {
	position: relative;
	overflow: hidden;
	width: 100%;
	touch-action: pan-y pinch-zoom;
	border-radius: 16px;
	border: 1px solid var(--pd-apply-line, #e2e8f0);
	background: #fafbfc;
}

.pd-qc-wizard__track {
	display: flex;
	width: 500%;
	transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

.pd-qc-slide {
	flex: 0 0 20%;
	width: 20%;
	box-sizing: border-box;
	padding: 18px 16px 20px;
	min-height: 12rem;
}

.pd-qc-slide[aria-hidden='true'] {
	pointer-events: none;
}

.pd-qc-slide__legend {
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
	color: var(--pd-apply-ink, #0f172a);
	margin: 0 0 14px;
}

.pd-qc-slide__group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pd-qc-choice {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	text-align: left;
	font: inherit;
	-webkit-tap-highlight-color: transparent;
}

.pd-qc-choice__face {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 14px;
	border: 2px solid var(--pd-apply-line, #e2e8f0);
	border-radius: 16px;
	background: #fff;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.pd-qc-choice:hover .pd-qc-choice__face {
	border-color: #cbd5e1;
	background: #fff;
}

.pd-qc-choice.is-selected .pd-qc-choice__face {
	border-color: var(--pd-apply-brand, #8cc63f);
	background: #f7fee7;
	box-shadow: 0 0 0 1px rgba(140, 198, 63, 0.25);
}

.pd-qc-choice__indicator {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	border-radius: 999px;
	border: 2px solid #94a3b8;
	background: #fff;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.pd-qc-choice.is-selected .pd-qc-choice__indicator {
	border-color: var(--pd-apply-brand, #8cc63f);
	background: radial-gradient(circle at 50% 50%, #fff 32%, var(--pd-apply-brand, #8cc63f) 34%);
}

.pd-qc-choice__label {
	flex: 1;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	color: #0f172a;
	padding-top: 1px;
}

.pd-qc-wizard__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
	padding: 0 2px;
}

.pd-qc-nav-btn {
	appearance: none;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	padding: 12px 16px;
	border-radius: 14px;
	border: 2px solid var(--pd-apply-line, #e2e8f0);
	background: #fff;
	color: var(--pd-apply-ink, #0f172a);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
	min-width: 5.5rem;
}

.pd-qc-nav-btn:hover:not(:disabled) {
	background: #f8fafc;
	border-color: #cbd5e1;
}

.pd-qc-nav-btn:disabled {
	opacity: 0.38;
	cursor: not-allowed;
}

.pd-qc-nav-btn--primary {
	border-color: var(--pd-apply-brand, #8cc63f);
	background: var(--pd-apply-brand, #8cc63f);
	color: #fff;
}

.pd-qc-nav-btn--primary:hover:not(:disabled) {
	filter: brightness(0.95);
}

.pd-qc-wizard__dots {
	display: flex;
	gap: 6px;
	align-items: center;
	justify-content: center;
	flex: 1;
}

.pd-qc-dot {
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: #cbd5e1;
	transition: background 0.2s ease, transform 0.2s ease;
}

.pd-qc-dot.is-active {
	background: var(--pd-apply-brand, #8cc63f);
	transform: scale(1.15);
}

.pd-qc-wizard__ack {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 8px;
	padding: 14px 14px;
	border-radius: 14px;
	border: 2px solid var(--pd-apply-line, #e2e8f0);
	background: #fff;
	cursor: pointer;
}

.pd-qc-wizard__ack input {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	accent-color: var(--pd-apply-brand, #8cc63f);
}

.pd-qc-wizard__ack span {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	color: #334155;
}

.pd-qc-wizard__submit {
	margin-top: 18px;
	width: 100%;
}

.pd-qc-wizard__err {
	margin-top: 10px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	font-size: 14px;
	font-weight: 600;
	display: none;
}

.pd-qc-wizard__err.is-visible {
	display: block;
}
