/* Floating Back to Top Widget Styles */

.floating-back-to-top-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}

.floating-back-to-top-widget.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-back-to-top-button {
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease-in-out;
    padding: 0;
}

.floating-back-to-top-button:hover {
    background-color: #f8f8f8;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.floating-back-to-top-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.floating-back-to-top-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0); /* Makes the icon black */
    transition: transform 0.2s ease-in-out;
}

.floating-back-to-top-button:hover .floating-back-to-top-icon {
    transform: translateY(-2px);
}

/* Responsive design */
@media (max-width: 768px) {
    .floating-back-to-top-widget {
        bottom: 20px;
        left: 20px;
    }
    
    .floating-back-to-top-button {
        width: 50px;
        height: 50px;
    }
    
    .floating-back-to-top-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .floating-back-to-top-widget {
        bottom: 15px;
        left: 15px;
    }
    
    .floating-back-to-top-button {
        width: 45px;
        height: 45px;
    }
    
    .floating-back-to-top-icon {
        width: 18px;
        height: 18px;
    }
} 