.wp-block-tecology-scroll-to-top {
    position: static;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    display: block !important;
}

.wp-block-tecology-scroll-to-top .scroll-to-top-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border: none;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 9999;
    line-height: 1;
    padding: 0 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Hide on mobile devices */
@media screen and (max-width: 768px) {
    .wp-block-tecology-scroll-to-top {
        display: none !important;
    }
}

.wp-block-tecology-scroll-to-top .scroll-to-top-button.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.wp-block-tecology-scroll-to-top .scroll-to-top-button:hover {
    background-color: var(--hover-color) !important;
}

/* Update the SVG styles */
.wp-block-tecology-scroll-to-top .scroll-to-top-button svg {
    display: block;
    color: inherit;
}

.wp-block-tecology-scroll-to-top .scroll-to-top-button svg path {
    stroke: currentColor;
    stroke-width: 2px;
}

/* Remove any unnecessary styles */
.wp-block-tecology-scroll-to-top .scroll-to-top-button svg path[fill="none"] {
    fill: none;
} 