/* Floating Button Container */
.fbl-container {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 20px;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 9999;
    pointer-events: none;
}

/* Button Styles */
.fbl-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    pointer-events: auto;
    overflow: hidden;
    animation: fbl-slideIn 0.5s ease-out;
}

/* Call Button Specific */
.fbl-call-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.fbl-call-button:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46a0 100%);
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* WhatsApp Button Specific */
.fbl-whatsapp-button {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.fbl-whatsapp-button:hover {
    background: linear-gradient(135deg, #20b859 0%, #0e6d62 100%);
    transform: scale(1.05) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Icon Styling */
.fbl-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.fbl-icon svg {
    width: 50%;
    height: 50%;
    transition: transform 0.3s ease;
}

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

/* Label Styling */
.fbl-label {
    position: absolute;
    right: 80px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    pointer-events: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.fbl-call-button .fbl-label {
    left: 80px;
    right: auto;
}

.fbl-button:hover .fbl-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .fbl-container {
        padding: 0 15px;
        bottom: 15px;
    }
    
    .fbl-label {
        display: none;
    }
    
    .fbl-button {
        width: 55px !important;
        height: 55px !important;
    }
}

/* Animation */
@keyframes fbl-slideIn {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ripple Effect */
.fbl-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.fbl-button:active::after {
    width: 100%;
    height: 100%;
}

/* Desktop Specific */
@media (min-width: 769px) {
    .fbl-container {
        max-width: 1200px;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        width: 100%;
    }
}