/* Scroll to Top Button */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ea580c, #2563eb);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s ease;
    outline: none;
}

#scrollToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

#scrollToTop:hover {
    background: linear-gradient(135deg, #dc2626, #1d4ed8);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transform: scale(1.1);
}

#scrollToTop:active {
    transform: scale(0.95);
}

/* Hide in admin */
body.wp-admin #scrollToTop {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    #scrollToTop {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    #scrollToTop {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: 16px;
    }
}

