/* Boinx Customer Map
   Same visual language as the Partner Map on /pricing: identical land gradient,
   coastline stroke and green pin colour, on a transparent background so the
   page's own dark section shows through.

   EVERY component rule is scoped under `.bxcm` on purpose. Elementor kits emit
   element rules like `.elementor-kit-8 button { … }` at specificity 0,1,1,
   which beats a bare class at 0,1,0 - the zoom buttons would render as solid
   green kit buttons without the prefix. Do not simplify the prefixes away. */

.bxcm {
	--bxcm-card: #1c231d;
	--bxcm-line: rgba(255, 255, 255, .09);
	--bxcm-green: #3ddc84;
	--bxcm-ink: #f2f6f2;
	--bxcm-mut: #9fb0a3;

	position: relative;
	box-sizing: border-box;
	width: 100%;
	background: transparent;
}

.bxcm *,
.bxcm *::before,
.bxcm *::after {
	box-sizing: border-box;
}

.bxcm [hidden] {
	display: none !important;
}

/* ---------------------------------------------------------------------- map */

.bxcm .bxcm-mapwrap {
	position: relative;
	overflow: hidden;
	/* Two-finger gestures are handled in JS; one finger keeps scrolling the page. */
	touch-action: pan-y;
	-webkit-user-select: none;
	user-select: none;
}

.bxcm .bxcm-mapwrap:focus {
	outline: none;
}

.bxcm .bxcm-mapwrap:focus-visible {
	outline: 2px solid rgba(61, 220, 132, .6);
	outline-offset: 4px;
	border-radius: 8px;
}

.bxcm .bxcm-mapwrap.is-zoomed {
	cursor: grab;
}

.bxcm .bxcm-mapwrap.is-zoomed:active {
	cursor: grabbing;
}

.bxcm .bxcm-map {
	display: block;
	width: 100%;
	height: auto;
}

.bxcm .bxcm-land {
	stroke: rgba(122, 220, 160, .34);
	stroke-width: .7;
	vector-effect: non-scaling-stroke;
}

.bxcm .bxcm-borders {
	fill: none;
	stroke: rgba(122, 220, 160, .45);
	stroke-width: .8;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
	opacity: 0;
	pointer-events: none;
}

.bxcm .bxcm-labels text {
	fill: #cfe0d3;
	font-weight: 600;
	letter-spacing: .02em;
	paint-order: stroke fill;
	stroke: rgba(12, 17, 13, .8);
	stroke-linejoin: round;
	pointer-events: none;
}

.bxcm .bxcm-halos {
	opacity: .35;
	pointer-events: none;
}

.bxcm .bxcm-dots circle {
	fill: var(--bxcm-green);
	stroke: #0c110d;
	stroke-width: .6;
	cursor: pointer;
	transition: fill .15s ease;
}

.bxcm .bxcm-dots circle:hover,
.bxcm .bxcm-dots circle.is-sel {
	fill: #fff;
}

/* ----------------------------------------------------------------- controls */

.bxcm .bxcm-controls {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* Beats `.elementor-kit-8 button`, which would otherwise paint these solid
   green with the kit's padding and radius. */
.bxcm .bxcm-zbtn {
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid var(--bxcm-line);
	border-radius: 8px;
	background: var(--bxcm-card);
	color: #cfe0d3;
	font: inherit;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: border-color .15s ease, color .15s ease;
}

.bxcm .bxcm-zbtn:hover,
.bxcm .bxcm-zbtn:focus {
	background: var(--bxcm-card);
	border-color: rgba(61, 220, 132, .55);
	color: #fff;
}

.bxcm .bxcm-zbtn--reset {
	font-size: 15px;
}

/* ------------------------------------------------------------------ overlay */

.bxcm .bxcm-pop {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	gap: 1px;
	max-width: 240px;
	padding: 9px 13px;
	border: 1px solid var(--bxcm-line);
	border-radius: 10px;
	background: var(--bxcm-card);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
	pointer-events: none;
	z-index: 2;
}

.bxcm .bxcm-pop strong {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--bxcm-ink);
	white-space: nowrap;
}

.bxcm .bxcm-pop span {
	font-size: 12.5px;
	line-height: 1.35;
	color: var(--bxcm-mut);
	white-space: nowrap;
}

/* --------------------------------------------------------------------- hint */

.bxcm .bxcm-hint {
	position: absolute;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%);
	padding: 8px 14px;
	border-radius: 99px;
	background: rgba(12, 17, 13, .85);
	color: #cfe0d3;
	font-size: 12.5px;
	line-height: 1.3;
	white-space: nowrap;
	opacity: 0;
	transition: opacity .25s ease;
	pointer-events: none;
	z-index: 2;
}

.bxcm .bxcm-hint.is-on {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.bxcm .bxcm-hint,
	.bxcm .bxcm-dots circle,
	.bxcm .bxcm-zbtn {
		transition: none;
	}
}
