/* Accordion widget — structural styles. Colors/typography come from the
   widget's style controls (compiled per-instance), so only layout +
   transitions live here. */
.ractro-accordion {
	display: flex;
	flex-direction: column;
}

.ractro-ac-item {
	border: 1px solid #e2e8f0;
	overflow: hidden;
	background: #fff;
}

.ractro-ac-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 14px 18px;
	border: 0;
	background: transparent;
	cursor: pointer;
	text-align: left;
	font: inherit;
}

.ractro-ac-title {
	font-weight: 600;
	font-size: 15px;
	line-height: 1.4;
}

.ractro-ac-icon {
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.25s ease;
	opacity: 0.55;
}

.ractro-ac-item.is-open > .ractro-ac-header .ractro-ac-icon {
	transform: rotate(225deg);
}

.ractro-ac-body {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.3s ease;
}

.ractro-ac-body-inner {
	padding: 4px 18px 16px;
	font-size: 14px;
	line-height: 1.65;
}

.ractro-accordion-empty {
	padding: 18px;
	border: 1px dashed #cbd5e1;
	border-radius: 10px;
	color: #94a3b8;
	font-size: 13px;
	text-align: center;
}
