.app-language{display:flex;align-items:center;gap:.4rem;margin:0;max-width:100%;line-height:1.3}
.header-navbar .language-menu .app-language{margin-top:12px}
.app-language label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.app-language select{width:auto;max-width:145px;min-height:34px;padding:.35rem .5rem;border:1px solid #DCE6EB;border-radius:6px;background:#fff;color:#10212D;font-family:inherit;font-size:13px}
.app-language .btn{min-height:34px;padding:.35rem .5rem}
.auth-language{position:fixed;inset-block-start:12px;inset-inline-end:16px;z-index:10;background:white;padding:6px;border-radius:8px}
html[dir=rtl] body{text-align:right}
html[dir=rtl] .pcoded .pcoded-navbar{float:right;left:auto;right:0}
html[dir=rtl] .pcoded .pcoded-content{margin-left:0;margin-right:240px}
html[dir=rtl] .pcoded .navbar-logo{float:right}
html[dir=rtl] .header-navbar .navbar-wrapper .navbar-container{margin-left:0;margin-right:240px}
html[dir=rtl] .header-navbar .navbar-wrapper .navbar-container .nav-left{float:right}
html[dir=rtl] .header-navbar .navbar-wrapper .navbar-container .nav-right{float:left}
html[dir=rtl] .pcoded .pcoded-navbar .pcoded-item>li>a{text-align:right}
html[dir=rtl] .pcoded .pcoded-navbar .pcoded-item>li>a>.pcoded-micon{float:right;margin-left:10px;margin-right:0}
html[dir=rtl] .pcoded .pcoded-navbar .pcoded-item>li.pcoded-hasmenu>a:after{left:20px;right:auto}
html[dir=rtl] .pcoded .pcoded-navbar .pcoded-item .pcoded-submenu>li>a{padding-left:10px;padding-right:45px}
html[dir=rtl] .dropdown-menu{text-align:right}
html[dir=rtl] .header-notification .show-notification{left:0;right:auto}
html[dir=rtl] .modal-header .btn-close{margin-right:auto;margin-left:0}
html[dir=rtl] .table th,html[dir=rtl] .table td{text-align:start}
html[dir=rtl] .form-check{padding-left:0;padding-right:1.5em}
html[dir=rtl] .form-check .form-check-input{float:right;margin-left:0;margin-right:-1.5em}
html[dir=rtl] input[type=email],html[dir=rtl] input[type=url],html[dir=rtl] input[type=tel],html[dir=rtl] input[type=number]{direction:ltr;text-align:right}
html[dir=rtl] .input-group{direction:rtl}
html[dir=rtl] .pagination{padding-right:0}
html[dir=rtl] .swal2-popup{direction:rtl}
html[dir=rtl] .app-busy::before{margin-right:0;margin-left:.5rem}
html[dir=rtl] .pcoded[vertical-nav-type=collapsed] .pcoded-content{margin-right:80px}
@media(max-width:991px){html[dir=rtl] .pcoded .pcoded-content{margin-right:0}html[dir=rtl] .header-navbar .navbar-wrapper .navbar-container{margin-right:0}.app-language select{max-width:115px}}
@media(max-width:575px){.auth-language{inset-block-start:5px;inset-inline-end:5px}.app-language{gap:.2rem}.app-language select{max-width:100px;font-size:12px}.app-language .btn{font-size:12px}}

/* Reuse pcoded's right-placement mode; keep its collapse/overlay behavior. */
html[dir=rtl] .pcoded .pcoded-content{margin-left:0!important}
html[dir=rtl] .pcoded .pcoded-navbar .pcoded-item{padding:0;max-width:100%}
html[dir=rtl] .pcoded .pcoded-navbar .pcoded-item>li{width:100%;clear:both}
html[dir=rtl] .pcoded[theme-layout=vertical] .pcoded-navbar .pcoded-item>li>a{display:flex;align-items:center;min-height:44px;padding:10px 18px;gap:10px}
html[dir=rtl] .pcoded[theme-layout=vertical] .pcoded-navbar .pcoded-item>li>a>.pcoded-micon{position:static;float:none;flex:0 0 24px;margin:0}
html[dir=rtl] .pcoded[theme-layout=vertical] .pcoded-navbar .pcoded-item>li>a>.pcoded-mtext{float:none;position:static;white-space:normal}
html[dir=rtl] .pcoded .pcoded-navbar .mCSB_container{width:auto!important;max-width:100%;margin-right:0;margin-left:0}
html[dir=rtl] .pcoded[vertical-nav-type=offcanvas] .pcoded-content{margin-right:0}
html[dir=rtl] .pcoded .pcoded-navbar .mCustomScrollBox{direction:ltr}
html[dir=rtl] .pcoded .pcoded-navbar .mCSB_container{direction:rtl;left:0!important;right:auto!important;margin:0!important;width:100%!important}
