/* 代理管理页面专用样式 - 与首页/申请人页面风格一致 */

/* ── 统计卡片 ── */
.acc-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.acc-stat-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.acc-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.acc-stat-icon.blue {
  background: #e6f7ff;
}
.acc-stat-icon.green {
  background: #f6ffed;
}
.acc-stat-icon.red {
  background: #fff1f0;
}
.acc-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #1f1f1f;
  line-height: 1.2;
}
.acc-stat-label {
  font-size: 12px;
  color: #8c8c8c;
  margin-top: 2px;
}
@media (max-width: 992px) {
  .acc-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .acc-stats-row {
    grid-template-columns: 1fr;
  }
}

/* ── 状态标签复用 tm-tag-* ── */
.tm-tag-green {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  background: #f6ffed;
  color: #52c41a;
  border: 1px solid #b7eb8f;
}
.tm-tag-red {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  background: #fff1f0;
  color: #ff4d4f;
  border: 1px solid #ffa39e;
}

/* ── 表格操作按钮 ── */
.tm-table-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tm-action-link {
  padding: 4px 10px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
  color: #595959;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.tm-action-link:hover {
  border-color: #1890ff;
  color: #1890ff;
}
