/* 分享按钮样式 - 小巧紧凑版本 */
.share-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 0;
    margin-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.share-label {
    font-size: 12px;
    color: #6b7280;
    margin-right: 8px;
    font-weight: 500;
}

.share-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
}

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

.share-btn span {
    display: none;
}

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

.share-btn:active {
    transform: translateY(0);
}

/* 不同平台的颜色 */
.share-wechat:hover {
    background: #07c160;
    color: white;
    box-shadow: 0 2px 8px rgba(7, 193, 96, 0.3);
}

.share-weibo:hover {
    background: #e6162d;
    color: white;
    box-shadow: 0 2px 8px rgba(230, 22, 45, 0.3);
}

.share-qq:hover {
    background: #12b7f5;
    color: white;
    box-shadow: 0 2px 8px rgba(18, 183, 245, 0.3);
}

.share-linkedin:hover {
    background: #0077b5;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 119, 181, 0.3);
}

.share-copy:hover {
    background: #667eea;
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* 响应式 */
@media (max-width: 768px) {
    .share-buttons {
        gap: 10px;
        padding: 12px 0;
        margin-top: 30px;
    }

    .share-label {
        font-size: 11px;
    }

    .share-links {
        gap: 6px;
    }

    .share-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

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

/* 二维码弹窗样式 */
.share-qrcode-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.qrcode-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    max-width: 90%;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.qrcode-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666;
    transition: all 0.3s ease;
}

.qrcode-close:hover {
    background: #ff4d4f;
    color: white;
    transform: rotate(90deg);
}

.qrcode-content h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.qrcode-content img {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
}

.qrcode-content p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* 提示消息样式 */
.share-toast {
    position: fixed;
    top: 100px;
    right: 30px;
    padding: 16px 24px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease;
    min-width: 280px;
}

.share-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.share-toast i {
    font-size: 20px;
}

.share-toast-share-success i {
    color: #52c41a;
}

.share-toast-share-error i {
    color: #ff4d4f;
}

.share-toast-share-info i {
    color: #1890ff;
}

.share-toast span {
    color: #1a1a2e;
    font-size: 14px;
    font-weight: 500;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .share-toast {
        right: 20px;
        left: 20px;
        padding: 12px 16px;
        min-width: auto;
    }
    
    .qrcode-content {
        padding: 30px 20px;
    }
    
    .qrcode-content img {
        width: 160px;
        height: 160px;
    }
}
