/* ==========================================================================
   Scroll Top Bubble
   ========================================================================== */

#scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background-color: #cccccc;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease;
}

#scroll-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

#scroll-top img {
    width: auto;
    height: auto;
    max-width: 24px;
    max-height: 24px;
    fill: #333333;
}

/* Show when scrolled past threshold (both scroll-down and scroll-up) */
html.scroll-threshold.scroll-down #scroll-top,
html.scroll-threshold.scroll-up #scroll-top {
    display: flex;
    opacity: 0.6;
}

/* Hover state */
#scroll-top:hover {
    background-color: #bbbbbb;
}

/* Print styles */
@media print {
    #scroll-top {
        display: none;
    }
}
