/* Форма адреса и список подсказок Nominatim. */
.address-form {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-bottom: 0;
  box-shadow: none;
}

.address-input-wrap {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 1;
}

.address-form input {
  min-width: 0;
  height: 42px;
  width: 100%;
  padding: 0 38px 0 11px;
  appearance: none;
  -webkit-appearance: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-color: var(--line);
  border-radius: 8px;
  box-shadow: none;
  font: inherit;
  font-size: 13px;
}

.address-clear {
  position: absolute;
  top: 50%;
  right: 10px;
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  color: #7b8494;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-52%);
}

.address-clear:hover {
  color: #172033;
  background: transparent;
}

.address-clear[hidden] {
  display: none;
}

.address-form input::-webkit-search-cancel-button,
.address-form input::-webkit-search-decoration {
  display: none;
  appearance: none;
  -webkit-appearance: none;
}

.address-form input:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: none;
}

.address-form > button {
  height: 42px;
  padding: 0 13px;
  color: #fff;
  cursor: pointer;
  background: var(--blue);
  border: 0;
  border-bottom: 0;
  border-radius: 8px;
  box-shadow: none;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.address-form > button:hover {
  background: #1765cc;
}

.address-hint {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.address-suggestions {
  display: grid;
  max-height: 220px;
  margin-top: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.address-suggestion {
  padding: 10px 11px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #edf0f2;
  font: inherit;
  font-size: 12px;
  line-height: 1.35;
}

.address-suggestion:last-child {
  border-bottom: 0;
}

.address-suggestion:hover,
.address-suggestion:focus {
  background: #e8f0fe;
  outline: 0;
}

.address-suggestion mark {
  padding: 0;
  color: inherit;
  background: #fef7e0;
  font-weight: 800;
}
