
#arabic-copy-link-container {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 9999;
}

#arabic-copy-link-btn {
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

#arabic-copy-link-btn:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 115, 170, 0.4);
}

#arabic-copy-link-btn:active {
    transform: translateY(0);
}

#arabic-copy-link-btn svg {
    flex-shrink: 0;
}

.copy-success-message {
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    margin-right: 10px;
    background: #4caf50;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.copy-success-message.show {
    opacity: 1;
    visibility: visible;
}

.copy-success-message::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid #4caf50;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* RTL Support */
body.rtl #arabic-copy-link-container {
    right: auto;
    left: 20px;
}

body.rtl .copy-success-message {
    right: auto;
    left: 100%;
    margin-right: 0;
    margin-left: 10px;
}

body.rtl .copy-success-message::after {
    left: auto;
    right: 100%;
    border-left: none;
    border-right: 6px solid #4caf50;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #arabic-copy-link-container {
        bottom: 20px;
        top: auto;
        right: 20px;
        transform: none;
    }
    
    #arabic-copy-link-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .copy-success-message {
        top: auto;
        bottom: 100%;
        right: 0;
        transform: none;
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .copy-success-message::after {
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #4caf50;
        border-bottom: none;
    }
    
    body.rtl .copy-success-message::after {
        border-right: 6px solid transparent;
        border-left: 6px solid transparent;
    }
}
    