/* 全局基础样式：清爽简洁，主色与 Element Plus 协调。 */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #f6f6f6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

#app { height: 100%; }

/* 登录页 */
.login-wrap {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1d2b4f 0%, #2f54eb 100%);
}
.login-card {
  width: 400px;
  padding: 36px 36px 28px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.login-title {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #1d2b4f;
  margin: 0 0 6px;
}
.login-sub {
  text-align: center;
  color: #909399;
  font-size: 13px;
  margin-bottom: 24px;
}

/* 后台布局 */
.layout { height: 100vh; }
.layout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1d2b4f;
  color: #fff;
}
.layout-logo { font-size: 18px; font-weight: 600; }
.layout-main { padding: 16px; background: #f6f6f6; overflow: auto; }
.stat-card { color: #1d2b4f; }
.stat-card .stat-value { font-size: 26px; font-weight: 600; margin-top: 6px; }
.stat-card .stat-label { color: #909399; font-size: 13px; }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar .spacer { flex: 1; }
.page-card { background: #fff; border-radius: 8px; padding: 16px; }
.pagination { margin-top: 14px; display: flex; justify-content: flex-end; }
