.translate-wrapper {
  display: flex;
  align-items: center;
  padding: 0 0.25rem;
}

#google_translate_element {
  width: 150px;
}

.goog-te-gadget {
  font-size: 0 !important;
}

#google_translate_element select,
#google_translate_element .goog-te-combo {
  width: 100%;
  margin: 0 !important;
  padding: 10px 5px !important;
  border: 1px solid #ccc !important;
  border-radius: 3px !important;
  background-color: #f8f9fa !important;
  color: #333 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease !important;
}

#google_translate_element select:hover,
#google_translate_element .goog-te-combo:hover {
  background-color: #e2e6ea !important;
}

#google_translate_element select:focus,
#google_translate_element .goog-te-combo:focus {
  border-color: #72a03f !important;
  outline: 3px solid rgba(114, 160, 63, 0.18) !important;
}

.VIpgJd-ZVi9od-l4eHX-hSRGPd,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.goog-te-banner-frame,
.skiptranslate iframe {
  display: none !important;
}

body {
  top: 0 !important;
}

@media (max-width: 991px) {
  .translate-wrapper {
    padding: 0.65rem 0.75rem;
  }

  #google_translate_element {
    width: min(100%, 220px);
  }
}
