.animated-chart-container {
	font-family: 'Montserrat', sans-serif;
	margin-bottom: 30px;
}

.chart-header {
	margin-bottom: 15px;
	text-align: center;
}

.chart-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.chart-body {
	margin-bottom: 15px;
}

.chart-canvas-wrapper {
	position: relative;
	height: 400px;
	margin-bottom: 15px;
}

.chart-legends {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 10px;
}

.chart-legend-item {
	display: flex;
	align-items: center;
	cursor: pointer;
	padding: 5px 10px;
	border-radius: 4px;
	transition: all 0.2s ease;
	background-color: rgba(0, 0, 0, 0.05);
}

.chart-legend-item.active {
	background-color: rgba(0, 0, 0, 0.1);
}

.chart-legend-item:not(.active) {
	opacity: 0.6;
}

.chart-legend-item:not(.active) .legend-color {
	opacity: 0.5;
}

.chart-legend-item:not(.active)::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 2px;
	background-color: #999;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	opacity: 0.5;
}

.legend-color {
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 3px;
	margin-right: 8px;
}

.legend-label {
	font-size: 14px;
	color: #333;
}

.chart-footer {
	font-size: 14px;
}

.chart-description {
	margin-bottom: 8px;
	line-height: 1.5;
	color: #333;
}

.chart-source {
	font-size: 12px;
	color: #666;
	font-style: italic;
}

/* Mobile adjustments */
@media screen and (max-width: 767px) {
	.chart-title {
		font-size: 16px;
	}

	.chart-canvas-wrapper {
		height: 300px;
	}

	.chart-legend-item {
		padding: 4px 8px;
	}

	.legend-color {
		width: 12px;
		height: 12px;
		margin-right: 6px;
	}

	.legend-label {
		font-size: 12px;
	}

	.chart-description {
		font-size: 12px;
	}

	.chart-source {
		font-size: 10px;
	}
}
