/*!
 * 订单号列宽修复（个人中心 + 商户后台）
 * 订单号现在为 DOC- + 16 位十六进制（20 字符），历史订单仍可能是 40 字符 UUID。
 * 这里统一加宽首列并允许换行，避免被 ellipsis 截断。
 */
.order-table th:nth-child(1),
.order-table td:nth-child(1){ width: 32% !important; }
.order-table th:nth-child(5),
.order-table td:nth-child(5){ width: 22% !important; }
.order-table td:nth-child(1){
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: break-all;
  line-height: 1.45;
}

#merchantOrdersTab .merchant-table th:nth-child(1),
#merchantOrdersTab .merchant-table td:nth-child(1){ width: 24% !important; }
#merchantOrdersTab .merchant-table th:nth-child(2),
#merchantOrdersTab .merchant-table td:nth-child(2){ width: 10% !important; }
#merchantOrdersTab .merchant-table th:nth-child(3),
#merchantOrdersTab .merchant-table td:nth-child(3){ width: 6% !important; }
#merchantOrdersTab .merchant-table th:nth-child(4),
#merchantOrdersTab .merchant-table td:nth-child(4){ width: 12% !important; }
#merchantOrdersTab .merchant-table th:nth-child(5),
#merchantOrdersTab .merchant-table td:nth-child(5){ width: 12% !important; }
#merchantOrdersTab .merchant-table th:nth-child(6),
#merchantOrdersTab .merchant-table td:nth-child(6){ width: 18% !important; }
#merchantOrdersTab .merchant-table th:nth-child(7),
#merchantOrdersTab .merchant-table td:nth-child(7){ width: 18% !important; }
#merchantOrdersTab .merchant-table td:nth-child(1){
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: break-all;
  line-height: 1.45;
}

/* 独立 dashboard.html 的订单表（非 fixed 布局） */
.merchant-table td:first-child{
  white-space: normal;
  word-break: break-all;
  max-width: 240px;
  line-height: 1.45;
}

/* 收银台订单号 */
#ckOrderNo{ word-break: break-all; }

@media (max-width: 768px){
  .order-table th:nth-child(1),
  .order-table td:nth-child(1){ width: 36% !important; font-size: 11px !important; }
  .order-table th:nth-child(5),
  .order-table td:nth-child(5){ width: 18% !important; }
}
