/* Rich text table horizontal scroll (Double scrollbar solution) */
.table-scroll-container {
  position: relative;
  margin-bottom: 15px;
  width: 100%;
}

/* 顶部滚动条容器 */
.table-scroll-top {
  overflow-x: auto;
  overflow-y: hidden;
  height: 8px;
  display: none; /* 默认隐藏，当内容宽度大于容器宽度时由 JS 设为 block */
  margin-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.table-scroll-top-inner {
  height: 1px;
}

/* 底部/主体表格滚动条容器 */
.table-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 10px;
  width: 100%;
}

/* 滚动条美化样式 (顶部与底部滚动条均适用) */
.table-scroll-top::-webkit-scrollbar,
.table-scroll-wrap::-webkit-scrollbar {
  height: 6px !important;
  display: block !important;
}

.table-scroll-top::-webkit-scrollbar-track,
.table-scroll-wrap::-webkit-scrollbar-track {
  background: #f1f1f1 !important;
  border-radius: 3px;
}

.table-scroll-top::-webkit-scrollbar-thumb,
.table-scroll-wrap::-webkit-scrollbar-thumb {
  background: #00B496 !important;
  border-radius: 3px;
}

.table-scroll-wrap > table,
.row-c9 .table-scroll-wrap > table,
.m-details .txt .table-scroll-wrap > table,
.row-1b .table-scroll-wrap > table,
.ul-info-b5 .table-scroll-wrap > table {
  width: 100% !important;
  max-width: 100% !important;
}

.g-titc3.table-has-table,
.g-titc3 .tit.table-has-table {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
}

.g-titc3.table-has-table {
  font-size: 14px;
}

@media screen and (max-width: 769px) {
  .table-scroll-wrap {
    overflow-x: scroll;
  }
  .table-scroll-wrap > table,
  .row-c9 .table-scroll-wrap > table,
  .m-details .txt .table-scroll-wrap > table,
  .row-1b .table-scroll-wrap > table,
  .ul-info-b5 .table-scroll-wrap > table {
    width: revert-layer !important;
    max-width: none !important;
    min-width: 600px;
  }
}
