/* 工业科技风格CSS */ :root { --primary-color: #007acc; --secondary-color: #2c3e50; --accent-color: #e74c3c; --success-color: #27ae60; --warning-color: #f39c12; --light-gray: #ecf0f1; --dark-gray: #34495e; --border-color: #bdc3c7; --card-bg: #ffffff; --panel-bg: #f8f9fa; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%); color: #ecf0f1; min-height: 100vh; padding: 20px; } .container { max-width: 1400px; margin: 0 auto; } .header { text-align: center; margin-bottom: 30px; padding: 20px; background: rgba(0, 0, 0, 0.3); border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); } .header h1 { font-size: 2.5rem; margin-bottom: 10px; background: linear-gradient(45deg, #00c6ff, #0072ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); } .header p { font-size: 1.1rem; opacity: 0.8; } .main-content { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; } @media (max-width: 1200px) { .main-content { grid-template-columns: 1fr; } } .card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 15px; padding: 25px; backdrop-filter: blur(10px); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); } .card h2 { font-size: 1.5rem; margin-bottom: 20px; color: #00c6ff; display: flex; align-items: center; gap: 10px; } .card h2 i { font-size: 1.2rem; } .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #ecf0f1; } .form-group input, .form-group select { width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 8px; background: rgba(255, 255, 255, 0.1); color: white; font-size: 14px; transition: all 0.3s ease; } .form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.2); } .form-group input::placeholder { color: rgba(255, 255, 255, 0.5); } .transmission-type { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 15px; margin-bottom: 20px; } .transmission-btn { padding: 15px; border: 2px solid rgba(255, 255, 255, 0.2); border-radius: 10px; background: rgba(255, 255, 255, 0.05); color: white; cursor: pointer; text-align: center; font-weight: 600; transition: all 0.3s ease; } .transmission-btn:hover { background: rgba(0, 198, 255, 0.2); border-color: #00c6ff; } .transmission-btn.active { background: rgba(0, 198, 255, 0.3); border-color: #00c6ff; color: #00c6ff; } .combination-section { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); } .btn-group { display: flex; gap: 15px; margin-top: 20px; } .btn { padding: 12px 25px; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; flex: 1; } .btn-primary { background: linear-gradient(45deg, #007acc, #005fa3); color: white; } .btn-primary:hover { background: linear-gradient(45deg, #0066b3, #004d8c); transform: translateY(-2px); } .btn-secondary { background: rgba(255, 255, 255, 0.1); color: white; border: 1px solid rgba(255, 255, 255, 0.2); } .btn-secondary:hover { background: rgba(255, 255, 255, 0.2); } .results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 20px; } .result-card { background: rgba(39, 174, 96, 0.1); border: 1px solid rgba(39, 174, 96, 0.3); border-radius: 10px; padding: 20px; text-align: center; } .result-card h3 { font-size: 1rem; margin-bottom: 10px; color: #27ae60; } .result-card .value { font-size: 1.8rem; font-weight: 700; color: white; } .result-card .unit { font-size: 0.9rem; opacity: 0.7; } .warning { background: rgba(243, 156, 18, 0.1); border: 1px solid rgba(243, 156, 18, 0.3); color: #f39c12; padding: 15px; border-radius: 8px; margin-top: 20px; display: none; } .error { background: rgba(231, 76, 60, 0.1); border: 1px solid rgba(231, 76, 60, 0.3); color: #e74c3c; padding: 15px; border-radius: 8px; margin-top: 20px; display: none; } .guidance-section { margin-top: 20px; padding: 15px; background: rgba(0, 0, 0, 0.2); border-radius: 10px; border-left: 4px solid #00c6ff; } .guidance-section h4 { margin-bottom: 10px; color: #00c6ff; } .guidance-section ul { padding-left: 20px; } .guidance-section li { margin-bottom: 5px; line-height: 1.4; } .hidden { display: none; } /* 响应式设计 */ @media (max-width: 768px) { .main-content { gap: 15px; } .card { padding: 15px; } .header h1 { font-size: 2rem; } .transmission-type { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); } .btn-group { flex-direction: column; } .btn { flex: none; } }