.fqca-accordion {
	width: 100%;
	box-sizing: border-box;
}
.fqca-accordion * {
	box-sizing: border-box;
}
.fqca-item {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
	transition: box-shadow .2s ease;
}
.fqca-question-wrap {
	margin: 0;
}
.fqca-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	background: #f7f7f8;
	border: 0;
	cursor: pointer;
	text-align: inherit;
	font: inherit;
	font-weight: 600;
	padding: 16px 18px;
	color: #1e1e1e;
	transition: background-color .2s ease, color .2s ease;
	-webkit-appearance: none;
}
.fqca-question:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -2px;
}
.fqca-question-text {
	flex: 1;
}

/* آیکون‌ها - بدون فونت آیکون خارجی، فقط CSS برای بیشترین سرعت */
.fqca-icon {
	position: relative;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	color: inherit;
}
.fqca-icon::before,
.fqca-icon::after {
	content: "";
	position: absolute;
	background: currentColor;
	transition: transform .25s ease, opacity .25s ease;
}

/* پلاس/مینوس */
.fqca-icon--plus::before {
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	transform: translateY(-50%);
}
.fqca-icon--plus::after {
	top: 0;
	left: 50%;
	width: 2px;
	height: 100%;
	transform: translateX(-50%);
}
.fqca-item.is-open .fqca-icon--plus::after {
	transform: translateX(-50%) scaleY(0);
	opacity: 0;
}

/* شورون */
.fqca-icon--chevron::before {
	top: 40%;
	left: 0;
	width: 60%;
	height: 2px;
	transform: rotate(45deg);
	transform-origin: left center;
}
.fqca-icon--chevron::after {
	top: 40%;
	right: 0;
	width: 60%;
	height: 2px;
	transform: rotate(-45deg);
	transform-origin: right center;
}
.fqca-item.is-open .fqca-icon--chevron {
	transform: rotate(180deg);
}

/* پیکان */
.fqca-icon--arrow::before {
	top: 45%;
	left: 0;
	width: 70%;
	height: 2px;
}
.fqca-icon--arrow::after {
	top: 20%;
	right: 0;
	width: 8px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	background: transparent;
	transform: rotate(45deg);
}
.fqca-item.is-open .fqca-icon--arrow {
	transform: rotate(90deg);
}

.fqca-icon {
	transition: transform .25s ease;
}

/* پنل پاسخ - انیمیشن با max-height برای سبک‌ترین و سریع‌ترین حالت اجرا (بدون JS سنگین) */
.fqca-answer {
	background: #fff;
	overflow: hidden;
	max-height: 0;
	transition: max-height .3s ease;
}
.fqca-item.is-open .fqca-answer {
	max-height: 1400px; /* سقف کافی برای اکثر پاسخ‌ها؛ کوتاه‌تر بودن محتوا مشکلی ایجاد نمی‌کند */
}
.fqca-answer-inner {
	padding: 16px 18px;
	color: #4b5563;
	line-height: 1.9;
}
.fqca-answer-inner > *:first-child {
	margin-top: 0;
}
.fqca-answer-inner > *:last-child {
	margin-bottom: 0;
}

.fqca-editor-notice {
	padding: 16px;
	border: 1px dashed #c9c9c9;
	border-radius: 8px;
	color: #666;
	font-size: 13px;
	background: #fafafa;
}

/* حرکت کاهش‌یافته برای کاربرانی که انیمیشن نمی‌خواهند */
@media (prefers-reduced-motion: reduce) {
	.fqca-answer,
	.fqca-icon,
	.fqca-icon::before,
	.fqca-icon::after,
	.fqca-item {
		transition: none !important;
	}
}
