
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8fafc;
    color: #334155;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    display: flex;
    flex: 1;
}

.sidebar {
    width: 200px;
    font-size: 14px;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    overflow-y: auto;
    height: calc(100vh - 60px);
    position: sticky;
    top: 60px;
}

.main {
    flex: 1;
    padding: 30px 150px;
    overflow-y: auto;
    height: calc(100vh - 60px);
    position: relative;
    
    /* 基础纸张颜色 */
    background-color: #fefefe;
    
    /* 纸张线格纹理 - 模拟论文稿纸 */
    background-image: 
        /* 横向行线 */
        linear-gradient(to bottom, 
            transparent 0%, 
            transparent calc(1.5em - 1px),
            #e8e8e8 calc(1.5em - 1px),
            #e8e8e8 1.5em
        ),
        /* 纵向列线（页面边缘） */
        linear-gradient(to right,
            transparent 0%,
            transparent 79px,
            #f0f0f0 79px,
            #f0f0f0 81px,
            transparent 81px
        ),
        /* 纸张纤维纹理 */
        radial-gradient(
            circle at 20% 80%,
            rgba(255, 253, 240, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 250, 235, 0.1) 0%,
            transparent 50%
        );
    
    background-size: 
        100% 1.5em,  /* 行线间距 */
        100% 100%,    /* 列线 */
        100% 100%,    /* 纤维纹理1 */
        100% 100%;    /* 纤维纹理2 */
    
    background-repeat: repeat, repeat, no-repeat, no-repeat;
    
    /* 纸张边缘效果 */
    box-shadow: 
        inset 0 0 40px rgba(0, 0, 0, 0.02),
        inset 0 0 0 1px rgba(210, 195, 165, 0.2),
        0 0 20px rgba(0, 0, 0, 0.05);
}

/* 纸张轻微泛黄效果 */
.main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom right,
        rgba(255, 253, 245, 0.4) 0%,
        rgba(255, 251, 235, 0.6) 50%,
        rgba(255, 249, 225, 0.4) 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* 装订线效果（左侧） */
.main::after {
    content: '';
    position: absolute;
    top: 0;
    left: 60px;
    bottom: 0;
    width: 20px;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 15px,
        rgba(210, 180, 140, 0.1) 15px,
        rgba(210, 180, 140, 0.1) 16px
    );
    pointer-events: none;
    z-index: 0;
}

/* 确保内容显示在背景之上 */
.main > * {
    position: relative;
    z-index: 1;
}

/* 添加一些装饰性笔记 */
.note-decoration {
    position: fixed;
    background: rgba(255, 253, 231, 0.7);
    border-left: 4px solid #ffd700;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #666;
    max-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transform: rotate(-1deg);
}

.note-1 {
    top: 72%;
    right: 2%;
    z-index: 10;
    transform: rotate(-6deg);
}

.note-2 {
    top: 20%;
    left: 10%;
    transform: rotate(2deg);
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    color: #3b82f6;
}

