/* ===== 全局美化主题 ===== */

/* 字体：系统字体栈，中文更清晰 */
* {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background: #f4f6fb !important;
  color: #1e293b;
  font-size: 14px;
}

/* 卡片：柔和阴影 + 统一圆角 */
.bg-white.rounded-2xl {
  border: 1px solid #eef1f6;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: box-shadow .2s ease;
}
.bg-white.rounded-2xl:hover {
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* 按钮：统一精致 */
button, a.button, [class*="bg-blue-500"], [class*="bg-green-500"], [class*="bg-gray-500"] {
  transition: all .15s ease;
}
button:active, [class*="bg-blue-500"]:active, [class*="bg-green-500"]:active {
  transform: scale(.98);
}

/* 表格：清爽行分隔 + hover 高亮 */
table {
  border-collapse: separate;
  border-spacing: 0;
}
table thead th {
  background: #f8fafc;
  font-weight: 500;
  color: #64748b;
  font-size: 13px;
  letter-spacing: .02em;
}
table tbody tr {
  transition: background .12s ease;
}
table tbody tr:hover {
  background: #f8fafc;
}
table tbody td {
  border-bottom: 1px solid #f1f5f9;
}

/* 输入框/下拉：聚焦更柔和 */
input[type="text"], input[type="password"], input[type="search"], select, textarea {
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

/* 导航栏：更轻 */
nav.bg-white {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: saturate(180%) blur(8px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.05) !important;
}

/* 首页大卡片：轻微光晕 */
.feature-card {
  transition: transform .25s ease, box-shadow .25s ease !important;
}
.feature-card:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14) !important;
}

/* 状态标签：更柔和 */
span[class*="bg-green-50"], span[class*="bg-red-50"], span[class*="bg-blue-50"], span[class*="bg-yellow-50"] {
  border-radius: 6px !important;
  font-weight: 500;
}

/* 滚动条美化（桌面端） */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
