/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e6ed;
}

header h1 {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 10px;
}

header p {
    font-size: 1.1rem;
    color: #64748b;
}

/* 流程步骤样式 */
.process-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 5%;
    right: 5%;
    height: 2px;
    background-color: #e0e6ed;
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e6ed;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 10px;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.9rem;
    color: #64748b;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background-color: #3b82f6;
    color: white;
}

.step.active .step-label {
    color: #3b82f6;
    font-weight: bold;
}

/* 内容区域样式 */
.content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.step-content h2 {
    font-size: 1.8rem;
    color: #1a365d;
    margin-bottom: 15px;
}

.step-content p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 30px;
}

/* 上传区域样式 */
.upload-section {
    margin-bottom: 30px;
}

.upload-item {
    margin-bottom: 20px;
}

.upload-item h3 {
    font-size: 1.2rem;
    color: #1a365d;
    margin-bottom: 10px;
}

/* 营业执照上传样式 */
.license-item {
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f8fafc;
}

.license-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.license-header span {
    font-weight: 500;
    color: #1a365d;
    font-size: 1.1rem;
}

.license-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e6ed;
}

.license-form h4 {
    font-size: 1rem;
    color: #1a365d;
    margin-bottom: 15px;
}

/* 企业材料上传样式 */
.company-material-item {
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    background-color: #f8fafc;
}

.company-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e6ed;
}

.company-header h3 {
    font-size: 1.2rem;
    color: #1a365d;
    margin: 0;
}

.material-upload-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.upload-item h4 {
    font-size: 1rem;
    color: #1a365d;
    margin-bottom: 10px;
}

.preview-section h5 {
    font-size: 0.9rem;
    color: #1a365d;
    margin-bottom: 10px;
}

/* 企业清单样式 */
.companies-list {
    margin-bottom: 30px;
}

.company-list-item {
    margin-bottom: 10px;
}

.company-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    background-color: #f8fafc;
}

.company-info span {
    font-weight: 500;
    color: #1a365d;
}

/* 报告详情样式 */
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e6ed;
}

.report-header h3 {
    font-size: 1.2rem;
    color: #1a365d;
    margin: 0;
}

.report-details .credit-score {
    margin-bottom: 20px;
}

.report-details .credit-score h4 {
    font-size: 1.1rem;
    color: #1a365d;
    margin-bottom: 15px;
}

.report-details .credit-details {
    margin-bottom: 20px;
}

.report-details .credit-details h4 {
    font-size: 1.1rem;
    color: #1a365d;
    margin-bottom: 15px;
}

.report-details .loan-recommendations h4 {
    font-size: 1.1rem;
    color: #1a365d;
    margin-bottom: 15px;
}

.report-details .recommendation-item h5 {
    font-size: 1rem;
    color: #1a365d;
    margin-bottom: 10px;
}

.upload-area {
    position: relative;
    border: 2px dashed #e0e6ed;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #3b82f6;
    background-color: #f0f9ff;
}

.upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-label {
    display: block;
    cursor: pointer;
}

.upload-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.upload-label p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 5px;
}

.upload-label small {
    font-size: 0.9rem;
    color: #94a3b8;
}

.preview-section {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    background-color: #f8fafc;
}

.preview-section h3 {
    font-size: 1.1rem;
    color: #1a365d;
    margin-bottom: 15px;
}

.preview-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.file-name {
    font-weight: 500;
    color: #1a365d;
}

.file-size {
    font-size: 0.9rem;
    color: #64748b;
}

/* 表单样式 */

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    font-size: 1.2rem;
    color: #1a365d;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a365d;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 按钮样式 */
.button-section {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 30px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #1a365d;
    border: 1px solid #e0e6ed;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* 结果区域样式 */
.result-section {
    margin-bottom: 30px;
}

.credit-score {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background-color: #f8fafc;
    border-radius: 8px;
}

.credit-score h3 {
    font-size: 1.2rem;
    color: #1a365d;
    margin-bottom: 20px;
}

.score-display {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-number {
    font-size: 4rem;
    font-weight: bold;
    color: #3b82f6;
    margin-bottom: 10px;
}

.score-level {
    font-size: 1.5rem;
    font-weight: 500;
    color: #10b981;
}

.credit-details {
    margin-bottom: 30px;
}

.credit-details h3 {
    font-size: 1.2rem;
    color: #1a365d;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #e0e6ed;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: #64748b;
}

.detail-value {
    font-weight: 500;
    color: #1a365d;
}

.loan-recommendations {
    margin-bottom: 30px;
}

.loan-recommendations h3 {
    font-size: 1.2rem;
    color: #1a365d;
    margin-bottom: 20px;
}

.recommendation-item {
    padding: 20px;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.recommendation-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recommendation-item h4 {
    font-size: 1.1rem;
    color: #1a365d;
    margin-bottom: 10px;
}

.recommendation-item p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 5px;
}

.recommendation-item .btn {
    margin-top: 15px;
}

/* 底部样式 */
footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #e0e6ed;
    color: #64748b;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
        max-width: 100%;
    }
    
    header {
        margin-bottom: 20px;
        padding: 15px 0;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    header p {
        font-size: 0.9rem;
    }
    
    .process-steps {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .process-steps::before {
        left: 0;
        right: 0;
    }
    
    .step {
        flex: 0 0 auto;
        width: 80px;
        margin-bottom: 0;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    .content {
        padding: 20px;
        border-radius: 8px;
    }
    
    .step-content h2 {
        font-size: 1.5rem;
    }
    
    .step-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .upload-area {
        padding: 30px 15px;
    }
    
    .upload-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .upload-label p {
        font-size: 1rem;
    }
    
    .form-section h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group input,
    .form-group select {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .button-section {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }
    
    .button-section .btn {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }
    
    .license-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .license-header span {
        font-size: 1rem;
    }
    
    .company-material-item {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .company-header h3 {
        font-size: 1.1rem;
    }
    
    .material-upload-section {
        gap: 15px;
    }
    
    .upload-item h4 {
        font-size: 0.9rem;
    }
    
    .preview-section {
        padding: 15px;
        margin-top: 15px;
    }
    
    .preview-section h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .preview-section h5 {
        font-size: 0.8rem;
    }
    
    .file-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .credit-score {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .credit-score h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .score-number {
        font-size: 2.5rem;
    }
    
    .score-level {
        font-size: 1.1rem;
    }
    
    .credit-details h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .detail-item {
        padding: 12px;
    }
    
    .loan-recommendations h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .recommendation-item {
        padding: 15px;
        margin-bottom: 10px;
    }
    
    .recommendation-item h4 {
        font-size: 1rem;
    }
    
    .recommendation-item p {
        font-size: 0.8rem;
    }
    
    .report-header h3 {
        font-size: 1.1rem;
    }
    
    .report-details .credit-score h4 {
        font-size: 1rem;
    }
    
    .report-details .credit-details h4 {
        font-size: 1rem;
    }
    
    .report-details .loan-recommendations h4 {
        font-size: 1rem;
    }
    
    .report-details .recommendation-item h5 {
        font-size: 0.9rem;
    }
    
    footer {
        padding: 15px 0;
        font-size: 0.8rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-content {
    animation: fadeIn 0.5s ease-in-out;
}
