* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f3f7fb;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: #12304d;
  font-size: 14px;
}

.page {
  padding: 16px 20px;
}

.top-stats {
  height: 46px;
  background: #fff;
  border: 1px solid #d9e4f2;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 28px;
  margin-bottom: 14px;
  color: #486581;
}

.range {
  flex: 1;
}

.stat-item b {
  margin-left: 8px;
  color: #102a43;
  font-size: 15px;
}

.stat-item .green,
.green {
  color: #00a854;
}

.table-card {
  background: white;
  border: 1px solid #d9e4f2;
  border-radius: 6px;
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: #f8fbff;
}

th {
  height: 42px;
  padding: 0 12px;
  text-align: left;
  color: #486581;
  border-bottom: 1px solid #d9e4f2;
  font-weight: 600;
  white-space: nowrap;
}

td {
  height: 46px;
  padding: 0 12px;
  border-bottom: 1px solid #e5edf6;
  color: #102a43;
  white-space: nowrap;
}

tbody tr:hover {
  background: #f7fbff;
}

input[type="checkbox"] {
  width: 15px;
  height: 15px;
}

.badge {
  padding: 4px 9px;
  border-radius: 12px;
  font-size: 12px;
  display: inline-block;
}

.badge-paid {
  background: #d9f7e8;
  color: #079455;
}

.badge-wait {
  background: #fff3c4;
  color: #b7791f;
}

.badge-reviewed {
  background: #e0e7ff;
  color: #4f46e5;
}

.hash,
.invoice {
  font-family: Consolas, monospace;
  color: #174a7c;
  cursor: pointer;
}

.remark-input {
  width: 120px;
  height: 28px;
  border: 1px solid #cddcec;
  border-radius: 4px;
  padding: 0 8px;
}

.btn {
  height: 28px;
  padding: 0 10px;
  margin-right: 6px;
  border: 1px solid #bdd7f5;
  background: #f5faff;
  color: #1677ff;
  border-radius: 4px;
  cursor: pointer;
}

.btn-green {
  border-color: #22c55e;
  color: #16a34a;
  background: #f0fdf4;
}

.empty {
  text-align: center;
  color: #8a9bad;
  height: 80px;
}