/* Call Button Base Style */
.fcb-call-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1;
    white-space: nowrap;
}

/* Base Hover Effect */
.fcb-call-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* Icon Styling */
.fcb-call-button svg, 
.fcb-fa-icon,
.fcb-image-icon {
    margin-right: 12px;
    color: currentColor; 
    width: 24px; 
    height: 24px;
}

/* Responsive icon size */
@media (max-width: 1024px) {
    .fcb-call-button svg, .fcb-fa-icon, .fcb-image-icon {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }
}

@media (max-width: 768px) {
    .fcb-call-button svg, .fcb-fa-icon, .fcb-image-icon {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }
}

/* Icon Only Mode */
.fcb-icon-only .fcb-button-text {
    display: none !important;
}

.fcb-icon-only svg, .fcb-icon-only .fcb-fa-icon, .fcb-icon-only .fcb-image-icon {
    margin-right: 0 !important;
}

.fcb-icon-only {
    padding: 15px !important;
    border-radius: 50% !important;
    width: 60px;
    height: 60px;
}

@media (max-width: 1024px) {
    .fcb-icon-only {
        padding: 12px !important;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .fcb-icon-only {
        padding: 10px !important;
        width: 45px;
        height: 45px;
    }
}

/* ===== FLOATING BUTTON STYLES ===== */
.fcb-floating-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99999;
    animation: fcbSlideInUp 0.4s ease-out;
}

@keyframes fcbSlideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Floating button specific styling */
.fcb-floating-container .fcb-call-button {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.fcb-floating-container .fcb-call-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Pulse animation for attention */
.fcb-floating-container .fcb-call-button {
    animation: fcbPulse 2s infinite;
}

@keyframes fcbPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(0, 102, 204, 0.6);
    }
}

/* Mobile adjustments for floating */
@media (max-width: 768px) {
    .fcb-floating-container {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .fcb-floating-container {
        bottom: 15px;
        right: 15px;
    }
}