/* 相关问题区域样式优化 */
.related-questions {
    margin: 1.5rem 0;
    padding: 1.2rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px solid #e8e8e8;
}

.related-questions h2 {
    font-size: 1.1rem;
    margin: 0 0 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.related-questions ul {
    margin: 0;
    padding-left: 1.2rem;
}

.related-questions li {
    font-size: 0.95rem;
    padding: 0.6rem 0;
    color: #667eea;
    cursor: pointer;
    transition: all 0.2s ease;
}

.related-questions li:hover {
    color: #764ba2;
    transform: translateX(4px);
}

/* 同意提示区域样式优化 */
.agree-group {
    margin: 1.5rem 0;
    padding: 1.2rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
}

.agree-group p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    color: #667eea;
}

/* 单选框组样式优化 */
.radio-group {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 0;
}

.radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.2rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.radio:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
}

.radio input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #667eea;
}

.radio label {
    font-size: 0.9rem;
    color: #4a5568;
    min-width: auto;
}

/* 字数统计样式优化 */
.char-count {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    text-align: right;
    color: #666;
    font-weight: 500;
}

/* 导航栏样式 */
.navbar {
    display: flex;
    justify-content: center;
    background-color: #1890ff;
    padding: 10px 0;
}

.navbar button {
    background-color: transparent;
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.navbar button:hover {
    background-color: #40a9ff;
}

/* 毕业论文生成器页面样式 */
.thesis-container {
    max-width: 1200px;
    margin: 20px auto;
    /* padding: 20px; */
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: none; /* 默认隐藏 */
}

/* 增值服务页面样式 */
.service-container {
    max-width: 1200px; /* 与thesis-container一致 */
    width: 90%; /* 与thesis-container一致 */
    background-color: #fff;
    padding: 2rem; /* 增加内边距，与thesis-container一致 */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    margin: 1.5rem auto; /* 与thesis-container一致 */
}

/* 订单信息样式优化 */
.order-info {
    background: #f8f9fa;
    padding: 18px 24px; /* 增加内边距 */
    border-radius: 10px; /* 增大圆角 */
    margin-bottom: 24px; /* 增加底部间距 */
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03); /* 添加微妙阴影 */
}

.order-info p {
    margin: 10px 0; /* 增加上下间距 */
    color: #495057;
    font-size: 1rem; /* 增大字体 */
    display: flex;
    justify-content: space-between;
    line-height: 1.5;
}

/* 订单信息标题样式 */
.service-container h3 {
    font-size: 1.25rem;
    color: #333;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
}

.service-container h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* 增值服务列表样式优化 */
.service {
    display: flex;
    align-items: center;
    margin-bottom: 16px; /* 增加间距 */
    padding: 18px; /* 增加内边距 */
    border-radius: 12px; /* 增大圆角 */
    background: #fff;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04); /* 添加微妙阴影 */
}

.service:hover {
    transform: translateY(-3px); /* 增大悬停效果 */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1); /* 增强悬停阴影 */
    border-color: #d1d6db;
}

/* 选中状态样式 */
.service.selected {
    border: 2px solid #667eea;
    background-color: rgba(102, 126, 234, 0.05);
}

.service img {
    width: 70px; /* 略微增大图片 */
    height: 70px;
    object-fit: cover;
    border-radius: 10px; /* 增大圆角 */
    margin-right: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 为图片添加阴影 */
}

.service-info {
    flex: 1;
}

.service-title {
    margin: 0 0 8px 0; /* 添加底部间距 */
    font-size: 1.1rem; /* 增大字体 */
    color: #212529;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500; /* 增加字重 */
}

/* 添加服务描述样式 */
.service-info p:not(.service-title) {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.service-price {
    color: #ff4d4f;
    font-weight: 600; /* 增加字重 */
    font-size: 1.2rem; /* 增大字体 */
}

.service input[type="checkbox"] {
    width: 22px; /* 增大选择框 */
    height: 22px;
    margin-left: 18px;
    accent-color: #667eea; /* 使用主题色 */
    cursor: pointer;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2); /* 添加高亮效果 */
    border-radius: 4px;
}

/* 提交按钮样式优化 */
.submit-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 32px auto; /* 增加上下间距 */
    padding: 14px 28px; /* 增加内边距 */
    background: linear-gradient(145deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px; /* 增大圆角 */
    font-size: 1.05rem; /* 增大字体 */
    font-weight: 600; /* 增加字重 */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.25); /* 增强阴影 */
}

.submit-button:hover {
    transform: translateY(-3px); /* 增大悬停效果 */
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
    background: linear-gradient(145deg, #7687ed 0%, #8159b5 100%);
}

.submit-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* 移动端适配优化 */
@media (max-width: 768px) {
    .service-container {
        width: 95%;
        padding: 1.5rem;
        margin: 1rem auto;
    }
    
    .service-container h3 {
        font-size: 1.1rem;
        margin: 1rem 0 0.8rem;
    }
    
    .service {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .service img {
        width: 55px;
        height: 55px;
        margin-right: 12px;
    }
    
    .service-title {
        font-size: 1rem;
    }
    
    .service-price {
        font-size: 1.1rem;
    }
    
    .submit-button {
        max-width: 100%;
        margin: 24px auto;
        padding: 12px 20px;
    }

    .order-info {
        padding: 15px 18px;
    }
} 