/**
 * @file
 * Custom styles to override Google Maps InfoWindow default styling.
 */

/* Hide default InfoWindow close button */
.gm-style .gm-style-iw-t::after {
  display: none !important;
}

/* Remove default InfoWindow button */
.gm-style .gm-ui-hover-effect {
  display: none !important;
}

/* Remove padding from InfoWindow container */
.gm-style .gm-style-iw-c {
  padding: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 7px 1px rgba(0, 0, 0, 0.3) !important;
  background-color: transparent !important;
}

/* Remove padding from InfoWindow content div */
.gm-style .gm-style-iw-d {
  padding: 0 !important;
  overflow: hidden !important;
}

/* Ensure the pin-map card takes full width */
.gm-style .pin-map {
  margin: 0;
  width: 100%;
}

/* Hide static suggestions when using Google Autocomplete */
.agenti-map-container .frm-menu-suggestion {
  display: none !important;
}

/* Style Google Autocomplete dropdown */
.pac-container {
  z-index: 10000 !important;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  margin-top: 4px;
}
