#lm-scrolltop {
    position: fixed;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: var(--lm-button-bg, #000);
    color: var(--lm-button-color, #fff);
    border: none;
    border-radius: var(--lm-button-radius, 50%);
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
}

#lm-scrolltop.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#lm-scrolltop:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

#lm-scrolltop svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (max-width: 768px) {
    #lm-scrolltop {
        right: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}