.example-container {
  position: relative;

  display: inline-block;
  flex: 1;

  min-width: 165px;
  max-width: 250px;
  margin-right: 25px;

  vertical-align: top;

  .header {
    position: sticky;
    top: 0;

    display: flex;
    justify-content: space-around;

    margin-bottom: 5px;

    font-size: 1.17em;
    font-weight: 500;
    color: white;
  }
}

.example-list {
  overflow-y: auto;
  display: block;

  height: 100%;
  min-height: 60px;
  padding: 2px;

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

.example-box {
  cursor: pointer;

  // display: flex;
  // flex-direction: row;
  // align-items: center;
  // justify-content: space-between;
  box-sizing: border-box;
  margin-bottom: 6px;

  font-size: 14px;

  // border-bottom: solid 1px #ccc;
  color: rgb(0 0 0 / 87%);

  background: var(--color-gray-fff);
  border-radius: 4px;
}

.cdk-drag-preview {
  box-sizing: border-box;
  border-radius: 4px;
  box-shadow: 2px 2px 5px 0 rgb(0 0 0 / 20%);
}

.cdk-drag-placeholder {
  opacity: 0;
}

.cdk-drag-animating {
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}

.example-list.cdk-drop-list-dragging .example-box:not(.cdk-drag-placeholder) {
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}

.empty {
  text-align: center;
  opacity: 0.6;
}

.empty:hover {
  opacity: 1;
}

.cmf-uwork-kanban-component {
  width: 100%;
}

.loading-block {
  position: relative;
  margin-top: 64px;

  mat-spinner {
    position: absolute;
    left: 50%;
    margin-left: -32px;
  }

  & ::ng-deep .mat-progress-spinner circle,
  .mat-spinner circle {
    stroke: #1877f2;
  }
}

.status-toolbar {
  position: absolute;
  top: -11px;
  right: -10px;
  display: none;
}

.header:hover .status-toolbar,
.header:hover .drag-indicator {
  display: block;
  padding-left: 2px;
}

.add-button-icon {
  cursor: pointer;

  position: relative;
  top: 15px;
  right: 7px;

  width: min-content;
  height: min-content;
}

.more-icon {
  position: absolute;
  top: 5px;
  right: 6px;
}

.drag-indicator {
  cursor: move;

  position: absolute;
  top: -2px;
  left: -6px;

  display: none;
}

.status-name {
  user-select: none;

  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  align-items: center;

  max-height: 36px;
  padding-right: 10px;
  padding-left: 10px;

  text-decoration: none;

  -webkit-line-clamp: 2;
}

.task-status-counter {
  padding-right: 10px;
}

.add-button button {
  top: 5px;
  left: -30px;
}

.empty-img {
  max-width: 163px;
}

.kanban-toolbar-item-icon {
  cursor: pointer;
  user-select: none;

  position: relative;
  bottom: 15px;

  padding-right: 16px;

  color: #a1a1a1;
  white-space: nowrap;
}

.wrapper {
  width: 100%;
}

.kanban-list-document-detail {
  margin-right: 20px;
}

@keyframes blink_scroll_tap {
  0% {
    background-color: transparent;
  }
  50% {
    background-color: #c1c1c150;
  }
  100% {
    background-color: transparent;
  }
}

@keyframes blink_scroll_tap {
  0% {
    background-color: transparent;
  }
  50% {
    background-color: #c1c1c150;
  }
  100% {
    background-color: transparent;
  }
}

.kanban-wrapper {
  display: grid;
  height: 100%;

  .scroll-left,
  .scroll-right {
    position: absolute;
    width: 20px;
    height: 100vh;

    .scroll-tap {
      position: absolute;
      inset: 0;

      border-radius: 1px;
    }

    &.visible {
      .scroll-tap {
        animation: blink_scroll_tap 5s linear infinite;
        animation: blink_scroll_tap 5s linear infinite;
      }
    }
  }

  .scroll-right {
    right: 0;

    .scroll-tap {
      margin-right: 8px;
      margin-left: 4px;
    }

    &.selected {
      .scroll-tap {
        background-color: #297fb960;
      }
    }
  }

  .scroll-left {
    left: 0;

    .scroll-tap {
      margin-right: 4px;
      margin-left: 8px;
    }

    &.selected {
      .scroll-tap {
        background-color: #297fb960;
      }
    }
  }

  .kanban-toolbar-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    width: 100%;
    height: 0;
    padding-right: 20px;
  }

  .app-uwork-kanban {
    position: relative;
    overflow: hidden;
    margin-right: 20px;
    padding-left: 20px;
  }
}

.counter {
  position: relative;
  top: -30px;
  right: 20px;

  font-size: 12px;
  color: #ff9079;
}

.wrapper-header-container {
  position: sticky;
  z-index: 2;
  top: 0;

  overflow: hidden;
  display: flex;

  width: 100%;

  .header-container {
    flex: 1;
    min-width: 165px;
    max-width: 250px;
    margin-right: 25px;

    .header {
      display: flex;
      align-items: center;
      justify-content: space-around;

      height: 48px;
      margin-bottom: 5px;

      font-size: 1.17em;
      font-weight: 500;
      color: white;
    }
  }
}

.app-kanban {
  display: flex;
}

.forms-item {
  cursor: pointer;
  padding: 10px 0 5px;
  color: var(--color-gray-222);
  border-bottom: 1px solid #dadada;

  span {
    display: block;
  }

  .type {
    font-size: 12px;
    color: #777;
  }
}

