/* 社交媒体分享组件样式 */
.social-share {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-share.visible {
    opacity: 1;
    visibility: visible;
}

.social-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 5px 0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
}

.social-share-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-share-btn.twitter {
    background: #1DA1F2;
}

.social-share-btn.facebook {
    background: #4267B2;
}

.social-share-btn.linkedin {
    background: #0077B5;
}

.social-share-btn.whatsapp {
    background: #25D366;
}

.social-share-btn.telegram {
    background: #0088cc;
}

.social-share-btn.copy {
    background: #6c757d;
}

.share-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.share-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 122, 255, 0.4);
}

.share-fab.active {
    transform: rotate(45deg);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .social-share {
        left: 10px;
        padding: 8px;
    }
    
    .social-share-btn {
        width: 36px;
        height: 36px;
        margin: 4px 0;
    }
    
    .share-fab {
        right: 15px;
        bottom: 15px;
        width: 50px;
        height: 50px;
    }
}

/* 分享提示 */
.share-tooltip {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.share-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}