/* Service Area Map — frontend styles */

.sam-map-container {
	position: relative;
	width: 100%;
	min-height: 300px;
	border-radius: 8px;
	overflow: hidden;
	background: #f4f6f8;
}

.sam-map-container .sam-map {
	width: 100%;
	height: 100%;
}

.sam-map-container .leaflet-container {
	font-family: inherit;
	background: #f4f6f8;
}

.sam-map-container .sam-legend {
	position: absolute;
	bottom: 12px;
	left: 12px;
	background: rgba(255, 255, 255, 0.95);
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.3;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	z-index: 1000;
	max-width: calc(100% - 24px);
}

.sam-map-container .sam-legend strong {
	display: block;
	font-size: 14px;
	margin-bottom: 2px;
}

.sam-map-container .sam-legend .sam-count {
	color: #555;
}

.sam-map-container .sam-admin-notice {
	position: absolute;
	top: 12px;
	left: 12px;
	right: 12px;
	background: #fff4e5;
	color: #6b4200;
	border: 1px solid #f0c674;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 12px;
	z-index: 1000;
}

.sam-marker {
	background: transparent !important;
	border: 0 !important;
	pointer-events: none;
}

.sam-marker-lottie {
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.sam-pin {
	display: block;
	width: 24px;
	height: 32px;
	margin: auto;
	background: var(--sam-pin-color, #2563eb);
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg) translate(-50%, -30%);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	position: relative;
}

.sam-pin::after {
	content: '';
	position: absolute;
	top: 7px;
	left: 7px;
	width: 10px;
	height: 10px;
	background: #fff;
	border-radius: 50%;
}

.sam-map-container .leaflet-popup-content {
	font-size: 13px;
	margin: 8px 12px;
}
