/* Floating Action Buttons - Enhanced */
.floating-actions {
    position: fixed;
    bottom: 24px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 99999;
    pointer-events: none;
}

.floating-actions > * {
    pointer-events: auto;
}

.floating-whatsapp,
.floating-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.floating-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

.floating-top {
    background: linear-gradient(135deg, #0f52ba 0%, #2563eb 100%);
    color: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.floating-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-action-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: currentColor;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
    pointer-events: none;
}

.floating-action-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-action-inner .icon-svg {
    width: 26px;
    height: 26px;
    stroke-width: 2;
}

.floating-top-arrow {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.floating-action-label {
    position: absolute;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.floating-whatsapp .floating-action-label {
    left: 100%;
    margin-left: 16px;
    transform: translateX(-10px);
}

.floating-top .floating-action-label {
    right: 100%;
    margin-right: 16px;
    transform: translateX(10px);
}

.floating-whatsapp .floating-action-label::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid rgba(0, 0, 0, 0.85);
}

.floating-top .floating-action-label::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid rgba(0, 0, 0, 0.85);
}

/* Hover Effects */
.floating-whatsapp:hover,
.floating-top:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.floating-whatsapp:hover .floating-action-glow,
.floating-top:hover .floating-action-glow {
    opacity: 0.15;
    transform: scale(1);
    animation: pulse-glow 2s infinite;
}

.floating-whatsapp:hover .floating-action-label,
.floating-top:hover .floating-action-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.25;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-actions {
        bottom: 16px;
        padding: 0 16px;
    }
    
    .floating-whatsapp,
    .floating-top {
        width: 52px;
        height: 52px;
    }
    
    .floating-action-inner .icon-svg {
        width: 24px;
        height: 24px;
    }
    
    .floating-action-label {
        display: none;
    }
}

@media (max-width: 480px) {
    .floating-actions {
        bottom: 14px;
        padding: 0 14px;
    }
    
    .floating-whatsapp,
    .floating-top {
        width: 48px;
        height: 48px;
    }
    
    .floating-action-inner .icon-svg {
        width: 22px;
        height: 22px;
    }
}