:root {
    --sidebar-width: 260px;
    --primary-color: #2c3e50;
}

body {
    background-color: #f4f7f6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 侧边栏通用样式 */
#sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    background: var(--primary-color);
    color: white;
    z-index: 1000;
}

#sidebar .nav-link {
    color: rgba(255,255,255,0.7);
    padding: 12px 20px;
    border-left: 4px solid transparent;
}

#sidebar .nav-link:hover {
    background: #34495e;
    color: #fff;
}

#sidebar .nav-link.active {
    background: #1a252f;
    color: #fff;
    border-left: 4px solid #3498db;
}

/* 主体内容布局调整 */
#main-content {
    margin-left: var(--sidebar-width);
    padding: 30px;
    min-height: 100vh;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

.table thead {
    background-color: #f8f9fa;
}

/* 命中的关键敏感词展示 */
.keyword-hit {
    color: #dc3545;
    font-weight: bold;
}

.btn-action {
    padding: 2px 8px;
    font-size: 0.85rem;
}

/* 传统蒙古文字体定义 */
@font-face {
    font-family: 'GLT Qagan Tig';
    src: url('https://oos-sdqd.ctyunapi.cn/oyun-font/bzz/GLTQaganTig.ttf') format('truetype');
}

/* 蒙古文专属列配置 */
.mgl-col {
    font-family: 'GLT Qagan Tig', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}