.islam-quiz {
	--iq-primary: #27ae60;
	--iq-primary-dark: #1e8f4f;
	--iq-danger: #c0392b;
	--iq-bg: #ffffff;
	--iq-border: #e5e7eb;
	--iq-text: #2c3e50;
	--iq-muted: #7f8c8d;
	max-width: 760px;
	margin: 24px auto;
	padding: 28px;
	background: var(--iq-bg);
	border: 1px solid var(--iq-border);
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	color: var(--iq-text);
	font-size: 16px;
	line-height: 1.6;
}

.islam-quiz * {
	box-sizing: border-box;
}

.islam-quiz[dir="rtl"] {
	direction: rtl;
}

.iq-title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 700;
}

.iq-desc {
	color: var(--iq-muted);
	margin: 0 0 12px;
}

.iq-meta {
	color: var(--iq-muted);
	margin: 0 0 16px;
}

.iq-btn {
	display: inline-block;
	padding: 10px 22px;
	border: none;
	border-radius: 6px;
	background: var(--iq-primary);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}

.iq-btn:hover {
	background: var(--iq-primary-dark);
}

.iq-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.iq-question {
	padding-bottom: 8px;
}

.iq-counter {
	color: var(--iq-muted);
	font-size: 13px;
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.iq-q-text {
	font-weight: 600;
	font-size: 17px;
	margin: 0 0 16px;
}

.iq-answers {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.iq-answer {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid var(--iq-border);
	border-radius: 8px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.iq-answer:hover {
	border-color: var(--iq-primary);
}

.iq-answer input {
	margin: 0;
}

.iq-answer-text {
	flex: 1;
}

.iq-answer--revealed {
	pointer-events: none;
}

.iq-answer--correct {
	border-color: var(--iq-primary);
	background: #eafaf1;
}

.iq-answer--correct .iq-answer-text {
	font-weight: 600;
	color: var(--iq-primary-dark);
}

.iq-feedback {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 8px;
	font-weight: 600;
}

.iq-fb-right {
	color: var(--iq-primary-dark);
	background: #eafaf1;
}

.iq-fb-wrong {
	color: var(--iq-danger);
	background: #fdf0ef;
}

.iq-explanation {
	margin-top: 12px;
	padding: 12px 14px;
	background: #f7f9fb;
	border-radius: 8px;
	color: var(--iq-text);
	font-size: 14px;
}

.iq-timecode {
	display: inline-block;
	margin-right: 8px;
	padding: 2px 8px;
	background: var(--iq-primary);
	color: #fff;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
}

.iq-nav {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}

.iq-results {
	text-align: center;
	padding: 20px 0;
}

.iq-score {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 8px;
}

.iq-rating-label {
	color: var(--iq-muted);
	margin: 0 0 16px;
}
