#ig-quiz {
	margin: 0 auto;
	position: relative;
	font-family: inherit;
	padding: 1.4em;
	max-width: 1600px;
}

.ig-quiz-pages {
	position: relative;
	min-height: 400px;
}

.ig-quiz-page {
	position: absolute;
	top: 0;
	width: 100%;
	opacity: 0;
	transform: translateX(0);
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
	z-index: 0;
}

.ig-quiz-page.active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

.ig-quiz-question {
	margin: 0 2em;
	padding: 1em 2em 2em;
	border-radius: 10px;
	background-color: white;
}

#ig-quiz h3 {
	margin: 0.3em 0 1em 0;
}

/* ANSWERS */
.ig-quiz-answers {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.ig-answer {
	position: relative;
	display: block;
	border: 2px solid #00315333;
	border-radius: 6px;
	padding: 10px 40px 10px 10px;
	cursor: pointer;
	user-select: none;
	transition: all 0.2s ease;
	position: relative;
}
.ig-answer::after {
	content: '';
	display: block;
	position: absolute;
	right: 10px;
	top: 10px;
	width: 30px;
	height: 30px;
	color: var(--awb-color4);
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
}

.ig-answer:hover {
	background-color: #b8733333;
	border-color: #b8733333;
}

.ig-answer input {
	display: none;
}

.ig-answer:has(input:checked) {
	background-color: #b8733366;
	border-color: var(--awb-color4);
	color: var(--awb-color7);
}

.ig-answer:has(input:checked)::after {
	content: '\f00c';
}

.ig-submit {
	display: block;
	margin: 1em 0 0 auto;
	font-size: 1em;
	padding: 14px 30px;
	background: var(--awb-color6);
	color: white;
	border-radius: 6px;
	cursor: pointer;
	border: none;
}

.ig-submit:hover {
	background: #003153cc;
}

/* SLIDER ARROWS */
.ig-quiz-nav {
	position: absolute;
	top: 50%;
	width: 100%;
	transform: translateY(-50%);
	pointer-events: none;
}

.ig-quiz-nav button {
	pointer-events: all;
	background: none;
	border: none;
	color: #bac7d0;
	font-size: 5em;
	position: absolute;
	top: -50px;
	cursor: pointer;
	transition: color 0.2s ease;
	line-height: 1;
}

.ig-quiz-nav button:hover {
	color: #9da7af;
}

.ig-prev {
	left: -10px;
}

.ig-next {
	right: -10px;
}

#ig-quiz-result {
	margin-top: 2em;
	padding: 1.5em;
	background: #f9f9f9;
	border: 1px solid #ccc;
	border-radius: 6px;
}
