.box-justify {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* part */
.part-box {
  margin-bottom: 16px;
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 16px;

  &.is-border {
    border: 1px solid var(--color-border);
  }
  &.is-border-bold {
    border: 1px solid var(--color-border-bold);
  }
  &.is-nopad {
    padding: 0;
  }
  &.is-filter {
    padding-bottom: 4px;
  }
}

.filter-line {
  .arco-input-wrapper,
  .arco-select {
    width: 200px;
    padding-left: 8px;
  }

  .arco-select-view-prefix,
  .arco-input-prefix {
    padding-right: 16px;
    position: relative;
    color: var(--color-text-dark-1);

    &::after {
      content: '';
      display: block;
      position: absolute;
      width: 1px;
      height: 14px;
      background: var(--color-border);
      right: 8px;
      top: 50%;
      margin-top: -7px;
    }
  }
}

.part-action {
  margin-bottom: 16px;
  .arco-btn-text {
    padding: 5px 8px;
  }
  .arco-divider {
    margin: 0;
    border-color: var(--color-border);
  }
}

// page-table
.page-table {
  .arco-table-tr {
    .arco-table-th {
      color: var(--color-text-gray);
      font-weight: 400;
      background-color: #f7f7f7;
      border-bottom: 1px solid var(--color-border);
    }
    .arco-table-td {
      border-color: var(--color-border);
      color: var(--color-text-dark);
    }
  }
  .arco-table-cell {
    padding: 12px;
  }
}

// action-more
.action-more {
  .ant-btn-block {
    display: block;
    padding: 5px 8px;
  }

  .ant-popover-inner {
    border-radius: 6px;
    padding: 6px;
    box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.12);
  }
}

// empty-none
.empty-none {
  text-align: center;
  padding: 10px 0;
  height: 95px;

  background-image: url(../images/bg-empty.png);
  background-size: 98px 74px;
  background-position: center;
  background-repeat: no-repeat;
}

/* table */
.table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  text-align: left;

  &.table-white {
    background-color: #fff;
  }

  th {
    padding: 12px;
    line-height: 1.2;
    letter-spacing: 1px;
    color: var(--color-text-gray);
    border: 1px solid var(--color-border);
  }
  td {
    padding: 14px;
    line-height: 1.2;
    color: var(--color-text-dark);
    border: 1px solid var(--color-border);

    &.td-link {
      span {
        cursor: pointer;
        &:hover {
          color: var(--color-text-gray);
        }
      }
    }
  }
  .td-th {
    font-weight: 600;
    color: var(--color-text-gray);
  }

  &--border {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    th {
      background-color: #fcfcfd;
      border: none;
      border-bottom: 1px solid var(--color-border);
    }
    td {
      border: none;
      border-bottom: 1px solid var(--color-border);
    }
  }
}
/* tab-btns */
.tab-btns {
  margin-bottom: 15px;
  .arco-btn {
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;

    &:first-child {
      border-bottom-left-radius: 8px;
    }

    &:last-child {
      border-bottom-right-radius: 8px;
    }
  }
}

/* btn */
.btn-danger {
  &.arco-btn-text {
    padding: 0 !important;
    background-color: transparent !important;
  }

  &.arco-btn-text:not(.arco-btn-disabled) {
    color: var(--color-danger) !important;

    &:hover {
      font-weight: 600;
    }
  }
  &.arco-btn-disabled {
    color: var(--color-text-gray-2);
  }
}
.btn-primary {
  &.arco-btn-text {
    padding: 0 !important;
    background-color: transparent !important;
  }
  &.arco-btn-text:not(.arco-btn-disabled) {
    color: var(--color-text-dark-1) !important;
    &:hover {
      font-weight: 600;
      color: var(--color-primary) !important;
    }
  }
}

// other
.tips-info {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-text-gray);

  > i {
    margin-right: 2px;
  }
}
.tips-dark {
  color: var(--color-text-gray);
}
.tips-success {
  color: var(--color-success);
}
.tips-error {
  color: var(--color-danger);
}
.tips-icon {
  display: inline-block;
  vertical-align: middle;
  color: var(--color-text-gray-1);
  font-size: 18px;
  margin: 0 10px;
  cursor: pointer;
}
.align-right {
  text-align: right;
}
.mr-10 {
  margin-right: 10px;
}
.ml-10 {
  margin-left: 10px;
}
