main {
	display: flex;
	flex-direction: column;
}

.map-tittle-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 22px 30px 0 30px;
}

.map-title {
	font-family: "Lato", sans-serif;
	text-transform: uppercase;
	font-size: 18px;
	font-weight: normal;
	text-align: center;
	margin: 2px 0 0 0;
	color: #3CC0B1;
}

.map-scale {
	display: flex;
	margin-top: 5px;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.map-scale p {
	font-family: "Lato", sans-serif;
	font-size: 12px;
	color: #555;
}

.scale-bar {
	width: 160px;
	height: 20px;
	background: linear-gradient(90deg,
	  rgba(216, 243, 240, 1) 0%,
	  rgba(216, 243, 240, 1) 20%,
	  rgba(138, 218, 208, 1) 20%,
	  rgba(138, 218, 208, 1) 40%,
	  rgba(60, 192, 177, 1) 40%,
	  rgba(60, 192, 177, 1) 60%,
	  rgba(45, 120, 111, 1) 60%,
	  rgba(45, 120, 111, 1) 80%,
	  rgba(30, 96, 89, 1) 80%,
	  rgba(30, 96, 89, 1) 100%
	);
}

#map {
	bottom: 25px;
	width: 100%;
	height: 700px;
}

@media (max-width: 768px) {
	#map {
    height: 500px;
  }
}

.map-filter-container,
.map-ui-container {
	pointer-events: auto !important;
	touch-action: auto !important;
}

.map-ui-container {
    display: flex;
    position: relative;
    flex-direction: row;
    align-items: center;
    align-self: center;
    justify-content: center;
    z-index: 10;
    gap: 12px;
    margin: 10px 0 0;
    width: 100%;
}

.map-label-container {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px 0px;
	width: 130px;
	border-radius: 50px;
	margin-bottom: 12px;
	background-color: #f3fbfa;
	filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.2));
}

.map-label-container p {
	font-family: "Lato", sans-serif;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: bold;
	margin: 2px 0 0 0;
	color: #3CC0B1;
}

.map-search-input {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 6px 8px;
    width: 160px;
    border-radius: 50px;
    margin-bottom: 12px;
    background-color: #f3fbfa;
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.2));
}

#search-btn {
	background: none;
	border: none;
	height: 20px;
}

.search-container input {
	background: none;
	border: none;
	width: 100%;
}

.input-line {
    position: relative;
    top: 1px;
    width: 90%;
    border-bottom: solid 1px #309c8f;
}

.map-search-results {
    position: absolute;
    width: 176px;
    max-height: 160px;
	border-radius: 6px;
    overflow-y: scroll;
    top: 40px;
}

.results-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 6px 0;
    width: 100%;
    background-color: #f3fbfa;
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.2));
}

.results-container ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.results-container ul > li::marker {
	content: '';
}

.results-container ul > li {
    padding: 8px 12px;
    width: -webkit-fill-available;
    font-family: "Lato", sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 400;
    color: #333;
}

.results-container ul > li:hover {
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0.05);
}

.map-slider-container {
	display: flex;
	flex-direction: row;
	min-width: 350px;
	max-width: 625px;
	width: 40%;
	align-items: center;
	justify-content: center;
	gap: 10px;
	z-index: 10;
}

.map-play-button {
	width: 32px;
	height: 32px;
	padding: 0;
	border-radius: 50px;
	background: #3CC0B1;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(60, 192, 177, 0.3);
}

.map-play-button:hover {
	background: #35a89b;
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(60, 192, 177, 0.4);
}

.map-play-button:active {
	transform: scale(0.95);
}

.map-slider-container input[type="range"] {
	width: 90%;
	-webkit-appearance: none;
	appearance: none;
	height: 6px;
	border-radius: 3px;
	background: #f3fbfa; /* Fallback */
	filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.2));
}

.map-slider-container input[type="range"]::-webkit-slider-runnable-track {
	background: transparent;
	border: none;
}

	.map-slider-container input[type="range"]::-moz-range-track {
	background: transparent;
	border: none;
}

.map-slider-container input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	background: #3CC0B1;
	border-radius: 50%;
	cursor: pointer;
}

