/**
 * Quiz Common Styles
 * Used by: careerlab, life-skills, quiz pages
 * Created: November 15, 2025
 */

/* ===== Quiz Card Styling ===== */
.quiz-card {
	background: #fff;
	border: 1px solid #eef0f3;
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
	padding: 14px;
}

.quiz-header {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.quiz-header .brand {
	font-weight: 700;
}

.scorebox {
	font-size: 14px;
	color: #6b7280;
}

.freepdfscore {
	font-weight: 600;
}

/* ===== Question Card ===== */
.qcard {
	margin-bottom: 10px;
}

.qhead {
	display: flex;
	gap: 10px;
	margin-bottom: 10px;
}

.qno {
	font-weight: 700;
	color: #FE5629;
}

.qtext {
	font-size: 18px;
	line-height: 1.45;
}

/* ===== Options ===== */
.options {
	display: grid;
	gap: 10px;
	margin-top: 14px;
}

button.ans {
	border: 1px solid #e5e7eb;
	background: #fff;
	border-radius: 12px;
	padding: 10px 12px;
	font-size: 15px;
	text-align: left;
	cursor: pointer;
	color: #000;
	text-transform: none;
}

button.ans.correct {
	background: rgba(22,163,74,.08);
	border-color: #16a34a;
}

button.ans.wrong {
	background: rgba(220,38,38,.08);
	border-color: #dc2626;
}

button.ans.disabled {
	pointer-events: none;
	opacity: .8;
}

/* ===== Feedback ===== */
.feedback {
	min-height: 22px;
	margin-top: 8px;
	font-weight: 600;
}

.feedback.ok {
	color: #16a34a;
}

.feedback.bad {
	color: #dc2626;
}

/* ===== Navigation Buttons ===== */
.navrow {
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-top: 14px;
}

button.nav {
	border: 1px solid #e5e7eb;
	background: #fff;
	border-radius: 10px;
	padding: 8px 12px;
	cursor: pointer;
	font-size: 14px;
}

button.nav.primary {
	background: #FE5629;
	color: #fff;
	border-color: #FE5629;
}

button.nav:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* ===== Final Screen ===== */
.final {
	display: grid;
	gap: 12px;
	place-items: center;
	text-align: center;
	padding: 24px;
}

.final .badge {
	font-weight: 700;
}

.final h2 {
	margin-top: 0;
}

.muted {
	color: #6b7280;
}

/* ===== Utility ===== */
.hidden {
	display: none !important;
}

/* ===== Responsive ===== */
@media only screen and (max-width: 768px){
	.qtext {
		font-size: 17px;
	}

	.quiz-header {
		justify-content: center;
	}

	.padding-right-70 {
		padding: 0 16px;
	}
}

/* ===== Page Layout ===== */
@media only screen and (min-width: 768px){
	.content-right {
		padding-left: 20px;
	}

	.responsive-top-margin {
		margin-top: 160px;
	}
}

@media only screen and (max-width: 768px){
	.content-right {
		padding-left: 16px;
		padding-right: 16px;
	}
}

.fixediconstop {
	display: none;
}
