/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04);
	border-radius: 14px;
	border: none;
	overflow: hidden;
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	}
.leaflet-bar a {
	background-color: rgba(255,255,255,0.88);
	border-bottom: 1px solid rgba(0,0,0,0.05);
	width: 38px;
	height: 38px;
	line-height: 38px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: var(--site-foreground, #1a2744);
	font-size: 18px;
	font-weight: 300;
	transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: rgba(255,255,255,1);
	color: var(--site-accent, #c9a84c);
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 14px;
	border-top-right-radius: 14px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 14px;
	border-bottom-right-radius: 14px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 38px;
	height: 38px;
	line-height: 38px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 14px;
	border-top-right-radius: 14px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 14px;
	border-bottom-right-radius: 14px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font-size: 18px; font-weight: 300;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04) !important;
	background: rgba(255,255,255,0.92) !important;
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	border-radius: 14px !important;
	border: none !important;
	overflow: hidden !important;
	padding: 0 !important;
	margin-right: 12px !important;
	}
/* Collapsed: match zoom bar exactly */
.leaflet-control-layers:not(.leaflet-control-layers-expanded) {
	width: 38px !important;
	height: 38px !important;
	}
.leaflet-control-layers-expanded {
	width: auto !important;
	height: auto !important;
	padding: 10px 14px 10px 10px !important;
	}
.leaflet-control-layers-toggle {
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMWEyNzQ0IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTIiIGN5PSIxMiIgcj0iMTAiLz48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIzIi8+PGxpbmUgeDE9IjEyIiB5MT0iMiIgeDI9IjEyIiB5Mj0iNSIvPjxsaW5lIHgxPSIxMiIgeTE9IjE5IiB4Mj0iMTIiIHkyPSIyMiIvPjxsaW5lIHgxPSIyIiB5MT0iMTIiIHgyPSI1IiB5Mj0iMTIiLz48bGluZSB4MT0iMTkiIHkxPSIxMiIgeDI9IjIyIiB5Mj0iMTIiLz48L3N2Zz4=") !important;
	background-size: 20px 20px !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-color: rgba(255,255,255,0.88) !important;
	width: 38px !important;
	height: 38px !important;
	border-radius: 14px !important;
	cursor: pointer;
	transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	}
.leaflet-control-layers-toggle:hover {
	background-color: rgba(255,255,255,1) !important;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-size: 20px 20px !important;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 38px !important;
	height: 38px !important;
	}
.leaflet-control-layers .leaflet-control-layers-list {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 10px 14px 10px 10px;
	color: var(--site-foreground, #333);
	background: rgba(255,255,255,0.95);
	backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
	border-radius: 14px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: flex;
	align-items: center;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	padding: 4px 0;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(images/marker-icon.png);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	/* WCAG 2.5.5 hit-area boost: keep visual font-size small (attribution
	   spec requires unobtrusive copy) but expand the touch target so mobile
	   audits stop flagging the link. Vertical padding only — no layout shift. */
	display: inline-block;
	padding: 6px 2px;
	margin: -6px 0;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	/* WCAG 2.5.5 — bumped from 24px to 44px so the popup close meets the
	   minimum touch target without enlarging the visible glyph. */
	width: 44px;
	height: 44px;
	font: 16px/44px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}
.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
	-webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
	-moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
	-o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
	transition: transform 0.3s ease-out, opacity 0.3s ease-in;
}

.leaflet-cluster-spider-leg {
	/* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */
	-webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;
	-moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;
	-o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;
	transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
}
.marker-cluster-small {
	background-color: rgba(181, 226, 140, 0.6);
	}
.marker-cluster-small div {
	background-color: rgba(110, 204, 57, 0.6);
	}

.marker-cluster-medium {
	background-color: rgba(241, 211, 87, 0.6);
	}
.marker-cluster-medium div {
	background-color: rgba(240, 194, 12, 0.6);
	}

.marker-cluster-large {
	background-color: rgba(253, 156, 115, 0.6);
	}
.marker-cluster-large div {
	background-color: rgba(241, 128, 23, 0.6);
	}

	/* IE 6-8 fallback colors */
.leaflet-oldie .marker-cluster-small {
	background-color: rgb(181, 226, 140);
	}
.leaflet-oldie .marker-cluster-small div {
	background-color: rgb(110, 204, 57);
	}

.leaflet-oldie .marker-cluster-medium {
	background-color: rgb(241, 211, 87);
	}
.leaflet-oldie .marker-cluster-medium div {
	background-color: rgb(240, 194, 12);
	}

.leaflet-oldie .marker-cluster-large {
	background-color: rgb(253, 156, 115);
	}
.leaflet-oldie .marker-cluster-large div {
	background-color: rgb(241, 128, 23);
}

.marker-cluster {
	background-clip: padding-box;
	border-radius: 20px;
	}
.marker-cluster div {
	width: 30px;
	height: 30px;
	margin-left: 5px;
	margin-top: 5px;

	text-align: center;
	border-radius: 15px;
	font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
	}
.marker-cluster span {
	line-height: 30px;
	}
/* ══════════════════════════════════════════════════════════════════
   EVARA MAP THEME — appended to leaflet.css for CSP-safe loading
   ══════════════════════════════════════════════════════════════════ */

/* ── Loading skeleton ── */
.lm-skeleton { overflow: hidden; }
.lm-spinner-outer { animation: lm-spin 1.2s cubic-bezier(0.4,0,0.2,1) infinite; }
.lm-spinner-inner { animation: lm-spin 0.9s cubic-bezier(0.4,0,0.2,1) infinite reverse; }
@keyframes lm-spin { to { transform: rotate(360deg); } }

/* ══ Evara Modern Map Theme ══ */
/* Synced from LeafletMap.tsx — do not edit manually */

/* ── Marker pin ── */
.leaflet-marker-custom { background: none !important; border: none !important; }
.lm-pin {
  width: 36px; height: 46px; position: relative;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2));
}
.lm-pin:hover { transform: scale(1.18) translateY(-3px); filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25)); }
.lm-pin__body {
  position: absolute; top: 0; left: 50%; width: 30px; height: 30px;
  border-radius: 50% 50% 50% 0;
  transform: translateX(-50%) rotate(-45deg);
  border: 2.5px solid rgba(255,255,255,0.95);
  box-shadow: inset 0 -4px 8px rgba(0,0,0,0.1), inset 0 2px 4px rgba(255,255,255,0.2);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}
