#backToTop {
    position: fixed;
    bottom: 30%;
    right: 0;
    z-index: 999999 !important; 
    width: 50px;
    height: 50px;
    background-color: #0d6efd !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    padding: 0;
    
    opacity: 0; 
    visibility: hidden;
    transform: translateY(20px);
}

/* 显示时的状态 */
#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#backToTop svg {
    width: 34px;
    height: 34px;
    fill: #ffffff !important;
    pointer-events: none;
}
#backToTop:hover {
    background-color: #0044cc !important;
    transform: translateY(-5px);
}
@media (max-width: 991.98px) {
    #backToTop {
        bottom: 5%;
        right: 10px;
    }
}