.map-locator {
  background: #fff;
}

.map-locator-filters {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 12px;
  align-items: center;
  margin: 2rem 0;
}

.map-locator-filter {
  padding: 10px 12px;
  border: 1px solid #ADADAD !important;
  border-radius: 4px;
}

.map-locator-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  white-space: nowrap;
}

.map-locator-check-input {
  width: 16px;
  height: 16px;
}

.map-locator-check-label {
  font-size: 14px;
}

.map-locator-list {
  padding: 0;
  margin: 0;
}

.map-locator-filter-submit {
  background: #444444;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
}

.map-locator-filter-submit:hover {
  background: #000;
}

.map-locator-body {
  display: grid;
  grid-template-columns: 500px 1fr;
  height: 60vh;
  min-height: 600px;
}

.map-locator-left {
  overflow-y: auto;
  border-right: 1px solid #e5e5e5;
}

.map-locator-item {
  padding: 16px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  list-style: none;
}

.map-locator-item--active {
  background: #f5f5f5;
}

.map-locator-map {
  height: 100%;
  min-height: 600px;
}

.map-locator-item-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.map-locator-star {
  color: var(--green);
}

.map-locator-popup {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 300px;
}

@media (max-width: 1000px) {
  .map-locator-filters {
    grid-template-columns: 1fr;
  }
  .map-locator-body {
    grid-template-columns: 1fr;
    height: auto;
  }
  .map-locator-map {
    order: 1;
    height: 300px;
    min-height: 300px;
  }
  .map-locator-left {
    order: 2;
    border-right: none;
    border-top: 1px solid #e5e5e5;
    max-height: 400px;
  }
}
