.locator-container {
  display: flex;
  gap: 20px;
}

#map {
  flex: 2;
  height: 500px;
  min-height: 500px;
}

#sidebar {
  flex: 1;
  max-height: 500px;
  overflow-y: auto;
  border-left: 1px solid #ddd;
  padding-left: 15px;
}

.result-item {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.controls {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .locator-container {
    flex-direction: column;
  }

  #map {
    flex: none;
    width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    display: block !important;
  }

  #sidebar {
    flex: none;
    width: 100%;
    max-height: none;
    overflow-y: visible;
    border-left: none;
    padding-left: 0;
    margin-top: 20px;
  }
}