.app-link-container {
  text-decoration: none;
}

.uwork-header {
  overflow: hidden;
  margin-bottom: 5px;
}

.uwork-date,
.uwork-options {
  position: absolute;
  color: #777;
}

.uwork-date {
  position: inherit;
  float: right;
  font-size: 11px;

  .mat-icon {
    position: relative;
  }

  .alarm-icon {
    top: 3px;
    width: 14px;
    height: 14px;
    font-size: 14px;
  }
}

.uwork-code {
  position: inherit;
  float: left;
  color: #2b2b2b;
}

.uwork-options {
  top: 10px;
  right: 0;
}

.uwork-body {
  font-size: 13px;
  color: #777;

  em {
    padding-right: 5px;
    font-weight: bold;
    font-style: normal;
  }

  .avatar,
  .details {
    float: left;
  }

  .avatar {
    width: 32px;
    height: 32px;
    margin-right: 10px;

    font-size: 32px;
    line-height: 32px;
    color: #fff;
    text-align: center;

    background: #777;
    border-radius: 50%;
  }

  .mans {
    .uwork-from,
    .uwork-to {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: pre-wrap;
    }
  }

  .details {
    position: relative;
    font-size: 14px;
  }

  .details .uwork-from {
    font-weight: bold;
  }

  .details .uwork-to {
    display: inline-block;
    font-size: 14px;
    color: #777;
  }

  .date-progress {
    display: inline-block;

    padding-left: 10px;

    font-size: 14px;
    font-weight: 500;
    color: #2b2b2b;
  }
}

.last-row-wrap {
  display: flex;
  align-items: flex-end;
}

.reorder-icon {
  position: relative;
  float: right;
  opacity: 0;
}

.cmf-uwork-kanban-card {
  position: relative;
  padding: 12px 20px 10px;

  &.overdue-card {
    padding: 5px 15px 10px 30px;
  }

  &.overdue-card::before {
    content: '';

    position: absolute;
    top: -1px;
    left: 0;

    width: 20px;
    height: calc(100% + 2px);

    opacity: 0.8;
    background-color: #ed161f;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
  }
}

.cmf-uwork-kanban-card:hover {
  .reorder-icon {
    opacity: 0.6;
  }
}

.mans {
  // margin-bottom: 5px;
}

.drag-indicator {
  cursor: move;
}

.card-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 16px;
}

.card-deal-contact {
  color: #777;
}

.card-deal-name {
  display: block;
  margin-top: 5px;
  margin-bottom: 5px;
  color: #777;
}

.card-total-sum {
  display: block;
  font-size: 16px;
  color: rgb(23 145 23);
  text-align: left;
}

.deal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 10px;

  .frozen-deal {
    color: var(--default-color-red);
  }
}

.uwork-content {
  margin-bottom: 5px;
  color: rgb(37 36 35);
  word-break: break-word;

  .uwork-name {
    &.new {
      font-weight: bolder;
    }
  }
}

.lists {
  margin-top: 10px;

  .list-row {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    .list {
    }
  }
}

::ng-deep .symbol .mat-icon {
  width: 16px;
  height: 16px;
  font-size: 16px;
  color: rgb(10 156 71);
}
