/*
 * Dashboard map-search compatibility styles.
 * PURPOSE: Keeps address search visible even when a host serves an older React bundle.
 * The JavaScript adds these controls only when the native React search is missing.
 */
.property-map-search {
  position: relative;
  display: grid;
  gap: 8px;
  width: 100%;
}

.property-map-search > label {
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
}

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

.property-map-search-row input {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
  color: #0c1d33;
  font: inherit;
}

.property-map-search-row button {
  min-width: 128px;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  padding: 0 18px;
  background: #0c1d33;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.property-map-search-row button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.property-map-search-message {
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
}

.property-map-search-message.is-error {
  color: #b91c1c;
}

.property-map-search-results {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(12, 29, 51, 0.12);
  list-style: none;
}

.property-map-search-results button {
  display: grid;
  gap: 3px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  background: transparent;
  color: #0c1d33;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.property-map-search-results button:hover,
.property-map-search-results button:focus-visible {
  background: #edf2f7;
}

.property-map-search-results strong {
  font-size: 0.9rem;
}

.property-map-search-results span {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .property-map-search-row {
    grid-template-columns: 1fr;
  }

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