.virtual-pay-config { --vp-border: #dce3ec; --vp-error: #b42335; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--vp-border); color: var(--text, #162231); }
.vp-header { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.vp-header h2 { margin: 0 auto 0 0; font-size: 24px; }
.vp-form { max-width: 1120px; }
.vp-section { padding: 20px 0; border-top: 1px solid var(--vp-border); }
.vp-section h3 { margin: 0 0 16px; font-size: 16px; }
.vp-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.vp-field { display: grid; align-content: start; gap: 8px; min-width: 0; }
.vp-field label { font-size: 13px; color: var(--muted, #546579); }
.vp-field input:not([type=checkbox]), .vp-table input { box-sizing: border-box; width: 100%; min-width: 0; height: 40px; padding: 8px 12px; border: 1px solid var(--vp-border); border-radius: 6px; background: #fff; font: inherit; }
.vp-toggle { display: flex; align-items: center; min-height: 40px; gap: 12px; }
.vp-toggle input { width: 18px; height: 18px; accent-color: var(--primary, #425fda); order: -1; }
.vp-status, .vp-key-status { font-size: 13px; color: var(--muted, #546579); }
.vp-error { color: var(--vp-error); }
.vp-toolbar { margin-bottom: 12px; }
.vp-table-wrap { overflow-x: auto; border: 1px solid var(--vp-border); border-radius: 6px; }
.vp-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.vp-table th, .vp-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--vp-border); }
.vp-table th { background: #f4f7fa; font-size: 13px; font-weight: 500; }
.vp-table th:first-child { width: 24%; }
.vp-table th:last-child { width: 72px; }
.vp-table tr:last-child td { border-bottom: 0; }
.vp-remove { color: var(--vp-error); }
.vp-actions { display: flex; gap: 12px; padding-top: 20px; border-top: 1px solid var(--vp-border); }
.virtual-pay-config button { min-height: 40px; padding: 8px 14px; border: 1px solid transparent; border-radius: 6px; background: var(--pink, #425fda); color: #fff; font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.virtual-pay-config button.ghost { border-color: var(--vp-border); background: var(--card, #fff); color: var(--ink, #162231); }
.virtual-pay-config button.vp-remove { color: var(--vp-error); }
@media (max-width: 720px) {
  .vp-fields { grid-template-columns: minmax(0, 1fr); }
  .vp-header h2 { width: 100%; }
  .vp-table, .vp-table tbody { display: block; width: 100%; }
  .vp-table thead { display: none; }
  .vp-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) 76px; padding: 12px; gap: 12px; border-bottom: 1px solid var(--vp-border); }
  .vp-table tbody tr:last-child { border-bottom: 0; }
  .vp-table td { display: block; min-width: 0; padding: 0; border: 0; }
  .vp-table td:first-child { grid-column: 1; grid-row: 1; }
  .vp-table td:nth-child(2) { grid-column: 1; grid-row: 2; }
  .vp-table td:last-child { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .vp-table td:first-child::before, .vp-table td:nth-child(2)::before { display: block; margin-bottom: 6px; color: var(--muted, #546579); font-size: 12px; }
  .vp-table td:first-child::before { content: '金额（分）'; }
  .vp-table td:nth-child(2)::before { content: '已发布 ProductID'; }
}
