/* ==================== 全局及 PC 端重构：腾讯云 Console 企业旗舰级设计 ==================== */
.el-main {
  padding: 0 !important;
}

.main-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid #eaedf3;
  margin-bottom: 24px;
}

/* 顶部财务概览区 */
.finance .finance-top {
  background: #ffffff;
}

.finance .finance-top .finance-title {
  padding: 18px 24px;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  border-bottom: 1px solid #f1f5f9;
}

.finance .finance-top .finance-money-main {
  padding: 24px;
  border-bottom: 1px solid #f1f5f9;
}

.finance .finance-top .finance-money-main .finance-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.finance .finance-top .finance-money-main .finance-balance .balance-left .balance-left-title {
  font-weight: 500;
  font-size: 14px;
  color: #64748b;
}

.finance .finance-top .finance-money-main .finance-balance .balance-left .balance-left-title .balance-title-num {
  font-weight: 700;
  color: #0f172a;
}

.finance .finance-top .finance-money-main .finance-balance .balance-left .balance-left-num {
  margin-top: 8px;
  font-weight: 800;
  font-size: 36px;
  color: #0f172a;
  line-height: 1.2;
  font-family: system-ui, -apple-system, sans-serif;
}

.finance .finance-top .finance-money-main .finance-balance .balance-left .balance-left-num .prefix {
  font-size: 20px;
  margin-right: 4px;
}

.finance .finance-top .finance-money-main .finance-balance .balance-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 腾讯蓝按钮重构 */
.finance .finance-top .finance-money-main .finance-balance .balance-right .el-button {
  height: 38px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  background: #0052d9;
  border-color: #0052d9;
  color: #fff;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.finance .finance-top .finance-money-main .finance-balance .balance-right .el-button:hover {
  background: #0045bb;
  border-color: #0045bb;
}

.finance .finance-top .finance-money-main .finance-balance .balance-right .balance-tx-btn {
  background: #ffffff !important;
  border-color: #0052d9 !important;
  color: #0052d9 !important;
}

.finance .finance-top .finance-money-main .finance-balance .balance-right .balance-tx-btn:hover {
  background: #f0f6ff !important;
}

.finance .finance-top .finance-money-main .finance-balance .balance-right .tx-list {
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
  font-weight: 500;
}

.finance .finance-top .finance-money-main .finance-balance .balance-right .tx-list:hover {
  color: #0052d9;
}

/* 冻结与其它金额 */
.finance .finance-top .finance-money-main .finance-other-money {
  margin-top: 20px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  border-top: 1px dashed #e2e8f0;
}

.finance .finance-top .finance-money-main .finance-other-money .other-money-item {
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-left: 1px solid #e2e8f0;
}

.finance .finance-top .finance-money-main .finance-other-money .other-money-item:nth-of-type(1) {
  padding-left: 0;
  border-left: none;
}

.finance .finance-top .finance-money-main .finance-other-money .other-money-item .other-money-item-title {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #64748b;
  font-weight: 500;
  font-size: 13px;
  margin-right: 8px;
}

.finance .finance-top .finance-money-main .finance-other-money .other-money-item .other-money-item-value {
  font-weight: 700;
  font-size: 18px;
  color: #0f172a;
}

.finance .finance-top .finance-money-main .finance-other-money .other-money-item .other-money-item-value .prefix {
  font-size: 12px;
}

.finance .finance-top .finance-money-main .finance-other-money .other-money-item .freeze-list {
  margin-left: 12px;
  font-weight: 500;
  font-size: 12px;
  color: #0052d9;
  text-decoration: underline;
  cursor: pointer;
}

.finance .content_box {
  padding: 24px;
}

.a-text {
  cursor: pointer;
  color: #0052d9;
}

.a-text:hover {
  text-decoration: underline;
  color: #0045bb;
}

/* 筛选与搜索工具栏 */
.content_searchbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  margin-bottom: 16px;
}

.content_searchbar .left_tips {
  display: flex;
  align-items: center;
  gap: 8px;
}

.content_searchbar .left_tips .el-button {
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
  border-radius: 4px;
  font-weight: 600;
}

.finance .el-tabs__content {
  min-height: 500px;
}

/* 腾讯云风格选项卡 */
.finance .el-tabs__header {
  margin-bottom: 0;
  border-bottom: 1px solid #e2e8f0;
}

.finance .el-tabs__nav-wrap::after {
  display: none;
}

.finance .el-tabs__nav {
  border: none !important;
}

