/* Peptidos Screening Quiz — frontend runner styles. */

.pepq-quiz {
	max-width: 640px;
	margin: 2em auto;
	padding: 1.75em;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	font-family: inherit;
	color: #1f2937;
	transition: box-shadow 0.2s ease;
}

.pepq-quiz--ready { min-height: 180px; }

.pepq-quiz__title {
	margin: 0 0 8px;
	font-size: 16px;
	color: #6b7280;
	font-weight: 500;
}

.pepq-quiz__progress {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #9ca3af;
	margin-bottom: 8px;
	font-weight: 600;
}

.pepq-quiz__question {
	margin-bottom: 12px;
}

.pepq-quiz__q-label {
	margin: 0 0 8px;
	font-size: 22px;
	line-height: 1.3;
	font-weight: 700;
	color: #111827;
}

.pepq-quiz__q-help {
	margin: 0 0 16px;
	font-size: 14px;
	color: #6b7280;
}

.pepq-quiz__answers {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}

.pepq-quiz__answer {
	display: block;
	width: 100%;
	padding: 14px 16px;
	background: #f9fafb;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	color: #1f2937;
	text-align: left;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}

.pepq-quiz__answer:hover {
	background: #eff6ff;
	border-color: #2271b1;
}

.pepq-quiz__answer:active {
	transform: translateY(1px);
}

.pepq-quiz__answer:focus {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.pepq-quiz__back {
	margin-top: 16px;
	background: none;
	border: 0;
	color: #2271b1;
	font-size: 13px;
	cursor: pointer;
	padding: 4px 8px;
}

.pepq-quiz__back:hover { text-decoration: underline; }

.pepq-quiz__loading,
.pepq-quiz__final {
	padding: 32px 12px;
	text-align: center;
	font-size: 15px;
	color: #6b7280;
}

.pepq-quiz__error {
	padding: 14px 16px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	border-radius: 6px;
	font-size: 14px;
}
