* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; } .container { max-width: 1200px; margin: 0 auto; padding: 20px; } header { text-align: center; margin-bottom: 40px; color: white; } header h1 { font-size: 2.5em; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); } header p { font-size: 1.2em; opacity: 0.9; } .upload-section { background: white; padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); margin-bottom: 30px; } .input-group { margin-bottom: 25px; } .input-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #555; } .input-group input[type="file"] { width: 100%; padding: 12px; border: 2px solid #ddd; border-radius: 8px; font-size: 16px; transition: border-color 0.3s ease; } .input-group input[type="file"]:focus { outline: none; border-color: #667eea; } .input-group small { display: block; margin-top: 5px; color: #666; font-size: 14px; } #submitBtn { width: 100%; padding: 15px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; border-radius: 8px; font-size: 18px; font-weight: 600; cursor: pointer; transition: transform 0.2s ease; display: flex; align-items: center; justify-content: center; gap: 10px; } #submitBtn:hover { transform: translateY(-2px); } #submitBtn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; } .spinner { width: 20px; height: 20px; border: 2px solid #ffffff40; border-top: 2px solid white; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .results-section, .error-section { background: white; padding: 30px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); margin-bottom: 20px; } .results-section h2 { color: #333; margin-bottom: 30px; text-align: center; font-size: 2em; } .ensemble-result { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 25px; border-radius: 12px; margin-bottom: 30px; } .ensemble-result h3 { margin-bottom: 20px; font-size: 1.5em; } .individual-results h3 { margin-bottom: 20px; color: #333; font-size: 1.3em; } .model-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 30px; } .model-result { background: #f8f9fa; padding: 20px; border-radius: 10px; border-left: 4px solid #667eea; } .model-result h4 { margin-bottom: 15px; color: #333; font-size: 1.1em; } .prediction-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #eee; } .prediction-item:last-child { border-bottom: none; } .exercise-name { font-weight: 500; color: #333; } .probability { font-weight: 600; color: #667eea; } .probability-bar { width: 100%; height: 6px; background: #eee; border-radius: 3px; margin-top: 5px; overflow: hidden; } .probability-fill { height: 100%; background: linear-gradient(90deg, #667eea, #764ba2); transition: width 0.5s ease; } .processing-time { margin-top: 10px; text-align: right; } .processing-time small { color: #666; } .processing-summary { background: #f8f9fa; padding: 20px; border-radius: 10px; border-left: 4px solid #28a745; } .processing-summary h3 { margin-bottom: 15px; color: #333; } .summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; } .summary-item { display: flex; justify-content: space-between; padding: 10px; background: white; border-radius: 6px; } .summary-item label { font-weight: 500; color: #555; } .summary-item span { font-weight: 600; color: #28a745; } .error-section { background: #fee; border-left: 4px solid #dc3545; } .error-section h3 { color: #dc3545; margin-bottom: 10px; } .error-section p { color: #721c24; } @media (max-width: 768px) { .container { padding: 10px; } header h1 { font-size: 2em; } .upload-section { padding: 20px; } .model-grid { grid-template-columns: 1fr; } }