/**
 * Elementor Bar Chart Widget - Chart.js container
 */

.e-bar-chart.e-bar-chart--chartjs {
	width: 100%;
	max-width: 100%;
}

.e-bar-chart__chart-wrap {
	position: relative;
	width: 100%;
	min-height: 280px;
}

.e-bar-chart__chart-wrap .e-bar-chart__hover-label-wrap {
	position: absolute;
}

.elementor-widget-bar-chart .e-bar-chart {
	box-sizing: border-box;
}

.elementor-widget-bar-chart .e-bar-chart *,
.elementor-widget-bar-chart .e-bar-chart *::before,
.elementor-widget-bar-chart .e-bar-chart *::after {
	box-sizing: border-box;
}

/* Single X-axis baseline: hide the second-last grid border (plot bottom line) so only the axis border shows */
.elementor-widget-bar-chart .e-bar-chart__chart-wrap .apexcharts-grid-borders .apexcharts-gridline:nth-last-child(2) {
	stroke: none;
	display: none;
}

/* Prevent vertical grid lines from crossing below the plot area */
.elementor-widget-bar-chart .e-bar-chart__chart-wrap .apexcharts-gridlines-vertical .apexcharts-gridline {
	stroke: none;
}
