.nh-account-languages{position:fixed;inset:auto 16px 14px auto;z-index:150;display:flex;gap:4px;padding:5px;border:1px solid #d5e0e9;background:#fff;box-shadow:0 6px 24px #07192b20;border-radius:12px;font:600 13px/1.4 Arial,sans-serif;direction:ltr}
.nh-account-languages a{padding:8px 10px;border-radius:8px;text-decoration:none;color:#173248;white-space:nowrap}.nh-account-languages a[aria-current=true]{background:#173248;color:#fff}.nh-account-languages a:focus-visible{outline:3px solid #c9a24d;outline-offset:2px}

html[dir=rtl] body{font-family:Tahoma,Arial,sans-serif}html[dir=rtl] input[type=email],html[dir=rtl] input[type=url],html[dir=rtl] input[type=tel],html[dir=rtl] input[type=number],html[dir=rtl] input[type=password]{direction:ltr;text-align:start}
html[dir=rtl] .nh-shell-sidebar{inset:0 0 0 auto!important;border-right:0!important;border-left:1px solid #203448!important}html[dir=rtl] body.nh-shell{padding-left:0!important;padding-right:var(--nh-nav-width)!important}
html[dir=rtl] .nh-shell-topbar{left:0!important;right:var(--nh-nav-width)!important}html[dir=rtl] .text-left{text-align:right}html[dir=rtl] .text-right{text-align:left}
html[dir=rtl] .nh-account-languages{inset:auto auto 14px 16px}
@media(max-width:900px){html[dir=rtl] body.nh-shell{padding-right:0!important}html[dir=rtl] .nh-shell-topbar{right:0!important}html[dir=rtl] .nh-shell-sidebar{transform:translateX(110%)!important}html[dir=rtl] body.nh-nav-open .nh-shell-sidebar{transform:translateX(0)!important}}
@media(max-width:540px){.nh-account-languages{inset:auto 10px 10px auto}.nh-account-languages a{padding:7px 9px}}


/* NestroHub consistent top language bar v2 */
:root { --nh-language-height: 44px; }

.nh-account-languages {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    height: var(--nh-language-height);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem .8rem;
    padding: .5rem 1rem;
    background: #f1f5f9;
    color: #15304d;
    border: 0;
    border-bottom: 1px solid #dbe3eb;
    border-radius: 0;
    box-shadow: none;
    font: 500 13px/1.6 system-ui, sans-serif;
}
.nh-account-languages a {
    padding: .15rem .35rem;
    border-radius: 4px;
    color: #15304d;
}
.nh-account-languages a[aria-current="true"] {
    background: #15304d;
    color: #fff;
}
body.nh-shell .nh-account-languages {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    z-index: 200;
}
body.nh-shell {
    padding-top: calc(var(--nh-bar-height, 78px) + var(--nh-language-height)) !important;
}
.nh-shell .nh-shell-topbar {
    top: var(--nh-language-height) !important;
}
.nh-shell .nh-shell-sidebar,
html[dir="rtl"] .nh-shell .nh-shell-sidebar {
    top: var(--nh-language-height) !important;
    height: calc(100dvh - var(--nh-language-height)) !important;
}

/* Language expansion: keep the top bar and existing dashboard offsets. */
.nh-account-languages{flex-wrap:nowrap!important;overflow-x:auto;overflow-y:hidden;justify-content:flex-start;gap:4px;padding:4px 8px;direction:ltr;scrollbar-width:thin}
.nh-account-languages a{flex:0 0 auto;white-space:nowrap;line-height:24px}
.nh-account-languages a:first-child{margin-left:auto}
.nh-account-languages a:last-child{margin-right:auto}
