/* 争议退款列表：注入的「操作」列
 *
 * 背景：审核按钮由 /dispute-review.js 注入到表格行尾，但表头没有对应列，
 * 于是表头 9 列、行 10 列，右侧多出一块空白、按钮与列宽也对不上。
 * 这里统一表头列与单元格的宽度/对齐/间距，并让按钮等高、与站点按钮风格一致。
 */

/* ---- 表头「操作」列 ---- */
table th.replica-review-head {
  white-space: nowrap;
  vertical-align: middle;
  text-align: center;
  min-width: 140px;
}

/* ---- 行内操作单元格 ---- */
table td.replica-review-cell {
  padding: 6px 10px;
  border-bottom: 1px solid #f4f4f5;
  white-space: nowrap;
  vertical-align: middle;
  text-align: center;
  min-width: 140px;
}

.replica-review-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
}

/* ---- 按钮（表格行内 + 顶部「被筛掉」提示条共用） ---- */
.replica-review-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, opacity .15s ease;
}

.replica-review-btn.rr-approve {
  border: 1px solid transparent;
  background: #16a34a;
  color: #fff;
}

.replica-review-btn.rr-approve:hover {
  background: #15803d;
}

.replica-review-btn.rr-reject {
  border: 1px solid #d4d4d8;
  background: #fff;
  color: #3f3f46;
}

.replica-review-btn.rr-reject:hover {
  border-color: #a1a1aa;
  background: #fafafa;
  color: #18181b;
}

.replica-review-btn:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 1px;
}

.replica-review-btn:disabled {
  opacity: .55;
  cursor: default;
}
