/**
 * 修复返回顶部按钮样式
 */

/* 确保浮动按钮正确定位 */
.float-right {
    position: fixed !important;
    bottom: 60px !important;
    right: 20px !important;
    z-index: 1030 !important;
    text-align: center !important;
    transition: 0.3s !important;
}

/* 确保返回顶部按钮居中 */
.float-right .float-btn {
    width: 40px !important;
    line-height: 40px !important;
    display: block !important;
    font-size: 1.4em !important;
    margin: 0 auto !important;
}

/* 确保返回顶部按钮圆角显示 */
.float-right.round .float-btn {
    border-radius: 8px !important;
    margin-top: 6px !important;
}

/* 确保图标正确显示 */
.float-btn.ontop i, 
.float-btn.service-qq i,
.float-btn.service-wechat i,
.float-btn i.fa {
    display: inline-block !important;
}

/* 确保返回顶部按钮始终可见 */
.float-btn.ontop,
.ontop.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

/* 修复收藏图标问题 */
.fa-star, 
.fa-star-o {
    display: inline-block !important;
}

/* 调整移动端样式 */
@media (max-width: 768px) {
    .float-right {
        bottom: 70px !important;
    }
} 