/* عاملاتي | تحسينات موحدة للموبايل والقوائم والشعار */
html,body{max-width:100%;overflow-x:hidden}
img[src*="logo" i],img[alt*="عاملاتي" i]{box-sizing:border-box}
.amilati-logo-surface{background:rgba(255,255,255,.97)!important;padding:6px 10px!important;border-radius:12px!important;filter:none!important;box-shadow:0 5px 18px rgba(8,43,85,.10)}
.amilati-brand-surface{background:linear-gradient(135deg,#ffffff,#f8fbff)!important;border-radius:14px!important;padding:8px 10px!important;box-shadow:0 6px 20px rgba(8,43,85,.10)!important}
.amilati-brand-surface .amilati-logo-surface{box-shadow:none!important;background:transparent!important;padding:0!important}

.amilati-global-menu-btn,.amilati-office-menu-btn{display:none;position:fixed;top:14px;left:14px;width:46px;height:46px;border:1px solid #dce4ec;border-radius:12px;background:#fff;color:#082b55;align-items:center;justify-content:center;font-size:24px;font-weight:900;z-index:99998;box-shadow:0 8px 24px rgba(8,43,85,.16);cursor:pointer}
.amilati-global-drawer{display:none;position:fixed;top:68px;right:12px;left:12px;max-height:calc(100vh - 84px);overflow:auto;background:#fff;border:1px solid #dce4ec;border-radius:16px;padding:10px;z-index:99999;box-shadow:0 18px 50px rgba(8,43,85,.2);direction:rtl}
.amilati-global-drawer.open{display:block}.amilati-global-drawer a{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-radius:10px;color:#082b55;text-decoration:none;font-weight:800;font-size:14px}.amilati-global-drawer a:hover{background:#f2f6fa}.amilati-global-drawer .special{background:#fff7e7;color:#805a15}
@media(max-width:950px){
  .amilati-global-menu-btn,.amilati-office-menu-btn{display:flex}
  .dashboard .sidebar.amilati-managed-sidebar{display:block!important;position:fixed!important;top:0!important;right:0!important;width:min(86vw,290px)!important;min-width:0!important;height:100vh!important;z-index:99997!important;transform:translateX(105%);transition:transform .25s ease;overflow-y:auto!important;box-shadow:-12px 0 32px rgba(0,0,0,.22)}
  .dashboard .sidebar.amilati-managed-sidebar.amilati-mobile-open{transform:translateX(0)}
  .dashboard .sidebar.amilati-managed-sidebar .brand img{filter:none!important;background:#fff!important;padding:6px 10px!important;border-radius:12px!important}
}
@media(max-width:600px){select,input,textarea{font-size:16px!important;max-width:100%}}

@media(max-width:950px){
  .amilati-existing-office-menu-btn{display:flex!important;position:relative!important;right:auto!important;left:auto!important;top:auto!important;transform:none!important;visibility:visible!important;opacity:1!important;z-index:99996!important}
}
