.rn-quiz {
	max-width: 720px;
	margin: 24px auto;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 24px;
	font-family: inherit;
	background: #fff;
}

/* Progress */
.rn-quiz__progress {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.rn-quiz__bar {
	flex: 1;
	height: 6px;
	background: #e8e8e8;
	border-radius: 3px;
	overflow: hidden;
}

.rn-quiz__fill {
	height: 100%;
	background: #0073aa;
	border-radius: 3px;
	transition: width 0.3s ease;
}

.rn-quiz__label {
	font-size: 13px;
	color: #666;
	white-space: nowrap;
}

/* Question */
.rn-quiz__question {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	color: #1d2327;
	margin: 0 0 16px;
}

/* Options */
.rn-quiz__options {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.rn-quiz__option {
	display: block;
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #ddd;
	border-radius: 4px;
	background: #fff;
	font-size: 15px;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
	line-height: 1.4;
}

.rn-quiz__option:hover:not(:disabled) {
	border-color: #0073aa;
	background: #f0f6fc;
}

.rn-quiz__option--correct {
	border-color: #00a32a !important;
	background: #edfaef !important;
	color: #1e4620;
}

.rn-quiz__option--wrong {
	border-color: #d63638 !important;
	background: #fce8e8 !important;
	color: #5c1b1c;
}

.rn-quiz__option:disabled {
	cursor: default;
}

/* Feedback */
.rn-quiz__feedback {
	padding: 10px 14px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 16px;
}

.rn-quiz__feedback--correct {
	background: #edfaef;
	border-left: 4px solid #00a32a;
	color: #1e4620;
}

.rn-quiz__feedback--wrong {
	background: #fce8e8;
	border-left: 4px solid #d63638;
	color: #5c1b1c;
}

/* Navigation */
.rn-quiz__nav {
	margin-top: 8px;
}

.rn-quiz__next {
	padding: 8px 20px;
	font-size: 14px;
}

/* Score */
.rn-quiz__score {
	text-align: center;
	padding: 16px 0;
}

.rn-quiz__score h3 {
	margin: 0 0 8px;
	font-size: 22px;
	color: #1d2327;
}

.rn-quiz__score-text {
	font-size: 16px;
	color: #444;
	margin-bottom: 20px;
}

.rn-quiz__restart {
	padding: 8px 20px;
	font-size: 14px;
}

/* Audio player */
.rn-audio-player {
	margin: 16px 0;
}

.rn-audio-player audio {
	width: 100%;
	max-width: 600px;
	display: block;
}

/* No-quiz notice */
.rn-quiz-notice {
	color: #646970;
	font-style: italic;
}
