.rbl-scroll-top {
    --rbl-scroll-top-extra: 0px;
    position: fixed;
    right: 24px;
    bottom: calc(24px + var(--rbl-scroll-top-extra) + env(safe-area-inset-bottom, 0px));
    z-index: 99980;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(18, 140, 74, .3);
    border-radius: 50%;
    background: #fff;
    color: #128c4a;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(15, 82, 47, .18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .18s ease, border-color .18s ease, color .18s ease;
    -webkit-tap-highlight-color: transparent;
}

.rbl-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rbl-scroll-top:hover {
    background: #128c4a;
    border-color: #128c4a;
    color: #fff;
}

.rbl-scroll-top__icono {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .rbl-scroll-top {
        right: 16px;
        bottom: calc(16px + var(--rbl-scroll-top-extra) + env(safe-area-inset-bottom, 0px));
        width: 42px;
        height: 42px;
    }
    .rbl-scroll-top__icono { width: 18px; height: 18px; }
}
