.toolbar {
  display: flex;
  align-items: center;

  height: 34px;
  min-height: 34px;

  border-top: 1px solid var(--color-gray-eee);

  &__buttons {
    display: flex;
    flex: 1;
    flex-direction: row-reverse;
    align-items: center;
  }

  &__title {
    font-size: 15px;
    font-weight: 400;
    color: #000;
  }
}

.icon {
  cursor: pointer;
  margin-right: 7px;
}

.tree-widget__content {
  /* Скрываем scrollbar для Firefox */
  scrollbar-width: none;

  position: relative;

  overflow: auto;
  display: grid;
  grid-auto-rows: 34px;
  grid-template-columns: 35px 1fr;
  grid-template-rows: 70px;
  flex: 1;

  /* Скрываем scrollbar для IE, Edge */
  -ms-overflow-style: none;

  /* Скрываем scrollbar для Chrome, Safari и Opera */
  &::-webkit-scrollbar {
    display: none;
  }
}

.header-wrapper {
  display: contents;
}

.header:hover {
  background-color: var(--color-gray-eee) !important;
}

.tree-widget__item {
  box-sizing: border-box;
  height: 34px;
  min-height: 34px;
  padding: 7px;

  border-bottom: 1px solid var(--color-gray-eee);

  &:not(.name) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &.header {
    position: sticky;
    z-index: 1;
    top: 0;

    display: flex;
    align-items: center;

    height: 70px;

    font-weight: 600;
    color: var(--color-gray-888);

    background: var(--color-gray-fff);

    &.status {
      padding-left: 17px;
    }

    &.name {
      cursor: pointer;
    }
  }

  &.actions {
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 37px;

    app-cmf-icon {
      display: flex;
    }
  }
}

.resize {
  position: absolute;
  right: 0;

  width: 10px;
  height: 100%;
  margin-left: auto;

  &:hover {
    cursor: col-resize;
    border-right: dashed 1px rgb(161 154 154);
  }
}

.grid-row {
  display: contents;
}

.grid-row:hover > div {
  cursor: pointer;
}

.selected-row > div {
  background-color: #f4f8ff !important;
}

.bolder {
  font-weight: 400;
}

.mat-button-icon {
  cursor: pointer;
  padding-right: 3px;
}

.arrow-icon {
  display: flex;
  align-items: center;
  padding-bottom: 2px;
}

.state-icon {
  margin-left: 3px;
}

.tree-widget__column {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.circle {
  width: 17px;
  height: 17px;
  margin-right: 6px;

  background: darkgray;
  clip-path: circle(50%);
}

.square {
  width: 12px;
  height: 12px;
  margin-right: 5px;
  border-radius: 3px;
}

.ml-19 {
  margin-left: 19px;
}

.lim-width-name-task {
  width: 320px;
  margin-right: 5px;
}

.icon-state {
  margin-top: 1px;
}

.icon-filter {
  padding: 6px 3px 2px;
}

.avatar {
  margin-top: 4px;
  margin-right: 4px;
}

.applied-filter {
  background-color: lightgray;
}
