.rs-test-container {
	direction: rtl;
	text-align: right;
	font-family: Tahoma, "Vazirmatn", sans-serif;
	max-width: 720px;
	margin: 0 auto;
	color: #222;
	line-height: 1.9;
}

.rs-test-title {
	margin-bottom: 6px;
}

.rs-test-desc {
	color: #555;
}

.rs-test-instructions {
	background: #f4f7fb;
	border-inline-start: 4px solid #4a90d9;
	padding: 10px 15px;
	border-radius: 6px;
	margin: 12px 0;
}

.rs-test-meta {
	color: #777;
	font-size: 0.9em;
}

.rs-btn {
	background: #4a90d9;
	color: #fff;
	border: none;
	padding: 10px 22px;
	border-radius: 6px;
	font-size: 1em;
	cursor: pointer;
	transition: background 0.15s ease-in-out;
}

.rs-btn:hover {
	background: #3877b8;
}

.rs-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.rs-question {
	background: #fafafa;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	padding: 16px 18px;
	margin-bottom: 14px;
}

.rs-question-text {
	font-weight: 600;
	margin: 0 0 10px;
}

.rs-q-num {
	color: #4a90d9;
}

.rs-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.rs-option {
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	font-size: 0.95em;
}

.rs-option input {
	margin: 0;
}

.rs-field {
	margin-bottom: 16px;
}

.rs-field label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
}

.rs-field input[type="text"] {
	width: 100%;
	max-width: 320px;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
}

.rs-submit-row {
	text-align: center;
	margin-top: 20px;
}

.rs-form-error {
	color: #d9534f;
	background: #fdecea;
	border: 1px solid #f5c6c4;
	border-radius: 6px;
	padding: 10px 14px;
	text-align: center;
}

.rs-error {
	color: #d9534f;
}

/* نتیجه */
.rs-result-title {
	text-align: center;
	margin-bottom: 20px;
}

.rs-chart-wrap {
	max-width: 460px;
	margin: 0 auto 25px;
}

.rs-score-cards {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rs-score-card {
	background: #fff;
	border: 1px solid #e6e6e6;
	border-inline-start: 6px solid #4a90d9;
	border-radius: 8px;
	padding: 14px 18px;
}

.rs-score-card-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.rs-score-name {
	font-weight: 700;
	font-size: 1.05em;
}

.rs-score-level {
	color: #fff;
	font-size: 0.85em;
	padding: 3px 12px;
	border-radius: 999px;
}

.rs-score-bar-bg {
	background: #eee;
	border-radius: 999px;
	height: 8px;
	overflow: hidden;
	margin-bottom: 8px;
}

.rs-score-bar-fill {
	height: 100%;
	border-radius: 999px;
}

.rs-score-percentage {
	color: #777;
	font-size: 0.85em;
	margin: 0 0 6px;
}

.rs-score-desc {
	margin: 0;
	color: #333;
}

/* فهرست تست‌ها */
.rs-test-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
	direction: rtl;
}

.rs-test-card {
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	padding: 16px;
}

.rs-shortcode-hint {
	font-size: 0.85em;
	color: #777;
}
