/* === 页脚 === */
.footer div {
    height: 60px;
}
.footer p {
    margin: 20px 0px;
}

/* === 全局背景 === */
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-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
    transform: translateY(-2px);
}
.page-title {
    word-break: break-word;
}

/* === 对比面板 === */
.fixed-compare {
    position: fixed;
    top: 50px;
    right: 0px;
}
.fixed-compare .aide {
    margin-left: 0px;
}
.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 em {
    background: linear-gradient(180deg, transparent 60%, #fde68a 60%);
    font-style: normal;
    font-weight: 500;
    padding: 0 2px;
}

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