/* === Map container === */
.akosm-map-container {
	width: 100%;
	position: relative;
	overflow: hidden;
	background: #e8e8e8;
	box-shadow: 0 6px 32px rgba(0, 0, 0, 0.13), 0 1px 6px rgba(0, 0, 0, 0.07);
	display: block;
}

/* Fade-in when tiles load */
.akosm-map-container .leaflet-tile-pane {
	animation: akosmFadeIn 0.4s ease;
}
@keyframes akosmFadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* === Zoom control === */
.akosm-map-container .leaflet-control-zoom {
	border: none !important;
	border-radius: 10px !important;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.16) !important;
	overflow: hidden;
}
.akosm-map-container .leaflet-control-zoom a {
	width: 34px !important;
	height: 34px !important;
	line-height: 34px !important;
	color: #2c3338;
	background: rgba(255, 255, 255, 0.96);
	font-size: 18px;
	font-weight: 300;
	border: none !important;
	text-decoration: none;
	transition: background 0.15s;
}
.akosm-map-container .leaflet-control-zoom a:hover {
	background: #f8f8f8;
	color: #000;
}
.akosm-map-container .leaflet-control-zoom-in {
	border-bottom: 1px solid #e8e8e8 !important;
}

/* === Layer control === */
.akosm-map-container .leaflet-control-layers {
	border: none !important;
	border-radius: 10px !important;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.16) !important;
	background: rgba(255, 255, 255, 0.96) !important;
	padding: 0 !important;
	font-size: 13px;
}
.akosm-map-container .leaflet-control-layers-toggle {
	width: 34px !important;
	height: 34px !important;
	background-color: transparent;
	background-image: none !important;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}
.akosm-map-container .leaflet-control-layers-toggle::after {
	content: '⊞';
	color: #444;
	font-size: 18px;
	line-height: 1;
}
.akosm-map-container .leaflet-control-layers-expanded {
	padding: 10px 14px !important;
	min-width: 120px;
}
.akosm-map-container .leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
}
.akosm-map-container .leaflet-control-layers label {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px 0;
	cursor: pointer;
	color: #2c3338;
	font-size: 13px;
}
.akosm-map-container .leaflet-control-layers input[type="radio"] {
	accent-color: #f89848;
}

/* === Popup === */
.akosm-map-container .leaflet-popup-content-wrapper {
	border-radius: 12px !important;
	box-shadow: 0 6px 28px rgba(0, 0, 0, 0.16) !important;
	padding: 0 !important;
	overflow: hidden;
	border: none !important;
}
.akosm-map-container .leaflet-popup-content {
	margin: 0 !important;
}
.akosm-map-container .leaflet-popup-close-button {
	top: 8px !important;
	right: 10px !important;
	color: #999 !important;
	font-size: 18px !important;
	font-weight: 300 !important;
}
.akosm-map-container .leaflet-popup-tip-container {
	margin-top: -1px;
}
.akosm-map-container .leaflet-popup-tip {
	box-shadow: none;
}

/* Popup content */
.akosm-popup {
	font-family: inherit;
	padding: 16px 20px 14px;
	min-width: 160px;
	max-width: 260px;
	box-sizing: border-box;
}
.akosm-popup-title {
	font-weight: 700;
	font-size: 14px;
	color: #1a1a1a;
	margin-bottom: 6px;
	line-height: 1.3;
}
.akosm-popup-body {
	font-size: 13px;
	color: #555;
	line-height: 1.6;
}

/* === Attribution === */
.akosm-map-container .leaflet-control-attribution {
	font-size: 10px !important;
	background: rgba(255, 255, 255, 0.72) !important;
	backdrop-filter: blur(4px);
	padding: 2px 7px !important;
	border-radius: 6px 0 0 0 !important;
	color: #666 !important;
}
.akosm-map-container .leaflet-control-attribution a {
	color: #888 !important;
}

/* === Custom marker icon === */
.akosm-marker-icon {
	background: none !important;
	border: none !important;
	outline: none !important;
}

/* === Shortcode title === */
.akosm-sc-title {
	margin-bottom: 0.6em;
}
