/* Floating Action Buttons Styles */

.floating-buttons-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.floating-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    min-width: 40px;
    height: 40px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    padding: 0 12px 0 0;
}

.floating-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: inherit;
    z-index: -1;
    transition: all 0.3s ease;
}

.floating-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.floating-button-text {
    position: relative;
    right: auto;
    background: transparent;
    color: white;
    padding: 0 0 0 8px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
    pointer-events: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.floating-button-text::after {
    display: none;
}

/* Individual Button Styles */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.support-btn {
    background: linear-gradient(135deg, #7C3AED, #5B21B6) !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.donate-btn {
    background: linear-gradient(135deg, #EF4444, #DC2626) !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Hover Effects */
.floating-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.floating-button:hover .floating-button-text {
    opacity: 1;
    transform: translateX(0);
}

.floating-button:hover .floating-button-icon {
    transform: scale(1.1);
}

.whatsapp-btn:hover {
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.support-btn:hover {
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}

.donate-btn:hover {
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.4);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.floating-button {
    animation: pulse 2s infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-buttons-container {
        right: 15px;
        bottom: 15px;
        gap: 8px;
    }

    .floating-button {
        min-width: 36px;
        height: 36px;
        padding: 0 10px 0 0;
    }

    .floating-button-icon {
        width: 36px;
        height: 36px;
    }

    .floating-button-icon svg {
        width: 16px;
        height: 16px;
    }

    .floating-button-text {
        font-size: 10px;
        padding: 0 0 0 6px;
    }

    .floating-button:hover {
        transform: translateY(-3px) scale(1.03);
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .floating-buttons-container {
        right: 10px;
        bottom: 10px;
        gap: 6px;
    }

    .floating-button {
        min-width: 32px;
        height: 32px;
        padding: 0 8px 0 0;
    }

    .floating-button-icon {
        width: 32px;
        height: 32px;
    }

    .floating-button-icon svg {
        width: 14px;
        height: 14px;
    }

    .floating-button-text {
        font-size: 9px;
        padding: 0 0 0 5px;
    }
}
