#map {
  height: 100%;
  min-height: 0;
  width: 100%;
}

.map-user-location {
  background: #4285f4;
  border: 3px solid var(--color-white);
  border-radius: 50%;
  box-shadow:
    0 0 0 7px rgb(66 133 244 / 20%),
    0 2px 6px rgb(0 0 0 / 35%);
  height: 16px;
  width: 16px;
}

.map-search-location {
  background: var(--color-coral);
  border: 3px solid var(--color-white);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 2px 7px rgb(0 0 0 / 35%);
  height: 22px;
  transform: rotate(-45deg);
  width: 22px;
}

.map-location-control {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
}

.map-status {
  background: rgb(255 255 255 / 95%);
  border: 1px solid #8ed3da;
  border-radius: var(--card-radius);
  color: var(--color-header);
  left: 16px;
  max-width: calc(100% - 89px);
  padding: 10px 12px;
  position: absolute;
  top: 16px;
  z-index: 1;
}

/* Google injects these wrappers after loading its own stylesheet. */
.gm-style-iw-c {
  padding: 0 !important;
}

.gm-style-iw-d {
  overflow: hidden !important;
  padding: 0 !important;
}

.map-info {
  box-sizing: border-box;
  max-width: 220px;
  min-width: 160px;
  padding: 8px 10px;
}

.map-info__header {
  align-items: flex-start;
  display: flex;
  gap: 6px;
  justify-content: space-between;
}

.map-info__title {
  font-size: 13px;
  line-height: 1.3;
}

.map-info__address {
  color: #555;
  font-size: 12px;
  margin: 4px 0 0;
}

.map-info__address + .map-info__address {
  margin-top: 2px;
}

.map-info__close {
  background: none;
  border: 0;
  color: #888;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 11px;
  line-height: 1;
  margin-top: 2px;
  padding: 0;
}
