/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 页面头部样式 */
.page-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    margin-bottom: 1rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 需求输入对话框样式 */
.requirement-input-section {
    margin-bottom: 2rem;
}

.input-dialog {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.dialog-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.dialog-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.toggle-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.toggle-btn.collapsed {
    transform: rotate(180deg);
}

.dialog-content {
    padding: 2rem;
    transition: all 0.3s ease;
}

.dialog-content.collapsed {
    max-height: 0;
    padding: 0 2rem;
    overflow: hidden;
}

#requirementInput {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s ease;
}

#requirementInput:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.dialog-actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.dialog-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 分析结果样式 */
.analysis-result {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
}

.analysis-result h4 {
    margin: 0 0 10px 0;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
}

.analysis-result p {
    margin: 5px 0;
    color: #6c757d;
}

.analysis-result .recommendations {
    margin-top: 10px;
}

.analysis-result .recommendations p {
    margin: 3px 0;
    color: #28a745;
    font-weight: 500;
}

.header-content h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-content h1 i {
    color: #3498db;
}

.subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin: 0;
}

.header-actions .btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* 主要内容区域 */
.main-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-bottom: 30px;
}

/* 左侧表格区域 */
.table-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

.table-header h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-header h2 i {
    color: #e74c3c;
}

.table-controls .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
    transform: translateY(-1px);
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

/* 乐高积木样式的组件显示 */
.solutions-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.layer-section {
    margin-bottom: 2rem;
}

.layer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.layer-components {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 10px;
    border: 2px dashed #e5e7eb;
}

/* 乐高积木样式的组件块 */
.component-block {
    position: relative;
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.component-block::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 12px;
    background: inherit;
    border-radius: 50% 50% 0 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
}

.component-block::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.component-block:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.component-block.demo {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.component-block.standard {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.component-block.enterprise {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.component-block.highlighted {
    animation: legoGlow 2s infinite;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.5);
}

.component-block.hidden {
    display: none;
}

/* 添加模块按钮 */
.add-module-area {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    border: 3px dashed #cbd5e1;
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.5);
    color: #64748b;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-module-area:hover {
    border-color: #4f46e5;
    background: rgba(79, 70, 229, 0.05);
    color: #4f46e5;
}

@keyframes legoGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(79, 70, 229, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(79, 70, 229, 0.8), 0 0 40px rgba(79, 70, 229, 0.3);
    }
}

/* 表格列样式 */
.layer-column {
    width: 15%;
    background: rgba(52, 152, 219, 0.1);
    font-weight: 600;
    color: #2c3e50;
}

.layer-name {
    position: relative;
}

.temperature-indicator {
    margin-top: 5px;
}

.temp-label {
    display: inline-block;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(231, 76, 60, 0.3);
}

.demo-column {
    width: 20%;
    background: rgba(46, 204, 113, 0.1);
}

.standard-column {
    width: 20%;
    background: rgba(241, 196, 15, 0.1);
}

.enterprise-column {
    width: 20%;
    background: rgba(231, 76, 60, 0.1);
}

.description-column {
    width: 25%;
    background: rgba(155, 89, 182, 0.1);
}

/* 组件标签样式 */
.component-tag {
    display: inline-block;
    padding: 4px 8px;
    margin: 2px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    background: #3498db;
}

.component-tag.highlighted {
    background: #e74c3c;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.component-tag.demo {
    background: #2ecc71;
}

.component-tag.standard {
    background: #f39c12;
}

.component-tag.enterprise {
    background: #e74c3c;
}

/* 右侧控制面板样式 */
.control-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding-right: 0.5rem;
}

.control-panel::-webkit-scrollbar {
    width: 6px;
}

.control-panel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.control-panel::-webkit-scrollbar-thumb {
    background: rgba(79, 70, 229, 0.3);
    border-radius: 3px;
}

.control-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 70, 229, 0.5);
}

/* 版本控制区域 */
.version-control-section {
    display: flex;
    flex-direction: column;
}

