/* Base Styles */
.jx-raccord .jx-rtitle {
	background: #272e35;
	color: #fff;
	text-align: left;
	border-radius: 4px;
	padding: 14px 12px;
	cursor: pointer;
	margin-top: 0;
	margin-bottom: 9px;
	transition: 0.25s all;
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
}

.jx-raccord .jx-rquestion.jx-active .jx-rtitle {
	margin-bottom: 21px;
	background: #009640;
}

.jx-raccord .jx-rtitle::before {
	content: attr(data-prefix);
	font-size: 18px;
	margin-right: 9px;
}

.jx-raccord .jx-rtitle.jx-alignLeft {
	padding-left: 35px;
}

.jx-ranswer {
	display: none;
	background: #fff;
	border-radius: 4px;
	border: 1px solid #cdcdcd;
	text-align: left;
	padding: 31px 33px;
	margin-bottom: 9px;
}

.jx-rquestion {
	position: relative;
}

.jx-raccord .jx-arrowDown {
	border-style: solid;
	border-width: 10px 10px 0;
	bottom: -10px;
	display: block;
	position: absolute;
	width: 0;
	height: 0;
	z-index: 1;
	border-color: #272e35 transparent transparent transparent;
	left: 40px;
	transition: 0.25s all;
	opacity: 0;
	pointer-events: none;
}

.jx-raccord .jx-rquestion.jx-active .jx-rtitle .jx-arrowDown {
	bottom: -10px;
	border-color: #009641 transparent transparent transparent;
	opacity: 1;
}

.jx-raccord .jx-racc-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 300;
	flex-shrink: 0;
}

.jx-racc-icon.jx-racc-minus {
	display: none;
}

.jx-rquestion.jx-active .jx-racc-icon.jx-racc-plus {
	display: none;
}

.jx-rquestion.jx-active .jx-racc-icon.jx-racc-minus {
	display: block;
}

.jx-rtitle-text {
	flex: 1;
	min-width: 0;
}

.jx-racc-right {
	margin-left: auto;
	flex-shrink: 0;
}

.jx-racc-left {
	margin-right: 12px;
	flex-shrink: 0;
}

.jx-accordion-featured-image {
	margin-bottom: 15px;
}

.jx-accordion-featured-image img {
	max-width: 100%;
	height: auto;
}

/* Predefined Styles */

/* Default Style */
.jx-accordion-style-default .jx-raccord .jx-rtitle {
	background: #272e35;
	color: #ffffff;
}

.jx-accordion-style-default .jx-raccord .jx-rquestion.jx-active .jx-rtitle {
	background: #009640;
	color: #ffffff;
}

.jx-accordion-style-default .jx-raccord .jx-arrowDown {
	border-color: #272e35 transparent transparent transparent;
}

.jx-accordion-style-default .jx-raccord .jx-rquestion.jx-active .jx-arrowDown {
	border-color: #009640 transparent transparent transparent;
}

/* Modern Style */
.jx-accordion-style-modern .jx-raccord .jx-rtitle {
	background: #f8f9fa;
	color: #212529;
	border: 2px solid #dee2e6;
}

.jx-accordion-style-modern .jx-raccord .jx-rquestion.jx-active .jx-rtitle {
	background: #007bff;
	color: #ffffff;
	border-color: #007bff;
}

.jx-accordion-style-modern .jx-raccord .jx-arrowDown {
	border-color: #dee2e6 transparent transparent transparent;
}

.jx-accordion-style-modern .jx-raccord .jx-rquestion.jx-active .jx-arrowDown {
	border-color: #007bff transparent transparent transparent;
}

/* Minimal Style */
.jx-accordion-style-minimal .jx-raccord .jx-rtitle {
	background: transparent;
	color: #333333;
	border-bottom: 1px solid #e0e0e0;
	border-radius: 0;
	padding: 15px 0;
}

.jx-accordion-style-minimal .jx-raccord .jx-rquestion.jx-active .jx-rtitle {
	background: transparent;
	color: #000000;
	border-bottom-color: #000000;
	font-weight: 600;
}

.jx-accordion-style-minimal .jx-raccord .jx-arrowDown {
	display: none;
}

/* Dark Style */
.jx-accordion-style-dark .jx-raccord .jx-rtitle {
	background: #1a1a1a;
	color: #e0e0e0;
	border: 1px solid #333333;
}

.jx-accordion-style-dark .jx-raccord .jx-rquestion.jx-active .jx-rtitle {
	background: #000000;
	color: #ffffff;
	border-color: #555555;
}

