.highcharts-credits {
	display: none;
}

g[class^='raphael-group-'][class$='-creditgroup'] {
	display: none !important;
}

[pointer-events="bounding-box"] {
	display: none
}

.amcharts-credits {
	display: none !important;
}

#hsTablePopup {
	position: absolute;
	display: none;
	z-index: 1000;
	background: white;
	border: 1px solid #ccc;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
}

#hsTablePopup thead {
	background: #007bff;
	color: #fff;
	text-align: center;
	font-weight: 600;
}

.close-header {
	display: flex;
	justify-content: flex-end;
	padding: 5px 8px 0px 8px;
}

#closeHsPopup {
	background: none;
	color: black;
	border: none;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	margin: 0;
}

/* --- RESPONSIVE CSS START --- */

/* Mobile Toggle Button */
.mobile-toggle-btn {
	display: none; /* Hidden on desktop */
	position: fixed;
	top: 15px;
	left: 15px;
	z-index: 1030;
	background-color: #203548;
	color: #fff;
	border: none;
	border-radius: 5px;
	padding: 10px 15px;
	font-size: 18px;
	cursor: pointer;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Sidebar Overlay */
.sidebar-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1040;
	backdrop-filter: blur(2px);
}

/* Media Queries for Mobile/Tablet */
@media ( max-width : 991px) {
	.mobile-toggle-btn {
		display: block;
	}

	/* Sidebar defaults to hidden off-screen */
	#sidebar {
		position: fixed;
		top: 0;
		left: -280px;
		height: 100vh;
		width: 260px;
		z-index: 1050;
		transition: left 0.3s ease-in-out;
		overflow-y: auto;
		background-color: #203548 !important;
	}
	#sidebar.active {
		left: 0;
	}
	.sidebar-overlay.active {
		display: block;
	}

	/* Main Panel takes full width */
	.main-panel {
		width: 100% !important;
		margin-left: 0 !important;
		padding-top: 60px; /* Space for toggle button */
	}

	/* Adjust Stat Cards spacing */
	.col-md-2, .col-md-3 {
		margin-bottom: 15px;
	}

	/* Ensure charts don't overflow */
	#linechartdiv, #bubbles, #singleCommodityChart {
		width: 100% !important;
		overflow: hidden;
	}
}

.chart-scroll-wrapper {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch; /* Smooth scroll on iPhone */
}

.chart-scroll-wrapper>div {
	min-width: 900px; /* Wider than mobile screen */
}

/* --- RESPONSIVE CSS END --- */

/* --- CSP remediation: classes replacing removed inline styles --- */
.year-select-hidden {
	display: none;
}

.hsbtngrp-hidden {
	display: none;
}

.stat-highlight-lg {
	font-weight: bold;
	font-size: 1.3rem;
}

.stat-code-sm {
	font-size: 0.7rem;
}

.stat-value-hl {
	font-weight: bold;
	color: darkblue;
	font-size: large;
}

.note-blue {
	color: blue;
}

.search-query-select {
	width: 30%;
}

.main-panel-auto {
	margin-left: auto;
}

/* ---- CSP remediation: additional classes ---- */
.sidebar-bg-dark {
	background-color: #203548;
}

.radio-label-spaced {
	margin-left: 20px;
}