/**
 * Scroll to Top Button Styling
 * Floating button that appears when user scrolls down
 */

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Scroll to top hover/active styling moved to buttons.css */

.scroll-to-top::before {
    content: "↑";
    font-size: 18px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 15px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-to-top::before {
        font-size: 16px;
    }
}