/* ===== 红外监测套装软件 - 管理后台样式 v2.0 ===== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

:root {
    --bg-body: #0a1628;
    --bg-sidebar: #0f1f3c;
    --bg-card: #13294b;
    --bg-panel: #0f1f3c;
    --bg-input: #0d1f3a;
    --border-main: #1e3a5f;
    --border-light: rgba(30, 58, 95, 0.5);
    --color-brand: #00b372;
    --color-brand-light: #1ddc8a;
    --color-blue: #1890ff;
    --color-blue-light: #40a9ff;
    --color-green: #52c41a;
    --color-orange: #faad14;
    --color-red: #ff4d4f;
    --color-cyan: #13c2c2;
    --color-purple: #722ed1;
    --text-primary: #e8eef5;
    --text-secondary: #8ba3c7;
    --text-muted: #5a7299;
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-glow-green: 0 0 12px rgba(0, 179, 114, 0.3);
    --transition: all 0.2s ease;
}

/* ===== 全局重置 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%; height: 100%;
    font-family: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background: var(--bg-body); color: var(--text-primary);
    -webkit-font-smoothing: antialiased; overflow: hidden;
}

/* ===== 布局 ===== */
.app-layout { display: flex; height: 100vh; width: 100vw; }

/* ===== 侧边栏 ===== */
.sidebar {
    width: 260px; min-width: 260px; height: 100vh;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-main);
    display: flex; flex-direction: column;
    transition: var(--transition); overflow: hidden;
}
.sidebar.collapsed { width: 60px; min-width: 60px; }
.sidebar.collapsed .brand-text,
.sidebar.collapsed .nav-group-title,
.sidebar.collapsed .nav-item span,
.sidebar.collapsed .sidebar-footer span { display: none; }
.sidebar.collapsed .nav-item { justify-content: center; padding: 8px; }
.sidebar.collapsed .nav-item svg { margin: 0; }

.sidebar-brand {
    padding: 14px 16px; display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid var(--border-main); flex-shrink: 0;
    background: rgba(0,0,0,0.15);
}
.brand-logo { flex-shrink: 0; }
.brand-title { font-size: 14px; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.brand-sub { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

.sidebar-nav { flex: 1; overflow-y: auto; padding: 8px 0; }
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: var(--border-main); border-radius: 2px; }

.nav-group { margin-bottom: 4px; }
.nav-group-title {
    padding: 8px 16px 4px; font-size: 10px; color: var(--text-muted);
    font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}
.nav-item {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 18px; cursor: pointer;
    color: var(--text-secondary); font-size: 12.5px;
    transition: var(--transition); border-left: 2px solid transparent;
    text-decoration: none;
}
.nav-item:hover { background: rgba(0, 179, 114, 0.06); color: var(--text-primary); }
.nav-item.active {
    background: rgba(0, 179, 114, 0.1); color: var(--color-brand-light);
    border-left-color: var(--color-brand);
}
.nav-item svg { flex-shrink: 0; opacity: 0.8; }
.nav-item.active svg { opacity: 1; stroke: var(--color-brand-light); }
.nav-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-left: auto; }
.nav-dot-red { background: var(--color-red); box-shadow: 0 0 6px var(--color-red); }
.nav-dot-green { background: var(--color-brand); box-shadow: 0 0 6px var(--color-brand); }

.sidebar-footer {
    padding: 8px 16px; border-top: 1px solid var(--border-main);
    font-size: 11px; color: var(--text-muted); flex-shrink: 0;
    display: flex; justify-content: space-between;
}

/* ===== 主内容区 ===== */
.main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

/* ===== 顶部栏 ===== */
.topbar {
    height: 52px; flex-shrink: 0;
    background: var(--bg-sidebar); border-bottom: 1px solid var(--border-main);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 18px;
}
.topbar-left { display: flex; align-items: center; gap: 14px; }
.menu-toggle {
    width: 32px; height: 32px; border-radius: 6px;
    background: transparent; border: 1px solid var(--border-main);
    color: var(--text-secondary); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.menu-toggle:hover { border-color: var(--color-brand); color: var(--color-brand-light); }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.breadcrumb span:first-child { color: var(--text-muted); cursor: pointer; }
.breadcrumb span:first-child:hover { color: var(--text-secondary); }
.bc-sep { color: var(--text-muted); font-size: 11px; }

.topbar-center { display: flex; align-items: center; }
.system-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-secondary); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-green); box-shadow: 0 0 6px var(--color-green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.topbar-right { display: flex; align-items: center; gap: 16px; }
.alert-bell { position: relative; color: var(--text-secondary); cursor: pointer; }
.alert-bell:hover { color: var(--text-primary); }
.alert-badge { position: absolute; top: -5px; right: -5px; width: 14px; height: 14px; border-radius: 50%; background: var(--color-red); color: white; font-size: 9px; display: flex; align-items: center; justify-content: center; }
.user-info { display: flex; align-items: center; gap: 6px; }
.user-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--color-brand), var(--color-blue)); display: flex; align-items: center; justify-content: center; font-size: 12px; color: white; font-weight: 600; }
.user-name { font-size: 12px; color: var(--text-secondary); }
.topbar-time { font-size: 13px; color: var(--color-cyan); font-family: 'Courier New', monospace; letter-spacing: 1px; }

