.form-label {
	margin-bottom: 0.5rem;
}

.form-control {
	display: block;
	width: 100%;
	padding: 1rem 1.25rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #000;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: #fff;
	background-clip: padding-box;
	border: 2px solid #efefef;
	border-radius: 0.75rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-check {
	display: block;
	min-height: 1.5rem;
	padding-left: 1.5em;
	margin-bottom: 0.125rem;
}

.form-check .form-check-input {
	float: left;
	margin-left: -1.5em;
}

.form-check-input {
	--bs-form-check-bg: #fff;
	flex-shrink: 0;
	width: 1em;
	height: 1em;
	margin-top: 0.25em;
	vertical-align: top;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: var(--bs-form-check-bg);
	background-image: var(--bs-form-check-bg-image);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	border: var(--bs-border-width) solid var(--bs-border-color);
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}

.form-check-input[type="checkbox"] {
	border-radius: 0.25em;
}

.form-check-input[type="radio"] {
	border-radius: 50%;
}

.form-check-input:active {
	filter: brightness(90%);
}

.form-check-input:focus {
	border-color: #86b7fe;
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-check-input:checked {
	background-color: var(--c-accent-orange);
	border-color: var(--c-accent-orange);
}

.form-check-input:checked[type="checkbox"] {
	--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input:checked[type="radio"] {
	--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

.form-check-input[type="checkbox"]:indeterminate {
	background-color: var(--c-accent-orange);
	border-color: var(--c-accent-orange);
	--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
}

.form-check-input:disabled {
	pointer-events: none;
	filter: none;
	opacity: 0.5;
}

.form-check-input:disabled ~ .form-check-label,
.form-check-input[disabled] ~ .form-check-label {
	cursor: default;
	opacity: 0.5;
}

.form-check-label {
	font-size: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
	.form-control {
		transition: none;
	}
}
.form-control[type="file"] {
	overflow: hidden;
}

.form-control[type="file"]:not(:disabled):not([readonly]) {
	cursor: pointer;
}

.form-control:focus {
	color: var(--bs-body-color);
	background-color: var(--bs-body-bg);
	border-color: #86b7fe;
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-control.error {
	border-color: rgb(214, 18, 51);
	box-shadow: unset !important;
}
.form-control + .error {
	margin-top: 6px;
	font-size: 12px;
	color: rgb(214, 18, 51);
}

.quiz {
	border: 2px solid var(--c-accent-orange);
	border-radius: 20px;
	padding: 20px;
	overflow: hidden;
}
.quiz .swiper {
	overflow: visible;
}
.quiz__slide-title {
	font-size: clamp(22px, 3vw, 2rem);
	margin-bottom: 1.75rem;
	max-width: 24em;
}
.quiz__slide-inputs {
	display: grid;
	grid-gap: 1rem;
}
.quiz__slide-inputs .btn-check {
	position: absolute;
	visibility: hidden;
}
.quiz__slide-inputs .btn-check + label {
	font-size: 1.125rem;
	border-radius: 0.625rem;
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	cursor: pointer;
}
.quiz__slide-inputs .btn-check + label::before {
	flex-shrink: 0;
	content: "";
	width: 20px;
	height: 20px;
	border: 2px solid var(--c-accent-orange);
	border-radius: 50%;
	box-shadow: inset 0 0 0 2px #fff;
}
.quiz__slide-inputs .btn-check:checked + label::before {
	background: var(--c-accent-orange);
}
.quiz__form-main {
	display: grid;
	grid-gap: 1rem;
}
.quiz__controlls {
	margin-top: 2rem;
	display: grid;
	grid-gap: 1.25rem 2.5rem;
}
.quiz__progress-line {
	padding: 3px;
	height: 13px;
	background: #efefef;
	border-radius: 5rem;
	display: flex;
}
.quiz__progress-line::after {
	content: "";
	display: block;
	background: var(--c-accent-orange);
	width: calc(var(--progress) * 100%);
	border-radius: 5rem;
	transition: width 0.5s;
	position: relative;
}
.quiz__progress-value {
	display: flex;
	gap: 0.25rem;
	margin-top: 8px;
}
.quiz__progress-value::before {
	flex-shrink: 0.75;
	counter-reset: progress calc(var(--progress, 0) * 100);
	content: counter(progress) "%";
	width: calc(var(--progress) * 100% + 1.5ch);
	transition: width 0.5s;
	font-size: 0.75rem;
	line-height: 1;
	text-align: right;
}
.quiz__progress-value::after {
	flex-shrink: 0.25;
	content: "100%";
	margin-left: auto;
	font-size: 0.75rem;
	line-height: 1;
}
.quiz__navigation {
	position: relative;
	display: flex;
	gap: 0.5rem;
}
.quiz__navigation > * {
	flex: 0;
	position: static;
	margin-top: unset;
	left: unset;
	right: unset;
	top: unset;
	width: auto;
	min-width: 3.5625rem;
	padding-left: 2rem;
	padding-right: 2rem;
	display: flex;
	justify-content: center;
	gap: 16px;
}
.quiz__navigation > *::after {
	font-size: 16px;
}
.quiz__navigation > *.disabled {
	opacity: 0.75;
	pointer-events: none;
}
.quiz__navigation .swiper-button-prev {
	padding-left: 1rem;
	padding-right: 1rem;
}
.quiz__navigation .swiper-button-prev.disabled {
	visibility: hidden;
}
.quiz__navigation .swiper-button-next {
	flex: 1;
}
@media (max-width: 991px) {
	.quiz__navigation .swiper-button-prev.disabled {
		display: none;
	}
}
@media (min-width: 992px) {
	.quiz {
		padding: 2.5rem;
		border-radius: 2.5rem;
	}
	.quiz__controlls {
		grid-template-columns: 1fr auto;
		align-items: end;
	}
	.quiz__slide-inputs {
		grid-template-columns: repeat(2, 1fr);
		max-width: 40rem;
		grid-gap: 1.25rem;
	}
	.quiz__slide-inputs .btn-check + label::before {
		width: 24px;
		height: 24px;
	}
	.quiz__form-main {
		grid-template-columns: repeat(2, 1fr);
		max-width: 48rem;
	}
	.quiz__progress {
		max-width: 40rem;
	}
}
