@import '@/content/utilities/partials/_colors.scss';

.sidebarWorkspaces {
  width: 20%;
  min-width: 60px;
  max-width: 80px;
  height: 100vh;
  background: $primary-violet20;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.workspaceItems {
  height: 95%;
  overflow-y: auto;
  overflow-x: hidden;
}

.itemWrapper {
  position: relative;
  margin-bottom: 0.3rem;
  padding: 0.5rem;
  cursor: pointer;
  transition: background 0.1s ease-in-out;
  border-radius: 0.5rem;

  &:hover,
  &.active {
    background: $primary-violet30;
    border-radius: 0.5rem;
  }
}

.addItemWrapper {
  background: $primary-violet30;
  margin-bottom: 0.3rem;
  padding: 0.8rem;
  cursor: pointer;
  transition: background 0.1s ease-in-out;
  border-radius: 50%;

  &:hover {
    color: #fff;
    border-radius: 50%;
  }
}

.imgWrapper {
  position: relative;
  height: 100%;

  span {
    border-radius: 0.5rem;
  }
}

.defaultItemWrapper {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  border-radius: 0.5rem;
}

.defaultItemLetter {
  font-weight: 600;
}

.addNewWorkspace {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
}
