/* NexaDigital — language switcher (loaded on every page, both languages).
   Kept separate from the per-page inline <style> so the toggle looks identical
   everywhere and the file can be cached. style-src 'self' allows it. */

/* Pill group: عربي | EN — the current language is highlighted. */
.lang-switch{
  display:inline-flex;align-items:center;gap:2px;flex:0 0 auto;
  border:1px solid var(--line);border-radius:999px;background:#fff;
  padding:3px;font-size:12.5px;font-weight:700;line-height:1;
  font-family:var(--en);white-space:nowrap;
}
.lang-switch a{
  padding:6px 10px;border-radius:999px;color:#5A6478;text-decoration:none;
  transition:background .18s var(--ease),color .18s var(--ease);
}
.lang-switch a:hover{color:var(--ink);}
.lang-switch a.on{background:var(--ink);color:#fff;}
.lang-switch .sep{color:#C6CBD8;font-weight:400;}

/* Inside the mobile drawer (dark background) keep the same pill. */
.drawer .lang-switch{margin:14px 0 4px;}
