.materials-grid-form-wrap {
  height: 100%;
  flex: 1;
}

.materials-grid {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;

  .pisell-lowcode-table-body {
    overscroll-behavior: none;
  }
  .pisell-lowcode-table-placeholder {
    .cell-provider {
      display: block;
    }
  }

  .pisell-lowcode-table-thead {
    .pisell-lowcode-table-cell {
      padding: 0 14px;
      height: 44px;
    }
  }

  .pisell-lowcode-table-cell {
    padding: 12px;

    .pisell-lowcode-table-selection {
      width: 100%;
      height: 100%;

      .pisell-lowcode-checkbox-wrapper {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }
  }

  .cell-provider {


    .pisell-lowcode-checkbox-wrapper {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

  .pisell-lowcode-table-filter-column {
    align-items: center;

    .pisell-lowcode-dropdown-trigger {
      width: 25px;
      height: 25px;
      justify-content: center;
    }

    .pisell-lowcode-table-filter-trigger.active {
      background: var(--primary-100, #F4EBFF);
    }
  }

  .pisell-lowcode-table-column-sorters {
    cursor: pointer;
  }

  .pisell-table-sorter-inner {
    width: 25px;
    height: 25px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-inline-start: 4px;
    color: rgba(0, 0, 0, 0.29);
    font-size: 12px;
    transition: color 0.3s;
    border-radius: 8px;
    justify-content: center;

    &:hover {
      background: var(--primary-100, #F4EBFF);
    }

    .pisell-table-column-sorter-up,
    .pisell-table-column-sorter-down {
      color: rgba(102, 112, 133, 0.65);
      font-size: 12px;
    }

    .pisell-table-column-sorter-down {
      margin-top: -0.3em;
    }

    .pisell-table-column-up {
      font-size: 20px;
    }

    .pisell-table-column-down {
      font-size: 20px;
      transform: rotate(180deg);
    }
  }

  .pisell-table-sorter-inner.active {
    background: var(--primary-100, #F4EBFF);
    cursor: pointer;
    color: #7F56D9
  }

  .pisell-lowcode-table-wrapper .pisell-lowcode-table.pisell-lowcode-table-bordered>.pisell-lowcode-table-container {
    border-left: none;
  }

  .pisell-lowcode-table-wrapper .pisell-lowcode-table-bordered .pisell-lowcode-table-thead tr td:first-child {
    border-left: 1px solid #EAECF0;
  }

  .pisell-lowcode-table-wrapper .pisell-lowcode-table-bordered .pisell-lowcode-table-thead tr th:first-child {
    border-left: 1px solid #EAECF0;
  }

  div.pisell-lowcode-table-selection-column {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .pisell-lowcode-table-bordered .pisell-lowcode-table-tbody .pisell-lowcode-table-selection-column {
    border-left: 1px solid #EAECF0;
  }

  .drag-sort-cell {
    .editable-cell-value-wrap {
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}

.materials-grid-terminal {
  .pisell-lowcode-table-cell-row-hover {
    background-color: transparent !important;
  }
}