.rf-map-wrapper {
  position: relative;
  width: 100%;
  height: 710px;
}

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

#location-widget {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  width: 320px;
  transition: max-height 0.3s ease;
  overflow: hidden;
  z-index: 10;
}

#widget-header {
  background-color: #41695B;
  color: white;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

#widget-header h3 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 0px;
}

#toggle-arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

#location-list {
  padding: 16px;
  max-height: 240px;
  overflow-y: auto;
}

#location-widget.collapsed #location-list {
  display: none;
}

#location-widget.collapsed {
  max-height: 50px;
}

#location-widget.collapsed #toggle-arrow {
  transform: rotate(180deg);
}

.mapboxgl-ctrl-bottom-left,
.mapboxgl-ctrl-bottom-right {
  display: none !important;
}

.location-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ddd;
  padding: 10px 15px;
  margin-bottom: 10px;
  background-color: #fff;
}

.location-card .location-text {
  flex-grow: 1;
}

.location-card h4 {
  margin: 0;
  font-size: 12px;
}

.location-card p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #666;
}

.location-card button {
  background-color: #b47f00 !important;
  color: #fff !important;
  padding: 0px 10px !important;
  line-height: 0px !important;
  min-height: 30px !important;
}

#toggle-arrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('../../../uploads/arrow-white-DOWN.svg');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}