.lm-pin__dot {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px; border-radius: 50%; z-index: 1;
  box-shadow: 0 0 4px rgba(255,255,255,0.6);
}
.lm-pin__pulse {
  position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  animation: lm-pulse 2.5s ease-out infinite; opacity: 0; pointer-events: none;
}
@keyframes lm-pulse {
  0% { transform: translateX(-50%) scale(1); opacity: 0.35; background: var(--site-accent, #c9a84c); }
  100% { transform: translateX(-50%) scale(3.5); opacity: 0; background: var(--site-accent, #c9a84c); }
}
.lm-pin__shadow {
  position: absolute; bottom: -3px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 6px; border-radius: 50%;
  background: rgba(0,0,0,0.15); filter: blur(3px);
}

/* ── User dot ── */
.lm-user-dot {
  width: 20px; height: 20px; position: relative;
  background: #3b82f6; border-radius: 50%; border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(59,130,246,0.4);
}
.lm-user-dot__pulse {
  position: absolute; inset: -6px; border-radius: 50%; background: rgba(59,130,246,0.2);
  animation: lm-user-pulse 2s ease-out infinite;
}
@keyframes lm-user-pulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(2.5); opacity: 0; } }

/* ── Nearby places ── */
.lm-nearby {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; box-shadow: 0 2px 12px rgba(0,0,0,0.15); border: 2px solid rgba(255,255,255,0.9);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.lm-nearby:hover { transform: scale(1.1); }

/* Nearby pins — smaller version of main pin with SVG icon in dot */
.lm-pin--nearby { transform: scale(0.75); transform-origin: bottom center; }
.lm-pin--nearby .lm-pin__dot {
  width: 18px; height: 18px; display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 50%;
}
.lm-pin--nearby .lm-pin__dot svg { display: block; }
.lm-pin--nearby:hover { transform: scale(0.88); }

/* ── Cluster ── */
.lm-cluster { background: none !important; border: none !important; }
.lm-cluster__inner {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-weight: 800; font-size: 0.82rem;
  border: 3px solid rgba(255,255,255,0.85);
  box-shadow: 0 4px 16px rgba(26,39,68,0.35); transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.lm-cluster:hover .lm-cluster__inner { transform: scale(1.1); }
.lm-cluster--medium .lm-cluster__inner { width: 52px; height: 52px; font-size: 0.9rem; }
.lm-cluster--large .lm-cluster__inner { width: 60px; height: 60px; font-size: 1rem; }

/* ── Popup ── */
.leaflet-popup-content-wrapper {
  border-radius: 16px !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.06) !important;
  padding: 0 !important; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04) !important;
  background: rgba(255,255,255,0.98) !important;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.leaflet-popup-content { margin: 0 !important; min-width: 220px; max-width: 320px; }
.leaflet-popup-tip-container { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.06)); }
.leaflet-popup-tip { background: rgba(255,255,255,0.98) !important; }
.leaflet-popup-close-button {
  top: 10px !important; right: 10px !important; z-index: 2;
  width: 26px !important; height: 26px !important;
  font-size: 16px !important; line-height: 26px !important;
  color: var(--site-foreground, rgba(0,0,0,0.4)) !important; border-radius: 50% !important;
  background: color-mix(in srgb, var(--site-primary, #1a5c5e) 8%, transparent) !important;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  text-align: center !important;
}
.leaflet-popup-close-button:hover {
  background: color-mix(in srgb, var(--site-primary, #1a5c5e) 16%, transparent) !important;
  color: var(--site-primary, #1a5c5e) !important;
}
.lm-popup__img {
  width: 100%; height: 150px; background-size: cover; background-position: center;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.lm-popup__content { padding: 16px 20px 18px; }
.lm-popup__name {
  font-family: var(--site-font-heading, system-ui); font-size: 0.95rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--site-foreground, #1a2744); margin: 0 0 3px;
  line-height: 1.3;
}
.lm-popup__address {
  font-size: 0.78rem; color: var(--site-text-secondary, #64748b); margin: 0 0 8px;
  line-height: 1.5; opacity: 0.75;
}
.lm-popup__phone {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.78rem; font-weight: 600; color: var(--site-foreground, #1a2744);
  text-decoration: none; margin-bottom: 6px; transition: color 0.15s ease;
}
.lm-popup__phone:hover { color: var(--site-accent, #c9a84c); }
.lm-popup__hours {
  font-size: 0.72rem; color: var(--site-text-muted, #94a3b8);
  margin-bottom: 6px; letter-spacing: 0.01em;
}
.lm-popup__desc {
  font-size: 0.78rem; color: var(--site-text-secondary, #64748b);
  line-height: 1.5; margin-bottom: 10px; opacity: 0.85;
}
.lm-popup__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.lm-popup__btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 16px; border-radius: 10px; font-size: 0.76rem;
  font-weight: 600; text-decoration: none;
  transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), filter 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none; cursor: pointer; white-space: nowrap;
  letter-spacing: 0.01em;
}
.lm-popup__btn--primary {
  background: var(--site-primary, #1a2744); color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.lm-popup__btn--primary:hover { filter: brightness(1.12); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.18); }
.lm-popup__btn--outline {
  background: transparent; color: var(--site-foreground, #1a2744);
  border: 1.5px solid rgba(0,0,0,0.1);
}
.lm-popup__btn--outline:hover { border-color: var(--site-primary, #1a2744); background: rgba(26,39,68,0.03); }

/* ── Nearby popup override ── */
.lm-popup-nearby .leaflet-popup-content-wrapper { border-radius: 12px !important; }
.lm-popup-nearby .lm-popup__name { font-size: 0.85rem; }
.lm-popup-nearby .lm-popup__address { font-size: 0.72rem; opacity: 0.6; margin-bottom: 0; }

/* ── Controls ── */
.lm-ctrl { margin-bottom: 8px !important; }
.lm-ctrl__btn {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 12px; cursor: pointer;
  background: rgba(255,255,255,0.88); color: var(--site-foreground, #1a2744);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.lm-ctrl__btn:hover { background: rgba(255,255,255,1); color: var(--site-accent, #c9a84c); transform: scale(1.05); }
.lm-ctrl__btn:active { transform: scale(0.95); }
.lm-ctrl__btn--loading { animation: lm-spin 1s linear infinite; }
.lm-ctrl__btn--active { background: var(--site-accent, #c9a84c) !important; color: #fff !important; box-shadow: 0 4px 20px rgba(0,0,0,0.15), 0 0 20px var(--site-accent, rgba(201,168,76,0.2)) !important; }
.lm-dark-controls .lm-ctrl__btn { background: rgba(15,23,42,0.85); color: rgba(255,255,255,0.85); }
.lm-dark-controls .lm-ctrl__btn:hover { background: rgba(15,23,42,0.95); color: var(--site-accent, #c9a84c); }
@keyframes lm-spin { to { transform: rotate(360deg); } }

/* ── Search ── */
.lm-search { z-index: 1000; }
.lm-search__input {
  width: 220px; padding: 10px 14px; border: none; border-radius: 12px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04);
  font-size: 0.82rem; font-family: var(--site-font-body, system-ui);
  color: var(--site-foreground, #111827); outline: none;
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.lm-search__input:focus { background: rgba(255,255,255,0.98); box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 0 0 2px var(--site-accent, rgba(201,168,76,0.3)); width: 280px; }
.lm-search__input::placeholder { color: var(--site-text-muted, #94a3b8); }
.lm-dark-controls .lm-search__input { background: rgba(15,23,42,0.85); color: rgba(255,255,255,0.85); }
.lm-dark-controls .lm-search__input:focus { background: rgba(15,23,42,0.95); }
.lm-search__results {
  display: none; margin-top: 6px; background: rgba(255,255,255,0.98); border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14); overflow: hidden; max-height: 240px; overflow-y: auto;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.lm-search__item {
  display: block; width: 100%; padding: 10px 14px; border: none; background: none;
  text-align: left; font-size: 0.8rem; color: var(--site-foreground, #111827); cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,0.04); transition: background 0.15s ease;
}
.lm-search__item:hover { background: rgba(0,0,0,0.03); }
.lm-search__item:last-child { border-bottom: none; }
.lm-search__empty { padding: 14px; text-align: center; color: var(--site-text-muted, #94a3b8); font-size: 0.8rem; }

/* ── Zoom Controls ── */
.leaflet-control-zoom {
  border: none !important;
  border-radius: 14px !important;
  overflow: hidden;
  margin: 12px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04) !important;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.leaflet-control-zoom a {
  width: 38px !important; height: 38px !important; line-height: 38px !important;
  font-size: 18px !important; font-weight: 300 !important;
  color: var(--site-foreground, #1a2744) !important;
  background: rgba(255,255,255,0.88) !important;
  border: none !important;
  border-bottom: 1px solid rgba(0,0,0,0.05) !important;
  transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.leaflet-control-zoom a:hover {
  background: rgba(255,255,255,1) !important;
  color: var(--site-accent, #c9a84c) !important;
}
.leaflet-control-zoom a:last-child { border-bottom: none !important; }
.leaflet-touch .leaflet-control-zoom a {
  width: 42px !important; height: 42px !important; line-height: 42px !important;
  font-size: 20px !important;
}

/* ── Attribution — minimal, hidden until hover ── */
.leaflet-control-attribution {
  background: transparent !important;
  padding: 2px 6px !important;
  font-size: 9px !important;
  color: rgba(0,0,0,0.15) !important;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  border-radius: 6px !important;
}
.leaflet-control-attribution:hover {
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: rgba(0,0,0,0.4) !important;
}
.leaflet-control-attribution a { color: rgba(0,0,0,0.25) !important; text-decoration: none !important; }
.leaflet-control-attribution:hover a { color: rgba(0,0,0,0.5) !important; }
.leaflet-control-attribution .leaflet-attribution-flag { display: none !important; }

/* ── Scale — refined pill shape ── */
.leaflet-control-scale-line {
  border: none !important;
  border-bottom: 2px solid rgba(0,0,0,0.2) !important;
  background: rgba(255,255,255,0.6) !important;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 9px !important;
  font-weight: 500 !important;
  border-radius: 4px !important;
  padding: 2px 8px !important;
  color: rgba(0,0,0,0.35) !important;
}

/* ── High contrast ── */
.lm-high-contrast .lm-pin__body { border-width: 3px; }
.lm-high-contrast .leaflet-control-zoom a { font-weight: 900 !important; }
.lm-high-contrast .lm-popup__name { font-size: 1.1rem; }
.lm-high-contrast .lm-popup__address { font-size: 0.9rem; color: #111; }

/* ── Layer control ── */
.leaflet-control-layers {
  border: none !important;
  border-radius: 14px !important;
  padding: 10px 14px !important;
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04) !important;
}
.leaflet-control-layers label { font-size: 0.82rem; font-weight: 500; cursor: pointer; padding: 2px 0; }
.leaflet-control-layers-separator { border-color: rgba(0,0,0,0.06) !important; margin: 6px 0 !important; }

/* ── Dark tile controls ── */
.lm-dark-controls .leaflet-control-zoom a {
  background: rgba(15,23,42,0.85) !important;
  color: rgba(255,255,255,0.85) !important;
  border-bottom-color: rgba(255,255,255,0.06) !important;
}
.lm-dark-controls .leaflet-control-zoom a:hover {
  background: rgba(15,23,42,0.95) !important;
  color: var(--site-accent, #c9a84c) !important;
}
.lm-dark-controls .leaflet-control-attribution { color: rgba(255,255,255,0.15) !important; }
.lm-dark-controls .leaflet-control-attribution:hover { background: rgba(15,23,42,0.75) !important; color: rgba(255,255,255,0.4) !important; }
.lm-dark-controls .leaflet-control-scale-line {
  background: rgba(15,23,42,0.5) !important;
  border-bottom-color: rgba(255,255,255,0.25) !important;
  color: rgba(255,255,255,0.4) !important;
}
.lm-dark-controls .leaflet-control-layers {
  background: rgba(15,23,42,0.88) !important;
  color: rgba(255,255,255,0.85) !important;
}
.lm-dark-controls .leaflet-control-layers label { color: rgba(255,255,255,0.75); }

/* ── Cooperative gesture hint overlay (Group D, Issue 14) ──
   Surfaced when a one-finger drag is attempted on mobile, or a bare wheel
   over the map on desktop. Auto-dismisses after ~1.8s via React state. */
.lm-coop-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.32);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  color: #fff;
  font-family: var(--site-font-body, system-ui, -apple-system, sans-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 0 24px;
  animation: lm-coop-hint-fade 1.8s ease forwards;
}
.lm-coop-hint::before {
  content: '';
  position: absolute;
  inset: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.72);
  z-index: -1;
  filter: blur(36px);
}
@keyframes lm-coop-hint-fade {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lm-coop-hint {
    animation: none;
    opacity: 0.95;
  }
}
