/* ------------------------------------------------------------
   11. DUAL FLOATING QUICK ACTIONS (CALL + WHATSAPP)
       Compact 50px buttons with soft, gentle ripple effect
   ------------------------------------------------------------ */
.floating-actions-stack {
    position: fixed !important;
    right: max(20px, env(safe-area-inset-right)) !important;
    bottom: max(20px, env(safe-area-inset-bottom)) !important;
    z-index: 9990 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    align-items: flex-end !important;
    pointer-events: none;
}

.float-btn-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto;
}

/* Base button style (Compact 50px diameter) */
.action-float {
    position: relative !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28) !important;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease !important;
}

/* Call Button (Vibrant Industrial Blue) */
.call-float {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28), 0 0 16px rgba(2, 132, 199, 0.35) !important;
}

.call-float:hover {
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 14px 28px rgba(2, 132, 199, 0.5), 0 0 25px rgba(56, 189, 248, 0.45) !important;
}

.call-float svg {
    width: 22px !important;
    height: 22px !important;
    fill: #ffffff !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

/* WhatsApp Button (Authentic Emerald Green) */
.whatsapp-float {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28), 0 0 16px rgba(37, 211, 102, 0.35) !important;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 14px 28px rgba(37, 211, 102, 0.5), 0 0 25px rgba(37, 211, 102, 0.45) !important;
}

.whatsapp-float svg {
    width: 26px !important;
    height: 26px !important;
    fill: #ffffff !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

/* ============================================================
   Compact Crisp Ping Waves (WhatsApp & Call)
   Exactly like Fast Callback dot ping - Compact, tight, zero collision
   ============================================================ */

/* WhatsApp Compact Ping Wave (Authentic Emerald Green) */
.whatsapp-float::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid #25d366;
    pointer-events: none;
    z-index: -1;
    animation: waCompactPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid #25d366;
    pointer-events: none;
    z-index: -1;
    animation: waCompactPing 2s cubic-bezier(0, 0, 0.2, 1) 1s infinite;
}

@keyframes waCompactPing {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    75%, 100% {
        transform: scale(1.20);
        opacity: 0;
    }
}

/* Call Button Compact Ping Wave (Industrial Blue) */
.call-float::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid #0284c7;
    pointer-events: none;
    z-index: -1;
    animation: callCompactPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.call-float::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid #0284c7;
    pointer-events: none;
    z-index: -1;
    animation: callCompactPing 2s cubic-bezier(0, 0, 0.2, 1) 1s infinite;
}

@keyframes callCompactPing {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    75%, 100% {
        transform: scale(1.20);
        opacity: 0;
    }
}

.whatsapp-float:hover,
.call-float:hover {
    transform: translateY(-3px) scale(1.08) !important;
}

/* Floating Tooltips */
.float-tooltip {
    position: absolute;
    right: 64px;
    white-space: nowrap;
    background: #0f172a;
    color: #ffffff;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 13px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: all 0.22s ease;
    pointer-events: none;
    z-index: 10;
}

.call-btn-wrap .float-tooltip {
    border-color: rgba(2, 132, 199, 0.45);
}

.whatsapp-btn-wrap .float-tooltip {
    border-color: rgba(37, 211, 102, 0.45);
}

.float-tooltip::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #0f172a;
}

.float-btn-wrap:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Ensure responsiveness on smaller mobile devices */
@media (max-width: 480px) {
    .floating-actions-stack {
        right: 16px !important;
        bottom: 16px !important;
        gap: 13px !important;
    }
    .action-float {
        width: 46px !important;
        height: 46px !important;
    }
    .call-float svg {
        width: 20px !important;
        height: 20px !important;
    }
    .whatsapp-float svg {
        width: 24px !important;
        height: 24px !important;
    }
    .float-tooltip {
        display: none; /* Avoid mobile screen touch clutter */
    }
}