/* Quizz 3 Questions — styles */

.quizz3q-container {
	max-width: 620px;
	margin: 2em auto;
	font-family: inherit;
	color: #1e1e1e;
}

.quizz3q-question {
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 1.25em 1.5em;
	margin-bottom: 1.25em;
	background: #fafafa;
}

.quizz3q-question-title {
	font-weight: 600;
	font-size: 1.05em;
	margin-bottom: 0.75em;
	display: block;
	padding: 0;
}

.quizz3q-question-number {
	display: inline-block;
	background: #2271b1;
	color: #fff;
	font-size: 0.75em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 0.2em 0.6em;
	border-radius: 999px;
	margin-right: 0.6em;
	vertical-align: middle;
}

.quizz3q-answers {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
}

.quizz3q-answer {
	display: flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.6em 0.8em;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.quizz3q-answer:hover {
	border-color: #2271b1;
	background: #f0f6fb;
}

.quizz3q-answer input[type="radio"] {
	margin: 0;
	accent-color: #2271b1;
}

.quizz3q-question.quizz3q-correct {
	border-color: #46b450;
	background: #f0fbf1;
}

.quizz3q-question.quizz3q-incorrect {
	border-color: #dc3232;
	background: #fdf0f0;
}

.quizz3q-answer.quizz3q-answer-correct {
	border-color: #46b450;
	background: #e7f8e9;
	font-weight: 600;
}

.quizz3q-answer.quizz3q-answer-incorrect {
	border-color: #dc3232;
	background: #fbe7e7;
}

.quizz3q-submit {
	display: inline-block;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 0.75em 1.75em;
	font-size: 1em;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}

.quizz3q-submit:hover {
	background: #135e96;
}

.quizz3q-submit:disabled {
	background: #a7a7a7;
	cursor: not-allowed;
}

.quizz3q-result {
	margin-top: 1.5em;
	padding: 1.25em 1.5em;
	border-radius: 10px;
	font-size: 1.1em;
	font-weight: 600;
	text-align: center;
	display: none;
}

.quizz3q-result.quizz3q-visible {
	display: block;
}

.quizz3q-result.quizz3q-score-high {
	background: #e7f8e9;
	color: #1e7e26;
	border: 1px solid #46b450;
}

.quizz3q-result.quizz3q-score-medium {
	background: #fff8e5;
	color: #8a6d00;
	border: 1px solid #dba617;
}

.quizz3q-result.quizz3q-score-low {
	background: #fdf0f0;
	color: #a31c1c;
	border: 1px solid #dc3232;
}

.quizz3q-restart {
	display: inline-block;
	margin-top: 0.75em;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 8px;
	padding: 0.5em 1.25em;
	font-size: 0.9em;
	font-weight: 600;
	cursor: pointer;
	color: inherit;
}
