/* ALchat Developer 4.4 - MOBILE NAVIGATION CENTER */

/* La sidebar principale resta nel DOM ma sparisce dalla vista: tutto passa dal menu */
.alMainSidebarHidden{
  display:none!important;
}
.main{
  grid-template-columns:1fr!important;
}
.chatPanel{
  width:100%!important;
}

/* Pulsante e pannello menu */
.alMainMenuBtn{
  position:fixed;
  top:12px;
  left:12px;
  z-index:300000;
  width:48px;
  height:48px;
  border-radius:16px;
  background:#111827;
  border:1px solid rgba(147,197,253,.35);
  box-shadow:0 12px 26px rgba(0,0,0,.38)!important;
}
.alSideMenuBackdrop{
  display:none;
  position:fixed;
  inset:0;
  z-index:299998;
  background:rgba(0,0,0,.55);
}
.alSideMenu{
  position:fixed;
  top:0;
  left:0;
  bottom:0;
  width:min(420px,88vw);
  z-index:299999;
  background:#071225;
  border-right:1px solid rgba(147,197,253,.25);
  transform:translateX(-105%);
  transition:transform .20s ease;
  overflow:hidden;
  box-shadow:18px 0 45px rgba(0,0,0,.55)!important;
}
body.alMenuOpen .alSideMenu{transform:translateX(0);}
body.alMenuOpen .alSideMenuBackdrop{display:block;}
.alSideMenuHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px;
  border-bottom:1px solid rgba(148,163,184,.14);
  background:#071225;
}
.alSideMenuHead span{display:block;color:#94a3b8;font-size:12px;margin-top:3px;}
.alMenuClose{width:auto;background:#334155;}
.alSideMenuScroll{
  height:calc(100vh - 72px);
  overflow-y:auto;
  overflow-x:hidden;
  padding:12px;
  display:grid;
  gap:9px;
  -webkit-overflow-scrolling:touch;
}
.alMenuDivider{
  height:1px;
  background:rgba(148,163,184,.16);
  margin:8px 0;
}
.alMenuNavBtn,
.alAccordionBtn,
.alMenuSubBtn{
  width:100%;
  min-height:50px;
  text-align:left!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px;
  border-radius:14px!important;
  padding:12px 14px!important;
  background:#111827;
  border:1px solid rgba(147,197,253,.18);
}
.alMenuSubBtn{
  min-height:44px;
  margin:7px 0;
}
.alAccordionBtn.active{
  background:#1d4ed8!important;
  border-color:rgba(147,197,253,.45);
}
.alAccordionBtn span{
  margin-left:auto;
  transition:transform .16s ease;
}
.alAccordionBtn.active span{
  transform:rotate(180deg);
}
.alAccordionPanel{
  display:none;
  width:100%;
  overflow:visible!important;
  max-height:none!important;
  height:auto!important;
  padding:10px;
  border-radius:16px;
  background:rgba(15,23,42,.64);
  border:1px solid rgba(148,163,184,.13);
}
.alAccordionPanel.active{
  display:block;
}
.alFollowList{
  display:none;
}
.alFollowList.active{
  display:block;
}
.alMenuSearch{
  margin-bottom:10px!important;
}
.alMenuDynamicList{
  display:grid;
  gap:7px;
  overflow:visible!important;
  max-height:none!important;
}
.alMenuItem{
  display:grid;
  grid-template-columns:42px 1fr auto;
  gap:9px;
  align-items:center;
  padding:9px 0;
  border-bottom:1px solid rgba(148,163,184,.10);
}
.alMenuItem:last-child{border-bottom:0;}
.alMenuAvatar{
  width:40px;
  height:40px;
  border-radius:50%;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#1d4ed8,#9333ea);
  font-weight:900;
}
.alMenuAvatar img{width:100%;height:100%;object-fit:cover;}
.alMenuName{font-weight:900;color:#f8fafc;}
.alMenuMeta{font-size:12px;color:#94a3b8;margin-top:2px;}
.alMenuMiniBtn{
  width:auto!important;
  min-height:36px!important;
  padding:8px 10px!important;
  border-radius:11px!important;
  font-size:13px!important;
}
.alFollowPerson{
  display:grid;
  grid-template-columns:42px 1fr;
  gap:9px;
  align-items:center;
  padding:9px 0;
  border-bottom:1px solid rgba(148,163,184,.10);
}
.alFollowPerson:last-child{border-bottom:0;}
.alFollowAvatar{
  width:40px;
  height:40px;
  border-radius:50%;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#1d4ed8,#9333ea);
  font-weight:900;
}
.alFollowAvatar img{width:100%;height:100%;object-fit:cover;}
.alFollowName{font-weight:900;color:#f8fafc;}
.alFollowMeta{font-size:12px;color:#94a3b8;margin-top:2px;}
.alFollowOn{background:#16a34a!important;}

@media(max-width:700px){
  .alSideMenu{width:92vw;}
  .alMainMenuBtn{top:8px;left:8px;width:44px;height:44px;}
  .main{padding:0!important;}
  .chatPanel{height:calc(100vh - 100px)!important;}
}



/* =========================================================
 ALchat Platform 2.0 Build 006 - Navigation Center final
========================================================= */
.alSocialSideClean{display:none!important;}
.socialScreen{grid-template-columns:1fr!important;}
.socialMain{width:100%!important;max-width:none!important;}
.alAccordionPanel{overflow:visible!important;max-height:none!important;height:auto!important;}
.alSideMenuScroll{overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;}
.alMenuItemActions{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:6px;
}
.alMenuMiniBtn{
  width:100%!important;
  min-height:38px!important;
  padding:8px 10px!important;
  border-radius:11px!important;
  font-size:13px!important;
  text-align:center!important;
  justify-content:center!important;
}
.alMenuDangerBtn{background:#dc2626!important;}
.alMenuProfileBtn{background:#334155!important;}
.alSocialProfileView{
  background:rgba(7,18,37,.86);
  border:1px solid rgba(147,197,253,.22);
  border-radius:20px;
  padding:16px;
  margin-bottom:16px;
}
.alSocialProfileHead{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:12px;
  align-items:center;
}
.alSocialProfileAvatar{
  width:64px;height:64px;border-radius:50%;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#1d4ed8,#9333ea);
  font-weight:900;font-size:22px;
}
.alSocialProfileAvatar img{width:100%;height:100%;object-fit:cover;}
.alSocialBackBtn{width:auto!important;margin-bottom:12px;background:#334155!important;}
@media(max-width:700px){
  .socialScreen{padding:0!important;}
  .socialMain{padding:8px!important;}
}
