/* Sottomenu desktop agenzie: unico pulsante Clienti nella barra laterale. */
.private-client-submenu{display:none!important}
@media(min-width:900px){
 .private-client-submenu:not([hidden]){display:block!important;position:fixed;top:72px;left:82px;bottom:0;width:264px;z-index:20000;background:#fff;border-right:1px solid #dce5ee;box-shadow:5px 0 20px #15344b18;padding:24px 17px;box-sizing:border-box}
 .private-client-submenu-head{display:flex;justify-content:space-between;align-items:center;padding:0 5px 18px;border-bottom:1px solid #e0e7ef;margin-bottom:14px}
 .private-client-submenu-head strong{font-size:17px;color:#263c54}
 .private-client-submenu-head button{cursor:pointer;background:transparent;border:0;color:#667f98;font-size:25px;line-height:1;padding:5px 10px}
 .private-client-submenu nav{display:flex;flex-direction:column;gap:7px}
 .private-client-submenu nav a{display:block;padding:14px 13px;border-radius:9px;text-decoration:none;font-size:14px;color:#395269;font-weight:650}
 .private-client-submenu nav a:hover,.private-client-submenu nav a.is-current{background:#eaf4fc;color:#0878c3}
 .private-desktop-sidebar button[data-client-menu-trigger].is-active{background:#eef7fd!important;color:#0b7cc1!important}
}

@media(min-width:900px){body.my-listings-body .private-client-submenu:not([hidden]),body.clients-page-body .private-client-submenu:not([hidden]){z-index:20000!important;isolation:isolate!important}}


/* Menu temporaneo: non occupa mai larghezza nella pagina Clienti. */
.private-client-submenu[hidden]{display:none!important}
@media(min-width:900px){
  body.clients-page-body .private-client-submenu:not([hidden]){
    display:block!important;position:fixed!important;top:70px!important;left:77px!important;
    width:228px!important;max-height:min(580px,calc(100dvh - 84px));bottom:auto!important;
    border:1px solid #d9e5ed!important;border-radius:0 15px 15px 0!important;
    padding:13px 11px!important;background:#fff!important;
    box-shadow:8px 12px 28px #173b5b25!important;z-index:20000!important;
    overflow-y:auto!important;box-sizing:border-box!important;
  }
  body.clients-page-body .private-client-submenu:not([hidden]) [data-client-menu-close]{display:inline-flex!important}
}
@media(max-width:899px){
  body.clients-page-body .private-client-submenu:not([hidden]){
    display:block!important;position:fixed!important;top:72px!important;left:10px!important;
    width:min(310px,calc(100vw - 20px))!important;bottom:auto!important;
    max-height:calc(100dvh - 85px);overflow-y:auto;z-index:20000!important;
    background:#fff!important;border:1px solid #d9e5ed!important;border-radius:14px!important;
    padding:14px!important;box-shadow:8px 14px 35px #173b5b30!important;
  }
}
@media(max-width:899px){
  body.clients-page-body .private-client-submenu:not([hidden]) .private-client-submenu-head{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    padding:4px 4px 13px;margin-bottom:10px;border-bottom:1px solid #e2eaf1
  }
  body.clients-page-body .private-client-submenu:not([hidden]) .private-client-submenu-head strong{font-size:17px;color:#203e59}
  body.clients-page-body .private-client-submenu:not([hidden]) .private-client-submenu-head button{border:0;background:#eef4f9;border-radius:9px;color:#355b79;font-size:23px;width:34px;height:34px;cursor:pointer}
  body.clients-page-body .private-client-submenu:not([hidden]) nav{display:flex;flex-direction:column;gap:5px}
  body.clients-page-body .private-client-submenu:not([hidden]) nav a{display:block;padding:12px 11px;border-radius:9px;text-decoration:none;color:#375975;font-size:13px;font-weight:700}
  body.clients-page-body .private-client-submenu:not([hidden]) nav a:hover,
  body.clients-page-body .private-client-submenu:not([hidden]) nav a.is-current{background:#e8f4fe;color:#0b79bf}
}

/* Menu privato v20261120: stessa geometria su Annunci, Pubblica, Messaggi, Statistiche e Impostazioni. */
@media (min-width:900px){
  body .private-desktop-sidebar{
    top:72px!important;
    left:0!important;
    width:82px!important;
    padding:14px 8px!important;
    box-sizing:border-box!important;
  }
  body .private-desktop-sidebar > a,
  body .private-desktop-sidebar > button{
    flex:0 0 auto!important;
    width:100%!important;
    min-height:62px!important;
    padding:7px 4px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    text-align:center!important;
    border-radius:10px!important;
  }
  body .private-desktop-sidebar > :is(a,button)[hidden]{display:none!important}
  body .private-desktop-sidebar > :is(a,button) > span:last-child{
    max-width:68px!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    font-size:11px!important;
    line-height:1.08!important;
  }
  body .private-desktop-sidebar > button[data-client-menu-trigger].is-active{
    color:#0b7cc1!important;
    background:#eef7fd!important;
  }
}
