/* Social Share Buttons */
.social-share-floating {
    position: fixed !important;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    pointer-events: auto;
    visibility: visible !important;
}

.social-share-floating:hover {
    opacity: 1;
}

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10000 !important;
    pointer-events: auto;
    visibility: visible !important;
}

.share-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: white;
    text-decoration: none;
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
}

.share-btn.linkedin {
    background: linear-gradient(135deg, #0077B5 0%, #005885 100%);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #166fe5 100%);
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #20ba5a 100%);
}

.share-btn.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

.share-btn.email {
    background: linear-gradient(135deg, #EA4335 0%, #d33b2c 100%);
}

.share-btn.copy-link {
    background: linear-gradient(135deg, #6B73FF 0%, #5a63d9 100%);
}

/* Tooltip for share buttons */
.share-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.share-btn:hover::before {
    opacity: 1;
}

/* Mobile-only class */
.mobile-only {
    display: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .social-share-floating {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        flex-direction: row !important;
        justify-content: center !important;
        margin: 20px auto !important;
        max-width: 300px !important;
    }
    
    .share-btn {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        font-size: 16px !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
    }
    
    .share-btn::before {
        display: none;
    }
}

/* Copy link success notification */
.copy-success {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1001;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.copy-success.show {
    transform: translateX(0);
    opacity: 1;
}

/* Share stats in admin */
.share-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.share-stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease;
}

.share-stat-card:hover {
    transform: translateY(-2px);
}

.share-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: white;
    font-size: 20px;
}

.share-stat-count {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #1488CC 0%, #2B32B2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.share-stat-label {
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 500;
}