:root {
  --cg-sidebar-bg: #0056d7;
  --cg-sidebar-width: 240px;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

.cg-sidebar.offcanvas {
  /* !important because MDB's own .offcanvas width rule otherwise wins
     regardless of selector specificity here. */
  width: min(80vw, var(--cg-sidebar-width)) !important;
  background-color: var(--cg-sidebar-bg);
}

.cg-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cg-nav-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.cg-nav-link.active,
.cg-nav-link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.12);
}

.cg-nav-link .material-symbols-outlined {
  margin-right: 0.75rem;
}

.cg-main {
  padding-top: 56px;
}

@media (min-width: 992px) {
  .cg-sidebar.offcanvas {
    position: fixed;
    top: 56px;
    bottom: 0;
    left: 0;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
  }

  .cg-main {
    margin-left: var(--cg-sidebar-width);
  }
}

.cg-plan-card.cg-plan-current {
  border: 2px solid var(--cg-sidebar-bg);
}
