/* GP Translate - language switcher + RTL helpers (loaded only when translation is enabled). */
.gp-language-menu{position:relative;display:inline-block}
.gp-language-trigger{cursor:pointer}
.gp-language-options{position:absolute;display:none;min-width:190px;max-height:360px;overflow:auto;padding:6px;border:1px solid #29364b;border-radius:14px;background:#0e151f;box-shadow:0 20px 55px rgba(0,0,0,.38);z-index:1000}
.gp-language-menu.is-open .gp-language-options{display:block}
.gp-language-options a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border-radius:9px;color:#dce3ed;font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap}
.gp-language-options a:hover{background:#182131;color:#fff}
.gp-language-trigger .gp-language-globe{display:inline-grid;place-items:center;line-height:1}
.gp-language-trigger .gp-language-globe svg{display:block}
.gp-language-trigger .gp-language-globe img{width:18px;height:18px;object-fit:contain;display:block}

/* Right-to-left languages (Arabic, Hebrew, Persian): keep the layout mirrored but the sidebar/menu safe. */
html.gp-tr-rtl body{text-align:right}
html.gp-tr-rtl .gp-language-options{text-align:right}
/* The sidebar sits on the right in RTL: open the language list towards the page, not off-screen. */
html.gp-tr-rtl .gp-sidebar-preferences .gp-language-options{left:auto;right:0}
html.gp-tr-rtl .gp-mobile-preferences .gp-language-options{right:auto;left:0}
