/* Share Buttons Styling */
.share-buttons {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.share-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.share-stats small {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.share-btn {
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 500;
    padding: 8px 16px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: 2px solid;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.share-btn i {
    font-size: 16px;
}

/* Platform-specific colors */
.share-btn.btn-outline-primary:hover {
    background-color: #1877f2;
    border-color: #1877f2;
    color: white;
}

.share-btn.btn-outline-success:hover {
    background-color: #25d366;
    border-color: #25d366;
    color: white;
}

.share-btn.btn-outline-danger:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    color: white;
}

.share-btn.btn-outline-dark:hover {
    background-color: #343a40;
    border-color: #343a40;
    color: white;
}

.share-btn.btn-outline-info:hover {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
}

/* QR Code Modal */


#qrcode {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

#qrcode canvas {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Share Alert */
#shareAlert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    animation: slideIn 0.3s ease;
}

#shareAlert.show {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .share-buttons {
        padding: 15px;
    }
    
    .share-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .share-btn i {
        font-size: 14px;
    }
    
    .share-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .share-buttons .d-flex {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 8px;
    }
}



/* Copy button success state */
#copyBtn.copied {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
}

#copyBtn.copied::after {
    content: " ✓";
    font-weight: bold;
}

/* Share count badges */
.share-count {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.share-count i {
    font-size: 10px;
}

/* Floating share button for mobile */
.floating-share {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
}

@media (max-width: 768px) {
    .floating-share {
        display: block;
    }
    
    .floating-share .btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
}
