.mdsystec-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #0053F3;
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 83, 243, 0.32);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition:
        opacity 180ms ease,
        visibility 180ms ease,
        transform 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
    -webkit-tap-highlight-color: transparent;
}

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

.mdsystec-back-to-top:hover {
    background: #0047CF;
    box-shadow: 0 12px 32px rgba(0, 83, 243, 0.42);
    transform: translateY(-2px);
}

.mdsystec-back-to-top:active {
    transform: translateY(0);
}

.mdsystec-back-to-top:focus-visible {
    outline: 3px solid rgba(0, 83, 243, 0.35);
    outline-offset: 4px;
}

.mdsystec-back-to-top svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 782px) {
    .mdsystec-back-to-top {
        right: 16px;
        bottom: 16px;
        width: 46px;
        height: 46px;
    }

    .mdsystec-back-to-top svg {
        width: 22px;
        height: 22px;
    }
}

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