/* 社交分享插件样式 */

/* 分享按钮样式 */
.social-share-buttons {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.social-share-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-share-btn img {
    width: 32px;
    height: 32px;
    display: block;
    transition: all 0.3s ease;
}

.social-share-btn:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}

/* 微信二维码模态框样式 */
.social-qrcode-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.social-qrcode-modal.active {
    display: flex;
}

.social-qrcode-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.social-qrcode-content {
    position: relative;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
    animation: socialQrcodeModalFadeIn 0.3s ease;
    z-index: 1;
}

@keyframes socialQrcodeModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.social-qrcode-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.social-qrcode-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #333;
    font-weight: 600;
}

.social-qrcode-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-qrcode-close:hover {
    background: #f5f5f5;
    color: #333;
    transform: rotate(90deg);
}

.social-qrcode-body {
    text-align: center;
}

.social-qrcode-container {
    display: inline-block;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
}

.social-qrcode-tip {
    color: #666;
    font-size: 0.875rem;
    margin: 1rem 0;
}

.social-qrcode-url {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.social-qrcode-url input {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: #666;
    background: #f8f9fa;
}

.social-copy-btn {
    padding: 0.5rem 1rem;
    background: #3168EC;
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.social-copy-btn:hover {
    background: #2557d6;
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(49, 104, 236, 0.3);
}

.social-copy-btn:active {
    transform: translateY(0);
}
