@sidebarOptionSelector: cr-sidebar-option;

.@{sidebarOptionSelector} {
  position: relative;
  display: block;
  padding: 0 12px 0 20px;
  margin: 8px 0;

  &--disabled {
    opacity: 0.3;
    cursor: none;
    pointer-events: none;
  }

  &__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 10px;

    &--collapsed label {
      opacity: 0;
      z-index: -1;
      transition: 0.3s;
    }

    &:hover,
    &--active {
      background-image: linear-gradient(92deg, #fff8f5 0%, #fff7fb 100%);
      border-radius: 10px;
    }

  }

  &__icon {
    cursor: pointer;
    line-height: 26px;
    font-size: 26px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  &__label {
    opacity: 1;
    z-index: 1;
    transition: 0.3s;
    font-size: 16px;
    line-height: 26px;
    font-weight: 600;
    color: #050530;
    cursor: pointer;
    white-space: nowrap;
    &--active {
      color: #050530;
    }
  }

  &__inner-content {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  &__new-status {
    font-size: 12px;
    font-family: Mulish;
    font-weight: 700;
    letter-spacing: 0.24px;
    border-radius: 40px;
    background: #f42020;
    position: absolute;
    top: -12px;
    right: 20px;
    color: white;
    padding: 3px 6px;
  }

  &__children {
    margin-left: 42px;
  }
}
