/* Back to Top Button - Override Styles */
/* Add this to custom.css or include this file after custom.css */

#back-to-top.back-to-top-btn {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    background: #f25939 !important;
    background-color: #f25939 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    display: none !important;
    opacity: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 16px rgba(242, 89, 57, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 1.1rem !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
}

#back-to-top.back-to-top-btn.show {
    display: flex !important;
    opacity: 1 !important;
}

#back-to-top.back-to-top-btn:hover {
    background: rgba(242, 89, 57, 0.9) !important;
    background-color: rgba(242, 89, 57, 0.9) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 6px 24px rgba(242, 89, 57, 0.4) !important;
    color: #ffffff !important;
}

#back-to-top.back-to-top-btn:active,
#back-to-top.back-to-top-btn:focus {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(242, 89, 57, 0.3) !important;
    outline: none !important;
    border: none !important;
}

#back-to-top.back-to-top-btn i {
    color: #ffffff !important;
    transition: transform 0.3s ease !important;
    font-size: 1.1rem !important;
}

#back-to-top.back-to-top-btn:hover i {
    transform: translateY(-2px) !important;
}

@media (max-width: 767px) {
    #back-to-top.back-to-top-btn {
        bottom: 20px !important;
        right: 20px !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        font-size: 1rem !important;
    }
    
    #back-to-top.back-to-top-btn i {
        font-size: 1rem !important;
    }
}
