html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
}

#map {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;
}
.marker {
	background-image: url("https://docs.mapbox.com/help/demos/custom-markers-gl-js/mapbox-icon.png");
	background-size: cover;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
}
.marker:hover {
	transform: scale(1.2);
}

/* Apple inspired popup styling */
.mapboxgl-popup {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
		Arial, sans-serif;
}

.mapboxgl-popup-content {
	background: rgba(255, 255, 255, 0.9);
	border-radius: 12px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	padding: 10px;
	color: #333;
	width: 280px;
}

.mapboxgl-popup-close-button {
	font-size: 20px;
	top: 4px;
	right: 4px;
}

.chart-title {
	margin: 6px 0 2px;
	font-size: 12px;
	color: #555;
}

.mapboxgl-popup-content canvas {
	display: block;
	margin: 4px auto 8px;
}

.chart-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 4px;
}

.chart-grid canvas {
	width: 120px;
	height: 70px;
}
