/* ASQ Skip & Negative Marking */

/* ---- "ফলাফল দেখুন" বাটন (ভাসমান, সবসময় দৃশ্যমান) ---- */
.asq-sn-finish-wrap {
	position: fixed;
	right: 16px;
	bottom: 70px;
	z-index: 60;
	margin: 0;
	text-align: center;
}

.asq-sn-finish-btn {
	display: inline-block;
	padding: 13px 26px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	background: #2e7d32;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
	transition: background .15s ease, transform .1s ease;
}

.asq-sn-finish-btn:hover { background: #1b5e20; }
.asq-sn-finish-btn:active { transform: scale(.97); }
.asq-sn-finish-btn[disabled] { opacity: .8; cursor: default; }

/* ---- ফলাফল বক্স ---- */
.asq-sn-result {
	margin: 0 0 18px;
	padding: 0;
	border-radius: 12px;
	overflow: hidden;
	font-size: 16px;
	color: #1f2d1f;
	border: 1px solid #e0e6e0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

/* ---- হাইলাইটেড স্কোর কার্ড ---- */
.asq-sn-scorecard {
	text-align: center;
	padding: 22px 18px 18px;
	color: #fff;
	position: relative;
}

.asq-sn-pass .asq-sn-scorecard {
	background: linear-gradient(135deg, #2e9e4f 0%, #1b7a39 100%);
}

.asq-sn-fail .asq-sn-scorecard {
	background: linear-gradient(135deg, #e1745a 0%, #c8492c 100%);
}

.asq-sn-badge {
	display: inline-block;
	padding: 4px 16px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .22);
	margin-bottom: 8px;
}

.asq-sn-score {
	font-size: 56px;
	font-weight: 800;
	line-height: 1;
	margin: 4px 0 6px;
	text-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.asq-sn-outof {
	font-size: 14px;
	opacity: .92;
}

/* ---- উৎসাহমূলক বার্তা ---- */
.asq-sn-message {
	text-align: center;
	padding: 14px 18px;
	font-size: 16px;
	font-weight: 600;
	background: #f7faf7;
	border-bottom: 1px solid #eef2ee;
}

.asq-sn-pass .asq-sn-message { color: #1b7a39; }
.asq-sn-fail .asq-sn-message { color: #c0492b; }

/* ---- বিস্তারিত টেবিল ---- */
.asq-sn-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.asq-sn-table td {
	padding: 11px 18px;
	border-bottom: 1px solid #eef2ee;
	background: #fff;
}

.asq-sn-table tr:last-child td { border-bottom: none; }

.asq-sn-k { color: #3a4a3a; }

.asq-sn-v {
	text-align: right;
	font-weight: 700;
	width: 110px;
	color: #1f2d1f;
}

/* ---- নিচের নোট ---- */
.asq-sn-note {
	padding: 12px 18px 14px;
	font-size: 13px;
	color: #6a786a;
	line-height: 1.6;
	background: #fafbfa;
}

/* ছোট স্ক্রিনে স্কোর একটু ছোট */
@media (max-width: 420px) {
	.asq-sn-score { font-size: 46px; }
}

/* ---- নিজস্ব নোটিশ পপ-আপ (alert-এর বদলে, ডোমেইন ছাড়া) ---- */
.asq-sn-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .45);
	padding: 20px;
}

.asq-sn-modal-box {
	background: #fff;
	border-radius: 12px;
	max-width: 340px;
	width: 100%;
	padding: 22px 20px 18px;
	text-align: center;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}

.asq-sn-modal-msg {
	font-size: 17px;
	line-height: 1.6;
	color: #1f2d1f;
	margin-bottom: 18px;
}

.asq-sn-modal-ok {
	display: inline-block;
	padding: 10px 30px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: #2e7d32;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background .15s ease;
}

.asq-sn-modal-ok:hover { background: #1b5e20; }

/* ---- উত্তর-পর্যালোচনা (ভুল প্রশ্ন + সঠিক উত্তর/ব্যাখ্যা) ---- */

/* কুইজে "প্রশ্ন লুকান" সেটিং থাকলেও পর্যালোচনার জন্য প্রশ্ন দেখাই */
.asq-theme .view-quiz-results.hide-questions .quiz-page {
	display: block !important;
}

/* টগল বার */
.asq-sn-toggle {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0 0 16px;
}

.asq-sn-tg {
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 600;
	color: #2e7d32;
	background: #eaf4ea;
	border: 1px solid #cfe3cf;
	border-radius: 999px;
	cursor: pointer;
	transition: all .15s ease;
}

.asq-sn-tg:hover { background: #dcebdc; }

.asq-sn-tg.active {
	color: #fff;
	background: #2e7d32;
	border-color: #2e7d32;
}

/* প্রশ্নের অবস্থা অনুযায়ী হালকা বাম-বর্ডার ইঙ্গিত */
.asq-sn-q-correct { border-left: 4px solid #2e9e4f !important; }
.asq-sn-q-wrong   { border-left: 4px solid #d7503a !important; }
.asq-sn-q-skipped { border-left: 4px solid #b9c2b9 !important; }

/* রেজাল্ট কার্ড উপরে থাকলে একটু ফাঁক */
.ari-stream-quiz > .asq-sn-result { margin-top: 6px; }

/* উত্তর না দেওয়া প্রশ্নের ব্যাখ্যা — নিরপেক্ষ (লাল/সবুজ স্ট্যাটাস ছাড়া) */
.asq-sn-status-skipped .quiz-question-result { display: none !important; }
.asq-sn-status-skipped .quiz-question-explanation {
	border-left: 3px solid #b9c2b9;
	padding-left: 12px;
}

/* ---- লাইভ টাইমার ---- */
.asq-sn-timer {
	position: sticky;
	top: 6px;
	z-index: 50;
	width: -moz-fit-content;
	width: fit-content;
	margin: 0 0 12px auto;   /* ডানে */
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 7px 16px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	background: #2e7d32;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.asq-sn-timer-ico { font-size: 15px; line-height: 1; }

.asq-sn-timer-val {
	font-variant-numeric: tabular-nums;
	letter-spacing: .5px;
}
