  .mapcontainer {
  display: flex;
  flex-wrap: wrap;
}

#map {
  min-height: 600px;
  height: 90vh;
  width: 100%;
}

#partner-list {
  min-height: 600px;
  height: 90vh;
  width: 100%;
  position: relative;  /* Add this */
}

#search-container {  /* New container for search input */
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 1000;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

#search-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}

#partners-container {  /* New container for partner items */
  overflow-y: auto;
  height: calc(100% - 60px);  /* Adjust based on search container height */
  padding: 10px;
}
.partner-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.leaflet-popup-content .partner-image {
  max-width: 200px;  /* Adjust this value as needed */
}

.partner-item {
  cursor: pointer;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

.partner-item:hover {
  background-color: #f5f5f5;
}

@media screen and (min-width: 768px) {
  #map {
    width: 66.66%;
  }
  #partner-list {
    width: 33.33%;
  }
}

.leaflet-control-container a {
  text-decoration: none !important;
}

.reset-button {
  font-size: 20px;
  border-radius: 3px;
}
  .map-legend {
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
  }

  .map-legend h3 {
    margin-top: 0;
    margin-bottom: 15px;
  }

  .legend-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
  }

  .legend-item {
    display: flex;
    align-items: center;
    margin-right: 15px;
  }

  .legend-color {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    border: 1px solid #000;
  }

  .legend-star {
    color: rgba(255,255,255,1); 
      text-shadow: 
    -1px -1px 0 #000,  
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
    font-size: 15px;
    margin-right: 5px;
  }