/* Namespaced rules avoid changing the site's theme or Elementor styles. */
#asicheck-language-switcher {
  position: fixed; top: var(--asicheck-lang-top, 18px); right: var(--asicheck-lang-right, 18px);
  z-index: 99990; display: flex; gap: 0; align-items: center;
  padding: 0; background: transparent !important; border: 0 !important; border-radius: 0;
  box-shadow: none !important; direction: ltr;
}
body.admin-bar #asicheck-language-switcher { top: calc(var(--asicheck-lang-top, 18px) + 32px); }
#asicheck-language-switcher button {
  appearance: none; display: inline-flex; align-items: center; justify-content: center;
  gap: 0; min-width: 44px; min-height: 44px; padding: 8px; margin: 0;
  font: 700 12px/1.2 system-ui, sans-serif; color: #203b50; background: transparent !important;
  border: 0 !important; border-radius: 0; box-shadow: none !important; cursor: pointer; box-sizing: border-box;
}
/* Only the other language is shown: one flag acts as the toggle. */
#asicheck-language-switcher button[aria-pressed="true"] { display: none; }
#asicheck-language-switcher button span { display: none; }
#asicheck-language-switcher button:hover svg { opacity: 0.8; }
#asicheck-language-switcher button:focus-visible { outline: 3px solid #287cb4; outline-offset: 2px; }
#asicheck-language-switcher svg { display: block; width: 26px; height: 18px; border: 0; border-radius: 0; flex: none; }
#asicheck-language-switcher .asicheck-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (max-width: 782px) { body.admin-bar #asicheck-language-switcher { top: calc(var(--asicheck-lang-top, 18px) + 46px); } }
@media print { #asicheck-language-switcher { display: none; } }
