.google-address-picker {
  display: grid;
  gap: 9px;
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 92%, #dbeafe);
}

.google-address-picker-label {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.google-address-picker-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  align-items: stretch;
}

.google-address-autocomplete {
  min-width: 0;
}

.google-address-autocomplete gmp-place-autocomplete {
  width: 100%;
  min-height: 46px;
}

.google-location-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.google-location-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.google-location-button:disabled {
  cursor: wait;
  opacity: .65;
}

.google-address-picker-help,
.google-address-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.google-address-status.is-error {
  color: #b3261e;
}

.google-address-map {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
}

@media (max-width: 640px) {
  .google-address-picker-controls {
    grid-template-columns: 1fr;
  }

  .google-location-button {
    width: 100%;
  }

  .google-address-map {
    height: 220px;
  }
}
