/* 纸模型SEO生成器样式 */

.paper-model-seo-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 5px solid #4a6fa5; /* 左侧强调色条 */
    border-radius: 8px; /* 圆角 */
    padding: 20px;
    margin: 25px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* 柔和阴影 */
    position: relative;
    overflow: hidden;
}

/* 可选：添加一个微妙的顶部装饰线 */
.paper-model-seo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a6fa5, #6a9eff);
}

.paper-model-seo-section p {
    margin: 0 0 15px 0;
    line-height: 1.7;
    font-size: 16px;
    color: #333;
}

.paper-model-seo-section p:last-child {
    margin-bottom: 0;
}

.paper-model-seo-section p {
    margin: 0 0 10px 0;
    line-height: 1.6;
    font-size: 16px;
}

.paper-model-seo-section p:last-child {
    margin-bottom: 0;
}

/* 进度条容器 */
.progress-bar-container {
    width: 100%;
    height: 20px;
    background: #f0f0f0;
    border-radius: 3px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2271b1, #00a0d2);
    transition: width 0.5s ease;
    border-radius: 3px;
}

/* 文章列表页的快速生成按钮 */
.paper-model-quick-gen {
    margin: 2px;
    font-size: 12px;
    padding: 2px 8px;
    height: auto;
    line-height: 1.5;
    cursor: pointer;
}

.paper-model-quick-gen.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.column-seo_status { 
    width: 180px; 
}

/* 状态指示器 */
.seo-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
}

.seo-status.has-seo {
    background: #d1e7dd;
    color: #0f5132;
}

.seo-status.no-seo {
    background: #f8d7da;
    color: #842029;
}

/* 错误列表 */
#error-list {
    margin-top: 15px;
    max-height: 200px;
    overflow-y: auto;
}

#error-items {
    border-left: 3px solid #dc3545;
    padding-left: 15px;
    list-style-type: none;
}

#error-items li {
    margin-bottom: 5px;
    font-size: 12px;
    color: #721c24;
}

/* 卡片样式 */
.card {
    background: #fff;
    border: 1px solid #c3c4c7;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    margin: 20px 0;
    padding: 20px;
}

.card h2 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* 响应式调整 */
@media screen and (max-width: 782px) {
    .paper-model-seo-section {
        padding: 10px;
        font-size: 14px;
    }
    
    .paper-model-quick-gen {
        font-size: 10px;
        padding: 1px 6px;
    }
    
    .column-seo_status {
        width: 150px;
    }
}