/* ===== 内容区 ===== */
.content-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; }
.content-scroll::-webkit-scrollbar { width: 6px; }
.content-scroll::-webkit-scrollbar-thumb { background: var(--border-main); border-radius: 3px; }
.content-wrapper { padding: 20px 24px 40px; max-width: 1600px; }

/* ===== 页面 ===== */
.page { display: none; animation: fadeIn 0.25s ease; }
.page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.page-header { margin-bottom: 20px; }
.page-title { font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.page-desc { font-size: 13px; color: var(--text-muted); }

/* ===== 统计卡片 ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card {
    background: var(--bg-card); border: 1px solid var(--border-main);
    border-radius: 8px; padding: 16px; display: flex; align-items: center; gap: 14px;
    transition: var(--transition);
}
.stat-card:hover { border-color: var(--border-light); transform: translateY(-1px); }
.stat-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.stat-icon.green { background: rgba(0, 179, 114, 0.12); color: var(--color-brand-light); }
.stat-icon.blue { background: rgba(24, 144, 255, 0.12); color: var(--color-blue-light); }
.stat-icon.orange { background: rgba(250, 173, 20, 0.12); color: var(--color-orange); }
.stat-icon.red { background: rgba(255, 77, 79, 0.12); color: var(--color-red); }
.stat-icon.cyan { background: rgba(19, 194, 194, 0.12); color: var(--color-cyan); }
.stat-value { font-size: 26px; font-weight: 700; line-height: 1.2; }
.stat-value.green { color: var(--color-brand-light); }
.stat-value.blue { color: var(--color-blue-light); }
.stat-value.orange { color: var(--color-orange); }
.stat-value.red { color: var(--color-red); }
.stat-value.cyan { color: var(--color-cyan); }
.stat-value .unit { font-size: 13px; font-weight: 400; color: var(--text-muted); margin-left: 2px; }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.stat-foot { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ===== 卡片 ===== */
.card {
    background: var(--bg-card); border: 1px solid var(--border-main);
    border-radius: 8px; margin-bottom: 16px;
    box-shadow: var(--shadow-card); overflow: hidden;
}
.card-header {
    padding: 14px 18px; display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--border-main); flex-wrap: wrap; gap: 8px;
}
.card-title { font-size: 14px; font-weight: 600; color: var(--text-primary); display: flex; align-items: center; gap: 8px; }
.card-icon { font-size: 16px; }
.card-body { padding: 16px 18px; }

/* ===== 网格 ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* ===== 表格 ===== */
.table-responsive { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.data-table th {
    text-align: left; padding: 8px 10px; color: var(--text-muted); font-weight: 600;
    border-bottom: 1px solid var(--border-main); white-space: nowrap;
    background: rgba(0,0,0,0.1);
}
.data-table td { padding: 7px 10px; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); }
.data-table tr:hover td { background: rgba(0, 179, 114, 0.03); }
.data-table tr:last-child td { border-bottom: none; }

/* ===== 表单 ===== */
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label { font-size: 12px; color: var(--text-muted); }
.form-control {
    background: var(--bg-input); border: 1px solid var(--border-main);
    border-radius: 5px; padding: 5px 10px; color: var(--text-primary);
    font-size: 12.5px; font-family: inherit; outline: none; transition: var(--transition);
}
.form-control:focus { border-color: var(--color-brand); box-shadow: 0 0 0 2px rgba(0,179,114,0.15); }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235a7299'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px; }
.input-group { display: flex; align-items: center; gap: 6px; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 12px; }
.checkbox-group label { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--text-secondary); cursor: pointer; }
.checkbox-group input { accent-color: var(--color-brand); }
.radio-group { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-group label { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--text-secondary); cursor: pointer; }

/* ===== 按钮 ===== */
.btn {
    padding: 5px 14px; border: 1px solid var(--border-main); border-radius: 5px;
    background: transparent; color: var(--text-secondary); font-size: 12.5px;
    cursor: pointer; font-family: inherit; transition: var(--transition);
    display: inline-flex; align-items: center; gap: 4px;
}
.btn:hover { border-color: var(--color-brand); color: var(--color-brand-light); }
.btn-primary { background: var(--color-brand); border-color: var(--color-brand); color: white; }
.btn-primary:hover { background: #008f5a; border-color: #008f5a; color: white; }
.btn-sm { padding: 3px 10px; font-size: 11.5px; }
.btn-red { border-color: var(--color-red); color: var(--color-red); }
.btn-red:hover { background: rgba(255,77,79,0.1); }
.btn-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }

