/* Customer Support Bar - Premium Dark Design - Nuclear Override Edition */

/* Base Styles - Maximum Specificity */
div.stickyfooter#jsisbutton .stickybuttonx {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

div.stickyfooter#jsisbutton {
    display: flex !important;
    z-index: 999999 !important;
    flex-direction: column !important;
    position: fixed !important;
    width: 140px !important;
    right: 0 !important;
    bottom: 50% !important;
    left: auto !important;
    top: auto !important;
    transform: translateY(50%) !important;
    row-gap: 12px !important;
    column-gap: 15px !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* Slide in animation from bottom - Desktop */
div.stickyfooter#jsisbutton a.stickybutton {
    animation: slideInFromBottom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
    opacity: 0;
}

div.stickyfooter#jsisbutton a.stickybutton:nth-child(1) {
    animation-delay: 0.1s !important;
}

div.stickyfooter#jsisbutton a.stickybutton:nth-child(2) {
    animation-delay: 0.2s !important;
}

div.stickyfooter#jsisbutton a.stickybutton:nth-child(3) {
    animation-delay: 0.3s !important;
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Button Base Styles - Nuclear Override */
div.stickyfooter#jsisbutton a.stickybutton {
    all: unset !important;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #000000 100%) !important;
    position: relative !important;
    width: 100% !important;
    font-size: 13px !important;
    padding: 18px 12px !important;
    margin: 0 !important;
    font-weight: 600 !important;
    min-height: 110px !important;
    max-height: none !important;
    height: auto !important;
    color: #ffffff !important;
    text-align: center !important;
    border-radius: 0 !important;
    border-top-left-radius: 12px !important;
    border-bottom-left-radius: 12px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-right: none !important;
    overflow: hidden !important;
    cursor: pointer !important;
    font-family: var(--body_typography-font-family, 'Fira Sans', Arial, sans-serif) !important;
    box-sizing: border-box !important;
}

/* Reset any Avada button styles */
div.stickyfooter#jsisbutton a.stickybutton:before,
div.stickyfooter#jsisbutton a.stickybutton:after {
    display: none !important;
}

/* Hover glow effect overlay */
div.stickyfooter#jsisbutton a.stickybutton::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%) !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
    pointer-events: none !important;
    display: block !important;
}

div.stickyfooter#jsisbutton a.stickybutton:hover::before {
    opacity: 1 !important;
}

/* Hover State */
div.stickyfooter#jsisbutton a.stickybutton:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #000000 100%) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-right: none !important;
    text-decoration: none !important;
    color: #ffffff !important;
}

div.stickyfooter#jsisbutton a.stickybutton:hover .stickybuttonx {
    transform: scale(1.03) !important;
}

/* Icons */
div.stickyfooter#jsisbutton a.stickybutton i,
div.stickyfooter#jsisbutton a.stickybutton i.fas,
div.stickyfooter#jsisbutton a.stickybutton i.fa {
    font-size: 32px !important;
    display: block !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
    transition: all 0.3s ease !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    background: none !important;
    border: none !important;
}

div.stickyfooter#jsisbutton a.stickybutton:hover i {
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.4)) !important;
    
}

/* Text */
div.stickyfooter#jsisbutton a.stickybutton p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
    letter-spacing: 0.3px !important;
    font-family: var(--body_typography-font-family, 'Fira Sans', Arial, sans-serif) !important;
}

