* { box-sizing: border-box; margin: 0; padding: 0; } body { padding: 2rem; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; } .container { max-width: 900px; margin: 0 auto; background: white; padding: 2rem; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); } h1 { font-size: 2rem; margin-bottom: 0.5rem; color: #1a202c; } .subtitle { color: #718096; font-size: 1rem; margin-bottom: 2rem; } h2 { font-size: 1.5rem; margin-bottom: 1rem; color: #2d3748; } .form-group { margin-bottom: 1.5rem; } label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: #2d3748; font-size: 0.95rem; } select, input[type="text"], textarea { width: 100%; padding: 0.75rem; border: 2px solid #e2e8f0; border-radius: 8px; font-size: 0.95rem; transition: border-color 0.2s, box-shadow 0.2s; } select { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif; background: white; cursor: pointer; } input[type="text"], textarea { font-family: 'Monaco', 'Courier New', monospace; } select:focus, input[type="text"]:focus, textarea:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); } textarea { resize: vertical; min-height: 100px; } button[type="submit"], button[type="button"] { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; padding: 0.875rem 2rem; font-size: 1rem; font-weight: 600; border-radius: 8px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; width: 100%; } button[type="submit"]:hover:not(:disabled), button[type="button"]:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4); } button[type="submit"]:active:not(:disabled), button[type="button"]:active:not(:disabled) { transform: translateY(0); } button[type="submit"]:disabled, button[type="button"]:disabled { opacity: 0.6; cursor: not-allowed; } .status { margin: 1.5rem 0; padding: 1rem; border-radius: 8px; font-size: 0.95rem; display: none; } .status-info { background: #ebf8ff; color: #2c5282; border-left: 4px solid #4299e1; } .status-success { background: #f0fff4; color: #22543d; border-left: 4px solid #48bb78; } .status-error { background: #fff5f5; color: #742a2a; border-left: 4px solid #f56565; } .visualization-section { margin-top: 2rem; padding-top: 2rem; border-top: 2px solid #e2e8f0; } .viz-container { margin-top: 1.5rem; padding: 1rem; background: #f7fafc; border-radius: 8px; min-height: 200px; display: flex; align-items: center; justify-content: center; } .viz-container:empty::after { content: 'Visualization will appear here'; color: #a0aec0; font-style: italic; } .results-container { margin-top: 2rem; padding-top: 2rem; border-top: 2px solid #e2e8f0; } .results { margin-top: 1rem; } .table-wrapper { overflow-x: auto; border-radius: 8px; border: 1px solid #e2e8f0; } table { width: 100%; border-collapse: collapse; font-size: 0.9rem; } th { background: #f7fafc; padding: 0.75rem; text-align: left; font-weight: 600; color: #2d3748; border-bottom: 2px solid #e2e8f0; white-space: nowrap; } td { padding: 0.75rem; border-bottom: 1px solid #e2e8f0; color: #4a5568; } tr:last-child td { border-bottom: none; } tr:hover { background: #f7fafc; } .row-count { margin-top: 1rem; color: #718096; font-size: 0.9rem; font-style: italic; } .no-results { color: #718096; font-style: italic; padding: 2rem; text-align: center; } @media (max-width: 768px) { body { padding: 1rem; } .container { padding: 1.5rem; } h1 { font-size: 1.5rem; } button[type="submit"], button[type="button"] { padding: 0.75rem 1.5rem; } table { font-size: 0.8rem; } th, td { padding: 0.5rem; } }