/* ===== 标签 ===== */
.tag {
    display: inline-flex; align-items: center; padding: 2px 10px;
    border-radius: 4px; font-size: 11px; font-weight: 600;
    border: 1px solid transparent; white-space: nowrap;
}
.tag-green { background: rgba(0, 179, 114, 0.12); color: var(--color-brand-light); border-color: rgba(0,179,114,0.2); }
.tag-blue { background: rgba(24, 144, 255, 0.12); color: var(--color-blue-light); border-color: rgba(24,144,255,0.2); }
.tag-orange { background: rgba(250, 173, 20, 0.12); color: var(--color-orange); border-color: rgba(250,173,20,0.2); }
.tag-red { background: rgba(255, 77, 79, 0.12); color: var(--color-red); border-color: rgba(255,77,79,0.2); }
.tag-default { background: rgba(255,255,255,0.04); color: var(--text-muted); border-color: var(--border-main); }

/* ===== Badge ===== */
.badge { font-size: 10px; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.badge-blue { background: rgba(24, 144, 255, 0.12); color: var(--color-blue-light); border: 1px solid rgba(24,144,255,0.2); }
.badge-green { background: rgba(0, 179, 114, 0.12); color: var(--color-brand-light); border: 1px solid rgba(0,179,114,0.2); }
.badge-red { background: rgba(255, 77, 79, 0.12); color: var(--color-red); border: 1px solid rgba(255,77,79,0.2); }

/* ===== 文字颜色 ===== */
.text-green { color: var(--color-brand-light); }
.text-blue { color: var(--color-blue-light); }
.text-orange { color: var(--color-orange); }
.text-red { color: var(--color-red); }
.text-cyan { color: var(--color-cyan); }

/* ===== 图表容器 ===== */
.chart-wrap { height: 220px; position: relative; }

/* ===== 红外查看器 ===== */
.ir-viewer {
    position: relative; border-radius: 8px; overflow: hidden;
    border: 1px solid var(--border-main); min-height: 200px;
}
.viewer-label { position: absolute; top: 8px; left: 10px; font-size: 11px; color: rgba(255,255,255,0.5); background: rgba(0,0,0,0.5); padding: 2px 10px; border-radius: 4px; z-index: 2; }
.viewer-info { position: absolute; bottom: 8px; left: 10px; right: 10px; display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); z-index: 2; }
.ir-heat { width: 100%; height: 100%; position: relative; }
.hot-spot { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,77,79,0.4); border: 2px solid #ff4d4f; animation: hotPulse 2s infinite; }
@keyframes hotPulse { 0%,100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.3); opacity: 0.4; } }

/* ===== 参数栏 ===== */
.param-bar { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--text-muted); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border-light); }

/* ===== 参数表格 ===== */
.param-table { width: 100%; font-size: 12.5px; }
.param-table td { padding: 6px 8px; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); }
.param-table td:first-child { color: var(--text-muted); width: 45%; }
.param-table tr:last-child td { border-bottom: none; }

/* ===== 告警列表 ===== */
.alert-list { display: flex; flex-direction: column; gap: 8px; }
.alert-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 6px; flex-wrap: wrap;
}
.alert-critical { background: rgba(255, 77, 79, 0.08); border-left: 3px solid var(--color-red); }
.alert-warning { background: rgba(250, 173, 20, 0.08); border-left: 3px solid var(--color-orange); }
.alert-info { background: rgba(24, 144, 255, 0.08); border-left: 3px solid var(--color-blue); }

/* ===== 三相卡片 ===== */
.three-phase-card { background: var(--bg-panel); border-radius: 8px; padding: 14px; margin-bottom: 12px; border: 1px solid var(--border-main); }
.three-phase-card.border-red { border-color: rgba(255,77,79,0.3); }
.three-phase-card.border-orange { border-color: rgba(250,173,20,0.3); }
.three-phase-card.border-green { border-color: rgba(0,179,114,0.3); }
.tp-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.tp-body { display: flex; align-items: flex-end; gap: 16px; height: 100px; }
.tp-phase { display: flex; flex-direction: column; align-items: center; flex: 1; }
.tp-bar { width: 40px; border-radius: 4px 4px 0 0; transition: height 0.5s ease; min-height: 4px; }
.tp-label { font-size: 11px; color: var(--text-muted); margin-top: 6px; }
.tp-temp { font-size: 13px; font-weight: 600; margin-top: 2px; }
.tp-imbalance { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-left: 16px; border-left: 1px solid var(--border-main); }

