/* 添加到现有样式表中 */

/* 导航按钮样式 */
.content-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.nav-btn {
    padding: 8px 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.nav-btn:hover {
    background-color: #2980b9;
}

.nav-btn.disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.nav-btn.prev {
    float: left;
}

.nav-btn.next {
    float: right;
}

/* 滚动按钮 */
.scroll-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.scroll-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3498db;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.scroll-btn:hover {
    background-color: #2980b9;
}

.scroll-btn.top {
    margin-bottom: 5px;
}

/* 内容标题区域 */
.content-header {
    position: relative;
    padding-right: 100px; /* 为置顶标志留出空间 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    .content-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-btn {
        width: 100%;
        text-align: center;
    }
    
    .scroll-buttons {
        right: 15px;
        bottom: 15px;
    }
    
    .scroll-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}