.advancedMarker {
  height: 32px;
  min-width: 109px !important; /* Overwriting the default width of the @vis.gl/react-google-maps AdvancedMarker */
}

.advancedMarker.active {
  height: 32px;
  min-width: 109px !important; /* Overwriting the default width of the @vis.gl/react-google-maps AdvancedMarker */
}

.dialogContainer {
  display: none;
}

.pin {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--Spacing-x-half) var(--Spacing-x1) var(--Spacing-x-half)
    var(--Spacing-x-half);
  border-radius: var(--Corner-radius-Rounded);
  background-color: var(--Base-Surface-Primary-light-Normal);
  box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.1);
  gap: var(--Spacing-x1);
  width: max-content;
}

.pin.active {
  background-color: var(--Primary-Dark-Surface-Normal);
}

.pinLabel {
  display: none;
}

.pin.active .pinLabel {
  display: flex;
  align-items: center;
  gap: var(--Spacing-x2);
  text-wrap: nowrap;
}

.pinIcon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--Primary-Dark-Surface-Normal);
}

.pin.active .pinIcon {
  background: var(--Base-Surface-Primary-light-Normal);
}

.card {
  display: none;
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 402px;
  height: 181px;
  background-color: var(--Base-Surface-Primary-light-Normal);
}

.card.active {
  display: block;
}

@media (min-width: 768px) {
  .dialogContainer {
    display: block;
  }
}
