/* ---------- 通用表格 ---------- */
.com_table_wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  /* background: #fff; */
}
.com_table_box {
  width: 100%;
  /* min-width: 700px; */
  border-collapse: collapse;
}
.com_table_box th {
  padding: 13px 14px;
  border-bottom: 12px solid var(--com-body-bgcolor);
  font-size: 13px;
  vertical-align: middle;
  color: #666;
  font-weight: 400;
  white-space: nowrap;
  border-left: 1px solid #e5e5e5;
  text-align: left;
  background: #fff;
}
.com_table_box th:first-child {
  border-left: none;
  min-width: 260px;
}
.com_table_box tbody tr {
  background: #fff;
}
.com_table_box tbody tr td {
  padding: 13px 14px;
  border-bottom: 12px solid var(--com-body-bgcolor);
  font-size: 13px;
  text-align: left;
  vertical-align: middle;
  color: #888686;
}
.com_table_box td:first-child {
  font-size: 15px;
  color: #333;
  font-weight: 500;
}
.com_table_box tbody tr:hover td:first-child {
  color: var(--text-active-color) !important;
}
.com_table_opts {
  text-align: center !important;
  white-space: nowrap;
  width: 75px;
  padding: 0 !important;
}
.com_table_opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: none;
  background: none;
  color: #777777;
  cursor: pointer;
  margin: 0 3px;
  transition: color 0.2s;
}
.com_table_opt .iconfont {
  font-size: 22px;
  color: #666;
}
.com_table_opt:hover {
  color: var(--text-active-color);
  background-color: #0e53a1;
  border-radius: 50%;
}
.com_table_opt:hover .iconfont {
  color: #fff;
}

/* ---------- 手机端：表格改为横向滚动，避免日期等列被挤成 80px 宽 ---------- */
@media (max-width: 767px) {
  .com_table_box {
    min-width: 720px;
  }
  .com_table_box th:first-child {
    min-width: 200px;
  }
  .com_table_box th,
  .com_table_box tbody tr td {
    padding: 12px 10px;
  }
}
