/* 大数据平台样式 */
[x-cloak] {
    display: none !important;
}

/* 滚动条美化（加粗加深，确保明显可见） */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.55);
    border-radius: 6px;
    border: 2px solid transparent;
    background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(71, 85, 105, 0.8);
    background-clip: content-box;
}
::-webkit-scrollbar-track {
    background: rgba(148, 163, 184, 0.12);
    border-radius: 6px;
}
/* Firefox 滚动条 */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, 0.55) rgba(148, 163, 184, 0.12);
}

/* 日志区域滚动条深色 */
#logBox::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: #f1f5f9;
    background-image:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.05), transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(6, 182, 212, 0.05), transparent 40%);
    background-attachment: fixed;
}

/* 侧边栏深色渐变 */
.sidebar {
    background: linear-gradient(180deg, #0f1c38 0%, #0a1428 60%, #060d1c 100%);
    box-shadow: 4px 0 24px rgba(6, 13, 28, 0.25);
}

/* 导航选中态 */
.nav-item.nav-active {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.25), rgba(6, 182, 212, 0.12));
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.25);
}
.nav-item.nav-active::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #3b82f6, #06b6d4);
}

/* 统计卡片悬浮 */
.stat-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
}

/* 登录页背景 */
.login-bg {
    background: linear-gradient(135deg, #0f1c38 0%, #1e3a8a 55%, #0891b2 100%);
}
.login-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(6, 182, 212, 0.35), transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.35), transparent 35%);
}
.login-card {
    box-shadow: 0 24px 60px rgba(6, 13, 28, 0.45);
}
