/* Kaart styling */
#map-small {
  width: 100%;
  height: 200px;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

#map-large {
  width: 100%;
  height: calc(100% - 40px);
  border-radius: 8px;
  overflow: hidden;
}

#click-to-enlarge {
  margin-top: 5px;
  font-size: 14px;
  color: #2d8c80;
  cursor: pointer;
  user-select: none;
}

#map-large-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95vw;
  max-width: 1200px;
  height: 90vh;
  z-index: 10000;
  border: 2px solid #2d8c80;
  display: none;
  background: white;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#close-map {
  position: fixed;
  bottom: 20px;  /* Vanaf de onderkant */
  left: 50%;
  transform: translateX(-50%);  /* Centreert horizontaal */
  z-index: 10001;
  background: #2d8c80;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 30px;  /* Rondere hoeken */
  font-weight: 600;
  display: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  border: 2px solid white;  /* Maakt hem zichtbaarder */
}

.checkbox-label {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
}

.checkbox-label input[type="checkbox"] {
  accent-color: #2d8c80;
}

.popup-icon {
  margin-right: 4px;
}

/* TOEVOEGEN - Nieuwe mobiele kaart fixes */
@media (max-width: 768px) {
  /* Kleine kaart binnen de rand */
  #map-small {
    width: 100% !important;
    max-width: 100%;
    height: 220px;
    border-radius: 8px;
    box-sizing: border-box;
  }
  
  /* Grote kaart op mobiel */
  #map-large-container {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    top: 0;
    left: 0;
    transform: none;
    border: none;
  }
  
  #map-large {
    width: 100%;
    height: calc(100% - 50px);
  }
  
  #close-map {
    bottom: 15px;
    padding: 10px 25px;
    font-size: 14px;
  }
  
  /* Checkbox labels beter leesbaar */
  .checkbox-label {
    font-size: 0.9rem;
    margin-right: 15px;
  }
}

@media (max-width: 480px) {
  #map-small {
    height: 180px;
  }
}