.jx-accordion-style-dark .jx-raccord .jx-arrowDown {
	border-color: #333333 transparent transparent transparent;
}

.jx-accordion-style-dark .jx-raccord .jx-rquestion.jx-active .jx-arrowDown {
	border-color: #000000 transparent transparent transparent;
}

/* Colorful Style */
.jx-accordion-style-colorful .jx-raccord .jx-rtitle {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
}

.jx-accordion-style-colorful .jx-raccord .jx-rquestion.jx-active .jx-rtitle {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	color: #ffffff;
}

.jx-accordion-style-colorful .jx-raccord .jx-arrowDown {
	border-color: #764ba2 transparent transparent transparent;
}

.jx-accordion-style-colorful .jx-raccord .jx-rquestion.jx-active .jx-arrowDown {
	border-color: #f5576c transparent transparent transparent;
}

/* Gradient Style */
.jx-accordion-style-gradient .jx-raccord .jx-rtitle {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
}

.jx-accordion-style-gradient .jx-raccord .jx-rquestion.jx-active .jx-rtitle {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	color: #ffffff;
}

.jx-accordion-style-gradient .jx-raccord .jx-arrowDown {
	border-color: #764ba2 transparent transparent transparent;
}

.jx-accordion-style-gradient .jx-raccord .jx-rquestion.jx-active .jx-arrowDown {
	border-color: #f5576c transparent transparent transparent;
}

/* Rounded Style */
.jx-accordion-style-rounded .jx-raccord .jx-rtitle {
	background: #e9ecef;
	color: #495057;
	border-radius: 25px;
}

.jx-accordion-style-rounded .jx-raccord .jx-rquestion.jx-active .jx-rtitle {
	background: #28a745;
	color: #ffffff;
	border-radius: 25px;
}

.jx-accordion-style-rounded .jx-raccord .jx-arrowDown {
	border-color: #495057 transparent transparent transparent;
}

.jx-accordion-style-rounded .jx-raccord .jx-rquestion.jx-active .jx-arrowDown {
	border-color: #28a745 transparent transparent transparent;
}

/* Flat Style */
.jx-accordion-style-flat .jx-raccord .jx-rtitle {
	background: #6c757d;
	color: #ffffff;
	border-radius: 0;
	box-shadow: none;
}

.jx-accordion-style-flat .jx-raccord .jx-rquestion.jx-active .jx-rtitle {
	background: #495057;
	color: #ffffff;
}

.jx-accordion-style-flat .jx-raccord .jx-arrowDown {
	border-color: #6c757d transparent transparent transparent;
}

.jx-accordion-style-flat .jx-raccord .jx-rquestion.jx-active .jx-arrowDown {
	border-color: #495057 transparent transparent transparent;
}

/* Outline Style */
.jx-accordion-style-outline .jx-raccord .jx-rtitle {
	background: transparent;
	color: #495057;
	border: 2px solid #dee2e6;
}

.jx-accordion-style-outline .jx-raccord .jx-rquestion.jx-active .jx-rtitle {
	background: transparent;
	color: #007bff;
	border-color: #007bff;
	font-weight: 600;
}

.jx-accordion-style-outline .jx-raccord .jx-arrowDown {
	border-color: #dee2e6 transparent transparent transparent;
}

.jx-accordion-style-outline .jx-raccord .jx-rquestion.jx-active .jx-arrowDown {
	border-color: #007bff transparent transparent transparent;
}

/* Elegant Style */
.jx-accordion-style-elegant .jx-raccord .jx-rtitle {
	background: #ffffff;
	color: #2c3e50;
	border: 1px solid #ecf0f1;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.jx-accordion-style-elegant .jx-raccord .jx-rquestion.jx-active .jx-rtitle {
	background: #34495e;
	color: #ffffff;
	border-color: #34495e;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.jx-accordion-style-elegant .jx-raccord .jx-arrowDown {
	border-color: #ecf0f1 transparent transparent transparent;
}

.jx-accordion-style-elegant .jx-raccord .jx-rquestion.jx-active .jx-arrowDown {
	border-color: #34495e transparent transparent transparent;
}

/* Responsive Design */
@media (max-width: 768px) {
	.jx-raccord .jx-rtitle {
		padding: 12px 10px;
		font-size: 16px;
		gap: 10px;
	}

	.jx-ranswer {
		padding: 20px 15px;
	}
	
	.jx-racc-icon {
		font-size: 16px;
	}
}
