/* ==========================================================================
   Admin: FAQ meta box
   ========================================================================== */

.bsd-faq-admin-toolbar {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.bsd-faq-admin-status {
	color: #666;
	font-style: italic;
}

.bsd-faq-admin-list .bsd-faq-item {
	border: 1px solid #dcdcde;
	background: #f6f7f7;
	padding: 12px;
	margin-bottom: 12px;
	border-radius: 4px;
}

.bsd-faq-item-row {
	margin-bottom: 8px;
}

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

.bsd-faq-question-input,
.bsd-faq-answer-input {
	font-weight: normal;
	margin-top: 4px;
}

.bsd-faq-remove {
	color: #b32d2e;
}

.bsd-faq-admin-empty {
	color: #666;
	font-style: italic;
}

/* ==========================================================================
   Frontend: FAQ section
   ========================================================================== */

.bsd-faq {
	margin: 40px 0;
}

.bsd-faq-title {
	margin-bottom: 20px;
}

.bsd-faq-list .bsd-faq-item {
	border-bottom: 1px solid #e0e0e0;
}

.bsd-faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0;
	background: none;
	border: 0;
	text-align: left;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	color: inherit;
}

.bsd-faq-icon {
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.bsd-faq-item.is-open .bsd-faq-icon {
	transform: rotate(-135deg);
}

.bsd-faq-answer {
	display: none;
	padding: 0 0 16px;
	color: #444;
	line-height: 1.6;
}

.bsd-faq-item.is-open .bsd-faq-answer {
	display: block;
}