.hero-section {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background-image: url('/common/images/banner.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover; 
    color: #722020;
    padding: 60px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hero-title {
    display: inline-block; /* 或 block */
    font-family: '黑体';
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(103deg, #0039ff 28%, #a523ff 87%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* 安全兜底 */
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.9;
}

/*核心区域*/
.core-functions {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    border: 1px solid #f0f0f0;
}

/* 优势标语区域 - 简洁 */
.advantages-section {
    margin-bottom: 25px;
}

.main-slogan {
    font-size: 22px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 15px;
    text-align: center;
}

.main-slogan .highlight {
    color: #1890ff;
    background: linear-gradient(135deg, #1890ff 0%, #36cfe0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.advantage-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.advantage-item {
    display: flex;
    align-items: center;
    background: #f8f9ff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    border: 1px solid #e8f4ff;
}

.advantage-item i {
    color: #52c41a;
    margin-right: 6px;
    font-size: 14px;
}

.action-center {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f7ff 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
    border: 2px solid #e6f7ff;
}

.action-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.action-description {
    color: #666;
    font-size: 15px;
    margin-bottom: 25px;
}

.main-create-btn {
    height: 56px;
    padding: 0 50px;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, #1890ff 0%, #36cfe0 100%);
    border: none;
    border-radius: 28px;
    box-shadow: 0 6px 20px rgba(24, 144, 255, 0.25);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.main-create-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(24, 144, 255, 0.35);
}

.main-create-btn i {
    margin-right: 8px;
    font-size: 20px;
}

.quick-stats {
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

.quick-stats .stat {
    display: inline-block;
    margin: 0 8px;
}

.quick-stats strong {
    color: #1890ff;
    font-weight: 600;
}

.stat-divider {
    color: #ccc;
    margin: 0 10px;
}

.simple-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
}

.feature-line {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
}

.feature-line i {
    color: #1890ff;
    margin-right: 8px;
    font-size: 16px;
}

/* 平台优势 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 24px;
    color: #3b82f6;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer {
    color: #94a3b8;
    padding: 20px 0 20px;
    text-align: center;
}

.nav-item {
    padding: 14px 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    color: inherit;
    line-height: 16px;
}

.nav-item:nth-child(5),
.nav-item:nth-child(6) {
    color: lightgray;
}

.nav-item:hover {
    background-color: #f1f5f9;
}

.nav-item.active {
    background-color: #eff6ff;
    color: #3b82f6;
    border-right: 3px solid #3b82f6;
}

.nav-icon {
    margin-right: 12px;
    font-size: 18px;
    font-style: normal;
}

.nav-title {
    font-weight: 500;
    margin-left: 8px;
}

.sidebar-title {
    padding: 15px 25px 10px;
    font-size: 14px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.el-dialog{
    min-width: 400px;
    max-width: 1000px;
    width: auto;
    background: linear-gradient(90deg, #ffffff 0%, #fdfff4 100%);
}

.dialog-content {
    padding: 20px;
}

.form-item {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-tip {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.education-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.education-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.education-card:hover {
    border-color: #3b82f6;
}

.education-card.selected {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.education-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.education-desc {
    font-size: 12px;
    color: #6b7280;
}

.word-count-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.word-count-option {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.word-count-option:hover {
    border-color: #3b82f6;
}

.word-count-option.selected {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.agreement {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.create-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.create-btn:hover {
    opacity: 0.9;
}

.create-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 标题助手样式 */
.title-input-wrapper {
    position: relative;
}

.title-helper {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: #409eff;
    margin-left: 10px;
}

.title-helper .el-icon-magic-stick {
    margin-right: 4px;
}

.title-helper:hover {
    color: #66b1ff;
}

/* 对话框样式 */
.title-assistant {
    min-height: 400px;
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e6e6e6;
}

.step-number {
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background: #409eff;
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 14px;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: #303133;
    flex: 1;
}

.step-back {
    display: flex;
    align-items: center;
    color: #409eff;
    cursor: pointer;
    font-size: 14px;
}

.step-back i {
    margin-right: 4px;
}

.step-back:hover {
    color: #66b1ff;
}

.step-content {
    padding: 0 20px;
}

.current-info {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow: auto;
}

.current-info .el-tag {
    padding: 0 12px;
    height: 28px;
    line-height: 26px;
}

/* 研究方向列表 */
.directions-list {
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.direction-item {
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.direction-item:hover {
    border-color: #c6e2ff;
    background-color: #f0f7ff;
}

.direction-item.selected {
    border-color: #409eff;
    background-color: #f0f7ff;
}

.direction-content {
    display: flex;
    align-items: flex-start;
    flex: 1;
}

.direction-index {
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #f5f7fa;
    color: #606266;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

.direction-text {
    font-size: 14px;
    line-height: 1.5;
    color: #606266;
}

.check-icon {
    color: #409eff;
    font-size: 18px;
}

/* 论文标题列表 */
.titles-list {
    margin-bottom: 20px;
    max-height: 350px;
    overflow-y: auto;
}

.title-item {
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.title-item:hover {
    border-color: #c6e2ff;
    background-color: #f0f7ff;
}

.title-item.selected {
    border-color: #409eff;
    background-color: #f0f7ff;
}

.title-content {
    display: flex;
    align-items: flex-start;
    flex: 1;
}

.title-index {
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #f5f7fa;
    color: #606266;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

.title-text {
    font-size: 14px;
    line-height: 1.5;
    color: #606266;
    flex: 1;
}

/* 操作按钮 */
.step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #e6e6e6;
}

.step-actions .el-button {
    min-width: 100px;
}

/* 表单样式 */
.full-width {
    width: 100%;
}

/* 滚动条样式 */
.directions-list::-webkit-scrollbar,
.titles-list::-webkit-scrollbar {
    width: 6px;
}

.directions-list::-webkit-scrollbar-track,
.titles-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.directions-list::-webkit-scrollbar-thumb,
.titles-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.directions-list::-webkit-scrollbar-thumb:hover,
.titles-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 查看记录 */
.history-content {
    padding: 10px 0;
}

.history-tip {
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.history-tip i {
    color: #0ea5e9;
    margin-right: 8px;
    margin-top: 2px;
}

.history-tip span {
    color: #0369a1;
    font-size: 14px;
    line-height: 1.4;
}

.order-list {
    display: grid;
    gap: 16px;
}

.order-card {
    border: 1px solid #e4e7ed;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s;
    background-color: #fff;
}

.order-card:hover {
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    border-color: #c0c4cc;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.order-title {
    font-size: 16px;
    font-weight: 600;
    color: #303133;
    flex: 1;
    margin-right: 10px;
}

.order-status {
    flex-shrink: 0;
}

.order-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px 16px;
    margin-bottom: 16px;
}

.info-item {
    display: flex;
}

.label {
    color: #606266;
    font-size: 14px;
    min-width: 60px;
}

.value {
    color: #303133;
    font-size: 14px;
    font-weight: 500;
}

.order-progress {
    margin-bottom: 16px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 14px;
    color: #606266;
}

.order-actions {
    display: flex;
    gap: 10px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #909399;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #c0c4cc;
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 8px;
}

.empty-tip {
    font-size: 14px;
    margin-bottom: 20px;
}

/* 论文预览样式 */
.paper-preview-content {
    max-height: 600px;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.paper-section {
    margin-bottom: 25px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-title-preview {
    font-size: 18px;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3b82f6;
}

.sub-title {
    font-size: 16px;
    font-weight: bold;
    color: #374151;
    margin: 15px 0 10px 0;
}

.paragraph {
    text-indent: 2em;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #4b5563;
}

.keywords {
    font-weight: bold;
    color: #3b82f6;
}

.reference-item {
    margin-bottom: 8px;
    padding-left: 2em;
    text-indent: -2em;
    line-height: 1.4;
}

.preview-actions {
    width: 100%;
    padding: 20px 60px 0 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid #e5e7eb;
}

.preview-steps {
    width: 100%;
}

.preview-steps .el-step__title{
    font-size: 14px;
}

.preview-btn {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.re-generate{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

/* 新旧论文部分对比框 */
.compare-dialog-content {
    display: flex;
    flex-direction: column;
    height: 500px;
}

.compare-container {
    display: flex;
    flex: 1;
    min-height: 0;
    margin-bottom: 20px;
}

.compare-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid #ebeef5;
    border-radius: 4px;
    overflow: hidden;
}

.section-header {
    padding: 12px;
    background-color: #f5f7fa;
    border-bottom: 1px solid #ebeef5;
}

.section-content {
    flex: 1;
    padding: 16px;
    overflow: auto;
    background-color: #fafafa;
}

.section-content pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.compare-divider {
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.divider-line {
    flex: 1;
    width: 2px;
    background-color: #dcdfe6;
}

.divider-arrow {
    padding: 10px 0;
    color: #409eff;
}

.dialog-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #ebeef5;
}

.dialog-footer .el-button {
    margin-left: 10px;
}

/* 现代支付对话框样式 */
.modern-pay-dialog .el-dialog__body {
    padding: 20px 30px;
}

.modern-pay-content {
    margin-top: 10px;
}

.service-selection {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e4e7ed;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: #409EFF;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-card {
    border: 2px solid #e4e7ed;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    background: #fff;
}

.service-card.base-service {
    border-color: #dcdfe6;
    background: #fafafa;
}

.service-card.chart-service {
    border-color: #e4e7ed;
}

.service-card.chart-service:hover {
    border-color: #409EFF;
    box-shadow: 0 2px 12px rgba(64, 158, 255, 0.1);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.service-header .el-checkbox {
    display: flex;
    align-items: center;
}

.service-name {
    font-size: 16px;
    font-weight: 600;
    color: #303133;
    margin-right: 10px;
}

.chart-tag {
    margin-left: 5px;
    height: 20px;
    line-height: 18px;
}

.service-price {
    font-size: 18px;
    font-weight: 700;
    color: #e6a23c;
}

.service-desc {
    color: #606266;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #606266;
    font-size: 13px;
}

.feature i {
    color: #67c23a;
    font-size: 14px;
}

.chart-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.chart-item {
    text-align: center;
}

.chart-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    background: linear-gradient(135deg, #409EFF 0%, #66b1ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.chart-info {
    margin-top: 5px;
}

.chart-title {
    font-size: 13px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 2px;
}

.chart-desc {
    font-size: 12px;
    color: #909399;
    line-height: 1.3;
}

/* 支付区域样式 */
.payment-section {
    position: relative;
}

.payment-card {
    border: 1px solid #e4e7ed;
    border-radius: 10px;
    padding: 25px;
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e4e7ed;
}

.payment-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #303133;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-header h3 i {
    color: #67c23a;
}

.total-price {
    font-size: 16px;
    color: #606266;
}

.price-amount {
    font-size: 28px;
    font-weight: 700;
    color: #e6a23c;
    margin-left: 5px;
}

.qrcode-box {
    margin: 20px 0;
}

.qrcode-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    border: 1px solid #e4e7ed;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qrcode-image {
    width: 160px;
    height: 160px;
    background: linear-gradient(45deg, #f5f7fa 25%, #e4e7ed 25%, #e4e7ed 50%, #f5f7fa 50%, #f5f7fa 75%, #e4e7ed 75%, #e4e7ed);
    background-size: 20px 20px;
    border-radius: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #909399;
    font-size: 14px;
}

.qrcode-label {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #409EFF;
}

.payment-tips {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #e4e7ed;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #606266;
    font-size: 13px;
}

.tip-item i {
    color: #909399;
    font-size: 14px;
    width: 16px;
}

/* 底部样式 */
.modern-dialog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e4e7ed;
}

.order-summary {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.summary-label {
    font-size: 16px;
    color: #606266;
}

.summary-price {
    font-size: 28px;
    font-weight: 700;
    color: #e6a23c;
}

.footer-actions {
    display: flex;
    gap: 15px;
}

.modern-pay-btn {
    padding: 10px 32px;
    font-weight: 600;
    background: linear-gradient(135deg, #409EFF 0%, #66b1ff 100%);
    border: none;
    box-shadow: 0 2px 6px rgba(64, 158, 255, 0.3);
}

.modern-pay-btn:hover {
    background: linear-gradient(135deg, #66b1ff 0%, #409EFF 100%);
    box-shadow: 0 2px 10px rgba(64, 158, 255, 0.4);
}

/* 常见问题区域样式 */
.faq-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.faq-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* 折叠面板样式调整 */
.faq-container .el-collapse {
    border: none;
}

.faq-container .el-collapse-item__header {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    padding: 15px 0;
    border-bottom: 1px solid #e4e7ed;
    background: none;
}

.faq-container .el-collapse-item__content {
    padding: 20px 0;
}

/* 单个FAQ项目 */
.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: #4a6fa5;
    margin-bottom: 10px;
}

.faq-answer {
    font-size: 15px;
    line-height: 1.6;
    color: #5a6c7d;
    margin: 0;
}

/* 更多帮助区域 */
.more-help {
    margin-top: 30px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 8px;
    text-align: center;
}

.more-help p {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.help-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}





.paper-edit-dialog {
    border-radius: 12px;
    overflow: hidden;
}

.dialog-header {
    text-align: center;
    padding: 20px 0 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 20px;
}

.header-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.header-title i {
    font-size: 24px;
    margin-right: 10px;
}

.header-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.edit-tabs {
    padding: 0 20px;
}

.tab-content {
    padding: 15px 0;
}

.section-selector {
    margin-bottom: 25px;
}

.selector-label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #606266;
    font-weight: 500;
}

.selector-label i {
    margin-right: 8px;
    color: #409EFF;
}

.section-select {
    width: 100%;
}

.feedback-section {
    margin-bottom: 25px;
}

.feedback-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #606266;
    font-weight: 500;
}

.feedback-header i {
    margin-right: 8px;
    color: #409EFF;
}

.word-count {
    font-size: 12px;
    color: #909399;
}

.feedback-input {
    width: 100%;
}

.feedback-input >>> .el-textarea__inner {
    border-radius: 8px;
    border: 1px solid #E4E7ED;
    transition: all 0.3s;
}

.feedback-input >>> .el-textarea__inner:focus {
    border-color: #409EFF;
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.1);
}

.action-buttons {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #EBEEF5;
}

.generate-btn {
    min-width: 150px;
    border-radius: 6px;
    padding: 10px 25px;
}

.re_dialog-footer {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #EBEEF5;
    margin-top: 10px;
}

.footer-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #909399;
    font-size: 13px;
}

.footer-tip i {
    margin-right: 6px;
}

/* 动画效果 */
.el-tab-pane {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* 响应式调整 */
@media (max-width: 768px) {
    .paper-edit-dialog {
        width: 95% !important;
    }

    .image-stats {
        padding: 15px;
    }

    .stat-value {
        font-size: 26px;
    }
}


/* 在小屏幕下优化优势项显示 */
@media (max-width: 480px) {
    .advantage-list {
        flex-direction: column;
        align-items: center;
    }
    
    .advantage-item {
        width: 100%;
        justify-content: center;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sidebar{
        display: none;
    }
    
    /* 常见问题 */
    .faq-container {
        padding: 20px;
    }
    
    .faq-question {
        font-size: 15px;
    }
    
    .faq-answer {
        font-size: 14px;
    }
    
    .help-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .help-actions .el-button {
        width: 200px;
    }
    
    /* 核心区域 */
    .core-functions {
        padding: 20px;
    }
    
    .main-slogan {
        font-size: 18px;
    }
    
    .advantage-list {
        gap: 8px;
    }
    
    .advantage-item {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .action-center {
        padding: 25px 20px;
    }
    
    .main-create-btn {
        width: 100%;
        padding: 0 20px;
        font-size: 16px;
        height: 52px;
    }
    
    .simple-features {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .quick-stats {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .stat-divider {
        display: none;
    }
    
    /* 论文编辑、图表框 */
    .paper-edit-dialog {
        width: 95% !important;
    }
  
    .image-stats {
        padding: 15px;
    }
  
    .stat-value {
        font-size: 26px;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .main {
        padding: 30px;
    }
}