.map-slider-container input[type="range"]::-moz-range-thumb {
	width: 16px;
	height: 16px;
	background: #3CC0B1;
	border-radius: 50%;
	cursor: pointer;
	border: none;
}

.map-filter-container {
	display: flex;
	flex-direction: column;
	align-self: center;
	align-items: center;
	width: 450px;
	padding: 18px 20px 22px;
	border-radius: 10px;
	background-color: #f3fbfa;
	filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.2));
	margin-top: -15px;
}

@media (max-width: 768px) {
	.map-filter-container {
    width: 90%;
  }
}

.data-filter-container {
	display: flex;
	flex-direction: row;
	gap: 10px;
}

.data-filter {
	z-index: 20;
	background-color: transparent;
	padding: 0px 6px;
	padding-bottom: 4px;
	margin-top: 0px;
	border: none;
	border-bottom: solid 2px #aeaeae;
	color: #aeaeae;
	cursor: pointer;
	transition: translate 0.2s ease, padding-bottom 0.2s ease, margin-top 0.2s ease;
	pointer-events: auto;
	touch-action: manipulation;
}

.data-filter:hover {
	border-bottom: solid 2px #b1e7e1;
	color: #b1e7e1;
	padding-bottom: 6px;
	margin-top: -2px;
}

.data-filter:active {
	translate: 0px -8px;
}

.selected {
	border-bottom: solid 2px #309c8f;
	color: #309c8f;
}

.selected:hover {
	border-bottom: solid 2px #309c8f;
	color: #309c8f;
}

@media (max-width: 768px) {
	.data-filter {
		padding: 0 15px;
		padding-bottom: 10px;
		padding-top: 20px;
		margin-top: -20px;
	}

	.data-filter:hover {
		padding-bottom: 10px;
		margin-top: -20px;
	}

	.data-filter:active {
		translate: 0px 0px;
	}
}

.data-filter p {
	font-family: "Lato", sans-serif;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: normal;
	margin: 2px 0 0 0;
}

.map-total {
	padding: 13px 0 5px;
}

.map-total span {
	font-family: "Lato", sans-serif;
	text-transform: uppercase;
	font-size: 22px;
	font-weight: bold;
	margin: 2px 0 0 0;
	color: #3CC0B1;
}

.map-total-desc p {
	font-family: "Lato", sans-serif;
	font-size: 12px;
	font-weight: normal;
	margin: 2px 0 0 0;
}
.map-total-desc p > span {
	font-weight: bold;
}

.map-popup {
	display: auto;
}

.mapboxgl-popup-content {
	padding: 10px 12px !important;
	border-radius: 10px !important;
	max-width: fit-content;
	max-height: fit-content;
}

.popup-municipio {
	font-family: "Lato", sans-serif;
	font-size: 12px;
	font-weight: bold;
	margin: 0 0 5px 0;
	color: #333;
}

.popup-num-container {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	gap: 10px;
	margin: 0px 0 5px 0;
}

.map-popup h5 {
	color: #3CC0B1;
	text-transform: lowercase;
	font-family: "Lato", sans-serif;
	font-size: 22px;
	font-weight: bold;
	margin: 0;
}

.map-popup label {
	font-family: "Lato", sans-serif;
	font-size: 12px;
	line-height: 1.1;
	font-weight: normal;
	overflow: hidden;
	margin: 0;
	color: #3CC0B1;
}

.popup-legenda {
	max-width: 65px;
}

.popup-legenda.compact {
	max-width: 45px;
}

.popup-legenda p {
	font-family: "Lato", sans-serif;
	font-size: 12px;
	line-height: 1.1;
	font-weight: normal;
	overflow: hidden;
	margin: 0;
	color: #333;
}

.marker-popup {
	background-color: white;
	padding: 10px;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.marker-popup-tip {
    position: absolute;
    border: 15px solid #0000;
    border-top: 15px solid #fff;
    height: 0px;
    width: 0px;
    z-index: 1;
    bottom: -26px;
    left: 74px;
}

.zoom-hint {
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-45%, -50%);
	background: rgba(255, 255, 255, 0.5);
	color: #3CC0B1;
	padding: 12px 20px;
	border-radius: 50px;
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 1000;
	min-width: fit-content;
}





















