#sn-language-control{position:fixed;right:0;left:auto;z-index:2147483000;pointer-events:auto;width:auto;font-family:inherit;direction:ltr}
#sn-language-control .sn-language-tab{display:flex;align-items:center;justify-content:center;gap:6px;width:88px;height:48px;padding:0 10px;color:#007d39;background:#fff;border:2px solid #00843d;border-right:0;border-radius:28px 0 0 28px;box-shadow:0 3px 16px #00471f20;font-size:13px;font-weight:700;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none}
#sn-language-control button:focus-visible{outline:3px solid #c79821;outline-offset:3px}
#sn-language-panel{position:absolute;right:10px;width:176px;padding:6px;background:white;border:1px solid #dce9df;box-shadow:0 8px 28px #163c2726;border-radius:18px;color:#183d2b}
#sn-language-panel[hidden]{display:none!important}
#sn-language-panel button{width:100%;min-height:46px;border:0;border-radius:12px;padding:10px 12px;background:transparent;display:flex;align-items:center;justify-content:space-between;gap:12px;font:inherit;font-size:15px;cursor:pointer;color:inherit}
#sn-language-panel button[aria-pressed=true]{background:#e9f5ed;color:#007d39;font-weight:700}
#sn-language-panel button:hover{background:#f0f7f2}
@keyframes sn-language-nudge{0%,100%{transform:translateX(0)}45%{transform:translateX(-7px)}70%{transform:translateX(0)}85%{transform:translateX(-2px)}}
.sn-language-bounce .sn-language-tab{animation:sn-language-nudge 1s ease-in-out 1s 2}
@media(prefers-reduced-motion:reduce){.sn-language-bounce .sn-language-tab{animation:none}}
html[lang=ar] body{font-family:Tahoma,Arial,sans-serif}
html[dir=rtl] input[type=email],html[dir=rtl] input[type=tel],html[dir=rtl] input[type=password],html[dir=rtl] input[type=url]{direction:ltr;text-align:right}
html[dir=rtl] .text-left{text-align:right}html[dir=rtl] .text-right{text-align:left}
@media(max-width:600px){#sn-language-control .sn-language-tab{width:78px;height:46px;font-size:12px;gap:5px}}

/* Mobile floating bubble: visible outline, rounded on every side, room at the edge. */
@media(max-width:600px){
 #sn-language-control{right:8px}
 #sn-language-control .sn-language-tab{width:86px;height:50px;border:2px solid #00843d;border-radius:999px;background:linear-gradient(145deg,#fff 35%,#e9f7ee);box-shadow:0 0 0 3px #ffffffcc,0 5px 18px #005b3240,inset 0 2px 0 #fff;font-size:13px;gap:6px;animation:sn-language-nudge 1.1s ease-in-out 1s 2}
 #sn-language-control .sn-language-tab[aria-expanded=true],#sn-language-control .sn-language-tab:active{animation:none}
 #sn-language-panel{right:0}
}
@media(max-width:600px) and (prefers-reduced-motion:reduce){#sn-language-control .sn-language-tab{animation:none}}
