/* Overlay */
#mqg-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 100000;
}

/* Modal content */
#mqg-modal-content {
	background-color: #ffffff;
	padding: 30px 40px;
	border-radius: 12px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.3);
	text-align: center;
	max-width: 500px;
	width: 90%;
	position: relative;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Close button */
#mqg-close-modal {
	position: absolute;
	top: 10px;
	right: 15px;
	background: none;
	border: none;
	font-size: 28px;
	color: #888;
	cursor: pointer;
}

/* Question title */
#mqg-quiz-container h2 {
	font-size: 24px;
	color: #333;
	margin-bottom: 25px;
}

/* Answers container */
.mqg-answers {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

/* Buttons */
.mqg-answer-btn, .mqg-final-btn {
	padding: 15px 20px;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	cursor: pointer;
	transition: transform 0.2s, opacity 0.2s;
	font-weight: bold;
}

.mqg-answer-btn:hover, .mqg-final-btn:hover {
	transform: scale(1.03);
	opacity: 0.95;
}

/* Final subtext */
.mqg-final-subtext {
	margin-top: 15px;
	font-size: 14px;
	color: #777;
}

/* Blur aplicado ao conteúdo de fundo quando o quiz está ativo */
body.mqg-blurred > *:not(#mqg-modal-overlay) {
	filter: blur(6px);
	pointer-events: none;
	user-select: none;
}

/* Responsive */
@media (max-width: 600px) {
	#mqg-modal-content {
		padding: 25px 20px;
	}

	#mqg-quiz-container h2 {
		font-size: 20px;
	}
}