/* 清单面板样式 */
.checklist-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.checklist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.checklist-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checklist-toggle {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.checklist-toggle:hover {
    color: #4f46e5;
    transform: scale(1.1);
}

.checklist-toggle.collapsed {
    transform: rotate(180deg);
}

.checklist-content {
    transition: all 0.3s ease;
    overflow: hidden;
}

.checklist-content.collapsed {
    max-height: 0;
    opacity: 0;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 8px;
    border-left: 3px solid #e2e8f0;
    transition: all 0.3s ease;
}

.checklist-item:hover {
    background: rgba(241, 245, 249, 0.9);
    border-left-color: #4f46e5;
}

.checklist-item.completed {
    background: rgba(34, 197, 94, 0.1);
    border-left-color: #22c55e;
}

.checklist-item.high-priority {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.checklist-item.medium-priority {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.checklist-checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checklist-checkbox.checked {
    background: #22c55e;
    border-color: #22c55e;
    position: relative;
}

.checklist-checkbox.checked::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 1px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checklist-text {
    flex: 1;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.4;
}

.checklist-item.completed .checklist-text {
    text-decoration: line-through;
    color: #9ca3af;
}

.checklist-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.checklist-priority {
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
    width: fit-content;
}

.priority-high {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.priority-medium {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.priority-low {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.checklist-cost {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.checklist-assignee {
    font-size: 0.8rem;
    color: #4f46e5;
    font-weight: 500;
}

.checklist-progress {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
}

/* 任务清单特定样式 */
.task-checklist .checklist-title i {
    color: #3b82f6;
}

/* 费用清单特定样式 */
.cost-checklist .checklist-title i {
    color: #10b981;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cost-amount {
    font-weight: 600;
    color: #059669;
    font-size: 0.9rem;
}

.cost-total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1f2937;
}

/* 风险清单特定样式 */
.risk-checklist .checklist-title i {
    color: #ef4444;
}

.risk-level {
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
    width: fit-content;
}

.risk-high {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.risk-medium {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.risk-low {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

/* 人员清单特定样式 */
.team-checklist .checklist-title i {
    color: #8b5cf6;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 10px;
}

.member-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
}

.member-info {
    flex: 1;
}

.member-name {
    font-weight: 500;
    color: #1f2937;
    font-size: 0.9rem;
}

.member-role {
    font-size: 0.8rem;
    color: #6b7280;
}

.member-status {
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
}

.status-available {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.status-busy {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.status-offline {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.version-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.version-panel h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
}

.version-panel h3 i {
    color: #9b59b6;
}

/* 版本选择器 */
.version-selector {
    margin-bottom: 25px;
}

.version-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #bdc3c7;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* 版本描述 */
.version-description {
    margin-bottom: 25px;
}

.version-description h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 12px;
}

.features-list {
    list-style: none;
}

.feature-item {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #34495e;
}

.feature-item i {
    color: #27ae60;
    width: 16px;
}

/* Temperature控制面板 */
.temperature-controls {
    margin-bottom: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #e74c3c;
}

.temperature-controls h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.temperature-controls h4 i {
    color: #e74c3c;
}

.temperature-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.temperature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.temperature-item label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 80px;
    font-size: 0.9rem;
}

.temperature-slider {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    margin-left: 15px;
}

.temp-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #ecf0f1;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.temp-slider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

.temp-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(231, 76, 60, 0.4);
}

.temp-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

.temp-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(231, 76, 60, 0.4);
}

.temp-slider::-webkit-slider-track {
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, #2ecc71 0%, #f39c12 50%, #e74c3c 100%);
}

.temp-slider::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, #2ecc71 0%, #f39c12 50%, #e74c3c 100%);
    border: none;
}

.temp-value {
    min-width: 35px;
    text-align: center;
    font-weight: 600;
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* 版本对比 */
.version-comparison {
    margin-bottom: 25px;
}

.version-comparison h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comparison-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.comparison-label {
    font-weight: 600;
    color: #2c3e50;
}

.comparison-value {
    font-weight: 500;
    color: #3498db;
}

/* 复杂度条 */
.complexity-bar {
    width: 100px;
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
}

.complexity-fill {
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #f39c12, #e74c3c);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* 推荐场景 */
.recommended-scenarios {
    margin-bottom: 25px;
}

.recommended-scenarios h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 12px;
}

.scenarios-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scenario-item {
    padding: 10px 12px;
    background: #e8f4fd;
    border-left: 4px solid #3498db;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #2c3e50;
}

/* 操作按钮 */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-buttons .btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* 添加项目按钮样式 */
.add-item-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    color: #64748b;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.add-item-btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-color: #4f46e5;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

/* 页面底部 */
.page-footer {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #e74c3c;
}

.modal-body {
    padding: 25px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #ecf0f1;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 1fr 350px;
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .version-control-section {
        order: -1;
    }
    
    .version-panel {
        position: static;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .page-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .table-section,
    .version-panel {
        padding: 20px;
    }
    
    .solutions-table {
        font-size: 0.85rem;
    }
    
    .solutions-table th,
    .solutions-table td {
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 1.5rem;
    }
    
    .table-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .solutions-table th,
    .solutions-table td {
        padding: 8px 6px;
    }
    
    .component-tag {
        font-size: 0.75rem;
        padding: 3px 6px;
    }
}