/* Dashboard Container */
#scroller-dashboard-root {
	width: 100%;
	min-width: 450px;
	max-width: 900px;
	margin: 0 auto;
	aspect-ratio: 700 / 445;
	/* Rapporto richiesto */
	background: linear-gradient(145deg, #0a0a0a, #111);
	border-radius: 24px;
	padding: 20px;
	box-shadow:
		0 30px 80px rgba(0, 0, 0, 0.7),
		0 0 40px rgba(238, 125, 52, 0.08);
	border: 1px solid rgba(238, 125, 52, 0.15);
	position: relative;
	overflow: hidden;
}

/* Grid Layout: Controlli a sinistra (150px) + Grafico a destra */
.dash-grid {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 14px;
	height: 100%;
}

/* Pannello Controlli */
.dash-controls {
	display: flex;
	flex-direction: column;
	gap: 10px;
	overflow-y: auto;
	padding-right: 6px;
	justify-content: center;
}

.dash-controls::-webkit-scrollbar {
	width: 3px;
}

.dash-controls::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.03);
	border-radius: 3px;
}

.dash-controls::-webkit-scrollbar-thumb {
	background: rgba(238, 125, 52, 0.3);
	border-radius: 3px;
}

.ctrl-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 10px;
	padding: 10px;
}

.ctrl-label {
	font-family: 'Commissioner', sans-serif;
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 6px;
	display: flex;
	justify-content: space-between;
}

.ctrl-value {
	color: #EE7D34;
	font-weight: 600;
	font-size: 10px;
}

.ctrl-card input[type="range"] {
	width: 100%;
	height: 3px;
	accent-color: #EE7D34;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 2px;
}

/* Pannello Grafico */
.dash-chart-panel {
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 16px;
	padding: 14px;
	display: flex;
	flex-direction: column;
}

.dash-chart-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-chart-title {
	font-family: 'Commissioner', sans-serif;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: rgba(255, 255, 255, 0.6);
}

.dash-badge {
	font-size: 9px;
	padding: 3px 8px;
	background: rgba(238, 125, 52, 0.1);
	border: 1px solid rgba(238, 125, 52, 0.3);
	border-radius: 10px;
	color: #EE7D34;
	font-weight: 600;
	letter-spacing: 0.8px;
}

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

/* Responsive */
@media (max-width: 1200px) {
	#scroller-dashboard-root {
		min-width: 100%;
		aspect-ratio: 4 / 3;
	}

	.dash-grid {
		grid-template-columns: 1fr;
		grid-template-rows: auto 1fr;
	}

	.dash-controls {
		flex-direction: row;
		overflow-x: auto;
		overflow-y: visible;
	}

	.ctrl-card {
		min-width: 140px;
	}
}

.business-right-shape.chart-divd3 {
	display: flex !important;
}

/* Grafico 3D Homepage */
#scroller-3d-root {
	width: 100%;
	min-width: 450px;
	max-width: 900px;
	margin: 0 auto;
	aspect-ratio: 700 / 445;
	background: linear-gradient(145deg, #0a0a0a, #111);
	border-radius: 24px;
	padding: 20px;
	box-shadow:
		0 30px 80px rgba(0, 0, 0, 0.7),
		0 0 40px rgba(238, 125, 52, 0.08);
	border: 1px solid rgba(238, 125, 52, 0.15);
	position: relative;
	overflow: hidden;
}

.chart-3d-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-3d-title {
	font-family: 'Commissioner', sans-serif;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: rgba(255, 255, 255, 0.6);
}

.chart-3d-badge {
	font-size: 9px;
	padding: 4px 10px;
	background: rgba(238, 125, 52, 0.1);
	border: 1px solid rgba(238, 125, 52, 0.3);
	border-radius: 12px;
	color: #EE7D34;
	font-weight: 600;
	letter-spacing: 0.8px;
}

#main-chart-3d {
	width: 100%;
	height: calc(100% - 50px);
}

@media (max-width: 1200px) {
	#scroller-3d-root {
		min-width: 100%;
		aspect-ratio: 4 / 3;
	}
}