.mlm-map-container {
	width: 100%;
	height: 500px;
	position: relative;
	background: #eef1f4;
}

.mlm-map-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: #6d7882;
	font-size: 14px;
	text-align: center;
	padding: 20px;
	box-sizing: border-box;
}

/* Wrapper keeps a fixed 26x26 box so MapLibre's anchor math stays accurate;
   the label is absolutely positioned so it doesn't shift the pin tip. */
.mlm-marker-wrap {
	width: 26px;
	height: 26px;
	position: relative;
}

/* Custom marker (drop pin) */
.mlm-marker {
	--mlm-marker-color: #E53935;
	width: 26px;
	height: 26px;
	cursor: pointer;
	position: absolute;
	left: 0;
	top: 0;
}

.mlm-marker-label {
	position: absolute;
	left: 32px;
	top: 3px;
	white-space: nowrap;
	background: #fff;
	color: #222;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	padding: 3px 8px;
	border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.25);
	pointer-events: none;
}

.mlm-marker-label::before {
	content: '';
	position: absolute;
	left: -4px;
	top: 50%;
	transform: translateY(-50%);
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-right: 4px solid #fff;
}

.mlm-marker::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 26px;
	height: 26px;
	background: var(--mlm-marker-color);
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	box-shadow: 0 2px 4px rgba(0,0,0,0.4);
	border: 2px solid #fff;
}

.mlm-marker::after {
	content: '';
	position: absolute;
	left: 9px;
	top: 9px;
	width: 8px;
	height: 8px;
	background: #fff;
	border-radius: 50%;
}

.mlm-marker:hover::before {
	filter: brightness(1.1);
}

/* Popups */
.maplibregl-popup-content {
	padding: 12px 14px;
	border-radius: 6px;
	font-family: inherit;
}

.mlm-popup-title {
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 4px;
	color: #222;
}

.mlm-popup-body {
	font-size: 13px;
	color: #444;
	line-height: 1.5;
}

.mlm-map-editor-preview {
	min-height: 300px;
}
