/* Ultra Reliable WhatsApp Floating Button Styles */
.floating-buttons {
    position: fixed;
    bottom: 35px;
    right: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 9999;
}

.whatsapp-float {
    width: 49px;
    height: 49px;
    background-color: #25D366;
    color: #fff;
    border-radius: 24%;
    text-align: center;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    outline: none;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:focus {
    outline: none;
}

.floating-buttons .prgoress_indicator {
    position: static;
    right: auto;
    bottom: auto;
}

/* Ensure only one WhatsApp button is visible */
.whatsapp-float:not(:first-of-type) {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .whatsapp-float {
        border: 2px solid #fff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        transition: opacity 0.2s ease;
    }
}