/* 软件所考研登分系统 - 自定义样式（基于 Bootstrap 5 定制） */
:root {
  --brand: #1d4ed8;
  --brand-dark: #1e40af;
  --ink: #1c1917;
  --muted: #78716c;
  --surface: #fafaf9;
  --border: #e7e5e4;
}

body {
  background: var(--surface);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

.app-nav {
  background: var(--brand);
}

.app-main {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  max-width: 1000px;
}

/* 数字统一等宽，排名/分数对齐更整齐 */
.num-col,
.stat-value {
  font-variant-numeric: tabular-nums;
}

/* 表单：label 始终在上方，placeholder 不作为 label */
.form-label {
  font-weight: 500;
  font-size: 0.9rem;
}

/* 统一圆角 8px */
.btn,
.form-control,
.card,
.stat-card,
.alert,
.badge {
  border-radius: 0.5rem;
}

/* 统计卡片 */
.stat-card {
  border: 1px solid var(--border);
  background: #fff;
}
.stat-label {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}
.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

/* 登录 / 注册卡片 */
.auth-card {
  max-width: 420px;
}

/* 审核列表拒绝原因输入框 */
.reject-input {
  width: 150px;
}

/* 排名名列宽 */
.rank-col {
  width: 72px;
}

/* 表格 header 样式 */
.table thead th {
  color: var(--muted);
  font-weight: 600;
  border-bottom-color: var(--border);
}

/* 手机端表格横向滚动 */
.table-responsive {
  -webkit-overflow-scrolling: touch;
}