.finance .el-tabs__item {
  height: 48px;
  line-height: 48px;
  font-size: 14px;
  color: #64748b;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  margin-right: 24px;
  padding: 0 8px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.finance .el-tabs__item:hover {
  color: #0052d9;
}

.finance .el-tabs__item.is-active {
  color: #0052d9;
  border-bottom-color: #0052d9 !important;
  font-weight: 700;
}

.finance .el-tabs__active-bar {
  display: none;
}

/* 列表表格优化 */
.finance .tabledata {
  background: #ffffff;
}

.finance .tabledata .el-table {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
}

.finance .tabledata .el-table::before {
  display: none;
}

.finance .tabledata .el-table th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 600;
  font-size: 13px;
  padding: 12px 16px;
  border-bottom: 1px solid #cbd5e1;
}

.finance .tabledata .el-table td {
  padding: 14px 16px;
  font-size: 13px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}

.finance .tabledata .el-table tr:last-child td {
  border-bottom: none;
}

/* 状态标签样式 */
.finance .tabledata .el-table .el-tag {
  border-radius: 4px;
  padding: 0 8px;
  height: 24px;
  line-height: 22px;
  font-size: 11px;
  font-weight: 600;
}

.finance .tabledata .el-tag.el-tag--success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}

.finance .tabledata .el-tag.el-tag--danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.finance .tabledata .el-tag.el-tag--warning {
  background: #fffbeb;
  border-color: #fef3c7;
  color: #b45309;
}

.finance .tabledata .gateway-pay {
  color: #0052d9;
  cursor: pointer;
  font-weight: 600;
}

.finance .tabledata .el-icon-more {
  cursor: pointer;
  font-size: 16px;
  color: #64748b;
}

.finance .tabledata .el-icon-more:hover {
  color: #0052d9;
}

.finance .tabledata .el-table .el-table-column--selection .cell {
  padding-left: 16px;
  padding-right: 0;
}

/* 搜索栏布局 */
.finance .content_searchbar .searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.finance .content_searchbar .searchbar .el-input,
.finance .content_searchbar .searchbar .el-select {
  width: auto !important;
  margin-left: 0 !important;
}

.finance .content_searchbar .searchbar .el-input .el-input__inner,
.finance .content_searchbar .searchbar .el-select .el-input__inner {
  height: 34px !important;
  line-height: 34px !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  border: 1px solid #cbd5e1 !important;
  padding-left: 10px !important;
}

.finance .content_searchbar .searchbar .el-input .el-input__inner:focus,
.finance .content_searchbar .searchbar .el-select .el-input__inner:focus {
  border-color: #0052d9 !important;
}

/* 提示点 */
.finance .content_searchbar .left_tips .tips_item {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #64748b;
  margin-right: 12px;
}

.finance .content_searchbar .left_tips .tips_item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
}

