/* تنسيقات أساسية */
.contact-buttons-separate {
    position: fixed;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-buttons-combined {
    position: fixed;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-buttons-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
    transform: scale(0);
    transform-origin: top right;
    transition: transform 0.2s ease;
    opacity: 0;
}

.contact-buttons-combined:hover .contact-buttons-menu {
    transform: scale(1);
    opacity: 1;
}

.contact-button {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent !important;
    border: none;
    overflow: hidden;
    padding: 0;
    margin: 0;
    width: var(--whatsapp-btn-size);
    height: var(--whatsapp-btn-size);
}

.contact-button img {
    display: block;
    max-width: 100%;
    height: auto;
    width: var(--whatsapp-icon-size);
    height: var(--whatsapp-icon-size);
}

/* مواقع الأزرار */
.contact-buttons-bottom-right {
    bottom: 30px;
    right: 30px;
}

.contact-buttons-bottom-left {
    bottom: 30px;
    left: 30px;
}

.contact-buttons-top-right {
    top: 30px;
    right: 30px;
}

.contact-buttons-top-left {
    top: 30px;
    left: 30px;
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .contact-buttons-separate,
    .contact-buttons-combined {
        bottom: 20px !important;
        right: 15px !important;
        left: auto !important;
        top: auto !important;
    }
    
    .contact-buttons-separate {
        flex-direction: row;
        gap: 10px;
    }
}