.crm-sidebarV3 {
  position: fixed;
  top: 118px;
  left: 0;
  z-index: 1045;
  width: 86px;
  height: calc(100vh - 148px);
  background: transparent;
  box-shadow: none;
  overflow: visible;
  visibility: visible;
  transform: none;
  transition: transform .2s ease-in-out;
}

.crm-sidebarV3-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  width: 70px;
  height: 100%;
  margin-left: 16px;
  padding: 14px 10px;
  border: 1px solid #e7edf8;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(82, 104, 218, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,248,255,0.98) 100%);
  box-shadow: 0 24px 60px -44px rgba(36, 58, 99, 0.38);
  overflow-y: auto;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.crm-sidebarV3-rail::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.crm-sidebarV3-rail-top,
.crm-sidebarV3-rail-sections {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
}

.crm-sidebarV3-rail-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #5d6883;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.crm-sidebarV3-rail-btn:hover,
.crm-sidebarV3-rail-btn.is-active {
  background: #eef2ff;
  color: #4252d6;
  transform: translateX(2px);
}

.crm-sidebarV3-rail-btn i {
  font-size: 18px;
  line-height: 1;
  margin: 0 !important;
}

.crm-sidebarV3-sort-handle {
  position: absolute;
  top: 5px;
  right: 4px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 999px;
  background: #002058;
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(0, 32, 88, 0.7);
  cursor: grab;
}

.crm-sidebarV3-sort-handle i {
  font-size: 10px;
}

.crm-sidebarV3-rail-badge {
  position: absolute;
  top: 6px;
  right: 5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f6b10a;
  color: #3c2a00;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.crm-sidebarV3-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #eef2ff;
  color: #4252d6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.crm-sidebarV3-flyout {
  position: fixed;
  top: 118px;
  left: 96px;
  z-index: 1050;
  width: min(420px, calc(100vw - 128px));
  height: calc(100vh - 148px);
  padding: 0;
  border: 1px solid #e7edf8;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(82, 104, 218, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(247,249,255,0.99) 100%);
  box-shadow: 0 32px 70px -46px rgba(28, 49, 93, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-18px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  overflow: hidden;
}

.crm-sidebarV3-flyout.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.crm-sidebarV3-flyout-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid #edf1f7;
}

.crm-sidebarV3-flyout-head h5 {
  margin: 0;
  color: #25304d;
  font-size: 22px;
  font-weight: 800;
}

.crm-sidebarV3-flyout-head p {
  margin: 6px 0 0;
  color: #7b8699;
  font-size: 13px;
}

.crm-sidebarV3-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 14px;
  background: #f3f6fd;
  color: #5b6886;
}

.crm-sidebarV3-flyout-body {
  height: calc(100% - 89px);
  padding: 18px;
  overflow: auto;
}

.crm-sidebarV3-panel-search {
  margin-bottom: 18px;
}

.crm-sidebarV3-panel-search input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dde5f3;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #25304d;
  font-size: 15px;
}

.crm-sidebarV3-panel-list,
.crm-sidebarV3-search-groups {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.crm-sidebarV3-group {
  border: 1px solid #e7edf8;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.crm-sidebarV3-group-head {
  padding: 14px 16px;
  border-bottom: 1px solid #edf1f7;
}

.crm-sidebarV3-group-head > strong {
  display: block;
  color: #25304d;
  font-size: 14px;
  font-weight: 700;
}

.crm-sidebarV3-group-head > span {
  display: block;
  margin-top: 3px;
  color: #002058;
  font-size: 12px;
  opacity: .72;
}

.crm-sidebarV3-links {
  padding: 10px;
}

.crm-sidebarV3-section-links {
  padding: 0;
}

.crm-sidebarV3-link,
.crm-sidebarV3-search-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  transition: background .16s ease, color .16s ease;
}

.crm-sidebarV3-link-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.crm-sidebarV3-link-shell + .crm-sidebarV3-link-shell {
  margin-top: 6px;
}

.crm-sidebarV3-link-group {
  margin-top: 6px;
}

.crm-sidebarV3-link-group:first-child {
  margin-top: 0;
}

.crm-sidebarV3-link-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #edf1f7;
}

.crm-sidebarV3-link-group-anchor {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #002058;
  text-align: left;
  border-radius: 14px;
}

.crm-sidebarV3-link-group-anchor.is-active {
  color: #002058;
}

.crm-sidebarV3-link-group-anchor .crm-sidebarV3-link-icon {
  display: inline-flex;
  align-self: center;
  margin-top: 0;
}

