/* ApostVisa shared five-language selector. */
.av-lang-btn { display: none !important; }

.apostvisa-language-switcher {
  --av-language-blue: #244b78;
  --av-language-gold: #c9a227;
  position: relative;
  z-index: 2147482000;
  flex: 0 0 auto;
  font: 700 14px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  text-align: left;
}

.av-nav-right > .apostvisa-language-switcher { margin: 0 4px 0 0; }

.apostvisa-language-switcher .apostvisa-language-trigger {
  min-width: 130px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 0 13px;
  border: 2px solid var(--av-language-gold) !important;
  border-radius: 999px;
  background: #fff !important;
  color: #20344c !important;
  box-shadow: 0 7px 20px rgba(23, 45, 70, .16) !important;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.apostvisa-language-trigger:hover,
.apostvisa-language-trigger:focus-visible,
.apostvisa-language-switcher.is-open .apostvisa-language-trigger {
  background: #fff !important;
  border-color: #ad8715;
  box-shadow: 0 10px 28px rgba(23, 45, 70, .24);
  outline: none;
}

.apostvisa-language-trigger:active { transform: translateY(1px); }

.apostvisa-language-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.apostvisa-language-flag {
  width: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 22px/1 "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

.apostvisa-language-chevron {
  width: 9px;
  height: 9px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}

.apostvisa-language-switcher.is-open .apostvisa-language-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.apostvisa-language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 224px;
  padding: 10px;
  border: 1px solid #d8e2ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(15, 23, 42, .24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.apostvisa-language-switcher.is-open .apostvisa-language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.apostvisa-language-switcher .apostvisa-language-option {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 0 !important;
  border-radius: 12px;
  background: transparent !important;
  color: #334155 !important;
  box-shadow: none !important;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background .16s ease, color .16s ease;
}

.apostvisa-language-switcher .apostvisa-language-option:hover,
.apostvisa-language-switcher .apostvisa-language-option:focus-visible {
  background: #f5f1e5 !important;
  color: var(--av-language-blue) !important;
  outline: none;
}

.apostvisa-language-switcher .apostvisa-language-option[aria-current="true"] {
  background: var(--av-language-blue) !important;
  color: #fff !important;
}

.apostvisa-language-check {
  margin-left: auto;
  color: #f3cf56;
  font-size: 20px;
  font-weight: 900;
}

.apostvisa-translate-status {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(36, 75, 120, .97);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .24);
  font: 650 13px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.apostvisa-translate-status.is-visible { opacity: 1; transform: translate(-50%, 0); }

.apostvisa-translate-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #f3cf56;
  border-radius: 50%;
  animation: apostvisa-spin .7s linear infinite;
}

@keyframes apostvisa-spin { to { transform: rotate(360deg); } }

#apostvisa-google-translate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-gadget,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover,
body > .skiptranslate,
body > [class*="VIpgJd-ZVi9od-ORHb"],
iframe[class*="VIpgJd-ZVi9od-ORHb"],
div[class*="VIpgJd-ZVi9od-aZ2wEe"],
iframe.skiptranslate {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
}

html,
body,
body.translated-ltr,
body.translated-rtl { top: 0 !important; }

@media (max-width: 720px) {
  .apostvisa-language-switcher .apostvisa-language-trigger {
    min-width: 64px;
    width: 64px;
    height: 40px;
    padding: 0 9px;
  }

  .apostvisa-language-trigger .apostvisa-language-name { display: none; }
  .apostvisa-language-menu { width: min(224px, calc(100vw - 24px)); right: -46px; }
  .av-nav-right { gap: 4px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .apostvisa-language-trigger,
  .apostvisa-language-chevron,
  .apostvisa-language-menu,
  .apostvisa-translate-status { transition: none; }
}
