.base-table {
  width: 100%;
  height: 100%;
  overflow: hidden;

  .base-table-empty {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  table {
    width: 100%;
    text-align: center;
    table-layout: fixed;
    /* 关键：合并相邻边框，消除双线 */
    border-collapse: collapse;
    margin-top: -2px;

    thead {
      position: relative;
      z-index: 1;

      th {
        padding: 0 4px;
      }
    }


    .scroll-body {
      overflow: hidden;
      animation: scroll 10s linear infinite;

      td {
        padding: 0 4px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
    }
  }

  table:hover {
    .scroll-body {
      animation-play-state: paused !important;
    }
  }

  .td-center {
    text-align: center;

    .ant-space-item {
      width: 100%;
    }
  }

  .td-right {
    text-align: right;

    .ant-space-item {
      width: 100%;
    }
  }
}


@keyframes scroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-100%);
  }
}