:root {
  --dash-border: #495057;
  --dash-text: #e9ecef;
  --dash-muted: #adb5bd;
  --dash-card: #1c2128;
  --dash-card-head: #22272e;
}

.dash-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  background: linear-gradient(165deg, #0a0e14 0%, #141a22 50%, #0d1117 100%);
  color: var(--dash-text);
}

.dash-body .text-secondary {
  color: var(--dash-muted) !important;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f8f9fa;
  letter-spacing: 0.02em;
}

.echart-box {
  width: 100%;
  min-height: 320px;
}

.echart-fluct {
  min-height: 340px;
}

.echart-movers {
  min-height: 280px;
}

@media (max-width: 576px) {
  .echart-box {
    min-height: 260px;
  }
  .dash-body {
    font-size: 14px;
  }
}

.table-fluct-wrap {
  max-height: min(70vh, 560px);
  overflow: auto;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.table-fluct {
  font-size: 0.92rem;
  --bs-table-striped-bg: rgba(255, 255, 255, 0.04);
}

.table-fluct thead th {
  font-weight: 600;
  white-space: nowrap;
  padding: 0.65rem 0.5rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.table-fluct tbody td {
  padding: 0.55rem 0.5rem;
  border-color: rgba(255, 255, 255, 0.08);
}

.table-fluct tbody tr:hover {
  background-color: rgba(13, 110, 253, 0.12) !important;
}

.fluct-toolbar .form-select {
  min-height: 2rem;
}

.table-dark {
  --bs-table-bg: transparent;
  --bs-table-color: var(--dash-text);
}

.card.bg-dark {
  background-color: var(--dash-card) !important;
}

.card-header {
  background-color: var(--dash-card-head) !important;
}

.form-control,
.form-select {
  color: var(--dash-text) !important;
}

.form-control::placeholder {
  color: #6c757d;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.35);
  border-color: #6ea8fe;
}

.modal-content .table {
  font-size: 0.9rem;
}

/* 概览卡片数字更清晰 */
#overviewRow .card-body .fs-5,
#overviewRow .card-body .fs-6 {
  color: #f8f9fa;
}

#overviewRow .small {
  font-size: 0.8rem;
}
