.azsz-quiz-wrap,
.azsz-profile-wrap,
.azsz-quiz-list-wrap {
	font-family: Tahoma, "Vazirmatn", Arial, sans-serif;
	direction: rtl;
	text-align: right;
	max-width: 720px;
	margin: 0 auto;
}

.azsz-notice {
	padding: 14px 18px;
	border-radius: 8px;
	margin: 10px 0;
}

.azsz-notice-error {
	background: #fdecea;
	color: #7a1c1c;
	border: 1px solid #f4b8b3;
}

.azsz-notice-info {
	background: #eef4fb;
	color: #1c3f5f;
	border: 1px solid #b9d4ec;
}

.azsz-quiz-title {
	font-size: 22px;
	margin-bottom: 8px;
}

.azsz-quiz-desc {
	color: #444;
	margin-bottom: 14px;
}

.azsz-quiz-meta {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.azsz-badge {
	background: #f1f1f1;
	border-radius: 20px;
	padding: 4px 12px;
	font-size: 13px;
}

.azsz-timer {
	position: sticky;
	top: 0;
	background: #2c3e50;
	color: #fff;
	padding: 10px 16px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 16px;
	text-align: center;
	z-index: 10;
}

#azsz-timer-display.azsz-timer-warning {
	color: #ff6b6b;
	font-weight: bold;
}

.azsz-question-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.azsz-question-item {
	background: #fafafa;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 14px;
}

.azsz-question-text {
	font-weight: bold;
	margin-bottom: 10px;
}

.azsz-options-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.azsz-option {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 8px 12px;
	cursor: pointer;
}

.azsz-option:hover {
	border-color: #999;
}

.azsz-options-boolean {
	flex-direction: row;
	gap: 16px;
}

.azsz-text-answer {
	width: 100%;
	padding: 8px 10px;
	border-radius: 6px;
	border: 1px solid #ccc;
}

.azsz-btn,
.azsz-submit-btn {
	display: inline-block;
	background: #2271b1;
	color: #fff;
	border: none;
	padding: 10px 22px;
	border-radius: 6px;
	font-size: 15px;
	cursor: pointer;
	text-decoration: none;
}

.azsz-btn:hover,
.azsz-submit-btn:hover {
	background: #135e96;
	color: #fff;
}

.azsz-submit-btn:disabled {
	background: #999;
	cursor: not-allowed;
}

/* نتیجه آزمون */
.azsz-result-summary {
	text-align: center;
	background: #f7f9fb;
	border-radius: 10px;
	padding: 20px;
	margin: 16px 0;
}

.azsz-result-percent {
	font-size: 40px;
	font-weight: bold;
}

.azsz-passed .azsz-result-percent,
.azsz-passed .azsz-result-status {
	color: #1e7e34;
}

.azsz-failed .azsz-result-percent,
.azsz-failed .azsz-result-status {
	color: #c0392b;
}

.azsz-result-status {
	font-size: 18px;
	margin: 6px 0;
}

.azsz-result-score {
	color: #555;
}

.azsz-result-date {
	color: #777;
	font-size: 13px;
}

.azsz-review-list .azsz-answer-correct {
	border-inline-start: 4px solid #1e7e34;
}

.azsz-review-list .azsz-answer-wrong {
	border-inline-start: 4px solid #c0392b;
}

.azsz-correct-answer {
	color: #1e7e34;
	font-weight: bold;
}

/* جدول پروفایل کاربر */
.azsz-results-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}

.azsz-results-table th,
.azsz-results-table td {
	border: 1px solid #e2e2e2;
	padding: 10px;
	text-align: center;
}

.azsz-results-table th {
	background: #f1f1f1;
}

.azsz-status-pass {
	color: #1e7e34;
	font-weight: bold;
}

.azsz-status-fail {
	color: #c0392b;
	font-weight: bold;
}

/* فهرست آزمون‌ها */
.azsz-quiz-list {
	list-style: none;
	padding: 0;
}

.azsz-quiz-list-item {
	background: #fafafa;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 10px;
}

.azsz-quiz-list-item a {
	font-size: 17px;
	font-weight: bold;
	text-decoration: none;
}

.azsz-quiz-excerpt {
	color: #666;
	margin: 6px 0 0;
	font-size: 14px;
}