.crm-sidebarV3-link-group-anchor .crm-sidebarV3-link-title {
  font-size: 14px;
  line-height: 1.3;
}

.crm-sidebarV3-link-group-anchor .crm-sidebarV3-link-meta {
  margin-top: 2px;
  line-height: 1.35;
  color: #002058;
  opacity: .72;
}

.crm-sidebarV3-link:hover,
.crm-sidebarV3-search-link:hover {
  background: #f6f8ff;
  color: inherit;
}

.crm-sidebarV3-link.active,
.crm-sidebarV3-link.is-active,
.crm-sidebarV3-search-link.active,
.crm-sidebarV3-search-link.is-active {
  background: linear-gradient(180deg, #eef3ff 0%, #e8efff 100%);
  box-shadow: inset 0 0 0 1px rgba(66, 82, 214, 0.12);
  color: inherit;
}

.crm-sidebarV3-link.active .crm-sidebarV3-link-icon,
.crm-sidebarV3-link.is-active .crm-sidebarV3-link-icon,
.crm-sidebarV3-search-link.active .crm-sidebarV3-search-icon,
.crm-sidebarV3-search-link.is-active .crm-sidebarV3-search-icon,
.crm-sidebarV3-link-group.active .crm-sidebarV3-link-group-anchor .crm-sidebarV3-link-icon,
.crm-sidebarV3-link-group-anchor.active .crm-sidebarV3-link-icon,
.crm-sidebarV3-link-group-anchor.is-active .crm-sidebarV3-link-icon {
  background: #dfe8ff;
  color: #2441c7;
}

.crm-sidebarV3-link.active .crm-sidebarV3-link-title,
.crm-sidebarV3-link.is-active .crm-sidebarV3-link-title,
.crm-sidebarV3-search-link.active .crm-sidebarV3-search-title,
.crm-sidebarV3-search-link.is-active .crm-sidebarV3-search-title,
.crm-sidebarV3-link-group.active .crm-sidebarV3-link-group-anchor .crm-sidebarV3-link-title,
.crm-sidebarV3-link-group-anchor.active .crm-sidebarV3-link-title,
.crm-sidebarV3-link-group-anchor.is-active .crm-sidebarV3-link-title {
  color: #002058;
}

.crm-sidebarV3-link.active .crm-sidebarV3-link-meta,
.crm-sidebarV3-link.is-active .crm-sidebarV3-link-meta,
.crm-sidebarV3-search-link.active .crm-sidebarV3-search-meta,
.crm-sidebarV3-search-link.is-active .crm-sidebarV3-search-meta,
.crm-sidebarV3-link-group.active .crm-sidebarV3-link-group-anchor .crm-sidebarV3-link-meta,
.crm-sidebarV3-link-group-anchor.active .crm-sidebarV3-link-meta,
.crm-sidebarV3-link-group-anchor.is-active .crm-sidebarV3-link-meta {
  color: #002058;
  opacity: .76;
}

.crm-sidebarV3-link-icon,
.crm-sidebarV3-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 14px;
  background: #eef2ff;
  color: #4252d6;
  line-height: 1;
}

.crm-sidebarV3-link-icon i,
.crm-sidebarV3-search-icon i,
.crm-sidebarV3-favorite i,
.crm-sidebarV3-close i {
  line-height: 1;
  margin: 0 !important;
}

.crm-sidebarV3 i {
  margin-right: 0 !important;
}

.crm-sidebarV3-link-body,
.crm-sidebarV3-search-body {
  min-width: 0;
  flex: 1 1 auto;
}

.crm-sidebarV3-link-top,
.crm-sidebarV3-search-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.crm-sidebarV3-link-title,
.crm-sidebarV3-search-title {
  display: block;
  color: #25304d;
  font-size: 14px;
  font-weight: 700;
}

.crm-sidebarV3-link-meta,
.crm-sidebarV3-search-meta {
  display: block;
  margin-top: 4px;
  color: #7b8699;
  font-size: 12px;
}

.crm-sidebarV3-link-children {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #eef2f8;
}

.crm-sidebarV3-link-group .crm-sidebarV3-link-children {
  margin-top: 0;
  padding: 8px 10px 10px;
}

.crm-sidebarV3-link-group.is-collapsed .crm-sidebarV3-link-children {
  display: none;
}

.crm-sidebarV3-link-group.is-collapsed .crm-sidebarV3-link-group-head {
  border-bottom-color: transparent;
}

