/* ─── Base ─── */
:root {
  color-scheme: light;
  font-family: "Inter", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}
html, body {
  min-height: 100%;
}
body {
  background: #f0f2f5 !important;
}

/* ─── Status Badge hover ─── */
.status-badge {
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
  font-weight: 500;
}
.status-badge:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* ─── Table 微调 ─── */
.table > thead > tr > th {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #4b5563;
  border-bottom-width: 1px;
  white-space: nowrap;
  padding: 12px 16px;
}
.table > tbody > tr > td {
  padding: 12px 16px;
  vertical-align: middle;
  font-size: 0.9rem;
}
.table > tbody > tr:last-child > td {
  border-bottom: none;
}

/* ─── 导航搜索框 ─── */
.input-group-text.bg-white + .form-control {
  border-left: none;
}
.form-control:focus {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ─── 卡片微调 ─── */
.card {
  transition: box-shadow 0.2s;
}

/* ─── 模态框 ─── */
.modal-content {
  border-radius: 16px;
}
.modal-header {
  padding: 20px 24px 0;
}
.modal-body {
  padding: 16px 24px;
}
.modal-footer {
  padding: 12px 24px 20px;
}
.form-label {
  font-size: 0.875rem;
  color: #374151;
}

/* ─── 统计卡片图标容器 ─── */
.card-body .rounded-3 {
  flex-shrink: 0;
}

/* ─── 空状态 ─── */
.text-center .bi-inbox {
  opacity: 0.4;
}

/* ─── 响应式：小屏表格字号 ─── */
@media (max-width: 768px) {
  .table > tbody > tr > td,
  .table > thead > tr > th {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
}
