/*index-top*/
.banner {
  background-image: url("../images/banne_bgc.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  box-sizing: border-box;
  width: 100%;
  height: 545px;
  display: flex;
  position: relative;
  margin-bottom: 40px;
  /*box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);*/
}
.banner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  /*justify-content: center;*/
  margin-top: 2%;
}
.banner-left {
	width: 40%;
  	margin: 0 auto;
}
.banner-left img {
	max-width: 100%;
    max-height: 100%;
}
.banner-right {
	width: 100%;
  	margin: 15px auto 0;
}
.transaction-table {
  background-color: rgba(255, 255, 255, 0.8);
  /*background: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0.20) 100%);*/
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.table-tab {
  position: relative;
  display: flex;
  justify-content: flex-start;
  margin-bottom:10px
}
.table-title {
  font-size: 16px;
  text-align: center;
  padding: 15px 20px;
  cursor: pointer;
  z-index: 2; 
  transition: color 0.3s;
  white-space: nowrap; 
}
.table-title.active {
    color: #6E4739;
    font-weight: bold;
}
.table-title:hover {
    color: #6E4739;
}
.static-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: #6E4739;
  width: 0; 
  transition: transform 0.3s ease;
  z-index: 1;
}
.static-bar.move-right {
    transform: translateX(100%);
}
.diamond-icon {
  color: #6E4739;
  margin-right: 5px;
}

.title-underline {
  width: 100%;
  height: 2px;
  background-color: #e9b58b;
  margin-left: 10px;
}
/*表格*/
.table-responsive {
  width: 100%;
  -webkit-overflow-scrolling: touch;
   height: 180px;        /* 限制容器高度 */
   overflow-y: auto;     /* 超出高度显示竖向滚动条 */
}
.styled-table {
  border-collapse: collapse; 
  font-size: 14px;
  width: 100%;
}

.styled-table thead tr {
  background:#F5DFCC;
  color: #333;
  text-align: left;
  
}
.styled-table thead tr th{
	font-weight: 600;
    position: sticky;     /* 粘性定位 */
    top: 0;               /* 距离顶部为0 */
    background-color: #f5dfcc; 
    z-index: 1;           /* 确保表头在内容之上 */
}
.styled-table th,
.styled-table td {
  padding: 12px 15px;
  border: 1px solid #dddddd;
  /* 防止长文本不换行导致布局崩坏，可选 */
  word-wrap: break-word; 
  /* white-space: nowrap; 如果希望文字不换行强制撑开滚动条，保留此行；否则删除 */
  text-align: center;
}

.styled-table tbody tr:hover {
  background-color: #f1f1f1;
  cursor: pointer;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #e9b58b;
}

/* 3. 移动端适配（可选） */
/* 当屏幕小于 600px 时，可以微调字体或内边距 */
@media (max-width: 768px) {
  .styled-table {
    font-size: 12px; /* 手机屏幕较小，适当缩小字号 */
  }
  .styled-table th, 
  .styled-table td {
    padding: 8px 10px; /* 缩小内边距 */
  }
}
/*浮动统计数字*/
.data-stats {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  /*padding: clamp(10px, 2vw, 40px);*/
  box-sizing: border-box;
  gap: clamp(10px, 2%, 30px);
  
  /* --- 关键修复 1：允许横向滚动 --- */
  overflow-x: auto; 
  /* 优化移动端滚动体验 */
  -webkit-overflow-scrolling: touch; 
}

.stat-item {
  flex: 1;
  min-width: 220px; 
  border-radius: 8px;
  padding: clamp(10px, 2vw, 20px);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.stat-icon {
  margin-right: clamp(5px, 1vw, 15px);
  flex-shrink: 0;
}

.stat-icon img {
  width: clamp(40px, 5vw, 70px); 
  height: clamp(40px, 5vw, 70px);
}

.stat_n {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden; 
}

.stat-value {
  font-size: clamp(16px, 3vw, 36px);
  font-weight: bold;
  margin-bottom: clamp(2px, 0.5vw, 5px);
  color:#BE8E64;
  white-space: nowrap; 
  line-height: 1.2;
}

.stat-value span {
  font-size: clamp(12px, 1.5vw, 18px);
  margin-left: 5px;
}

.stat-label {
  font-size: clamp(12px, 1.2vw, 14px);
  color: #666;
  font-weight: bold;
}