.kanban-statuses-container {
  overflow: hidden;
  display: flex;

  width: 100%;
  height: 100%;
  min-height: calc(100vh - 426px);
}

.example-list,
.trigger-list {
  overflow-y: auto;
  display: block;

  height: 100%;
  min-height: 60px;
  padding: 2px;

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

  .add-trigger {
    width: 100%;
  }
}

.column-head {
  position: relative;
  z-index: 10;
  color: #fff;

  .change-color-box {
    cursor: pointer;

    position: relative;
    top: 1px;
    right: -17px;

    width: 15px;
    height: 100%;
    min-height: 15px;
  }

  .change-column-color {
    visibility: hidden;
  }

  &:hover .change-column-color {
    visibility: visible;
  }
}

.example-box-moved,
.trigger-card {
  cursor: pointer;

  display: flex;
  flex-direction: row;
  align-items: center;

  box-sizing: border-box;

  font-size: 14px;
  color: rgb(0 0 0 / 87%);

  background: var(--color-gray-fff);
  border-radius: 4px;
}

.moved-button {
  cursor: move;
}

.cdk-drag-preview {
  box-sizing: border-box;
  border-radius: 4px;
  box-shadow: 2px 2px 5px 0 rgb(0 0 0 / 20%);
}

.cdk-drag-placeholder {
  opacity: 0;
}

.cdk-drag-animating {
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}

.example-list.cdk-drop-list-dragging .example-box-moved:not(.cdk-drag-placeholder) {
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}

.empty {
  text-align: center;
  opacity: 0.6;
}

.empty:hover {
  opacity: 1;
}

.cmf-uwork-kanban-component {
  width: -webkit-fill-available;
}

.loading-block {
  position: relative;
  margin-top: 64px;

  mat-spinner {
    position: absolute;
    left: 50%;
    margin-left: -32px;
  }

  & ::ng-deep .mat-progress-spinner circle,
  .mat-spinner circle {
    stroke: #1877f2;
  }
}

.status-toolbar {
  position: absolute;
  top: -11px;
  right: -10px;
  display: none;
}

.add-button-icon {
  cursor: pointer;

  position: relative;
  top: 15px;
  right: 7px;

  width: min-content;
  height: min-content;
}

.more-icon {
  position: absolute;
  top: 5px;
  right: 6px;
}

.drag-indicator {
  cursor: move;

  position: absolute;
  top: -2px;
  left: -6px;

  display: none;
}

.drag-card-indicator {
  cursor: move;
}

.add-button button {
  top: 5px;
  left: -30px;
}

.kanban-statuses-closed {
  display: flex;
  align-items: center;
  justify-content: space-around;

  box-sizing: border-box;
  width: 100%;
  height: 64px;
  padding: 8px 16px;

  background: rgb(247 247 247);
  box-shadow:
    rgb(0 0 0 / 10%) 0 1px 8px 0,
    rgb(0 0 0 / 6%) 0 3px 3px -2px,
    rgb(0 0 0 / 5%) 0 3px 4px 0,
    rgb(0 0 0 / 16%) 0 0 2px 0;

  -webkit-box-align: center;
}

.kanban-close-status {
  display: flex;
  flex-basis: 100%;
  flex-grow: 0;

  height: 100%;
  margin-right: 8px;

  text-transform: uppercase;

  -webkit-box-flex: 0;
}

.bottom {
  position: fixed;
  z-index: 2001;
  bottom: -68px;

  display: block;

  width: calc(100% - 148px);
  margin: 0;
  padding: 0;

  background-color: #f7f7f7;
}

.action-drop-area {
  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;
  width: 100%;

  color: rgb(116 118 120);

  background: initial;
  border: 2px dashed rgb(220 221 221);
  border-radius: 2px;

  -webkit-box-align: center;
  -webkit-box-pack: center;

  .cdk-drag-placeholder {
    position: absolute;
  }
}

.editable {
  margin-bottom: 10px;

  .caption {
    color: rgb(0 0 0 / 54%);
  }
}

.helper-full {
  display: flex;
  padding: 15px;
  background-color: #d7e7fd93;
  border-radius: 6px;

  .icon {
    margin-right: 10px;
    color: #1877f2;
  }
}

.status-settings {
  margin-bottom: 10px;

  .setting-item {
    display: flex;
  }
}

.forms-items {
  max-height: 30vh;
}

.custom-fields {
  margin-top: 20px;
  margin-bottom: 10px;
  color: rgb(0 0 0 / 54%);
}

.trigger-body {
  flex-grow: 3;
}

.edit-trigger {
  position: absolute;
  z-index: 1000;

  min-width: 500px;
  padding: 5px 10px;

  background: var(--color-gray-fff);
  border: solid 1px #ccc;
}

.edit-trigger::before {
  content: '';

  position: absolute;
  bottom: 100%;

  border: 10px solid transparent;
  border-bottom: 5px solid #dadbdd;
}

.add-column-wrapp {
  margin-right: 25px;
}

.example-box-moved {
  cursor: move;

  position: fixed;
  z-index: 1;

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

  box-sizing: border-box;
  height: 8px;

  color: #ffff;
  text-align: center;

  background: #dadadae6;
}

// .example-box-moved:active {
//   box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
// }

.example-boundary {
  position: fixed;
  bottom: 5px;

  max-width: 100%;
  height: 5px;
  padding-bottom: 6px;
}
