.quiz-progressive {
	max-width: 800px;
	margin: 48px auto;
	padding: 40px;
	background: #e8f3f9;
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(178, 68, 151, 0.18);
	font-family: "Poppins", sans-serif;
}

.quiz-progressive [hidden],
.quiz-progressive .quiz-is-hidden {
	display: none !important;
}

.quiz-progressive__header {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
	margin-bottom: 32px;
}

.quiz-progressive__logo {
	max-width: 200px;
}

.quiz-progressive__title {
	margin: 0;
	font-size: 36px;
	color: #b24497;
}


.quiz-progressive__intro {
	margin-bottom: 28px;
	padding: 24px;
	background: rgba(232, 243, 249, 0.85);
	border-radius: 12px;
	border: 1px solid rgba(0, 152, 218, 0.22);
}

.quiz-progressive__intro-content {
	color: #00364b;
	font-size: 17px;
	line-height: 1.7;
	margin-bottom: 24px;
}

.quiz-progressive__intro-content p {
	margin: 0 0 16px;
}

.quiz-progressive__intro-content p:last-child {
	margin-bottom: 0;
}

.quiz-progressive__start {
	border: none;
	border-radius: 999px;
	padding: 14px 40px;
	font-weight: 600;
	font-size: 18px;
	cursor: pointer;
	color: #ffffff;
	background: linear-gradient(135deg, #b24497, #00afef);
	box-shadow: 0 16px 32px rgba(0, 152, 218, 0.28);
	transition: transform 0.2s, box-shadow 0.2s;
}

.quiz-progressive__start:hover {
	transform: translateY(-1px);
	box-shadow: 0 20px 40px rgba(0, 152, 218, 0.34);
}


.quiz-progressive__progress {
	position: relative;
	width: 100%;
	height: 6px;
	background: rgba(0, 175, 239, 0.18);
	border-radius: 3px;
	overflow: hidden;
}

.quiz-progressive__progress-bar {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: linear-gradient(135deg, #00afef, #0098da);
	width: 0;
	transition: width 0.3s ease;
}

.quiz-progressive__form {
	display: block;
}

.quiz-progressive__question {
	border: 1px solid rgba(0, 152, 218, 0.22);
	border-radius: 12px;
	padding: 28px;
	margin-bottom: 24px;
	background: rgba(232, 243, 249, 0.85);
}

.quiz-progressive__question-text {
	font-size: 20px;
	font-weight: 600;
	color: #00364b;
	margin: 0;
}

.quiz-progressive__step {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: linear-gradient(135deg, #b24497, #00afef);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 16px;
}

.quiz-progressive__image {
	max-width: 100%;
	border-radius: 10px;
	margin: 16px 0;
}

.quiz-progressive__answers {
	display: grid;
	gap: 12px;
}

.quiz-progressive__answer {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	border: 1px solid rgba(0, 152, 218, 0.25);
	border-radius: 10px;
	cursor: pointer;
	transition: border 0.2s, background 0.2s;
}

.quiz-progressive__answer:hover {
	border-color: #00afef;
	background: rgba(0, 175, 239, 0.08);
}

.quiz-progressive__answer--solution {
	border-color: #81bb84;
	background: rgba(129, 187, 132, 0.18);
}

.quiz-progressive__answer input {
	opacity: 0;
	position: absolute;
}

.quiz-progressive__checkmark {
	width: 20px;
	height: 20px;
	border: 2px solid rgba(0, 152, 218, 0.4);
	border-radius: 50%;
	position: relative;
}

.quiz-progressive__answer--multiple .quiz-progressive__checkmark {
	border-radius: 4px;
}

.quiz-progressive__answer input:checked + .quiz-progressive__checkmark,
.quiz-progressive__answer input:checked ~ .quiz-progressive__checkmark,
.quiz-progressive__answer--solution .quiz-progressive__checkmark {
	background: #00afef;
	border-color: #00afef;
}

.quiz-progressive__answer--single .quiz-progressive__checkmark::after,
.quiz-progressive__answer--multiple .quiz-progressive__checkmark::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: none;
}

.quiz-progressive__answer--single .quiz-progressive__checkmark::after {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
}

.quiz-progressive__answer--multiple .quiz-progressive__checkmark::after {
	width: 8px;
	height: 14px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: translate(-50%, -50%) rotate(45deg);
}

.quiz-progressive__answer input:checked + .quiz-progressive__checkmark::after,
.quiz-progressive__answer input:checked ~ .quiz-progressive__checkmark::after {
	display: block;
}

.quiz-progressive__answer-text {
	flex: 1;
	font-size: 16px;
	color: #00364b;
}

.quiz-progressive__comment {
	margin-left: 38px;
	margin-top: 10px;
	padding: 12px 16px;
	border-left: 4px solid #00afef;
	background: rgba(0, 175, 239, 0.12);
	color: #00364b;
	font-size: 15px;
	line-height: 1.6;
	border-radius: 6px;
}

.quiz-progressive__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 20px;
	gap: 12px;
}

.quiz-progressive__error {
	flex: 1;
	font-size: 14px;
	font-weight: 600;
	color: #b24497;
	background: rgba(178, 68, 151, 0.1);
	padding: 10px 14px;
	border-radius: 6px;
}


.quiz-progressive__next {
	border: none;
	border-radius: 999px;
	padding: 12px 32px;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	background: linear-gradient(135deg, #00afef, #0098da);
	color: #fff;
	box-shadow: 0 10px 20px rgba(0, 152, 218, 0.32);
	transition: transform 0.2s, box-shadow 0.2s;
}

.quiz-progressive__next:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(0, 152, 218, 0.38);
}


.quiz-progressive__result {
	margin-top: 24px;
	padding: 28px;
	border-radius: 12px;
	background: rgba(129, 187, 132, 0.15);
	color: #00364b;
	font-size: 17px;
	line-height: 1.7;
}

.quiz-progressive__result .quiz-progressive__score {
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 14px;
	color: #81bb84;
}

.quiz-progressive__summary {
	font-weight: 600;
	color: #0098da;
	margin-bottom: 12px;
}

.quiz-progressive__extra {
	color: #b24497;
	font-size: 15px;
	line-height: 1.6;
}


.quiz-progressive__solutions {
	margin-top: 16px;
	border: none;
	border-radius: 999px;
	padding: 12px 32px;
	font-weight: 600;
	cursor: pointer;
	color: #ffffff;
	background: linear-gradient(135deg, #0098da, #b24497);
	transition: transform 0.2s, box-shadow 0.2s;
}

.quiz-progressive__solutions[disabled] {
	opacity: 0.6;
	cursor: default;
}

.quiz-progressive__solutions:hover:not([disabled]) {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(0, 152, 218, 0.25);
}


.quiz-progressive__reset {
	margin-top: 18px;
	border: none;
	border-radius: 999px;
	padding: 12px 32px;
	font-weight: 600;
	cursor: pointer;
	color: #ffffff;
	background: linear-gradient(135deg, #b24497, #81bb84);
}

.quiz-progressive__reset:hover {
	transform: translateY(-1px);
}

@media (max-width: 720px) {
	.quiz-progressive {
		padding: 28px;
	}

	.quiz-progressive__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.quiz-progressive__start,
	.quiz-progressive__next,
	.quiz-progressive__reset {
		width: 100%;
	}
}
