/* 全局样式补充（与 Tailwind CDN 搭配） */
:root {
  --indigo: #4F46E5;
  --indigo-light: #818CF8;
}

body {
  font-family: "思源黑体", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* 特性卡片 */
.card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.12);
}
.card .icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-light));
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25);
}

/* 按钮渐变微动效 */
button, .btn {
  transition: all .2s ease;
}
button:hover {
  filter: brightness(1.05);
}

/* 表格行 hover */
tbody tr {
  transition: background-color .15s ease;
}

/* 滚动条美化（节点列表） */
.overflow-auto::-webkit-scrollbar { width: 8px; height: 8px; }
.overflow-auto::-webkit-scrollbar-thumb { background: #c7d2fe; border-radius: 4px; }
.overflow-auto::-webkit-scrollbar-track { background: transparent; }

/* 表单输入聚焦 */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--indigo) !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}
