/* 分享按钮样式 */
.xhs-share-btn {
    background: linear-gradient(135deg, #ff2442, #ff6b6b);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 36, 66, 0.3);
}

.xhs-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 36, 66, 0.4);
}

.xhs-share-btn .pro-label {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 5px;
}

/* 分享弹窗 */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.share-modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    color: #ff2442;
    margin: 0;
}

.close-btn {
    font-size: 30px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: #333;
}

.modal-body {
    display: flex;
    gap: 30px;
    padding: 30px;
}

.share-left, .share-right {
    flex: 1;
}

.share-left h3, .share-right h3 {
    color: #333;
    margin-bottom: 15px;
}

/* 图片容器 */
.image-container {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.loading {
    color: #999;
    font-size: 14px;
}

/* 文案编辑器 */
.caption-editor {
    width: 100%;
    padding: 15px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.caption-editor:focus {
    outline: none;
    border-color: #ff2442;
}

/* 操作按钮 */
.caption-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.action-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.action-btn:hover {
    background: #f9f9f9;
}

.save-btn {
    background: #4CAF50;
    color: white;
    border: none;
    width: 100%;
    margin-top: 15px;
}

.save-btn:hover {
    background: #45a049;
}

.copy-btn {
    background: #ff2442;
    color: white;
    border: none;
    flex: 1;
}

.copy-btn:hover {
    background: #e61e3a;
}

/* 成功提示 */
.success-tip {
    color: #4CAF50;
    font-size: 14px;
    margin-top: 10px;
    animation: fadeIn 0.3s;
}

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

/* 底部提示 */
.modal-footer {
    padding: 20px 30px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    border-radius: 0 0 15px 15px;
}

.tips {
    color: #666;
    font-size: 14px;
    text-align: center;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
    }
    
    .share-modal-content {
        width: 95%;
    }
}