/* Themes Page Styles */
.themes-content-wrapper {
	display: flex;
	gap: 2rem;
	margin-top: 2rem;
}

.themes-main-content {
	flex: 1;
	min-width: 0; /* Prevent flex item from overflowing */
}

.charts-wrapper {
	display: flex;
	gap: 2rem;
	margin-bottom: 2rem;
	align-items: flex-start;
}

.themes-sidebar {
	width: 400px;
	flex-shrink: 0;
}

.chart-container {
	background: #fff;
	border-radius: 8px;
	padding: 1.5rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	flex: 1 1 0;
	min-width: 0;
	height: 500px;
	display: flex;
	flex-direction: column;
}

.chart-container:first-child {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.chart-container:first-child canvas {
	max-width: 400px;
	max-height: 400px;
	width: 100% !important;
	height: auto !important;
}

.chart-container h3 {
	margin: 0 0 1rem 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: #333;
	flex-shrink: 0;
	text-align: center;
}

.chart-container canvas {
	flex: 1;
	min-height: 0;
}

#themes-chart {
	padding: 20px;
}

#themes-bar-chart {
	width: 100% !important;
	height: 100% !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.charts-wrapper {
		flex-direction: column;
	}
	
	.chart-container {
		width: 100%;
		max-width: none;
	}



/* DataTables Styling for Themes Page */
.themes-table-container {
	background: #fff;
	border-radius: 8px;
	padding: 1.5rem 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
