.wacrm-agent-menu-close { display: none !important; }

.wacrm-agent-mobile-drawer { z-index: 2147483100 !important; }
.wacrm-agent-mobile-drawer .MuiBackdrop-root { background: rgba(17, 27, 33, .42) !important; }
.wacrm-agent-mobile-drawer .MuiDrawer-paper {
  width: min(320px, calc(100vw - 48px)) !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 20px 20px 0 !important;
  background: #fff !important;
  box-shadow: 8px 0 32px rgba(17, 27, 33, .14) !important;
  overflow: hidden !important;
}
.wacrm-agent-mobile-drawer .wacrm-agent-sidebar {
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  border: 0 !important;
  color: #111b21;
}
.wacrm-agent-mobile-drawer .wacrm-agent-menu-header {
  min-height: 76px;
  gap: 10px !important;
  padding: calc(12px + env(safe-area-inset-top)) 16px 12px !important;
  box-sizing: border-box;
  border-bottom: 1px solid #eef2f3 !important;
}
.wacrm-agent-mobile-drawer .wacrm-agent-menu-header > p {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: #111b21;
}
.wacrm-agent-mobile-drawer .wacrm-agent-menu-close {
  display: inline-flex !important;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 8px;
  color: #54656f;
  background: #f2f5f6;
  border-radius: 50%;
}
.wacrm-agent-mobile-drawer .wacrm-agent-menu-scroll {
  flex: 1 1 0 !important;
  min-height: 0;
  padding: 20px 12px !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain;
}
.wacrm-agent-mobile-drawer .wacrm-agent-menu-scroll > span {
  padding: 0 12px !important;
  margin-bottom: 12px !important;
  color: #8696a0;
  font-size: 11px !important;
  letter-spacing: .8px !important;
}
.wacrm-agent-mobile-drawer .wacrm-agent-menu-list { gap: 6px !important; }
.wacrm-agent-mobile-drawer .wacrm-agent-groups-count[hidden] { display: none !important; }
.wacrm-agent-mobile-drawer .wacrm-agent-menu-list > * {
  width: 100% !important;
  min-width: 0;
  min-height: 52px !important;
  height: auto !important;
  flex-shrink: 0;
  margin: 0 !important;
  padding: 8px 12px !important;
  gap: 12px !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-sizing: border-box;
  color: #34454f !important;
  background: transparent;
  text-align: left;
  font: 600 14px/1.3 Roboto, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
.wacrm-agent-mobile-drawer .wacrm-agent-menu-list > *:focus-visible {
  outline: 2px solid #008069;
  outline-offset: -2px;
}
.wacrm-agent-mobile-drawer .wacrm-agent-menu-list > *:hover { background: #f2f7f6 !important; }
.wacrm-agent-mobile-drawer .wacrm-agent-menu-list > [aria-current='page'],
.wacrm-agent-mobile-drawer .wacrm-agent-menu-list > [data-active='1'] {
  background: #e4f4ef !important;
  color: #00796b !important;
}
.wacrm-agent-mobile-drawer .wacrm-agent-menu-list:has(#wacrm-agent-groups-nav[data-active='1']) > [data-page='chat'] {
  background: transparent !important;
  color: #34454f !important;
}
.wacrm-agent-mobile-drawer .wacrm-agent-nav-item > p {
  font: inherit !important;
  color: inherit !important;
  min-width: 0;
}
.wacrm-agent-mobile-drawer .wacrm-agent-nav-icon,
.wacrm-agent-mobile-drawer .wacrm-agent-groups-icon,
.wacrm-agent-mobile-drawer .wacrm-agent-channel-nav > svg {
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 11px !important;
  background: #f0f4f5 !important;
  color: #54656f !important;
  box-shadow: none !important;
}
.wacrm-agent-mobile-drawer .wacrm-agent-channel-nav > svg { padding: 8px; box-sizing: border-box; }
.wacrm-agent-mobile-drawer .wacrm-agent-nav-icon > svg { color: #54656f !important; width: 20px; height: 20px; }
.wacrm-agent-mobile-drawer [aria-current='page'] > .wacrm-agent-nav-icon,
.wacrm-agent-mobile-drawer [data-active='1'] > .wacrm-agent-groups-icon,
.wacrm-agent-mobile-drawer [data-active='1'] > svg {
  background: #cfebe2 !important;
  color: #00796b !important;
}
.wacrm-agent-mobile-drawer .wacrm-agent-nav-item > .wacrm-agent-nav-icon ~ div { display: none; }
.wacrm-agent-mobile-drawer [data-page='logout'] {
  margin-top: 20px !important;
  border-top: 1px solid #eef2f3 !important;
  border-radius: 0 !important;
  padding-top: 16px !important;
}
.wacrm-agent-mobile-drawer .wacrm-agent-menu-account {
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom)) !important;
  gap: 12px !important;
  background: #f7f9fa;
  min-width: 0;
}
.wacrm-agent-mobile-drawer .wacrm-agent-menu-account > .MuiAvatar-root {
  width: 40px;
  height: 40px;
  background: #e4f4ef;
  color: #00796b;
  font-size: 15px;
}
.wacrm-agent-mobile-drawer .wacrm-agent-menu-account > div:last-child { flex: 1; min-width: 0; }
.wacrm-agent-mobile-drawer .wacrm-agent-menu-account span:first-child { font-size: 13px; color: #111b21; }
.wacrm-agent-mobile-drawer .wacrm-agent-menu-account span:last-child { font-size: 11px; color: #8696a0; }
.wacrm-agent-mobile-drawer .inboxTranslateButton,
.wacrm-agent-mobile-drawer .wacrm-agent-inline-translate { display: none !important; }
