/* InfoWindow container */
/*.gm-style .gm-style-iw {
    background-color: #666DF2 !important;  
    color: #fff !important;            
 
    font-size: 16px;
    padding: 12px 16px;
    border-radius: 0px;
    max-width: 320px;
    line-height: 1.4;
}

.gm-style .gm-style-iw-tc::after
{
    background-color: #666DF2 !important;	
}

.gm-style .gm-style-iw-d{
	  background-color: #666DF2 !important; 
}

#map .gm-style-iw-chr button{
	font-size: 10px !important;
	    width: 24px !important;
    height: 24px !important;
}

#map .gm-style-iw-chr button span{
    width: 18px !important;
    height: 18px !important;
    margin: 4px !important;
}
.gm-style .gm-style-iw strong,
.gm-style .gm-style-iw h1,
.gm-style .gm-style-iw h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 6px;
    display: block;
}

.gm-style .gm-ui-hover-effect {
    filter: invert(100%);
}


*/

/* Verberg de standaard achtergrond en schaduw van Google Maps InfoWindows */


.gm-style .gm-style-iw-t::after {
    display: none !important; /* verwijdert het standaard driehoekje */
}

.gm-style .gm-style-iw-d {
    overflow: visible !important; /* al gedaan, top */
}

.gm-style .gm-style-iw-chr{
	display: none !important;
}

.gm-style .gm-style-iw-tc{
	display: none !important;
}

/* Hele wrapper (wit blok) transparant maken */
.gm-style .gm-style-iw {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
	    overflow: visible;
}



.custom-infowindow .close-btn {
    position: absolute;
    top: -4px;
    right: 3px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
	padding: 2px !important
}


/* Container binnenin stylen */
.custom-infowindow {
    background: #666DF2; /* jouw groene tint */
    color: #fff;
    padding: 24px 16px 12px 16px;
    border-radius: 0px;
    max-width: 280px;
	min-width: 120px;
    font-family: Georgia, serif;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
}

.custom-infowindow::after {
    content: "";
    position: absolute;
    bottom: -10px; /* blijft onder de wrapper */
    left: 30px; 
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #666DF2; /* kleur van je infowindow */
    z-index: 1;
	transform: translate(-50%, -1px);
    left: 50%;
}


.pulse-marker {
  position: relative;
  width: 24px !important;
  height: 24px !important;
	  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 1.5s infinite;
}

.pulse-marker::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  background: rgba(0, 150, 255, 0.5);

  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}.marker-label {
  position: absolute;
  left: 12px; /* afstand van icoon */
  top: 3px;
  transform: translateY(-50%); /* verticaal centreren naast icoon */
 
  padding: 8px 12px !important;
  border-radius: 30px !important;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
z-index: 99;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.3s ease, opacity 0.3s ease;
  pointer-events: none; /* voorkomt dat het label de klik blokkeert */
}

.marker-label.show {
  max-width: 200px; /* breedte bij uitklappen */
  opacity: 1;
  pointer-events: auto; 
}
