/* NetVerify Web 管理后台布局样式（Element Plus 之上的轻量补充） */

html, body, #app { height: 100%; margin: 0; }

body {
  font-family: "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--el-bg-color-page, #f2f3f5);
}

/* ---------- 登录页 ---------- */
.login-wrap {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #1f2d3d 0%, #2b4a6f 60%, #1f2d3d 100%);
}
.login-card {
  width: 380px;
  padding: 36px 34px 28px;
  border-radius: 12px;
  background: var(--el-bg-color);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.login-title {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}
.login-sub {
  text-align: center;
  color: var(--el-text-color-secondary);
  font-size: 12px;
  margin-bottom: 24px;
}

/* ---------- 主布局 ---------- */
.layout { height: 100%; }
.layout-aside {
  background: #1d2530;
  color: #cfd6de;
  transition: width .2s;
  overflow-x: hidden;
}
.layout-aside .brand {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.layout-aside .el-menu { border-right: none; background: transparent; }
.layout-header {
  background: var(--el-bg-color);
  border-bottom: 1px solid var(--el-border-color-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 56px;
}
.layout-main { padding: 16px; overflow-y: auto; }

/* ---------- 通用 ---------- */
.page-card { margin-bottom: 14px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.toolbar .grow { flex: 1; }
.pager { display: flex; justify-content: flex-end; margin-top: 12px; }
.mono { font-family: Consolas, "Courier New", monospace; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.stat-card { border-radius: 10px; }
.stat-card .num { font-size: 26px; font-weight: 700; }
.stat-card .label { color: var(--el-text-color-secondary); font-size: 13px; }
.kv-desc { color: var(--el-text-color-secondary); font-size: 12px; }
.timeline-ip { color: var(--el-text-color-secondary); font-size: 12px; }
.chart-box { width: 100%; height: 320px; }
.detail-code { display: flex; align-items: center; gap: 8px; }
.table-ops { display: flex; gap: 4px; flex-wrap: wrap; }
.filtered-tag { margin-right: 6px; }
.form-tip { color: var(--el-text-color-secondary); font-size: 12px; line-height: 1.6; }
