/*
* MAP CSS V2
* Last update: 23.6.25
*/

/* global */
html,
body {
	margin: 0;
	padding: 0;
}
#map {
	height: 100vh;
	height: 100dvh;
	width: 100vw;
	margin: 0;
	padding: 0;
}
.leaflet-container {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
}

/* controls */
.leaflet-top {
	top: 55px;
}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 1px solid #dddddd;
	border-radius: 0.4rem;
	overflow: hidden;
}
.leaflet-bar a {
  color: #232323;
}
.leaflet-retina .leaflet-control-layers-toggle {
  background-image: url(../images/layers.svg);
}
.leaflet-control-layers-base,
.leaflet-control-layers-overlays {
	padding: 0.5rem;
}
section.leaflet-control-layers-list {
	padding-top: 0;
	padding-bottom: 0;
}


/* cluster */
.marker-cluster div {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
}
.marker-cluster-small {
	background-color: rgba(212, 244, 252, 0.3);
}
.marker-cluster-small div {
	background-color: rgba(212, 244, 252, 0.6);
}
.marker-cluster-medium {
	background-color: rgba(212, 244, 252, 0.3);
}
.marker-cluster-medium div {
	background-color: rgba(212, 244, 252, 0.6);
}

/* popup */
.leaflet-container a.leaflet-popup-close-button {
	font-family: 'Inter', sans-serif;
	font-size: 1.2rem;
  color: #232323;
  font-weight: 500;
}
.leaflet-popup-content-wrapper {
  padding: 0;
  overflow: hidden;
  border-radius: 0.4rem;
}
.leaflet-popup-content {
	margin: 0;
	padding: 1rem;
  color: #232323;
  font-size: 0.9rem;
}
.leaflet-popup-content .popup-cat {
	color: #878787;
  font-weight: 500;
	line-height: 1;
  margin: 0 0 0.8rem 0;
}
.label-cat {
  display: inline-block;
  margin: 0 0.3rem 0 0;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  vertical-align: top;
}

.leaflet-popup-content .popup-title {
	font-size: 1rem;
  font-weight: 700;
  margin: 0;
}
.leaflet-popup-content .popup-adress {
	margin: 0.8rem 0 0 0;
	padding: 0;
	line-height: 1.3;
	font-weight: 400;
}
.leaflet-popup-content .popup-more a {
	display:inline-block;
	margin: 0.8rem 0 0 0;
	color: #ffffff;
	padding: 0.3rem 0.5rem;
	border-radius: 0.2rem;
	text-decoration: none;
	font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04rem;
}

/* error locate */
#geo-error {
  display: none;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 9999;
  background: #cd1719;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  font-family: sans-serif;
  font-size: 0.9em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}