/* ============================================================
   Tools 专用 - Arco Design 官网风格导航 + 布局
   参考 https://arco.design/react/docs/start
   覆盖 css/header.css 的侧栏布局
   ============================================================ */

/* ===== 顶部导航栏 — Arco Design 官网风格 ===== */
.shared-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    background: var(--dt-raised);
    border-right: none;
    border-bottom: 1px solid var(--dt-border);
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 24px;
    z-index: 1000;
    box-sizing: border-box;
    gap: 0;
}

/* ===== 主内容区域 — 纯白背景，无网格 ===== */
.page-content {
    margin-left: 0;
    margin-top: 60px;
    min-height: calc(100vh - 60px);
    padding: 32px 40px;
    max-width: 100%;
    background-color: var(--dt-raised);
    background-image: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}

/* ===== 桌面端 Logo — Arco 风格：左对齐 logo + 文字 ===== */
.nav-logo-desktop {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    flex-shrink: 0;
    padding: 0;
    margin-right: auto;
}

.nav-logo-desktop .logo-img {
    width: 28px;
    height: 28px;
}

.nav-logo-desktop .nav-logo-brand {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
}

.nav-logo-desktop .nav-logo-sub {
    font-size: 16px;
    font-weight: 600;
    color: var(--dt-text1);
    line-height: 24px;
    white-space: nowrap;
    font-family: var(--font-en);
}

.nav-logo-desktop .nav-logo-text {
    font-size: 14px;
    font-weight: 400;
    color: var(--dt-text2);
    white-space: nowrap;
    line-height: 22px;
}

/* 无分隔线 */
.nav-logo-desktop::after {
    display: none;
}

/* ===== 导航列表 — 靠右纯文字链接 ===== */
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: center;
    margin-left: auto;
    flex: none;
}

/* 导航分隔线 */
.nav-divider {
    width: 1px;
    height: 16px;
    background: var(--dt-border);
    margin: 0 8px;
    flex-shrink: 0;
}

.nav-list + .nav-list {
    margin-left: 0;
}

/* ===== 导航项 — Arco 官网风格：纯文字，hover 变蓝 ===== */
.nav-item {
    display: flex;
    align-items: center;
    gap: 0;
    width: auto;
    height: 60px;
    padding: 0 16px;
    border-radius: 0;
    color: var(--dt-text2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    transition: color 0.2s ease;
    flex-shrink: 0;
    box-sizing: border-box;
    border: none;
    background: transparent;
    white-space: nowrap;
}

.nav-item:hover {
    color: var(--dt-interact);
    background-color: transparent;
}

/* 选中态 — Arco 风格：蓝色文字，无背景无下划线 */
.nav-item.active {
    color: var(--dt-interact);
    font-weight: 500;
    border-radius: 0;
    background: transparent;
}

.nav-item.active::after {
    display: none;
}

.nav-item.active .nav-icon-img {
    filter: none;
}

/* 导航图标 — 隐藏（已从 HTML 移除但留保险） */
.nav-icon-img {
    display: none;
}

.nav-label {
    white-space: nowrap;
    line-height: 1;
}


