/* Add to Contact Plugin Styles */

.add-to-contact-wrapper {
    display: inline-block;
    margin: 10px 0;
}

.add-to-contact-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-decoration: none;
    line-height: 1;
}

.add-to-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.add-to-contact-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.add-to-contact-btn:disabled,
.add-to-contact-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.add-to-contact-icon {
    font-size: 18px;
    line-height: 1;
}

.add-to-contact-text {
    white-space: nowrap;
}

/* Loading animation */
.add-to-contact-btn.loading .add-to-contact-icon {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Notification styles */
.add-to-contact-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.add-to-contact-notification.show {
    transform: translateX(0);
}

.add-to-contact-notification-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.add-to-contact-notification-error {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.add-to-contact-notification-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Alternative button styles */
.add-to-contact-btn.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    box-shadow: none;
}

.add-to-contact-btn.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.add-to-contact-btn.btn-minimal {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
    box-shadow: none;
}

.add-to-contact-btn.btn-minimal:hover {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .add-to-contact-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .add-to-contact-notification {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100%);
    }
    
    .add-to-contact-notification.show {
        transform: translateY(0);
    }
}
