#contact-floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: inherit;
}

.main-btn {
    width: 60px;
    height: 60px;
    background: #00c151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.main-btn:hover {
    transform: scale(1.1);
}

.main-btn.active {
    background: #ff4757;
    transform: rotate(90deg);
}

.btn-icon svg {
    color: white;
    transition: all 0.3s ease;
}

.btn-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.contact-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: white;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 120px;
    font-size: 16px;
    font-weight: 500;
}

.contact-option:hover {
    transform: translateX(-5px) scale(1.05);
}

.contact-option[data-type="phone"] {
    background: #0f0082;
    color: white;
}

.contact-option[data-type="whatsapp"] {
    background: #00c151;
    color: white;
}

.contact-option[data-type="telegram"] {
    background: #24A1DE;
    color: white;
}

/* انیمیشن ظاهر شدن دکمه‌ها */
.contact-option:nth-child(1) {
    transition-delay: 0.1s;
}

.contact-option:nth-child(2) {
    transition-delay: 0.15s;
}

.contact-option:nth-child(3) {
    transition-delay: 0.2s;
}

/* موبایل */
@media (max-width: 768px) {
    .mobile-only {
        display: flex !important;
    }
}

/* دسکتاپ */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
    
    #contact-floating-btn {
        bottom: 30px;
        right: 30px;
    }
    
    .main-btn {
        width: 65px;
        height: 65px;
    }
}

/* RTL Support */
[dir="rtl"] #contact-floating-btn {
    right: auto;
    left: 20px;
}

[dir="rtl"] .contact-options {
    right: auto;
    left: 0;
}

[dir="rtl"] .contact-option:hover {
    transform: translateX(5px) scale(1.05);
}

@media (min-width: 769px) and (max-width: 1024px) {
    [dir="rtl"] #contact-floating-btn {
        left: 30px;
    }
}