.crm-sidebarV3-link-group.active .crm-sidebarV3-link-group-head {
  background: linear-gradient(180deg, rgba(238, 243, 255, 0.92) 0%, rgba(232, 239, 255, 0.92) 100%);
}

.crm-sidebarV3-link-children .crm-sidebarV3-link {
  padding: 10px 12px;
}

.crm-sidebarV3-link-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 8px;
  margin-left: auto;
  align-self: center;
}

.crm-sidebarV3-link-group-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #eef2ff;
  color: #002058;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.crm-sidebarV3-link-group-toggle:hover {
  background: #e3eafe;
  color: #002058;
}

.crm-sidebarV3-link-group-toggle i {
  font-size: 14px;
  line-height: 1;
  margin: 0 !important;
  transition: transform .16s ease;
}

.crm-sidebarV3-link-group.is-collapsed .crm-sidebarV3-link-group-toggle i {
  transform: rotate(-90deg);
}

.crm-sidebarV3-favorite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #c2c8d4;
}

.crm-sidebarV3-favorite.is-active {
  color: #f3a917;
}

.crm-sidebarV3-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: #edf2ff;
  color: #4252d6;
  font-size: 11px;
  font-weight: 700;
}

.crm-sidebarV3-empty {
  padding: 20px;
  border: 1px dashed #d8e0ef;
  border-radius: 18px;
  background: #fbfcff;
  color: #7b8699;
  text-align: center;
}

.crm-sidebarV3-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  display: none;
  background: rgba(18, 26, 46, 0.18);
  backdrop-filter: blur(4px);
}

.crm-sidebarV3-backdrop.is-open {
  display: block;
}

html[data-bs-theme="dark"] .crm-sidebarV3-rail {
  border-color: rgba(146, 163, 194, 0.18);
  background:
    radial-gradient(circle at top right, rgba(90, 114, 255, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.96) 0%, rgba(20, 30, 48, 0.98) 100%);
  box-shadow: 0 24px 60px -42px rgba(2, 6, 23, 0.72);
}

html[data-bs-theme="dark"] .crm-sidebarV3-rail-btn {
  color: #96a2bb;
}

html[data-bs-theme="dark"] .crm-sidebarV3-rail-btn:hover,
html[data-bs-theme="dark"] .crm-sidebarV3-rail-btn.is-active,
html[data-bs-theme="dark"] .crm-sidebarV3-rail-btn.active {
  background: rgba(91, 105, 218, 0.18);
  color: #dbe4ff;
}

html[data-bs-theme="dark"] .crm-sidebarV3-initials {
  background: rgba(91, 105, 218, 0.18);
  color: #dbe4ff;
}

html[data-bs-theme="dark"] .crm-sidebarV3-sort-handle {
  background: #dbe4ff;
  color: #102247;
}

html[data-bs-theme="dark"] .crm-sidebarV3-flyout {
  border-color: rgba(146, 163, 194, 0.18);
  background:
    radial-gradient(circle at top right, rgba(90, 114, 255, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.98) 0%, rgba(20, 30, 48, 0.99) 100%);
  box-shadow: 0 32px 70px -42px rgba(2, 6, 23, 0.82);
}

html[data-bs-theme="dark"] .crm-sidebarV3-flyout-head {
  border-bottom-color: rgba(146, 163, 194, 0.12);
}

html[data-bs-theme="dark"] .crm-sidebarV3-flyout-head h5 {
  color: #eef2ff;
}

html[data-bs-theme="dark"] .crm-sidebarV3-flyout-head p {
  color: #97a3bc;
}

html[data-bs-theme="dark"] .crm-sidebarV3-close {
  background: rgba(148, 163, 184, 0.12);
  color: #d6ddf0;
}

html[data-bs-theme="dark"] .crm-sidebarV3-panel-search input {
  border-color: rgba(146, 163, 194, 0.16);
  background: rgba(15, 23, 42, 0.78);
  color: #edf2ff;
}

html[data-bs-theme="dark"] .crm-sidebarV3-group {
  border-color: rgba(146, 163, 194, 0.14);
  background: rgba(15, 23, 42, 0.56);
}

html[data-bs-theme="dark"] .crm-sidebarV3-group-head {
  border-bottom-color: rgba(146, 163, 194, 0.1);
}

html[data-bs-theme="dark"] .crm-sidebarV3-group-head > strong {
  color: #edf2ff;
}

