/* LogeMate WMS V10.1 · language button + Arabic (right-to-left) layout */
html.lx-tr-wait body{opacity:0!important}
html body .lx-lang{display:inline-flex!important;align-items:center;gap:6px;height:40px;padding:0 12px!important;border-radius:12px!important;border:1px solid rgba(15,40,90,.12)!important;background:#fff!important;color:#0b2a5b!important;font:700 13px/1 inherit!important;cursor:pointer;box-shadow:0 4px 14px rgba(15,40,90,.08)!important;white-space:nowrap;width:auto!important;min-width:0!important}
html body .lx-lang:hover{background:#eef4ff!important;border-color:#2563eb!important}
html body .lx-lang svg{flex:none}
html body .lx-lang span{font-family:"IBM Plex Sans Arabic","Noto Kufi Arabic","Segoe UI",Tahoma,sans-serif}
html body .lm75-tools .lx-lang{margin:0}
html body .lx-lang-fix{position:fixed;top:14px;right:150px;z-index:10002}
html body .lx-lang.lx-lang-m{display:none!important}
@media (max-width:900px){
 html body .lx-lang-fix,html body .lm75-tools .lx-lang{display:none!important}
 html body .lx-lang.lx-lang-m{display:inline-flex!important;height:34px;padding:0 9px!important;border-radius:10px!important;font-size:12px!important;background:rgba(255,255,255,.14)!important;color:#fff!important;border-color:rgba(255,255,255,.25)!important;box-shadow:none!important;margin-inline-start:auto;order:3}
 html body .lx-lang.lx-lang-m svg{width:15px;height:15px}
}
/* sign-in pages */
html body .lx-lang.lx-lang-login{height:34px!important;padding:0 10px!important;border-radius:999px!important;box-shadow:none!important;margin-inline-end:6px;font-size:12px!important}

/* ---------- Arabic ---------- */
html.lx-ar body{font-family:"IBM Plex Sans Arabic","Noto Kufi Arabic","Segoe UI","Tahoma",system-ui,sans-serif}
html.lx-ar body *{letter-spacing:0!important}
html.lx-ar body input,html.lx-ar body select,html.lx-ar body textarea,html.lx-ar body button{font-family:inherit}
html.lx-ar [class*=kicker],html.lx-ar [class*=eyebrow],html.lx-ar small,html.lx-ar th{text-transform:none!important}
/* numbers, codes, emails and phone numbers keep left-to-right */
html.lx-ar input[type=email],html.lx-ar input[type=tel],html.lx-ar input[type=url],html.lx-ar input[type=number],html.lx-ar code,html.lx-ar kbd{direction:ltr;unicode-bidi:plaintext}
html.lx-ar td,html.lx-ar th{text-align:start}
/* room for the language button next to the search */
@media (min-width:1121px){html:root{--lm75-sw:min(640px,calc(100vw - var(--lm-side) - 590px))}}
@media (min-width:901px) and (max-width:1120px){html:root{--lm75-sw:min(640px,calc(100vw - var(--lm-side) - 380px))}html body .lm75-tools .lx-lang span{display:none}html body .lm75-tools .lx-lang{width:46px;padding:0!important;justify-content:center}}
html body .lm75-tools .lx-lang{height:46px;border-radius:14px!important}
html.lx-ar body .lm75-tools .lm75-go{direction:rtl}
html body .lx-lang .lx-s{display:none}
@media (max-width:900px){html body .lx-lang.lx-lang-m .lx-l{display:none}html body .lx-lang.lx-lang-m .lx-s{display:inline;font-size:13px}}
html[dir=rtl] body .portal-switcher{right:auto;left:22px}
@media (max-width:760px){html[dir=rtl] body .portal-switcher{left:auto}html body .portal-switcher .lx-lang-login{grid-column:1/-1;justify-self:center}}
html[dir=rtl] #clock,html[dir=rtl] [class*=clock],html[dir=rtl] time{direction:ltr;unicode-bidi:isolate}
html.lx-ar #headline{line-height:1.3!important}html.lx-ar #headline .w{padding-bottom:.08em}
@media (max-width:900px){html body .lm60-title{min-width:0;flex:1 1 auto}html body .lm60-title small,html body .lm60-title b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}

/* ---------- V10.1.1: language toggle switch ---------- */
html body button.lx-lang{display:inline-flex!important;align-items:center;gap:7px;height:40px;padding:0 8px 0 10px!important;border-radius:999px!important;border:1px solid rgba(15,40,90,.14)!important;background:#fff!important;color:#0b2a5b!important;box-shadow:0 4px 14px rgba(15,40,90,.08)!important;cursor:pointer;width:auto!important;min-width:0!important}
html body button.lx-lang .lx-l,html body button.lx-lang .lx-s{display:none!important}
html body button.lx-lang .lx-g{flex:none;opacity:.75}
html body button.lx-lang .lx-sw{position:relative;display:inline-grid;grid-template-columns:1fr 1fr;align-items:center;width:66px;height:28px;border-radius:999px;background:#e8eef8;box-shadow:inset 0 1px 3px rgba(15,40,90,.18)}
html body button.lx-lang .lx-sw b{position:relative;z-index:2;text-align:center;font:800 11.5px/28px system-ui,"Segoe UI",sans-serif;color:#64748b;transition:color .25s}
html body button.lx-lang .lx-sw b.lx-ar{font-family:"IBM Plex Sans Arabic","Noto Kufi Arabic",Tahoma,sans-serif;font-size:13px}
html body button.lx-lang .lx-k{position:absolute;z-index:1;top:3px;left:3px;width:30px;height:22px;border-radius:999px;background:linear-gradient(135deg,#1f5fd6,#3b82f6);box-shadow:0 2px 6px rgba(31,95,214,.45);transition:transform .28s cubic-bezier(.16,1,.3,1)}
html body button.lx-lang.is-ar .lx-k{transform:translateX(30px)}
html body button.lx-lang:not(.is-ar) .lx-en,html body button.lx-lang.is-ar .lx-ar{color:#fff}
html body button.lx-lang:hover{border-color:#2563eb!important}
html body button.lx-lang:hover .lx-sw{background:#dde7f7}
html body button.lx-lang.lx-busy .lx-k{transform:translateX(15px)}
html body .lm75-tools button.lx-lang{height:46px;border-radius:14px!important}
@media (min-width:901px) and (max-width:1120px){html body .lm75-tools button.lx-lang .lx-g{display:none}html body .lm75-tools button.lx-lang{padding:0 8px!important}}
@media (max-width:900px){html body button.lx-lang.lx-lang-m{height:34px;padding:0 4px!important;background:rgba(255,255,255,.14)!important;border-color:rgba(255,255,255,.25)!important;box-shadow:none!important}
 html body button.lx-lang.lx-lang-m .lx-g{display:none}html body button.lx-lang.lx-lang-m .lx-sw{width:58px;height:26px;background:rgba(255,255,255,.22)}
 html body button.lx-lang.lx-lang-m .lx-k{width:26px;height:20px}html body button.lx-lang.lx-lang-m.is-ar .lx-k{transform:translateX(26px)}
 html body button.lx-lang.lx-lang-m .lx-sw b{line-height:26px;color:rgba(255,255,255,.75)}}
/* sign-in pages: its own pill, apart from the portal card */
html body button.lx-lang.lx-lang-login{position:fixed;z-index:60;top:24px;height:44px;padding:0 8px 0 12px!important;box-shadow:0 10px 30px rgba(6,26,64,.18)!important;margin:0}
/* a little more room for the language switch next to the search */
@media (min-width:1121px){html:root{--lm75-sw:min(640px,calc(100vw - var(--lm-side) - 625px))}}
/* V10.1.2: the switch alone, no globe */
html body button.lx-lang{padding:0 5px!important;gap:0}
html body button.lx-lang .lx-g{display:none!important}
html body .lm75-tools button.lx-lang{padding:0 9px!important}
html body button.lx-lang.lx-lang-login{padding:0 6px!important}
html.lm60-is-menu body .lmai-nudge,html.lm60-is-sheet body .lmai-nudge{display:none!important}

/* V10.2.2 · Arabic typeface everywhere: the theme sets Latin-only fonts on many elements, so Arabic fell back to thin system glyphs */
html.lx-ar body,html.lx-ar body *:not(code):not(kbd):not(pre):not(samp):not(.lm-icon):not(.lm-chevron){font-family:"IBM Plex Sans Arabic","Plus Jakarta Sans","Noto Kufi Arabic","Segoe UI",Tahoma,sans-serif!important;letter-spacing:0!important}
html.lx-ar body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
