/* 企业发展框架界面样式 */

.enterprise-framework-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 企业信息概览区域 */
.enterprise-info-overview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.enterprise-info-overview h3 {
    margin: 0 0 16px 0;
    font-size: 1.25rem;
    font-weight: 600;
}

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

.info-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.info-item-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 4px;
}

.info-item-value {
    font-weight: 500;
    font-size: 1rem;
}

/* 智能推荐标签 */
.smart-recommendation-indicator {
    display: inline-flex;
    align-items: center;
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 8px;
    animation: pulse 2s infinite;
}

.smart-recommendation-indicator .material-icons {
    font-size: 14px;
    margin-right: 4px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* 多选框组样式增强 */
.checkbox-group.enterprise-capabilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.checkbox-group.enterprise-capabilities .checkbox-item {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.checkbox-group.enterprise-capabilities .checkbox-item:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    transform: translateY(-1px);
}

.checkbox-group.enterprise-capabilities .checkbox-item.checked {
    border-color: #3b82f6;
    background: #dbeafe;
}

.checkbox-group.enterprise-capabilities .checkbox-item input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
}

.checkbox-group.enterprise-capabilities .checkbox-item label {
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
}

/* 框架组件预览 */
.framework-components-preview {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.framework-components-preview h4 {
    margin: 0 0 12px 0;
    font-size: 1rem;
    color: #475569;
}

.components-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.component-tag {
    background: #3b82f6;
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* 文本区域增强 */
.enterprise-framework-container .form-group textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.enterprise-framework-container .form-group textarea.challenges {
    background: linear-gradient(to right, #fef7f7, #ffffff);
    border-left: 4px solid #f87171;
}

.enterprise-framework-container .form-group textarea.vision {
    background: linear-gradient(to right, #f0f9ff, #ffffff);
    border-left: 4px solid #3b82f6;
}

.enterprise-framework-container .form-group textarea.constraints {
    background: linear-gradient(to right, #fffbeb, #ffffff);
    border-left: 4px solid #f59e0b;
}

/* 阶段指示器 */
.stage-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #8b5cf6;
}

.stage-indicator .material-icons {
    color: #8b5cf6;
    margin-right: 8px;
    font-size: 20px;
}

.stage-indicator-text {
    color: #475569;
    font-weight: 500;
}

/* 进度条样式 */
.framework-progress {
    background: #e2e8f0;
    height: 4px;
    border-radius: 2px;
    margin: 16px 0;
    overflow: hidden;
}

.framework-progress-bar {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .enterprise-info-overview {
        padding: 16px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .checkbox-group.enterprise-capabilities {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .components-list {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 暗色主题支持 */
@media (prefers-color-scheme: dark) {
    .enterprise-info-overview {
        background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
    }
    
    .checkbox-group.enterprise-capabilities .checkbox-item {
        background: #1e293b;
        border-color: #334155;
        color: #f1f5f9;
    }
    
    .checkbox-group.enterprise-capabilities .checkbox-item:hover {
        border-color: #60a5fa;
        background: #1e40af;
    }
    
    .checkbox-group.enterprise-capabilities .checkbox-item.checked {
        border-color: #60a5fa;
        background: #1e40af;
    }
    
    .framework-components-preview {
        background: #1e293b;
        border-color: #334155;
    }
    
    .framework-components-preview h4 {
        color: #cbd5e1;
    }
    
    .stage-indicator {
        background: #1e293b;
        color: #cbd5e1;
    }
} 