/* 全局样式重置 */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f5f7fa; color: #333; line-height: 1.6; } /* 容器样式 */ .container { max-width: 1200px; margin: 0 auto; padding: 20px; } /* 头部样式 */ header { text-align: center; margin-bottom: 40px; } header h1 { color: #2c3e50; font-size: 2.5em; margin-bottom: 10px; } header p { color: #7f8c8d; font-size: 1.2em; } /* 卡片样式 */ .card { background-color: white; border-radius: 16px; padding: 30px; margin-bottom: 20px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); transition: all 0.3s ease; position: relative; overflow: hidden; } .card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #3498db, #2ecc71); } .card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); transform: translateY(-4px); } /* 流程指示器 */ .process-indicator { display: flex; justify-content: center; align-items: center; margin: 30px 0; flex-wrap: wrap; } .process-step { display: flex; flex-direction: column; align-items: center; margin: 0 10px; } .process-step-number { width: 40px; height: 40px; border-radius: 50%; background-color: #ecf0f1; color: #7f8c8d; display: flex; justify-content: center; align-items: center; font-weight: bold; margin-bottom: 10px; transition: all 0.3s ease; } .process-step-number.active { background-color: #3498db; color: white; box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3); } .process-step-text { color: #7f8c8d; font-size: 14px; text-align: center; transition: all 0.3s ease; } .process-step-text.active { color: #2c3e50; font-weight: bold; } .process-arrow { color: #bdc3c7; margin: 0 10px; font-weight: bold; } /* 表单样式 */ form { display: flex; flex-direction: column; gap: 20px; } .form-group { display: flex; flex-direction: column; gap: 8px; } .form-group label { font-weight: bold; color: #2c3e50; } .form-group input, .form-group select, .form-group textarea { padding: 12px; border: 2px solid #ecf0f1; border-radius: 6px; font-size: 16px; transition: all 0.3s ease; } .form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #3498db; box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1); } .form-group textarea { resize: vertical; min-height: 100px; } /* 按钮样式 */ button { padding: 14px 28px; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; margin-right: 12px; margin-bottom: 12px; min-width: 120px; text-align: center; } button:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); } button:active { transform: translateY(0); } .btn-primary { background-color: #3498db; color: white; } .btn-primary:hover { background-color: #2980b9; } .btn-secondary { background-color: #95a5a6; color: white; } .btn-secondary:hover { background-color: #7f8c8d; } .btn-success { background-color: #27ae60; color: white; } .btn-success:hover { background-color: #229954; } .btn-danger { background-color: #e74c3c; color: white; } .btn-danger:hover { background-color: #c0392b; } /* 排序按钮容器 */ .workshop-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; border-bottom: 2px solid #e9ecef; padding-bottom: 10px; min-height: 40px; } .header-actions { display: flex; align-items: center; gap: 15px; height: 40px; } .select-options { display: flex; align-items: center; } .select-options button { padding: 8px 16px; font-size: 0.9rem; height: 40px; line-height: 1; border-radius: 8px; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; font-weight: 400; letter-spacing: 0.5px; } .batch-actions { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; padding: 15px 20px; background-color: #f8f9fa; border-radius: 12px; border: 1px solid #dee2e6; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); } .batch-actions button { padding: 8px 16px; font-size: 0.9rem; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; } #selectedCount { font-size: 0.9rem; color: #495057; font-weight: 500; } .workshop-header h2 { margin: 0; font-size: 1.75rem; font-weight: 600; color: #2c3e50; display: flex; align-items: center; height: 40px; line-height: 40px; letter-spacing: 0.5px; } /* 排序按钮 */ .sort-buttons { display: flex; gap: 10px; align-items: center; } .sort-buttons button { padding: 8px 16px; font-size: 0.9rem; height: 40px; line-height: 1; border-radius: 8px; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; min-width: 120px; font-weight: 400; letter-spacing: 0.5px; } /* 按钮组样式 */ .btn-group { margin-bottom: 20px; } .btn-group button { margin-right: 12px; margin-bottom: 0; } /* 工作坊列表样式 */ .workshop-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 30px; } /* 空状态样式 */ .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 200px; padding: 40px 20px; text-align: center; } .workshop-card { background-color: white; border-radius: 16px; padding: 24px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); transition: all 0.3s ease; position: relative; overflow: hidden; display: flex; flex-direction: column; } .workshop-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #3498db, #9b59b6); } .card-checkbox { position: absolute; top: 24px; right: 24px; z-index: 10; } .card-checkbox input[type="checkbox"] { width: 20px; height: 20px; cursor: pointer; accent-color: #3498db; } .workshop-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); transform: translateY(-4px); } .workshop-card h3 { color: #2c3e50; margin-bottom: 12px; margin-left: 0; font-size: 1.25rem; font-weight: 600; display: flex; align-items: center; min-height: 40px; } .workshop-card p { color: #7f8c8d; margin-bottom: 16px; line-height: 1.6; } .status-badge { display: inline-block; padding: 8px 16px; border-radius: 24px; font-size: 14px; font-weight: bold; margin-bottom: 16px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; } .status-badge:hover { transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } .status-badge.active { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; } .status-badge.completed { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; } /* 最终决策样式 */ .final-decision { margin: 15px 0; } .decision-text { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; color: #2c3e50; } .decision-pending { color: #95a5a6; font-style: italic; } /* 角色列表样式 */ .role-list { margin: 20px 0; } .role-item { padding: 20px; background-color: white; border-radius: 16px; margin-bottom: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); transition: all 0.3s ease; display: flex; justify-content: space-between; align-items: center; position: relative; overflow: hidden; } .role-item::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(180deg, #3498db, #9b59b6); } .role-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); } .role-item .role-info { flex: 1; padding-left: 16px; } .role-item .role-name { font-weight: bold; color: #2c3e50; margin-bottom: 8px; font-size: 1.1rem; } .role-item .role-description { color: #7f8c8d; font-size: 14px; line-height: 1.5; } /* 辩论内容样式 */ .debate-section { margin: 30px 0; } .debate-item { background-color: white; border-radius: 16px; padding: 20px; margin-bottom: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); transition: all 0.3s ease; position: relative; overflow: hidden; } .debate-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #3498db, #2ecc71); } .debate-item:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); } .role-tag { display: inline-block; padding: 8px 16px; border-radius: 24px; background-color: #3498db; color: white; font-size: 14px; font-weight: bold; margin-bottom: 12px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; } .role-tag:hover { transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } .opinion-content { color: #2c3e50; line-height: 1.6; font-size: 15px; } /* 结果页面样式 */ .result-section { margin: 30px 0; } .result-section h2 { color: #2c3e50; margin-bottom: 15px; font-size: 1.75em; font-weight: 600; } .result-section p { color: #7f8c8d; line-height: 1.6; margin-bottom: 20px; font-size: 16px; } .decision-points { margin: 20px 0; padding: 25px; background-color: #f8f9fa; border-radius: 16px; white-space: pre-wrap; line-height: 1.6; font-size: 16px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); border: 1px solid #e9ecef; } .debate-summary { background-color: white; border-radius: 16px; padding: 25px; margin-top: 20px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); transition: all 0.3s ease; position: relative; overflow: hidden; } .debate-summary::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #3498db, #2ecc71); } .debate-summary:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); transform: translateY(-2px); } /* 响应式设计 */ @media (max-width: 768px) { .container { padding: 10px; } header h1 { font-size: 2em; } .card { padding: 20px; } .process-indicator { flex-direction: column; gap: 20px; } .process-arrow { transform: rotate(90deg); } .workshop-list { grid-template-columns: 1fr; } button { margin-bottom: 10px; width: 100%; } } /* 动画效果 */ @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .card, .workshop-card, .role-item, .debate-item { animation: fadeIn 0.5s ease forwards; } .card:nth-child(1), .workshop-card:nth-child(1), .role-item:nth-child(1), .debate-item:nth-child(1) { animation-delay: 0.1s; } .card:nth-child(2), .workshop-card:nth-child(2), .role-item:nth-child(2), .debate-item:nth-child(2) { animation-delay: 0.2s; } .card:nth-child(3), .workshop-card:nth-child(3), .role-item:nth-child(3), .debate-item:nth-child(3) { animation-delay: 0.3s; }