/* EASt AI 面板科技风样式 - 直接覆盖实际 CSS 变量 */
:root, [data-theme], .light, .dark {
  --background: #0a0c12 !important;
  --card: #12151f !important;
  --border: #1f2433 !important;
  --primary: #3b82f6 !important;
  --primary-foreground: #ffffff !important;
  --foreground: #e8eaf0 !important;
  --muted: #1a1d27 !important;
  --muted-foreground: #9aa8c7 !important;
  --popover: #12151f !important;
  --popover-foreground: #e8eaf0 !important;
  --accent: #3b82f6 !important;
  --accent-foreground: #ffffff !important;
  --ring: #3b82f6 !important;
  --input: #1f2433 !important;
  --secondary: #1a1d27 !important;
  --secondary-foreground: #e8eaf0 !important;
  --destructive: #ef4444 !important;
  --radius: 0.75rem !important;
  color-scheme: dark !important;
}

/* 全局背景 */
html, body, #root, #app, .app {
  background-color: #0a0c12 !important;
  color: #e8eaf0 !important;
}

/* 侧边栏 */
aside, [class*="sidebar"], [class*="Sidebar"], nav[class*="side"] {
  background-color: #0a0c12 !important;
  border-color: #1f2433 !important;
}

/* 顶栏 */
header, [class*="header"], [class*="Header"], [class*="navbar"], [class*="Navbar"] {
  background-color: #0a0c12 !important;
  border-color: #1f2433 !important;
}

/* 按钮 */
button[class*="primary"], [class*="btn-primary"], .bg-primary {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important;
  color: #fff !important;
}

/* 卡片 / 区块 */
[class*="card"], [class*="Card"], .bg-card, .rounded-xl, .rounded-2xl {
  background-color: #12151f !important;
  border-color: #1f2433 !important;
}

/* 输入框 */
input, textarea, select, [class*="input"], [class*="Input"] {
  background-color: #12151f !important;
  border-color: #1f2433 !important;
  color: #e8eaf0 !important;
}

/* 表格 */
table, [class*="table"], [class*="Table"] { border-color: #1f2433 !important; }
th { color: #9aa8c7 !important; background: #12151f !important; }
td { border-color: rgba(255,255,255,0.05) !important; }
tr:hover td { background-color: rgba(255,255,255,0.02) !important; }

/* 链接 */
a { color: #3b82f6 !important; }

/* 下拉菜单 */
[class*="dropdown"], [class*="Dropdown"], [class*="popover"], [class*="Popover"] {
  background-color: #12151f !important;
  border-color: #1f2433 !important;
}

/* 统计卡片 / 数据面板 */
[class*="stat"], [class*="Stat"], [class*="metric"], [class*="Metric"] {
  background-color: #12151f !important;
  border: 1px solid #1f2433 !important;
}

/* 代码块 */
pre, code, [class*="code"], [class*="Code"] {
  background-color: #0a0e1a !important;
  color: #c9d4f0 !important;
}

/* 分割线 */
hr, [class*="divider"], [class*="Divider"] {
  border-color: #1f2433 !important;
}