
.rs-fixed-back-to-top {
    --rs-side-offset: 22px;
    position: fixed;
    bottom: 24px;
    width: 54px;
    height: 54px;
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
    border-radius: 50%;
    background: #0b43f2;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition:
        opacity .22s ease,
        visibility .22s ease,
        transform .22s ease,
        background-color .22s ease,
        color .22s ease,
        box-shadow .22s ease;
    -webkit-tap-highlight-color: transparent;
}

.rs-fixed-back-to-top.rs-btt-right {
    right: var(--rs-side-offset);
    left: auto;
}

.rs-fixed-back-to-top.rs-btt-left {
    left: var(--rs-side-offset);
    right: auto;
}

.rs-fixed-back-to-top.rs-btt-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.rs-fixed-back-to-top:hover,
.rs-fixed-back-to-top:focus-visible {
    background: #082fb5;
}

.rs-fixed-back-to-top:focus-visible {
    outline: 3px solid rgba(11, 67, 242, .28);
    outline-offset: 4px;
}

.rs-fixed-back-to-top .rs-btt-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.rs-fixed-back-to-top i {
    font-size: 20px;
    line-height: 1;
}

.rs-fixed-back-to-top svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

@media (max-width: 767px) {
    .rs-fixed-back-to-top.rs-btt-hide-mobile {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rs-fixed-back-to-top {
        transition: none;
    }
}
