/* === 导航栏 === */
.site-navbar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.site-navbar .brand-icon {
    font-size: 1.4rem;
}
.search-form .form-control {
    border-radius: 20px 0 0 20px;
    border: none;
    padding-left: 1rem;
}
.search-form .btn {
    border-radius: 0 20px 20px 0;
}

/* === 页脚 === */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
.footer div {
    height: 60px;
}
.footer p {
    margin: 20px 0px;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}
.footer a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

/* === 全局背景 === */
body {
    background: #f5f6fa;
}

/* === 页面头部 === */
.page-header {
    background: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.page-header h4 {
    color: #1a1a2e;
}
.page-subtitle {
    font-size: 0.9rem;
}

/* === 首页卡片 === */
.page-card {
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.page-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
    transform: translateY(-2px);
}
.page-title {
    color: #0f3460;
    font-size: 0.95rem;
    line-height: 1.4;
    word-break: break-word;
}
.page-badge {
    font-weight: 400;
    font-size: 0.7rem;
}
.page-excerpt {
    font-size: 0.85rem;
    line-height: 1.6;
}
.btn-read-more {
    border-radius: 8px;
    font-size: 0.8rem;
}

/* === 空状态 === */
.empty-state-icon {
    font-size: 3rem;
}

/* === 对比面板 === */
.fixed-compare {
    position: fixed;
    top: 50px;
    right: 0px;
}
.fixed-compare .aide {
    margin-left: 0px;
    width: 150px;
}
.fixed-compare .btn {
    margin-top: 10px;
}
.compare-content {
    margin-top: 10px;
}
.compare-content .compare-item {
    margin-bottom: 20px;
}
.compare-content .compare-item table {
    border-collapse: separate;
}
.bs-docs-example {
    margin: 15px 0;
    padding: 39px 19px 14px;
    background-color: #fff;
    border: 1px solid #ddd;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.bs-docs-example:after {
    content: '副官对比';
    position: absolute;
    top: -1px;
    left: -1px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    color: #9da0a4;
    -webkit-border-radius: 4px 0 4px 0;
    -moz-border-radius: 4px 0 4px 0;
    border-radius: 4px 0 4px 0;
}
.fixed-left {
    position: fixed;
    bottom: 0;
    left: 0;
}
.fixed-right {
    position: fixed;
    bottom: 0;
    right: 0;
}

/* === 搜索高亮 === */
.highlight {
    font-size: 0.85rem;
    line-height: 1.6;
}
.highlight em {
    background: linear-gradient(180deg, transparent 60%, #fde68a 60%);
    font-style: normal;
    font-weight: 500;
    padding: 0 2px;
}

/* === 对比按钮 === */
.btn-compare {
    border-radius: 8px;
    background: linear-gradient(135deg, #e94560, #c23152);
    color: #fff;
    border: none;
    font-size: 0.8rem;
}
.btn-compare:hover {
    background: linear-gradient(135deg, #ff5a7a, #e94560) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(233, 69, 96, 0.4);
}
