/*
 * global-widgets.css
 * Single source of truth for the UserWay accessibility widget and the
 * language selector across every Kumaya World page.
 *
 * Layout:  Language selector — fixed top-left
 *          Accessibility (UserWay) — fixed top-right
 *
 * Both stay at the top and are NOT visible as the visitor scrolls down.
 */

/* ── UserWay: fixed top-right on every viewport ─────────────────────── */
.userway_buttons_wrapper,
body .userway_buttons_wrapper,
.userway_buttons_wrapper.userway_buttons_wrapper,
body .uwy .userway_buttons_wrapper,
body .uwy .userway_buttons_wrapper.userway_buttons_wrapper {
  position: fixed !important;
  top: 14px !important;
  right: 14px !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 9999 !important;
}

/* ── Language selector: fixed top-left on every viewport ────────────── */
.language-selector[style*="position: fixed"],
.language-selector.kw-floating,
body .language-selector[style*="position: fixed"] {
  position: fixed !important;
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 9999 !important;
}

/* Dropdown always opens downward */
.language-selector #language-dropdown,
.language-selector .language-dropdown {
  top: 100% !important;
  bottom: auto !important;
  margin-top: 6px !important;
  margin-bottom: 0 !important;
}
