/* 北斗数据平台 - 深色调统一皮（对标运营数据看板 dashboard.html） */

:root {
    --beidou-bg: #0a0c10;
    --beidou-surface: #111318;
    --beidou-card: #161a22;
    --beidou-card-hover: #1c2130;
    --beidou-border: rgba(255,255,255,.07);
    --beidou-border-bright: rgba(255,255,255,.14);
    --beidou-blue: #4f8aff;
    --beidou-blue-dim: rgba(79,138,255,.15);
    --beidou-purple: #7c3aed;
    --beidou-green: #2dd4a0;
    --beidou-amber: #f5a623;
    --beidou-red: #ff5f6d;
    --beidou-text: #e8ecf4;
    --beidou-text-sub: #7a8499;
    --beidou-text-muted: #3d4458;
}

.beidou-topbar {
    height: 58px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0) 60%),
        rgba(68, 78, 86, 0.04);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        0 8px 32px rgba(0,0,0,.35);
    color: var(--beidou-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.beidou-topbar::after {
    /* 底边那道蓝色光 */
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--beidou-blue), transparent);
    opacity: .3;
    pointer-events: none;
}
.beidou-topbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
}
.beidou-topbar-back {
    color: var(--beidou-text-sub);
    text-decoration: none;
    border: 1px solid var(--beidou-border-bright);
    background: var(--beidou-card);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    transition: all .2s;
}
.beidou-topbar-back:hover {
    color: var(--beidou-text);
    border-color: var(--beidou-blue);
}
.beidou-topbar-title {
    font-family: "Sora", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}
.beidou-topbar-title .accent { color: var(--beidou-blue); }
.beidou-brand-name {
    font-family: "Sora", sans-serif;
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, var(--beidou-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -.01em;
}
.beidou-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
}
.beidou-topbar-user {
    color: var(--beidou-text-sub);
}
.beidou-topbar-logout {
    background: none;
    border: 1px solid var(--beidou-border-bright);
    border-radius: 6px;
    color: var(--beidou-text-muted);
    font-size: 11px;
    padding: 4px 12px;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
}
.beidou-topbar-logout:hover {
    color: var(--beidou-red);
    border-color: var(--beidou-red);
}

/* 通用按钮：深蓝渐变 → 紫 */
.beidou-btn-primary {
    background: linear-gradient(135deg, var(--beidou-blue), var(--beidou-purple));
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: opacity .2s;
    letter-spacing: .02em;
}
.beidou-btn-primary:hover { opacity: .88; }

/* 通用输入框 */
.beidou-input {
    background: var(--beidou-surface);
    border: 1px solid var(--beidou-border-bright);
    border-radius: 10px;
    padding: 11px 14px;
    color: var(--beidou-text);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s;
    width: 100%;
}
.beidou-input:focus { border-color: var(--beidou-blue); }
.beidou-input::placeholder { color: var(--beidou-text-muted); }

/* 通用卡片 */
.beidou-card {
    background: var(--beidou-card);
    border: 1px solid var(--beidou-border);
    border-radius: 12px;
    padding: 20px;
}
