/* Translation widget (client-side Google Translate, per spec R-15) */
.bcsao-translate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  border: 1px solid var(--surface-light);
  border-radius: calc(var(--radius) / 2 );
  padding: 1px 2px;
  cursor: pointer;
}

.bcsao-translate__icon {
  flex: none;
}

.bcsao-translate .goog-te-gadget {
  color: transparent !important;
  font-size: 0 !important;
}

.bcsao-translate .goog-te-gadget > span {
  display: none !important;
}

.bcsao-translate .goog-te-gadget .goog-te-combo {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.1px;
  color: #ffffff;
  background: transparent;
  border: 0;
  padding: 0 24px 0 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-size: 16px 16px;
  background-repeat: no-repeat;
  background-position: right center;
  min-width: 9.5rem;
}

.bcsao-translate .goog-te-gadget .goog-te-combo option {
  color: #1a1a1a;
}

/* Suppress Google's top banner-frame so layout doesn't shift */
/* Also neutralize the body offset Google applies for the banner row. The
   JS MutationObserver handles inline style; these selectors cover the case
   where Google sets the class before the observer fires. */
body.translated-ltr,
body.translated-rtl {
  top: 0 !important;
  position: static !important;
}

.goog-te-banner-frame.skiptranslate {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.skiptranslate > iframe.skiptranslate {
  display: none !important;
  visibility: hidden !important;
}

iframe.skiptranslate[id$=".container"],
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd.skiptranslate {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
