.dashboard-card-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 194px;
  font-size: 12px;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;

  &.arco-card {
    border: 1px solid #e8ebf2;
    cursor: pointer;
    .arco-card-body {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 18px;
      box-sizing: border-box;
    }
  }
  &.arco-card.arco-card-bordered {
    border-radius: 3px;
  }

  &:hover {
    .card-top .icon-more {
      top: 0;
    }
  }
  .card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    .card-title {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      font-weight: 600;
      font-size: 16px;
      line-height: 24px;
      color: var(--color-text-1);
    }
    .icon-more {
      position: relative;
      top: -10000px;
      margin-left: 18px;
      cursor: pointer;
      .arco-dropdown-list {
        min-width: 100px;
      }
    }
    .icon-other {
      position: relative;
      top: 0;
      margin-left: 18px;
      cursor: pointer;
    }
  }

  .card-desc {
    margin-top: 6px;
    font-size: 14px;
    color: var(--color-text-2);
    line-height: 22px;
    word-break: break-all;
    overflow: hidden;
    text-overflow: -o-ellipsis-lastline;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .card-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    overflow: hidden;
    margin-top: 6px;
    font-size: 14px;
    color: var(--color-text-3);
    line-height: 22px;
    white-space: nowrap;
    .bottom-left {
      margin-right: 20px;
    }
    .bottom-left,
    .bottom-right {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
  }

  .card-tags {
    margin-top: 18px;
    .tag {
      margin-right: 14px;
      padding: 3px 6px;
      color: #3c6eff;
      font-weight: 400;
      font-size: 10px;
      text-align: center;
      background: #e6f1fe;
      border-radius: 2px;
    }
  }
}

.dashboard-card-delete-modal {
  width: 320px;
  min-height: 140px;

  .arco-modal-header {
    border-bottom: none;
  }

  .arco-modal-body {
    margin-top: -15px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .arco-modal-footer {
    border-top: none;
  }

  .delete-modal-title {
    color: var(--color-text-1);
    font-size: 16px;
    line-height: 24px;
  }

  .delete-modal-tip {
    color: var(--color-text-3);
    font-size: 12px;
    line-height: 20px;
  }
}
