.sidebar {
  min-width: 0;

  white-space: nowrap;
}

.sidebar-inner {
  display: flex;
  flex-direction: column;

  gap: 0.25rem;

  margin: 0;
  padding: 0 0.875rem;

  list-style: none;

  overflow-x: hidden;
  overflow-y: auto;
}

.sidebar-header {
  flex: 0 0 auto;

  margin: 1rem 0;
}

.sidebar-title {
  flex: 0 0 auto;

  margin-top: 1.5rem;

  padding: 0 0.5rem;

  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  opacity: 0.5;
}

.sidebar-item {
  flex: 0 0 auto;

  width: 100%;
  min-width: 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;

  width: 100%;
  min-width: 0;

  gap: 0.5rem;

  padding: 0.5rem;

  border: 0;
  border-radius: var(--bs-border-radius);

  background: transparent;
  color: inherit;

  text-align: left;
  text-decoration: none;

  i {
    width: 1.25rem;

    flex: 0 0 1.25rem;

    text-align: center;
  }

  &.active {
    .sidebar-text {
      font-weight: bold;
    }

    i {
      opacity: 1;
    }
  }
}

.sidebar-text {
  min-width: 0;

  overflow: hidden;

  text-overflow: ellipsis;
}