/* Tablet and Desktop - Bottom Bar */
@media only screen and (max-width: 1680px) {
    div.stickyfooter#jsisbutton {
        flex-direction: row !important;
        position: fixed !important;
        width: 100% !important;
        right: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        transform: none !important;
        column-gap: 15px !important;
        row-gap: 0 !important;
        z-index: 999999 !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        justify-content: center !important;
        align-items: flex-end !important;
    }
    
    /* Slide in from bottom for horizontal layout */
    div.stickyfooter#jsisbutton a.stickybutton {
        animation: slideUpFromBottom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
    }
    
    @keyframes slideUpFromBottom {
        from {
            transform: translateY(150px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    div.stickyfooter#jsisbutton a.stickybutton {
        width: 33.333% !important;
        max-width: 400px !important;
        flex: 0 1 15% !important;
        min-height: 85px !important;
        height: auto !important;
        max-height: none !important;
        padding: 16px 20px !important;
        margin: 0 !important;
        border-radius: 0 !important;
        border-top-left-radius: 12px !important;
        border-top-right-radius: 12px !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-bottom: none !important;
    }
    
    div.stickyfooter#jsisbutton a.stickybutton:hover {
        transform: scale(1.03) !important;
        border-bottom: none !important;
    }
    
    div.stickyfooter#jsisbutton a.stickybutton i,
    div.stickyfooter#jsisbutton a.stickybutton i.fas,
    div.stickyfooter#jsisbutton a.stickybutton i.fa {
        font-size: 28px !important;
        margin-bottom: 8px !important;
    }
    
    div.stickyfooter#jsisbutton a.stickybutton p {
        font-size: 13px !important;
    }
}

/* Mobile Responsive */
@media only screen and (max-width: 900px) {
    div.stickyfooter#jsisbutton {
        padding: 0 !important;
        column-gap: 0 !important;
        row-gap: 0 !important;
    }
    
    div.stickyfooter#jsisbutton a.stickybutton {
        flex: 1 1 0 !important;
        width: 33.333% !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 14px 8px !important;
        min-height: 75px !important;
    }
    
    div.stickyfooter#jsisbutton a.stickybutton i,
    div.stickyfooter#jsisbutton a.stickybutton i.fas,
    div.stickyfooter#jsisbutton a.stickybutton i.fa {
        font-size: 24px !important;
        margin-bottom: 6px !important;
    }
    
    div.stickyfooter#jsisbutton a.stickybutton p {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
}

/* Extra small screens */
@media only screen and (max-width: 480px) {
    div.stickyfooter#jsisbutton {
        padding: 0 !important;
        column-gap: 0 !important;
        row-gap: 0 !important;
    }
    
    div.stickyfooter#jsisbutton a.stickybutton {
        padding: 12px 6px !important;
        min-height: 70px !important;
        font-size: 10px !important;
    }
    
    div.stickyfooter#jsisbutton a.stickybutton:hover {
        transform: scale(1.02) !important;
    }
    
    div.stickyfooter#jsisbutton a.stickybutton i,
    div.stickyfooter#jsisbutton a.stickybutton i.fas,
    div.stickyfooter#jsisbutton a.stickybutton i.fa {
        font-size: 22px !important;
        margin-bottom: 5px !important;
    }
    
    div.stickyfooter#jsisbutton a.stickybutton p {
        font-size: 10px !important;
    }
}

/* Focus state for accessibility */
div.stickyfooter#jsisbutton a.stickybutton:focus {
    outline: 3px solid rgba(255, 255, 255, 0.6) !important;
    outline-offset: 3px !important;
}

div.stickyfooter#jsisbutton a.stickybutton:focus:not(:focus-visible) {
    outline: none !important;
}

/* Prevent layout shifts */
div.stickyfooter#jsisbutton,
div.stickyfooter#jsisbutton * {
    box-sizing: border-box !important;
}

/* Print styles */
@media print {
    div.stickyfooter#jsisbutton {
        display: none !important;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    div.stickyfooter#jsisbutton a.stickybutton {
        animation: none !important;
        opacity: 1 !important;
    }
    
    div.stickyfooter#jsisbutton a.stickybutton,
    div.stickyfooter#jsisbutton .stickybuttonx,
    div.stickyfooter#jsisbutton a.stickybutton i,
    div.stickyfooter#jsisbutton a.stickybutton::before {
        transition: none !important;
    }
}