html[data-bs-theme="dark"] .crm-sidebarV3-group-head > span,
html[data-bs-theme="dark"] .crm-sidebarV3-link-group-anchor,
html[data-bs-theme="dark"] .crm-sidebarV3-link-group-anchor.is-active,
html[data-bs-theme="dark"] .crm-sidebarV3-link-group-anchor .crm-sidebarV3-link-meta {
  color: #b9c7e8;
}

html[data-bs-theme="dark"] .crm-sidebarV3-link:hover,
html[data-bs-theme="dark"] .crm-sidebarV3-search-link:hover {
  background: rgba(91, 105, 218, 0.12);
}

html[data-bs-theme="dark"] .crm-sidebarV3-link.active,
html[data-bs-theme="dark"] .crm-sidebarV3-link.is-active,
html[data-bs-theme="dark"] .crm-sidebarV3-search-link.active,
html[data-bs-theme="dark"] .crm-sidebarV3-search-link.is-active {
  background: linear-gradient(180deg, rgba(59, 76, 170, 0.34) 0%, rgba(47, 62, 141, 0.38) 100%);
  box-shadow: inset 0 0 0 1px rgba(156, 173, 255, 0.14);
}

html[data-bs-theme="dark"] .crm-sidebarV3-link-icon,
html[data-bs-theme="dark"] .crm-sidebarV3-search-icon,
html[data-bs-theme="dark"] .crm-sidebarV3-link-group-toggle {
  background: rgba(91, 105, 218, 0.16);
  color: #dbe4ff;
}

html[data-bs-theme="dark"] .crm-sidebarV3-link.active .crm-sidebarV3-link-icon,
html[data-bs-theme="dark"] .crm-sidebarV3-link.is-active .crm-sidebarV3-link-icon,
html[data-bs-theme="dark"] .crm-sidebarV3-search-link.active .crm-sidebarV3-search-icon,
html[data-bs-theme="dark"] .crm-sidebarV3-search-link.is-active .crm-sidebarV3-search-icon,
html[data-bs-theme="dark"] .crm-sidebarV3-link-group.active .crm-sidebarV3-link-group-anchor .crm-sidebarV3-link-icon,
html[data-bs-theme="dark"] .crm-sidebarV3-link-group-anchor.active .crm-sidebarV3-link-icon,
html[data-bs-theme="dark"] .crm-sidebarV3-link-group-anchor.is-active .crm-sidebarV3-link-icon {
  background: rgba(156, 173, 255, 0.18);
  color: #f2f5ff;
}

html[data-bs-theme="dark"] .crm-sidebarV3-link-title,
html[data-bs-theme="dark"] .crm-sidebarV3-search-title,
html[data-bs-theme="dark"] .crm-sidebarV3-link.active .crm-sidebarV3-link-title,
html[data-bs-theme="dark"] .crm-sidebarV3-link.is-active .crm-sidebarV3-link-title,
html[data-bs-theme="dark"] .crm-sidebarV3-search-link.active .crm-sidebarV3-search-title,
html[data-bs-theme="dark"] .crm-sidebarV3-search-link.is-active .crm-sidebarV3-search-title,
html[data-bs-theme="dark"] .crm-sidebarV3-link-group.active .crm-sidebarV3-link-group-anchor .crm-sidebarV3-link-title,
html[data-bs-theme="dark"] .crm-sidebarV3-link-group-anchor.active .crm-sidebarV3-link-title,
html[data-bs-theme="dark"] .crm-sidebarV3-link-group-anchor.is-active .crm-sidebarV3-link-title {
  color: #edf2ff;
}

html[data-bs-theme="dark"] .crm-sidebarV3-link-meta,
html[data-bs-theme="dark"] .crm-sidebarV3-search-meta,
html[data-bs-theme="dark"] .crm-sidebarV3-link.active .crm-sidebarV3-link-meta,
html[data-bs-theme="dark"] .crm-sidebarV3-link.is-active .crm-sidebarV3-link-meta,
html[data-bs-theme="dark"] .crm-sidebarV3-search-link.active .crm-sidebarV3-search-meta,
html[data-bs-theme="dark"] .crm-sidebarV3-search-link.is-active .crm-sidebarV3-search-meta {
  color: #9ba8c5;
}

html[data-bs-theme="dark"] .crm-sidebarV3-link-children {
  border-top-color: rgba(146, 163, 194, 0.1);
}

