#report-modal {
  width: min(820px, calc(100% - 30px));
  max-height: calc(100vh - 30px);
  overflow: auto;
}

#report-modal form {
  padding: 24px;
}

.report-location-field {
  display: grid;
  gap: 7px;
}

.location-label-row,
.coordinate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.location-label-row label {
  font-size: 11px;
  font-weight: 600;
  color: #567075;
}

.map-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.map-search input {
  min-width: 0;
}

.map-search .outline-button {
  white-space: nowrap;
}

.report-map {
  height: 300px;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid #dce5e1;
  border-radius: 6px;
  background: #eaf1ed;
  z-index: 0;
}

.map.live-map {
  background: #eaf1ed;
  z-index: 0;
}

.map.live-map::before,
.map.live-map::after {
  display: none;
}

.coordinate-row {
  min-height: 22px;
  color: #72858a;
  font-size: 10px;
}

.map-message {
  min-height: 16px;
  margin: -7px 0 0;
  color: #72858a;
  font-size: 10px;
}

.map-message.error {
  color: #b23f32;
}

.location-results {
  display: grid;
  max-height: 190px;
  overflow: auto;
  border: 1px solid #dce5e1;
  border-radius: 6px;
  background: #fff;
}

.location-results[hidden] {
  display: none;
}

.location-result {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #edf1ef;
  background: #fff;
  color: #18343b;
  text-align: left;
  cursor: pointer;
}

.location-result:last-child {
  border-bottom: 0;
}

.location-result:hover,
.location-result:focus-visible {
  background: #eef8f3;
  outline: none;
}

.location-result strong {
  font-size: 11px;
}

.location-result span {
  color: #72858a;
  font-size: 10px;
  line-height: 1.4;
}

.leaflet-container {
  font-family: "DM Sans", sans-serif;
}

.leaflet-control-attribution {
  font-size: 9px;
}

.fkb-map-marker {
  border: 0;
  background: transparent;
}

.fkb-map-marker span {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: #d95d45;
  box-shadow: 0 3px 8px #173b3466;
  transform: rotate(-45deg);
}

.fkb-map-marker span::after {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

@media (max-width: 570px) {
  #report-modal form {
    padding: 18px;
  }

  .map-search {
    grid-template-columns: 1fr;
  }

  .map-search .outline-button {
    width: 100%;
  }

  .report-map {
    height: 250px;
  }
}
