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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #f5f7fa;
}

.main-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    height: 70px !important;
    line-height: 70px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
}

.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    object-fit: contain;
}

.main-menu {
    background: transparent !important;
    border: none !important;
}

.main-menu.el-menu--horizontal {
    background: transparent !important;
    border-bottom: none !important;
}

.main-menu.el-menu--horizontal > .el-menu-item {
    background: transparent !important;
    border-bottom: none !important;
}

.main-menu .el-menu-item {
    color: rgba(255, 255, 255, 0.9) !important;
    border-bottom: none !important;
    background: transparent !important;
    font-size: 18px;
    font-weight: 500;
    padding: 0 25px;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0 5px;
}

.main-menu .el-menu-item:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-bottom: none !important;
    transform: translateY(-1px);
}

.main-menu .el-menu-item.is-active {
    background: rgba(255, 255, 255, 0.35) !important;
    color: white !important;
    border-bottom: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 用户区域样式 */
.user-area {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 30px;
}

/* 登录/注册按钮 - 合并为一个按钮 */
.login-register-btn {
    font-size: 14px;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    line-height: 1.5;
    outline: none;
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.login-register-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.login-register-btn:hover::before {
    left: 100%;
}

.login-register-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.user-avatar-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
}

.user-avatar-wrapper:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.user-avatar {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.user-avatar-wrapper:hover .user-avatar {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 用户下拉菜单样式 */
.user-dropdown-menu {
    margin-top: 8px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 4px 0 !important;
}

.user-dropdown-menu .el-dropdown-menu__item {
    padding: 10px 20px !important;
    font-size: 14px;
    transition: all 0.2s ease;
}

.user-dropdown-menu .el-dropdown-menu__item i {
    margin-right: 8px;
    font-size: 16px;
}

.user-dropdown-menu .el-dropdown-menu__item:hover {
    background-color: #f5f7fa !important;
    color: #409eff !important;
}

.main-container {
    min-height: calc(100vh - 70px);
}

.sidebar {
    background: white;
    border-right: 1px solid #e6e6e6;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
}

.sub-menu {
    border: none;
}

.sub-menu .el-menu-item {
    height: 50px;
    line-height: 50px;
}

.content-area {
    padding: 20px;
    background: #f5f7fa;
}

.page-content {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    min-height: calc(100vh - 200px);
}

.page-title {
    font-size: 24px;
    font-weight: bold;
    color: #303133;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #667eea;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.stat-card-title {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.stat-card-value {
    font-size: 32px;
    font-weight: bold;
}

.stat-card-trend {
    font-size: 12px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-card-trend.trend-up {
    color: #67C23A;
}

/* 中小企业评审标准样式 */
.sme-review-content {
    padding: 20px 0;
}

.sme-section-card {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.sme-section-card:hover {
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.sme-section-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sme-section-header i {
    font-size: 20px;
}

.sme-section-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.sme-section-body {
    padding: 24px;
}

.sme-description {
    font-size: 15px;
    line-height: 1.8;
    color: #606266;
    margin: 0;
}

.sme-description .highlight {
    color: #667eea;
    font-weight: 600;
}

.sme-intro {
    font-size: 15px;
    line-height: 1.8;
    color: #606266;
    margin-bottom: 20px;
}

.sme-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sme-list li {
    padding: 12px 0 12px 32px;
    position: relative;
    line-height: 1.8;
    color: #606266;
    border-bottom: 1px solid #f0f2f5;
    transition: all 0.2s ease;
}

.sme-list li:last-child {
    border-bottom: none;
}

.sme-list li:hover {
    background: #f8f9fa;
    padding-left: 40px;
    color: #303133;
}

.sme-list li i {
    position: absolute;
    left: 8px;
    color: #67C23A;
    font-size: 16px;
}

.sme-ordered-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.sme-ordered-list li {
    counter-increment: step-counter;
    padding: 16px 0 16px 48px;
    position: relative;
    line-height: 1.8;
    color: #606266;
    border-bottom: 1px solid #f0f2f5;
    margin-bottom: 12px;
    background: #fafbfc;
    border-radius: 8px;
    padding-left: 60px;
}

.sme-ordered-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.sme-ordered-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.sme-nested-list {
    list-style: none;
    padding: 12px 0 0 24px;
    margin: 12px 0 0 0;
}

.sme-nested-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 24px;
    color: #909399;
    border-bottom: none;
}

.sme-nested-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 18px;
}

.sme-indicator-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

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

.sme-indicator-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
    transform: translateY(-4px);
}

.indicator-innovation {
    border-left: 4px solid #409EFF;
}

.indicator-growth {
    border-left: 4px solid #67C23A;
}

.indicator-specialty {
    border-left: 4px solid #E6A23C;
}

.indicator-refined {
    border-left: 4px solid #F56C6C;
}

.indicator-featured {
    border-left: 4px solid #909399;
}

.indicator-chain {
    border-left: 4px solid #9C27B0;
}

.indicator-product {
    border-left: 4px solid #FF9800;
}

.indicator-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f2f5;
}

.indicator-icon {
    font-size: 24px;
}

.indicator-header strong {
    flex: 1;
    font-size: 16px;
    color: #303133;
}

.indicator-score {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.sme-indicator-card .sme-list {
    margin-top: 12px;
}

.sme-indicator-card .sme-list li {
    padding: 10px 0 10px 24px;
    font-size: 14px;
    border-bottom: 1px solid #f5f7fa;
}

.sme-indicator-card .sme-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #909399;
    font-size: 12px;
}

/* 创新条件样式 */
.innovation-conditions {
    margin-top: 12px;
}

.condition-title {
    font-size: 15px;
    color: #303133;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px dashed #e4e7ed;
}

.condition-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.condition-type {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #409EFF;
}

.condition-type-title {
    font-size: 14px;
    color: #409EFF;
    font-weight: 600;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.condition-type-title::before {
    content: "▸";
    font-size: 16px;
}

.condition-type .sme-list {
    margin-top: 8px;
}

.condition-type .sme-list li {
    padding: 10px 0 10px 28px;
    font-size: 14px;
    border-bottom: 1px solid #e4e7ed;
}

.condition-type .sme-list li:last-child {
    border-bottom: none;
}

.condition-type .sme-list li i.el-icon-star-on {
    color: #FFD700;
    font-size: 16px;
}

.sme-review-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.review-point {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.review-point:hover {
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.point-label {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.point-content {
    display: block;
    color: #606266;
    line-height: 1.6;
    font-size: 14px;
    margin-top: 8px;
}

.sme-process-flow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 0;
}

.process-step {
    flex: 1;
    min-width: 180px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e4e7ed;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    transform: translateY(-4px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin: 0 auto 12px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.step-content {
    color: #606266;
    line-height: 1.6;
    font-size: 14px;
}

.process-arrow {
    font-size: 24px;
    color: #667eea;
    font-weight: bold;
    flex-shrink: 0;
}

.score {
    color: #E6A23C;
    font-weight: 600;
}

@media (max-width: 768px) {
    .sme-indicator-group {
        grid-template-columns: 1fr;
    }
    
    .sme-review-points {
        grid-template-columns: 1fr;
    }
    
    .sme-process-flow {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
}

.stat-card-trend.trend-down {
    color: #F56C6C;
}

.upload-area {
    border: 2px dashed #d9d9d9;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: #667eea;
    background-color: #f0f4ff;
}

.form-section {
    margin-bottom: 30px;
}

.form-section-title {
    font-size: 18px;
    font-weight: bold;
    color: #303133;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #667eea;
}

.table-container {
    margin-top: 20px;
}

.el-table {
    border-radius: 8px;
    overflow: hidden;
}

.pagination-container {
    margin-top: 20px;
    text-align: right;
}

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

.empty-state img {
    width: 200px;
    margin-bottom: 20px;
}

.ai-response {
    background: #f7f9fc;
    border-left: 4px solid #667eea;
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px;
}

.ai-response-title {
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.ai-response-content {
    line-height: 1.8;
    color: #606266;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #909399;
    font-size: 14px;
}

/* AI评审对话框样式 */
.review-dialog {
    max-width: 800px;
}

.review-dialog .el-message-box__message {
    max-height: 600px;
    overflow-y: auto;
}

.review-dialog .el-message-box__content {
    padding: 30px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        height: auto;
    }

    .logo {
        margin-bottom: 10px;
    }

    .sidebar {
        width: 200px !important;
    }

    .card-container {
        grid-template-columns: 1fr;
    }
}

/* 企业档案对话框样式 */
.enterprise-archive-dialog .el-dialog__body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.enterprise-archive-content {
    padding: 0;
}

.archive-header {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    margin-bottom: 20px;
}

.archive-section {
    padding: 20px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    padding: 15px;
    background: #f5f7fa;
    border-radius: 6px;
    border-left: 3px solid #409eff;
    transition: all 0.3s;
}

.info-item:hover {
    background: #ecf5ff;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(64, 158, 255, 0.2);
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-label {
    font-size: 13px;
    color: #909399;
    margin-bottom: 8px;
    font-weight: 500;
}

.info-value {
    font-size: 15px;
    color: #303133;
    word-break: break-all;
    line-height: 1.6;
}

.credit-summary {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 8px;
}

.credit-item {
    flex: 1;
}

.credit-label {
    font-size: 14px;
    color: #606266;
    margin-bottom: 8px;
}

.credit-value {
    font-size: 24px;
    font-weight: 600;
    color: #409eff;
}

.credit-status {
    margin-top: 20px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f5f7fa;
    border-radius: 6px;
    margin-bottom: 15px;
}

.status-label {
    font-size: 14px;
    color: #606266;
    font-weight: 500;
}

.status-value {
    font-size: 16px;
    font-weight: 600;
}

.status-detail {
    margin-top: 10px;
    padding: 15px;
    background: #fff7e6;
    border-left: 3px solid #e6a23c;
    border-radius: 4px;
    margin-bottom: 15px;
}

.status-detail-label {
    font-size: 13px;
    color: #e6a23c;
    font-weight: 600;
    margin-bottom: 8px;
}

.status-detail-content {
    font-size: 14px;
    color: #606266;
    line-height: 1.6;
    white-space: pre-wrap;
}

.penalties-section {
    margin-top: 20px;
    padding: 20px;
    background: #fef0f0;
    border-left: 3px solid #f56c6c;
    border-radius: 6px;
}

.section-title {
    font-size: 16px;
    color: #f56c6c;
    font-weight: 600;
    margin-bottom: 12px;
}

.penalties-content {
    font-size: 14px;
    color: #606266;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* Element UI 字体文件备选路径 - 解决CDN加载失败问题 */
@font-face {
    font-family: 'element-icons';
    src: url('https://unpkg.com/element-ui@2.15.14/lib/theme-chalk/fonts/element-icons.woff') format('woff'),
         url('https://unpkg.com/element-ui@2.15.14/lib/theme-chalk/fonts/element-icons.ttf') format('truetype'),
         url('https://cdn.jsdelivr.net/npm/element-ui@2.15.14/lib/theme-chalk/fonts/element-icons.woff') format('woff'),
         url('https://cdn.jsdelivr.net/npm/element-ui@2.15.14/lib/theme-chalk/fonts/element-icons.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* 登录提示样式 */
.login-prompt-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.login-prompt-card {
    text-align: center;
    padding: 60px 80px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.login-prompt-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-prompt-icon i {
    font-size: 40px;
    color: white;
}

.login-prompt-card h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 12px;
}

.login-prompt-card p {
    color: #666;
    margin-bottom: 24px;
    font-size: 14px;
}

.login-prompt-tip {
    color: #999;
    font-size: 12px;
    margin-top: 16px;
}

.loading-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    color: #667eea;
}

.loading-overlay i {
    font-size: 32px;
    margin-bottom: 16px;
}

.loading-overlay span {
    font-size: 14px;
    color: #666;
}
