/* =================================================== */
/* AI宣传文案弹窗样式 - 完全套用中医弹窗滑动方案       */
/* =================================================== */

/* 弹窗遮罩层 */
.ai-xuanchuan-tanchuang {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 10000;
    animation: ai-fade-in 0.3s ease;
}

/* 弹窗内容容器 - 完全套用中医结构 */
.ai-xuanchuan-tanchuang-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

/* 内容主体 - 关键：与中医弹窗完全一致 */
.ai-xuanchuan-tanchuang-body {
    flex: 1;
    padding: 80px 20px 20px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .ai-xuanchuan-tanchuang-body {
        padding: 60px 16px 20px;
        -webkit-overflow-scrolling: touch;
    }
}

/* 标题样式 */
.ai-xuanchuan-tanchuang-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10001;
}

.ai-xuanchuan-tanchuang-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    margin: 0;
}

.ai-xuanchuan-tanchuang-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 基础组件样式 */
.ai-xuanchuan-input-container {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}

.ai-xuanchuan-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
}

.ai-xuanchuan-generate-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

/* ===== 分享成功提示弹窗样式 ===== */
.share-tip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px 40px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 10001;
    text-align: center;
    min-width: 320px;
    border: 1px solid #f0f0f0;
    animation: tipFadeIn 0.3s ease;
}

@keyframes tipFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.share-tip .tip-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.share-tip .tip-title {
    font-size: 22px;
    font-weight: 600;
    color: #059669;
    margin-bottom: 12px;
}

.share-tip .tip-url {
    background: #f3f4f6;
    padding: 14px 20px;
    border-radius: 16px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 500;
    word-break: break-all;
    margin: 20px 0;
    border: 1px solid #e5e7eb;
}

.share-tip .tip-footer {
    color: #6b7280;
    font-size: 14px;
    margin-top: 8px;
}

.share-tip .close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

.share-tip .close-btn:hover {
    background: #f3f4f6;
    color: #4b5563;
}

/* 动画 */
@keyframes ai-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 文件: css/aixuanchuan_tanchuang.css */