.odpfq-accordion {
	--odpfq-border-color: #d9dee5;
	--odpfq-question-bg: #ffffff;
	--odpfq-answer-bg: #ffffff;
	--odpfq-question-color: #111827;
	--odpfq-answer-color: #374151;
	--odpfq-focus-color: #2563eb;
	--odpfq-number-bg: #eef2ff;
	--odpfq-number-color: #1f2937;
	--odpfq-divider-color: #e5e7eb;
	--odpfq-radius: 8px;
	--odpfq-transition: 220ms ease;
	direction: rtl;
	text-align: right;
	width: 100%;
}

.odpfq-item {
	border: 1px solid var(--odpfq-border-color);
	border-radius: var(--odpfq-radius);
	background: var(--odpfq-answer-bg);
	overflow: hidden;
}

.odpfq-item:not(:last-child) {
	margin-bottom: 12px;
}

.odpfq-question {
	margin: 0;
	padding: 0;
	font-size: inherit;
	line-height: inherit;
}

.odpfq-question-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 14px 16px;
	border: 0;
	background: var(--odpfq-question-bg);
	color: var(--odpfq-question-color);
	font: inherit;
	line-height: 1.8;
	text-align: right;
	cursor: pointer;
}

.odpfq-question-toggle:focus-visible,
.odpfq-question-inner:focus-within {
	outline: 2px solid var(--odpfq-focus-color);
	outline-offset: -2px;
}

.odpfq-question-title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 700;
	line-height: inherit;
	text-align: right;
	overflow-wrap: anywhere;
}

button.odpfq-question-title {
	cursor: pointer;
	appearance: none;
}

.odpfq-question-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-width: 28px;
	min-height: 28px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--odpfq-number-bg);
	color: var(--odpfq-number-color);
	font-size: 0.875em;
	font-weight: 700;
	line-height: 1;
	margin-left: 4px;
}

.odpfq-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1.25em;
	height: 1.25em;
	margin-right: 8px;
	color: currentColor;
	line-height: 1;
}

.odpfq-icon svg,
.odpfq-icon i {
	display: block;
	width: 1em;
	height: 1em;
}

.odpfq-icon-open {
	display: none;
}

.odpfq-icon-closed:empty::before {
	content: "+";
	display: inline-block;
	font-weight: 700;
	line-height: 1;
}

.odpfq-icon-open:empty::before {
	content: "-";
	display: inline-block;
	font-weight: 700;
	line-height: 1;
}

.odpfq-item.is-open .odpfq-icon-closed,
.odpfq-item.odpfq-item--active .odpfq-icon-closed {
	display: none;
}

.odpfq-item.is-open .odpfq-icon-open,
.odpfq-item.odpfq-item--active .odpfq-icon-open {
	display: inline-flex;
}

.odpfq-divider {
	display: none;
	width: 100%;
	margin: 0;
	border: 0;
	border-top: 1px solid var(--odpfq-divider-color);
}

.odpfq-item.is-open .odpfq-divider,
.odpfq-item.odpfq-item--active .odpfq-divider {
	display: block;
}

.odpfq-answer {
	background: var(--odpfq-answer-bg);
	color: var(--odpfq-answer-color);
	overflow: hidden;
	transition: max-height var(--odpfq-transition), opacity var(--odpfq-transition);
}

.odpfq-answer[hidden] {
	display: none;
}

.odpfq-answer-content {
	padding: 14px 16px 16px;
	line-height: 1.9;
	overflow-wrap: anywhere;
}

.odpfq-answer-content > :first-child {
	margin-top: 0;
}

.odpfq-answer-content > :last-child {
	margin-bottom: 0;
}

.odpfq-notice {
	padding: 12px 14px;
	border: 1px solid #f0c36d;
	border-radius: 6px;
	background: #fff8e5;
	color: #5f4300;
	line-height: 1.8;
	text-align: right;
}

@media (max-width: 600px) {
	.odpfq-question-inner {
		min-height: 44px;
		padding: 12px 14px;
	}

	.odpfq-question-number {
		min-width: 24px;
		min-height: 24px;
		padding: 2px 7px;
	}

	.odpfq-answer-content {
		padding: 12px 14px 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.odpfq-answer {
		transition: none;
	}
}
