.bs-i18n-switcher{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px;direction:ltr}
.auth-language-bar{margin:0 0 10px;padding:8px;border:1px solid rgba(148,163,184,.28);border-radius:12px;background:rgba(15,23,42,.72)}
.app-language-bar{max-width:520px}
.bs-lang-btn,.bs-market-link{min-width:64px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border:1px solid rgba(148,163,184,.38);border-radius:9px;background:#172033;color:#f8fafc;font:700 11px/1.1 system-ui,sans-serif;text-decoration:none;white-space:nowrap;cursor:pointer}
.bs-lang-btn.active{background:linear-gradient(135deg,#16a34a,#059669);border-color:#6ee7b7;box-shadow:0 0 0 1px rgba(110,231,183,.2)}
.bs-market-link{background:linear-gradient(135deg,#7c3aed,#9333ea);border-color:#c084fc;color:#fff!important}
.bs-market-link:hover{background:linear-gradient(135deg,#6d28d9,#7e22ce)}
html[dir="rtl"] body{text-align:right}
html[dir="rtl"] .sidebar{right:0;left:auto}
html[dir="rtl"] .module-nav button,html[dir="rtl"] .field label,html[dir="rtl"] th,html[dir="rtl"] td{text-align:right}
@media(max-width:1100px){.topbar{height:auto!important;min-height:64px;align-items:flex-start!important;flex-wrap:wrap;padding-top:8px!important;padding-bottom:8px!important}.topbar>.top-actions{width:100%;display:flex;flex-wrap:wrap!important}.app-language-bar{order:-1;width:100%;max-width:none;justify-content:flex-start}}
@media(max-width:700px){.auth-page{padding:0!important}.auth-card{width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:100dvh!important;border-radius:0!important}.auth-control-panel{padding:12px!important;min-width:0!important}.auth-language-bar{justify-content:center}.bs-lang-btn,.bs-market-link{min-width:58px;padding:7px 8px;font-size:10px}.auth-installer-center{min-width:0}.auth-device-grid,.login-installer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.app-shell{width:100%!important;max-width:100%!important;height:100dvh!important;margin:0!important;border-radius:0!important}.topbar>.top-actions{gap:5px!important}.app-language-bar{justify-content:center}.content{padding:10px!important}}
