/* 设置管理页面专用样式 - 与仪表盘/申请人页风格一致 */

/* ── 统计卡片 ── */
.set-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.set-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);
}
.set-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.set-stat-icon.blue {
  background: #e6f7ff;
}
.set-stat-icon.green {
  background: #f6ffed;
}
.set-stat-icon.orange {
  background: #fff7e6;
}
.set-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #1f1f1f;
  line-height: 1.2;
}
.set-stat-label {
  font-size: 12px;
  color: #8c8c8c;
  margin-top: 2px;
}
@media (max-width: 992px) {
  .set-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .set-stats-row {
    grid-template-columns: 1fr;
  }
}

/* ── 登录步骤动画 ── */
.steps {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.steps .s {
  padding: 6px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 16px;
  font-size: 12px;
  color: #8c8c8c;
  background: #fafafa;
  position: relative;
}
.steps .s.cur {
  border-color: #1890ff;
  color: #1890ff;
  background: #e6f7ff;
  font-weight: 600;
}
.steps .s.done {
  border-color: #52c41a;
  color: #52c41a;
  background: #f6ffed;
}
.steps .s.fail {
  border-color: #ff4d4f;
  color: #ff4d4f;
  background: #fff1f0;
}
.steps .s:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: #d9d9d9;
  font-size: 14px;
}

/* ── 日志列表 ── */
.log .e {
  display: grid;
  grid-template-columns: 140px 70px 100px 1fr;
  gap: 12px;
  padding: 10px 24px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
  align-items: center;
}
.log .e:hover {
  background: #fafafa;
}
.log .t {
  color: #8c8c8c;
  font-family: monospace;
}
.log .lv {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}
.lv-i {
  background: #e6f7ff;
  color: #1890ff;
}
.lv-s {
  background: #f6ffed;
  color: #52c41a;
}
.lv-w {
  background: #fff7e6;
  color: #fa8c16;
}
.lv-e {
  background: #fff1f0;
  color: #ff4d4f;
}

/* ── 状态标签 ── */
.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;
}
