/* =========================================================
   SBNC Q&A Quiz & FAQs Styles
   ========================================================= */

/* ── Quiz / Q&A Widget ── */
.sbnc-quiz-widget {
	background: #fff;
	border: 1px solid #fbe7ea;
	border-radius: 16px;
	padding: 22px 20px 24px;
	margin-bottom: 28px;
	box-shadow: 0 2px 16px rgba(255, 86, 106, 0.07);
}

.sbnc-quiz-header {
	text-align: center;
	margin-bottom: 16px;
}

.sbnc-quiz-eyebrow {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #999;
	margin-bottom: 4px;
}

.sbnc-quiz-title {
	font-size: 22px;
	font-weight: 800;
	color: #121416;
	line-height: 1.2;
	margin: 0 0 6px;
}

.sbnc-quiz-title span {
	color: #FF566A;
}

.sbnc-quiz-subtitle {
	font-size: 12px;
	color: #777;
	line-height: 1.5;
}

.sbnc-quiz-star {
	display: block;
	font-size: 18px;
	text-align: center;
	margin: 8px 0;
}

.sbnc-quiz-question {
	font-size: 13px;
	font-weight: 600;
	color: #444;
	line-height: 1.5;
	text-align: center;
	margin: 0 0 14px;
}

/* Options */
.sbnc-quiz-options {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.sbnc-quiz-option {
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1.5px solid #ece4e6;
	border-radius: 10px;
	padding: 10px 14px;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s, transform 0.15s;
	background: #fafafa;
	font-size: 13px;
	color: #333;
	font-weight: 500;
	-webkit-user-select: none;
	user-select: none;
}

.sbnc-quiz-option:hover {
	border-color: #FF566A;
	background: #fff8f8;
	transform: translateX(2px);
}

.sbnc-quiz-option.selected {
	border-color: #FF566A;
	background: #FF566A;
	color: #fff;
}

.sbnc-quiz-option.correct {
	border-color: #FF566A;
	background: #FF566A;
	color: #fff;
}

.sbnc-quiz-option.wrong {
	border-color: #ef4444;
	background: #ef4444;
	color: #fff;
}

.sbnc-quiz-option-dot {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid currentColor;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sbnc-quiz-option.selected .sbnc-quiz-option-dot::after,
.sbnc-quiz-option.correct .sbnc-quiz-option-dot::after {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
}

/* Result message */
.sbnc-quiz-result {
	display: none;
	text-align: center;
	margin-top: 14px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
}

.sbnc-quiz-result.correct {
	background: #FFF5F6;
	color: #FF566A;
	border: 1px solid rgba(255, 86, 106, 0.2);
}

.sbnc-quiz-result.wrong {
	background: #FFF0F2;
	color: #dc2626;
	border: 1px solid rgba(239, 68, 68, 0.2);
}

.sbnc-quiz-reset {
	display: inline-block;
	width: auto;
	margin-top: 12px;
	padding: 8px 24px;
	background: #FF566A;
	color: #fff;
	border: 1.5px solid #FF566A;
	border-radius: 30px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	box-shadow: 0 4px 10px rgba(255, 86, 106, 0.15);
}

.sbnc-quiz-reset:hover {
	background: #fff;
	color: #FF566A;
}

/* Dark mode quiz */
.options_dark_skin .sbnc-quiz-widget {
	background: #1a1b1f;
	border-color: #2b2c30;
}
.options_dark_skin .sbnc-quiz-title { color: #e8e8e8; }
.options_dark_skin .sbnc-quiz-question { color: #ccc; }
.options_dark_skin .sbnc-quiz-option {
	background: #232428;
	border-color: #3a3b40;
	color: #ccc;
}
.options_dark_skin .sbnc-quiz-option:hover {
	border-color: #FF566A;
	background: #2b1c1f;
}
