.projects-list-wrapper {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 66px);

  // TODO: Стандартный способ верстки для темы Jira / Confluence. Убрать после рефакторинга верстки контейнеров
  &.displaced {
    height: calc(100vh - 116px);
  }
}

.table-wrapper {
  overflow: hidden;
  margin-bottom: auto;
}

.table {
  position: relative;
  display: grid;
  grid-template-columns: max-content repeat(2, 1fr) max-content 200px;
  padding-right: 30px;

  a {
    color: var(--default-color);
  }

  .cell {
    overflow: hidden;
    display: flex;
    gap: 5px;
    align-items: center;

    height: 48px;
    padding: 0 20px 0 0;
  }

  .item-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

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

    color: var(--color-gray-888);

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

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

.more-menu-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  height: 100%;
  margin: 10px;

  .more-menu-item {
    cursor: pointer;
    padding: 5px 0;
    font-size: 14px;

    &:hover {
      background-color: #fbfbfb;
    }
  }
}

.more-icon {
  cursor: pointer;
}

.spinner-wrap {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #00000012;
}

mat-paginator {
  display: flex;
  align-items: flex-start;
}

.row {
  display: flex;
  gap: 20px;
  align-items: center;

  margin-bottom: 20px;
  padding-right: 40px;
}

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

  height: 34px;
  padding: 0 10px;

  color: var(--color-gray-666);

  background-color: #f4f5f7;
}

.search-field {
  display: flex;
  align-items: center;

  width: 220px;
  height: 34px;
  padding: 3px 6px;

  border: 2px solid var(--color-gray-eee);
  border-radius: 2px;

  .search-input {
    flex: 1;
    min-width: 0;
    border: none transparent;
    outline: none;

    &:focus {
      border: none transparent;
      outline: none;
    }
  }

  .clear-icon {
    cursor: pointer;
  }
}

.create-filter-button {
  margin-left: auto;
}

:host ::ng-deep .mat-progress-spinner circle {
  stroke: var(--color-gray-666);
}

app-cmf-gravatar,
app-cmf-icon,
app-cmf-doodle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
