/* 商户后台 — 列表/面板/表格（独立，不引用总后台 old-site-list） */

.mch-panel {
  background: #fff;
  border: 1px solid #e4e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.mch-panel__body {
  padding: 24px;
}

.mch-panel__title {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
}

.mch-panel__note {
  margin: 0;
  color: #64748b;
  font-size: 0.875rem;
}

.mch-table-scroll {
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e4e7eb;
  border-radius: 8px;
}

.mch-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.mch-table th {
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  color: #6b7280;
  background: #f9fafb;
  border-bottom: 1px solid #ebeef2;
  white-space: nowrap;
}

.mch-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eef0f3;
  vertical-align: middle;
  color: #374151;
}

.mch-table tbody tr:hover {
  background: #fafbfc;
}

.mch-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 20px;
  color: #9ca3af;
  font-size: 0.9375rem;
  background: #fff;
  border: 1px solid #e4e7eb;
  border-radius: 8px;
}

.mch-empty__icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  opacity: 0.45;
  line-height: 1;
}

.mch-row-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.mch-row-actions a,
.mch-row-actions button {
  font-size: 0.8125rem;
  color: var(--mch-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 6px;
  font-family: inherit;
  text-decoration: none;
}

.mch-row-actions a:hover,
.mch-row-actions button:hover {
  text-decoration: underline;
}
