/* Components extracted from the legacy style sheet. */
/* Scroll-to-top button fallback styles */
.scroll-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 40;
    display: flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 9999px;
    background-color: #2563eb;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.2);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-to-top svg {
    width: 1.25rem;
    height: 1.25rem;
}

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

.scroll-to-top:not(.is-visible) {
    pointer-events: none;
}
