/**
 * 文件职责：交易流水表格区域样式。
 */
.ft-table-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 10px;

  .ant-table-wrapper {
    .ant-table-thead > tr > th {
      font-size: 13px;
      white-space: nowrap;
    }

    .ant-table-tbody > tr > td {
      font-size: 13px;
      vertical-align: middle;
    }
  }

  .ant-pagination {
    margin: 14px 16px;
  }
}

.ft-link-action {
  padding-inline: 0;
}

.ft-amount {
  font-weight: 600;
  white-space: nowrap;

  &.income {
    color: #52c41a;
  }

  &.expense {
    color: #ff4d4f;
  }

  &.neutral {
    color: rgb(0 0 0 / 88%);
  }
}

.ft-time {
  font-size: 12px;
  color: rgb(0 0 0 / 45%);
  white-space: nowrap;
}

.ft-remark {
  display: inline-block;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  color: rgb(0 0 0 / 45%);
  white-space: nowrap;
}

.ft-summary-row > td {
  font-size: 13px;
  font-weight: 600;
  color: rgb(0 0 0 / 88%);
  background: #f8f9fb !important;
  border-top: 2px solid #e5e7eb;
}

.ft-summary-text {
  white-space: nowrap;
}
