@use 'src/styles/abstracts' as *;

.ManageColumns {
  &__trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
    border: 0.0625rem solid transparent;
    transition: all 0.18s ease-out;
    border-radius: $radius-main;
    padding: 0 0.375rem !important;
    margin-right: 0.375rem !important;
    i {
      margin-right: 0.75rem;
    }
    &.opened {
      border: $border-main-active;
      background-color: $primary-color-10;
    }
  }
  &__container {
    max-width: 800px;
    min-width: 680px;
    width: 60vw;
    display: flex;
    height: 13.125rem;
  }
}

.ColumnList__container {
  width: 27%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-bottom: $border-main;
  &:nth-child(2) {
    width: 46%;
    border-left: $border-main;
    border-right: $border-main;
  }
}

.ColumnList__title {
  border-bottom: $border-main;
  font-size: $text-md;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.875rem;
}

.ManageColumns__Search {
  display: flex;
  align-items: center;
  margin: 0 0.875rem;
  width: 100%;
  input {
    font-size: $text-sm;
    font-weight: $font-500;
  }
}

.ManageColumns__Search__icon {
  margin-right: 0.625rem;
}

.ColumnList__items__wrapper {
  height: 100%;
  overflow: auto;
  padding: 0.5rem;
  transition: background-color 0.2s ease;
  min-height: 100px;
}

.ColumnList__items__wrapper__dragging {
  background: #f3f8fe;
}

.ManageColumns__actions__container {
  padding: 0.25rem 1rem;
  display: flex;
  justify-content: space-between;

  button {
    &:nth-child(2n) {
      margin-left: 0.5rem;
    }
    i {
      color: $text-color;
      margin-right: 0.75rem;
    }
  }
}
