#bmt-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background-color: #333333;
    color: #ffffff;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, color 0.2s ease;
    padding: 0;
}

#bmt-back-to-top.bmt-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#bmt-back-to-top svg {
    width: 22px;
    height: 22px;
    pointer-events: none;
}

#bmt-back-to-top:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    #bmt-back-to-top {
        transition: opacity 0.15s linear, visibility 0.15s linear;
        transform: none !important;
    }
}