/* ===== 流程链 ===== */
.flow-chain { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; }
.flow-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.flow-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.flow-icon.red { background: rgba(255,77,79,0.12); }
.flow-icon.orange { background: rgba(250,173,20,0.12); }
.flow-icon.blue { background: rgba(24,144,255,0.12); }
.flow-icon.green { background: rgba(0,179,114,0.12); }
.flow-icon.cyan { background: rgba(19,194,194,0.12); }
.flow-text { font-size: 11px; color: var(--text-muted); }
.flow-arrow { font-size: 16px; color: var(--text-muted); }

/* ===== 树形面板 ===== */
.tree-panel { background: var(--bg-panel); padding: 10px; border-radius: 6px; border: 1px solid var(--border-main); max-height: 320px; overflow-y: auto; }
.tree-node { font-size: 12.5px; }
.tree-item { padding: 4px 0; display: flex; align-items: center; gap: 6px; color: var(--text-secondary); }
.tree-item.active { color: var(--color-brand-light); }
.tree-children { padding-left: 20px; }
.tree-check { width: 14px; height: 14px; display: flex; align-items: center; justify-content: center; font-size: 10px; border-radius: 3px; border: 1px solid var(--border-main); color: var(--text-muted); }
.tree-check.checked { background: var(--color-brand); border-color: var(--color-brand); color: white; }
.tree-badge { font-size: 9px; padding: 1px 6px; border-radius: 3px; background: var(--color-brand); color: white; margin-left: 4px; }

/* ===== 信息框 ===== */
.info-box { background: var(--bg-panel); padding: 12px; border-radius: 6px; border: 1px solid var(--border-main); }
.info-label { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.info-value { font-size: 16px; font-weight: 600; color: var(--text-primary); }

/* ===== 配置框 ===== */
.config-box { background: var(--bg-panel); padding: 12px 14px; border-radius: 6px; border: 1px solid var(--border-main); }
.config-title { font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }

/* ===== 模板卡片 ===== */
.template-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 12px; }
.template-card { background: var(--bg-panel); padding: 14px; border-radius: 6px; border: 1px solid var(--border-main); cursor: pointer; transition: var(--transition); }
.template-card:hover { border-color: var(--color-blue); }
.template-card.active { border-color: var(--color-brand); }
.template-name { font-weight: 600; font-size: 13px; }
.template-desc { font-size: 11.5px; color: var(--text-muted); margin-top: 4px; }
.template-tags { margin-top: 8px; }

/* ===== 规则卡片 ===== */
.rule-cards { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.rule-card { background: var(--bg-panel); padding: 12px 14px; border-radius: 6px; border: 1px solid var(--border-main); cursor: pointer; min-width: 180px; transition: var(--transition); border-left: 3px solid var(--color-blue); }
.rule-card:hover { border-color: var(--color-blue); }
.rule-card.active { border-color: var(--color-brand); border-left-color: var(--color-brand); }
.rule-card.add { display: flex; align-items: center; justify-content: center; min-height: 60px; }
.rule-name { font-weight: 600; font-size: 13px; }
.rule-desc { font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.rule-tag { margin-top: 6px; }

/* ===== 工具栏 ===== */
.tool-bar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; align-items: center; }

/* ===== 搜索栏 ===== */
.search-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.search-bar .form-group { flex: 1; min-width: 140px; }

/* ===== 筛选栏 ===== */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }

/* ===== 导出栏 ===== */
.export-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; align-items: flex-end; }
.export-bar .form-group { flex: 1; min-width: 140px; }

/* ===== 最近文件 ===== */
.recent-files { background: var(--bg-panel); padding: 12px 14px; border-radius: 6px; border: 1px solid var(--border-main); }
.file-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.file-item { font-size: 12px; color: var(--text-secondary); }

/* ===== 工单项 ===== */
.workorder-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--bg-panel); border-radius: 6px; border: 1px solid var(--border-main); margin-bottom: 6px; flex-wrap: wrap; }

/* ===== 标签栏 ===== */
.tag-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }

/* ===== 预览栏 ===== */
.preview-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; padding: 10px; background: var(--bg-panel); border-radius: 6px; border: 1px solid var(--border-main); }

/* ===== 触发模式 ===== */
.trigger-modes { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }

/* ===== 选中信息 ===== */
.selected-info { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }

/* ===== 页面技术支持页脚 ===== */
.page-footer-support {
    margin-top: 24px; padding: 10px 18px;
    border-top: 1px solid var(--border-main);
    font-size: 11px; color: var(--text-muted);
    text-align: center;
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .sidebar { width: 60px; min-width: 60px; }
    .sidebar .brand-text, .sidebar .nav-group-title, .sidebar .nav-item span, .sidebar .sidebar-footer span { display: none; }
    .sidebar .nav-item { justify-content: center; padding: 8px; }
    .sidebar .nav-item svg { margin: 0; }
}
