/* Medvocate Solutions — isolated Back to Top component. */
.medvocate-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: linear-gradient(135deg, #052659, #5483B3, #7DA0CA);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.94);
    pointer-events: none;
    box-shadow: 0 10px 28px rgba(2, 16, 36, 0.24);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, box-shadow .25s ease;
    -webkit-tap-highlight-color: transparent;
}

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

.medvocate-back-to-top:hover,
.medvocate-back-to-top:focus-visible {
    color: #ffffff;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 34px rgba(2, 16, 36, 0.32);
    outline: none;
}

.medvocate-back-to-top:focus-visible {
    outline: 3px solid rgba(125, 160, 202, .42);
    outline-offset: 3px;
}

.medvocate-back-to-top svg {
    width: 21px;
    height: 21px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

@media (prefers-reduced-motion: reduce) {
    .medvocate-back-to-top {
        transition: opacity .15s ease, visibility .15s ease;
        transform: none !important;
    }
}
