/* أنماط أزرار الاتصال العائمة */
.fcb-floating-buttons {
    position: fixed;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s ease;
}

/* المواقع المختلفة */
.fcb-position-bottom-right {
    bottom: 30px;
    right: 30px;
}

.fcb-position-bottom-left {
    bottom: 30px;
    left: 30px;
}

.fcb-position-middle-right {
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
}

.fcb-position-middle-left {
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
}

/* أنماط الأزرار الأساسية */
.fcb-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ألوان الأزرار */
.fcb-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.fcb-phone {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

/* تأثيرات عند التمرير */
.fcb-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.fcb-button:hover .fcb-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* الأيقونات */
.fcb-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.fcb-icon svg {
    width: 28px;
    height: 28px;
}

/* التلميح */
.fcb-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.fcb-position-bottom-left .fcb-tooltip,
.fcb-position-middle-left .fcb-tooltip {
    right: auto;
    left: 70px;
    transform: translateX(10px);
}

.fcb-position-bottom-left .fcb-button:hover .fcb-tooltip,
.fcb-position-middle-left .fcb-button:hover .fcb-tooltip {
    transform: translateX(0);
}

/* الأنماط المختلفة */
.fcb-style-style1 .fcb-button {
    border-radius: 50%;
}

.fcb-style-style2 .fcb-button {
    border-radius: 12px;
}

.fcb-style-style3 .fcb-button {
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* الحركات */
.fcb-animation-pulse {
    animation: fcbPulse 2s infinite;
}

@keyframes fcbPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.fcb-animation-bounce {
    animation: fcbBounce 2s infinite;
}

@keyframes fcbBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fcb-animation-shake {
    animation: fcbShake 2s infinite;
}

@keyframes fcbShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.fcb-animation-float {
    animation: fcbFloat 3s ease-in-out infinite;
}

@keyframes fcbFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .fcb-floating-buttons {
        gap: 10px;
    }
    
    .fcb-button {
        width: 50px;
        height: 50px;
    }
    
    .fcb-position-bottom-right,
    .fcb-position-bottom-left {
        bottom: 20px;
    }
    
    .fcb-position-middle-right,
    .fcb-position-middle-left {
        transform: translateY(-50%) scale(0.9);
    }
    
    .fcb-tooltip {
        display: none;
    }
}