html[data-bs-theme="dark"] .crm-sidebarV3-link-group.active .crm-sidebarV3-link-group-head {
  background: linear-gradient(180deg, rgba(59, 76, 170, 0.24) 0%, rgba(47, 62, 141, 0.28) 100%);
}

html[data-bs-theme="dark"] .crm-sidebarV3-favorite {
  color: #72809b;
}

html[data-bs-theme="dark"] .crm-sidebarV3-favorite.is-active {
  color: #ffcd4d;
}

html[data-bs-theme="dark"] .crm-sidebarV3-badge {
  background: rgba(91, 105, 218, 0.18);
  color: #e7edff;
}

html[data-bs-theme="dark"] .crm-sidebarV3-empty {
  border-color: rgba(146, 163, 194, 0.18);
  background: rgba(15, 23, 42, 0.48);
  color: #9aa8c6;
}

html[data-bs-theme="dark"] .crm-sidebarV3-backdrop {
  background: rgba(2, 6, 23, 0.48);
}

.crm-sidebarV3.is-sort-mode .crm-sidebarV3-flyout {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.crm-sidebarV3.is-sort-mode .crm-sidebarV3-section-btn {
  cursor: default;
}

.crm-sidebarV3.is-sort-mode .crm-sidebarV3-section-btn .crm-sidebarV3-sort-handle {
  display: inline-flex;
}

.crm-sidebarV3.is-sort-mode .crm-sidebarV3-rail-sections {
  gap: 12px;
}

.crm-sidebarV3.is-sort-mode .crm-sidebarV3-section-btn {
  outline: 1px dashed rgba(0, 32, 88, 0.16);
  outline-offset: 2px;
}

.crm-sidebarV3.is-sort-animating .crm-sidebarV3-section-btn {
  animation: crmSidebarV3Shake .38s ease-in-out 4;
}

.crm-sidebarV3-sortable-ghost {
  opacity: .55;
}

.crm-sidebarV3-sortable-chosen {
  box-shadow: 0 14px 26px -16px rgba(33, 54, 112, 0.45);
}

.crm-sidebarV3-sortable-drag .crm-sidebarV3-sort-handle {
  cursor: grabbing;
}

@keyframes crmSidebarV3Shake {
  0%, 100% {
    transform: translateX(0) rotate(0deg);
  }

  25% {
    transform: translateX(-1px) rotate(-2deg);
  }

  50% {
    transform: translateX(1px) rotate(2deg);
  }

  75% {
    transform: translateX(-1px) rotate(-1deg);
  }
}

.page-content {
  margin-left: 86px;
  transition: margin-left .2s ease-in-out, transform .2s ease-in-out, padding-left .2s ease-in-out;
}

.main-wrapper {
  padding-left: 16px;
  transition: padding-left .2s ease-in-out;
}

body.sidebar-hidden .crm-sidebarV3 {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateX(-110%);
}

body.sidebar-hidden .page-content {
  margin-left: 0;
}

body.sidebar-hidden .main-wrapper {
  padding-left: 0;
}

@media (max-width: 1350px) and (min-width: 1200.02px) {
  .crm-sidebarV3 {
    visibility: visible;
    transform: none;
    z-index: 1045;
  }

  body.sidebar-hidden .crm-sidebarV3 {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateX(-110%);
  }

  .page-content,
  body.sidebar-hidden .page-content {
    transform: none;
    padding-left: 0;
  }

  .page-content {
    margin-left: 86px;
  }

  body.sidebar-hidden .page-content {
    margin-left: 0;
  }

  .main-wrapper {
    padding-left: 16px;
  }

  body.sidebar-hidden .main-wrapper {
    padding-left: 0;
  }
}

@media (max-width: 1200px) {
  .crm-sidebarV3 {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateX(-110%);
  }

  body.sidebar-hidden .crm-sidebarV3 {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(0);
  }

  .page-content,
  body.sidebar-hidden .page-content {
    margin-left: 0;
    transform: none;
    padding-left: 0;
  }

  .main-wrapper,
  body.sidebar-hidden .main-wrapper {
    padding-left: 0;
  }
}

@media (max-width: 991.98px) {
  .crm-sidebarV3 {
    top: 86px;
    width: 74px;
    height: calc(100vh - 102px);
  }

  .crm-sidebarV3-rail {
    width: 58px;
    margin-left: 8px;
    padding: 12px 8px;
    border-radius: 20px;
  }

  .crm-sidebarV3-flyout {
    top: 86px;
    left: 12px;
    width: calc(100vw - 24px);
    height: calc(100vh - 102px);
  }
}
