
.map-box{
  display: block;
  position: relative;
  width: calc(100% - 40px) !important;
  margin: 0 auto 0 auto;
  border-radius: 8px;
  overflow: hidden;
}

#conflict-map-wrapper {
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  max-width: unset;
  height: 100%;
}


#conflict-map {
  width: 100%;
  height: 100%;
}

#conflict-map .leaflet-tile-pane {
  filter: brightness(1) saturate(0);
}

.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large {
  background-color: rgba(110, 204, 57, 0.6) !important;
}

.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div {
  background-color: rgba(110, 204, 57, 0.8) !important;
}

.marker-cluster:hover {
  opacity: 1 !important;
}

#map-loader {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(45, 45, 45, 0.9);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 60px; height: 60px;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#refresh-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 22px;
  left: 60px;
  margin: 0;
  padding: 0;
  width: 40px;
  height: 40px;
  background-color: #000;
  background-image: url('../img/reload.svg');
  background-size: 30px 30px;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
  font-size: 0;
  text-indent: -9999px;
  transition: all 1s;
}

#refresh-btn:hover{
    rotate: 360deg;
}

.leaflet-bottom.leaflet-right{
  opacity: 0;
}

#lock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 22px;
  left: 110px;
  margin: 0;
  padding: 0;
  width: 40px;
  height: 40px;
  background-color: #000;
  background-image: url('../img/lock.svg');
  background-size: 25px 25px;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
  font-size: 0;
  text-indent: -9999px;
  transition: all 0.3s;
}

#lock-btn.unlocked {
  opacity: 0.5;
}

#conflict-map.locked {
  pointer-events: none;
}

