.gm-fullscreen-control,
.gm-svpc,
.gmnoprint * {
  background: var(--#{$prefix}card-bg) !important;
  color: inherit !important;
}

.mapsConsumerUiSceneCoreScene__root{
    z-index: 3 !important;
}

[data-bs-theme="dark"] {
  .gm-control-active:focus>img:nth-child(2), .gm-control-active:hover>img:nth-child(2){
    display: none !important;
  }
  .gm-control-active:focus>img:nth-child(1), 
  .gm-control-active:hover>img:nth-child(1), 
  .gm-control-active:active>img:nth-child(1), 
  .gm-control-active:disabled>img:nth-child(1){
    display: block !important;
  }
}

.gm-style .gm-style-iw-d::-webkit-scrollbar-track,
.gm-style .gm-style-iw-d::-webkit-scrollbar-track-piece,
.gm-style .gm-style-iw-c,
.gm-style .gm-style-iw-t::after {
  background: var(--#{$prefix}card-bg);
}

button.gm-ui-hover-effect {
  top: 0 !important;
  right: 0 !important;

  & > span {
    background-color: var(--#{$prefix}black);
    width: 1.25rem !important;
    height: 1.25rem !important;
    margin: 0 0 0 5px !important;
  }
}