.dot.new { background: #0052d9; }
.dot.renew, .dot.on_demand { background: #10b981; }
.dot.upgrade, .dot.change_billing_cycle { background: #ef4444; }
.dot.artificial { background: #f59e0b; }
.dot.recharge { background: #8b5cf6; }

.status-tag {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.status-tag.Unpaid { background-color: #fef2f2; color: #b91c1c; }
.status-tag.Paid { background-color: #f0fdf4; color: #15803d; }
.status-tag.Wait { background-color: #fffbeb; color: #b45309; }
.status-tag.Refunded { background-color: #f1f5f9; color: #64748b; }

.gateway-pay {
  color: #0052d9;
  cursor: pointer;
}

.balance-tag {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.balance-tag.Recharge,
.balance-tag.recharge {
  background: #eff6ff;
  color: #1d4ed8;
}

.Applied { background: #fffbeb; color: #b45309; }
.Refund { background: #fef2f2; color: #b91c1c; }
.Withdraw { background: #f0fdf4; color: #15803d; }
.Artificial { background: #f5f3ff; color: #6d28d9; }
.Freeze { background: #fff1f2; color: #be123c; }
.Unfreeze { background: #ecfdf5; color: #047857; }

/* 弹窗设计 */
.el-dialog {
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.el-dialog__header {
  padding: 20px 24px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  background: #f8fafc !important;
}

.kd-dialog .dialog-title,
.info-dialog .dialog-title,
.cancel-dialog .dialog-title,
.mail-dialog .dialog-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.el-dialog__body {
  padding: 24px !important;
}

.kd-dialog .dialog-fotter,
.info-dialog .dialog-fotter,
.cancel-dialog .dialog-fotter,
.mail-dialog .dialog-fotter,
.form-footer {
  padding: 16px 24px !important;
  border-top: 1px solid #f1f5f9 !important;
  background: #f8fafc !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  margin-top: 24px !important;
}

.kd-dialog .dialog-fotter .el-button,
.info-dialog .save-btn,
.cancel-dialog .dialog-fotter .save-btn,
.mail-dialog .save-btn,
.form-footer > .btn-ok {
  background: #0052d9 !important;
  border-color: #0052d9 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  height: 38px !important;
  line-height: 38px !important;
  padding: 0 20px !important;
  border-radius: 4px !important;
}

.info-dialog .cancel-btn,
.cancel-dialog .dialog-fotter .cancel-btn,
.mail-dialog .cancel-btn,
.form-footer > .btn-no {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  font-weight: 600 !important;
  height: 38px !important;
  line-height: 38px !important;
  padding: 0 20px !important;
  border-radius: 4px !important;
  margin-left: 0 !important;
}

.el-form-item__label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  padding-bottom: 8px !important;
}

.el-input__inner,
.el-textarea__inner {
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
}

.el-input__inner:focus,
.el-textarea__inner:focus {
  border-color: #0052d9 !important;
}

/* 代金券券面卡片流设计 */
.credit-content .credit-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.credit-content .credit-top .credit-item {
  margin: 0 !important;
  padding: 20px !important;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #eaedf3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
}

.credit-content .credit-top .credit-item .item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
}

.credit-content .credit-top .credit-item .item-top .item-l {
  font-size: 14px;
  font-weight: 600;
}

.credit-content .credit-top .credit-item .item-top .label-box {
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
}

.credit-content .credit-top .credit-item .item-top .is-active {
  background-color: #f0fdf4;
  color: #15803d;
}

.credit-content .credit-top .credit-item .item-top .no-active {
  background-color: #fef2f2;
  color: #b91c1c;
}

.credit-content .credit-top .credit-item .item-bottom {
  margin-top: 12px;
}

.credit-content .credit-top .credit-item .item-bottom .item-bl {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
}

.credit-content .credit-top .credit-item .flex-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

.credit-content .credit-top .credit-item .flex-bottom .credit-btn,
.credit-content .credit-top .credit-item .flex-bottom .no-btn {
  height: 30px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.credit-content .credit-top .credit-item .flex-bottom .credit-btn {
  background: #0052d9 !important;
  color: #FFFFFF !important;
  border: 1px solid #0052d9 !important;
}

.credit-content .credit-top .credit-item .flex-bottom .no-btn {
  border: 1px solid #cbd5e1 !important;
  background: #FFFFFF !important;
  color: #475569 !important;
}

.mobel {
  display: none;
}

/* ==================== 移动端适配 (Tencent Cloud Mobile Console Style) ==================== */
@media screen and (max-width: 768px) {
  /* 强行拦截并规范化外层容器，彻底消灭横向滚动条并完美对称留边 */
  body, html, .template {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .template > .el-container,
  .template > .el-container > .el-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* 强力覆盖 element-comment.css 中 PC 端的 0.24rem margin，消灭右侧溢出裁剪痛点 */
  .el-main {
    padding: 76px 12px 100px 12px !important; /* 顶部留出 60px 导航栏 + 16px 留白 */
    margin: 0 !important; /* 彻底清除 PC 端偏移 margin */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background-color: #f5f7fa !important;
    overflow-x: hidden !important;
  }

  /* 财务模块容器自适应 */
  .finance.main-card {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
  }

  /* 标题大小调整 */
  .finance .finance-top .finance-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    padding: 0 4px 12px 4px !important;
    border-bottom: none !important;
  }

  /* 移动端余额区域优化 — 彻底删除巨型字体与错位布局 */
  .finance .finance-top .finance-money-main {
    padding: 16px !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    border: 1px solid #eaedf3 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 16px !important;
  }

  .finance .finance-top .finance-money-main .finance-balance {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .finance .finance-top .finance-money-main .finance-balance .balance-left {
    flex: 1 !important;
  }

  .finance .finance-top .finance-money-main .finance-balance .balance-left .balance-left-title {
    font-size: 12px !important;
    color: #64748b !important;
  }

  .finance .finance-top .finance-money-main .finance-balance .balance-left .balance-left-num {
    font-size: 28px !important; /* 纠正巨型字体，使其在小屏上完美渲染 */
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-top: 4px !important;
  }

  .finance .finance-top .finance-money-main .finance-balance .balance-left .balance-left-num .prefix {
    font-size: 16px !important;
  }

  /* 充值和提现按钮紧凑纵向排列 */
  .finance .finance-top .finance-money-main .finance-balance .balance-right {
    margin-top: 0 !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    align-items: flex-end !important;
  }

  .finance .finance-top .finance-money-main .finance-balance .balance-right .el-button {
    height: 30px !important;
    line-height: 30px !important;
    font-size: 12px !important;
    padding: 0 12px !important;
    min-width: 70px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
  }

  .finance .finance-top .finance-money-main .finance-balance .balance-right .tx-list {
    font-size: 11px !important;
    color: #94a3b8 !important;
    margin-top: 2px !important;
  }

  /* 冻结与其他金额在移动端变更为干净的卡片条目 */
  .finance .finance-top .finance-money-main .finance-other-money {
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-top: 12px !important;
    padding-top: 12px !important;
    border-top: 1px dashed #e2e8f0 !important;
    gap: 6px !important;
  }

  .finance .finance-top .finance-money-main .finance-other-money .other-money-item {
    padding: 6px 0 !important;
    border-left: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  .finance .finance-top .finance-money-main .finance-other-money .other-money-item:last-child {
    border-bottom: none !important;
  }

  .finance .finance-top .finance-money-main .finance-other-money .other-money-item .other-money-item-title {
    font-size: 12px !important;
    color: #64748b !important;
    margin-right: 0 !important;
  }

  .finance .finance-top .finance-money-main .finance-other-money .other-money-item .other-money-item-value {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
  }

  .finance .finance-top .finance-money-main .finance-other-money .other-money-item .freeze-list {
    margin-left: 8px !important;
    font-size: 11px !important;
  }

  /* 选项卡容器自适应 */
  .finance .content_box {
    padding: 0 !important;
  }

  /* 移动端标签页栏扁平化 */
  .finance .el-tabs__header {
    background: #ffffff !important;
    margin: 0 0 12px 0 !important;
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 6px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .finance .el-tabs__nav {
    display: flex !important;
    width: 100% !important;
    gap: 4px !important;
  }

  .finance .el-tabs__item {
    font-size: 13px !important;
    padding: 8px 12px !important;
    flex: 1 !important;
    text-align: center !important;
    border-radius: 4px !important;
    border: none !important;
    background: transparent !important;
    color: #64748b !important;
    transition: all 0.2s ease !important;
    height: auto !important;
    line-height: 1.4 !important;
    margin: 0 !important;
  }

  .finance .el-tabs__item.is-active {
    background: #e1f0ff !important;
    color: #0052d9 !important;
    font-weight: 700 !important;
    border-bottom-color: transparent !important;
  }

  .finance .el-tabs__content {
    background: transparent !important;
    min-height: auto !important;
  }

  /* 移动端搜索过滤台流式重构 */
  .content_searchbar {
    flex-direction: column !important;
    margin: 0 0 12px 0 !important;
    padding: 16px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    gap: 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  /* 隐藏桌面端批量操作按钮 */
  .content_searchbar .left_tips {
    display: none !important;
  }

  .content_searchbar .searchbar {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* 下拉筛选框并排 */
  .content_searchbar .searchbar .el-select {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .content_searchbar .searchbar .el-select .el-input__inner {
    height: 38px !important;
    line-height: 38px !important;
    font-size: 13px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    padding-left: 12px !important;
  }

  /* 搜索框宽度撑满 */
  .content_searchbar .searchbar .el-input {
    width: 100% !important;
    margin: 0 !important;
  }

  .content_searchbar .searchbar .el-input .el-input__inner {
    height: 38px !important;
    line-height: 38px !important;
    font-size: 13px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    padding-left: 12px !important;
  }

  /* 移动端隐藏 PC 表格与分页器 */
  .finance .tabledata .el-table,
  .finance .tabledata .custom-pagination,
  .finance .tabledata .pagination {
    display: none !important;
  }

  /* 移动端交易卡片流 (Tencent Card Flow) */
  .mobel {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .mob-searchbar {
    display: none !important;
  }

  .mob-tabledata {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
  }

  .mob-tabledata-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    position: relative !important;
  }

  /* 状态与ID排列 */
  .mob-item-row1 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 12px !important;
    color: #64748b !important;
    font-weight: 500 !important;
  }

  .mob-item-row1 span:first-child {
    font-family: monospace !important;
    background: #f1f5f9 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    color: #475569 !important;
  }

  /* 状态标签缩小 */
  .mobel .el-tag {
    font-size: 10px !important;
    padding: 2px 6px !important;
    height: auto !important;
    line-height: 1.4 !important;
    border-radius: 4px !important;
    border: none !important;
    font-weight: 600 !important;
  }

  .mobel .el-tag.Unpaid { background: #fef2f2 !important; color: #b91c1c !important; }
  .mobel .el-tag.Paid { background: #f0fdf4 !important; color: #15803d !important; }

  /* 卡片主标题 (产品名字) */
  .mob-item-row2 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 14px !important;
    color: #0f172a !important;
    margin-top: 4px !important;
  }

  .mob-item-row2-name {
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
    overflow: hidden !important;
  }

  .mob-item-row2-name .dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    margin-right: 6px !important;
    flex-shrink: 0 !important;
  }

  .row2-name-text {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-weight: 700 !important;
  }

  /* 金额突出显示 */
  .mob-item-amount {
    font-size: 18px !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    margin-top: 4px !important;
    font-family: system-ui, -apple-system, sans-serif !important;
  }

  /* 子订单卡片条目 */
  .mob-item-row-child {
    background: #f8fafc !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    margin-top: 6px !important;
    border: 1px solid #f1f5f9 !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .child-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    font-size: 11px !important;
    line-height: 1.6 !important;
    margin: 4px 0 !important;
    color: #64748b !important;
  }

  .child-row-name {
    color: #475569 !important;
    flex: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    text-align: left !important;
  }

  /* 时间及支付渠道 */
  .mob-item-row3 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 12px !important;
    color: #94a3b8 !important;
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid #f1f5f9 !important;
  }

  /* 点按支付按钮 */
  .mob-item-row3 .gateway-pay {
    color: #0052d9 !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    background: #e1f0ff !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
  }

  .bottom-text {
    font-size: 12px !important;
    color: #94a3b8 !important;
    margin: 16px 0 !important;
    display: flex !important;
    justify-content: center !important;
  }

  .back-top-img {
    width: 38px !important;
    right: 12px !important;
    bottom: 80px !important;
  }

  /* 彻底纠正移动端弹窗中的超大 Rem 字体与巨型按钮 */
  .el-dialog__wrapper .el-dialog {
    width: 90% !important;
    margin-top: 12vh !important;
    border-radius: 8px !important;
  }

  .el-dialog__body {
    padding: 16px !important;
  }

  .el-form-item__label {
    font-size: 13px !important;
    line-height: 1.4 !important;
    padding-bottom: 4px !important;
  }

  .dialog-form .el-input__inner {
    height: 38px !important;
    line-height: 38px !important;
    font-size: 13px !important;
  }

  .cz-input {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .cz-input > .btn-ok {
    margin-left: 0 !important;
    height: 38px !important;
    font-size: 13px !important;
    width: 100% !important;
  }

  .dialog-footer {
    flex-direction: row !important; /* 横排 */
    gap: 8px !important;
    padding: 12px 16px !important;
    margin-top: 16px !important;
  }

  .dialog-footer .btn-ok,
  .dialog-footer .btn-no {
    flex: 1 !important;
    width: auto !important;
    height: 36px !important;
    font-size: 13px !important;
    margin: 0 !important;
  }

  /* 备注栏换行优化 */
  .mob-item-row-notes {
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: #64748b !important;
    text-align: left !important;
    background: #f8fafc !important;
    padding: 6px 10px !important;
    border-radius: 4px !important;
    margin-top: 4px !important;
  }

  /* 余额记录筛选栏移动端适配 */
  .balance-searchbar {
    margin: 0 0 12px 0 !important;
    padding: 16px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    flex-direction: column !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .balance-searchbar .box {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    margin: 0 !important;
  }

  /* 日期选择器独占一行 */
  .balance-searchbar .box .el-date-editor {
    width: 100% !important;
    margin: 0 !important;
  }

  .balance-searchbar .box .el-date-editor .el-input__inner {
    height: 38px !important;
    line-height: 38px !important;
    font-size: 13px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
  }

  /* 选项与关键字搜索框 */
  .balance-searchbar .box .el-select {
    width: 100% !important;
    margin: 0 !important;
  }

  .balance-searchbar .box .el-select .el-input__inner {
    height: 38px !important;
    line-height: 38px !important;
    font-size: 13px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
  }

  .balance-searchbar .box .el-input {
    width: 100% !important;
    margin: 0 !important;
  }

  .balance-searchbar .box .el-input .el-input__inner {
    height: 38px !important;
    line-height: 38px !important;
    font-size: 13px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
  }
}
