/* რუკა მთელი ეკრანის ზომის */
html, body, #map {
     position: fixed;
	width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}



/* კასტომ მარკერის დიზაინი */
.custom-icon {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: blue;
 	line-height: 1;
	letter-spacing: 1px;
}

.custom-icon img {
    align-items: center;
	display: block;
    margin: 0 auto;
    width: 20px;
    height: 20px;
}
.controls {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1%;
    border-radius: 1px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 1%;
    max-width: 90%;
    box-sizing: border-box;
    width: 80%;

}
 

#start {
 position: absolute;
 left: 65vw;
 top: 20px;
 width: 20vw;
 height:200px;
  border-radius: 15px;
 border-width: 1px;
 border-color: #1f618d;
 font-family: 'Fredoka', sans-serif;
 font-size: 90px;
 color: #1f618d;
 padding-left: 20px;
  z-index: 1000;

}

#end {
  position: absolute;
  left: 65vw;
  top: 240px;
  width: 20vw;
  height:200px;
  border-width: 1px;
 border-color: #1f618d;
  border-radius: 15px;
  z-index: 1000;
  font-size: 90px;
  font-family: 'Fredoka', sans-serif;
  padding-left: 20px;
  color: #1f618d;
}
 
  #route {
  position: absolute;
  top: 20px;
  display: block;
  left: 86vw;
  border: none;
  border-radius: 15px;
  background-color: #8fce00;
  color: white;
  font-size: 50px;
  cursor: pointer;
  width: 10vw;
  height:200px;
  z-index: 1000;
}

 #clean {
   position: absolute;
  top: 240px;
  display: block;
  left: 86vw;
  border: none;
  border-radius: 15px;
  background-color: #f27d7d;
  color: white;
   font-size: 50px;
  cursor: pointer;
width: 10vw;
height:200px;
 z-index: 1000;
}

.distance {
    position: absolute;
    top: 480px;
    left: 65vw;
    width: 20vw;
    height:150px;
	background-color: white;
    border-radius: 15px;
    z-index: 1000;
    justify-content: center;
    font-size: 90px;
    color: green;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pulse-marker {
  width: 20px;
  height: 20px;
  border: 4px solid #007bff;
  border-radius: 50%;
  background-color: rgba(0, 123, 255, 0.5);
  position: absolute;
  left: -10px;
  top: -10px;
  animation: pulse 2s infinite;
  z-index: 1000;
}

.icon-container {
    position: relative;
    text-align: center;
}
.marker-img {
    display: block;
    margin: 0 auto;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.4;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }


}


@media screen and (max-width: 575px) {

#start {
 position: absolute;
 left: 2vw;
 top: 5px;
 width: 56vw;
 height:35px;
  border-radius: 1px;
   background-color: #ffffff;
   border: none;
box-shadow: -3px 3px 5px rgba(0, 0, 0, 0.3);
 font-family: 'Fredoka', sans-serif;
 font-size: 15px;
 color: #000000;
 padding-left: 10px;
  z-index: 1000;

}

#end {
  position: absolute;
  left: 2vw;
  top: 45px;
  width: 96vw;
  height:35px;
 border-radius: 8px;
  border: none;
  box-shadow: -3px 3px 5px rgba(0, 0, 0, 0.3);
  background-color: #ffffff;
 z-index: 1000;
  font-size: 15px;
  font-family: 'Fredoka', sans-serif;
  padding-left: 10px;
  color: #000000;
}	

#route {
  position: absolute;
  top: 85px;
  display: block;
  left: 70vw;
box-shadow: -3px 3px 5px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  background-color: #8fce00;
  color: white;
  font-size: 16px;
  cursor: pointer;
  width: 28vw;
  height:35px;
  z-index: 1000;
}

 #clean {
   position: absolute;
  top: 85px;
  display: block;
  left: 2vw;
box-shadow: -3px 3px 5px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  background-color: #f27d7d;
  color: white;
   font-size: 15px;
  cursor: pointer;
width: 20vw;
height:35px;
 z-index: 1000;
}	
#distance {
    position: absolute;
    top: 85px;
    left: 24vw;
    width: 44vw;
    height:35px;
	background-color: #ffffff;
  box-shadow: -3px 3px 5px rgba(0, 0, 0, 0.3);
   border-radius: 8px;
    z-index: 1000;
    justify-content: center;
    font-size: 18px;
    color: green;
    display: flex;
    justify-content: center;
    align-items: center;
}	
.custom-zoom-controls {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.custom-zoom-controls button {
  width: 40px;
  height: 40px;
  font-size: 24px;
  font-weight: bold;
  color: white;
  background-color: #1f618d;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.2s ease;
}

.custom-zoom-controls button:hover {
  background-color: #154360;
}
.leaflet-routing-container {
  display: none !important;
}

}
@media screen and (min-width: 1200px) and (hover: none) and (pointer: coarse) {
#start {
 position: absolute;
 left: 65vw;
 top: 20px;
 width: 20vw;
 height:20px;
  border-radius: 15px;
 border-width: 1px;
 border-color: #1f618d;
 font-family: 'Fredoka', sans-serif;
 font-size: 90px;
 color: #1f618d;
 padding-left: 20px;
  z-index: 1000;

}	
	
	
	
	
}