/* Simplified Professional CSS */ :root { --primary-color: #2563eb; --primary-dark: #1d4ed8; --primary-light: #dbeafe; --secondary-color: #475569; --success-color: #10b981; --error-color: #ef4444; --warning-color: #f59e0b; --gray-50: #f8fafc; --gray-100: #f1f5f9; --gray-200: #e2e8f0; --gray-300: #cbd5e1; --gray-400: #94a3b8; --gray-500: #64748b; --gray-600: #475569; --gray-700: #334155; --gray-800: #1e293b; --gray-900: #0f172a; --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1); --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.75rem; } /* Global Styles */ body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background-color: #f8fafc; margin: 0; padding: 0; color: var(--gray-800); line-height: 1.5; } .gradio-container { max-width: 1200px !important; margin: 0 auto !important; background: white !important; border-radius: var(--radius-lg) !important; box-shadow: var(--shadow-lg) !important; overflow: hidden !important; min-height: 100vh !important; font-family: 'Inter', sans-serif !important; } /* Header Styles */ .header-container { background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%); color: white; padding: 2rem; border-bottom: 1px solid var(--gray-700); } .header-content { display: flex; align-items: center; justify-content: space-between; } .logo-section { display: flex; align-items: center; gap: 1rem; } .logo-icon { font-size: 2.5rem; color: white; } .logo-text h1 { margin: 0; font-size: 1.875rem; font-weight: 600; color: white; } .tagline { margin: 0.25rem 0 0 0; color: var(--gray-300); font-size: 1rem; font-weight: 400; } /* Main Layout */ .main-container { display: flex; min-height: 600px; } /* Sidebar Styles */ .sidebar { background: var(--gray-50); padding: 2rem 1.5rem !important; border-right: 1px solid var(--gray-200); width: 280px; } .steps-container { margin-bottom: 2rem; } .step { padding: 1rem; margin-bottom: 0.75rem; background: white; border-radius: var(--radius-md); border: 1px solid var(--gray-200); transition: all 0.2s ease; } .step.active { background: white; border-color: var(--primary-color); border-left: 4px solid var(--primary-color); box-shadow: var(--shadow-sm); } .step-number { display: inline-block; width: 24px; height: 24px; background: var(--gray-200); color: var(--gray-700); border-radius: 50%; text-align: center; line-height: 24px; font-size: 0.875rem; font-weight: 500; margin-right: 0.75rem; } .step.active .step-number { background: var(--primary-color); color: white; } .step-title { font-weight: 600; color: var(--gray-800); display: inline-block; } .step.active .step-title { color: var(--gray-900); } .step-description { font-size: 0.875rem; color: var(--gray-600); margin-top: 0.25rem; margin-left: 2.5rem; } /* Tips Section */ .tips-container { background: white; border-radius: var(--radius-md); border: 1px solid var(--gray-200); padding: 1.5rem; } .tips-container h4 { margin: 0 0 1rem 0; font-size: 1rem; font-weight: 600; color: var(--gray-800); } .tip { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; } .tip:last-child { margin-bottom: 0; } .tip-icon { color: var(--primary-color); font-size: 1.25rem; flex-shrink: 0; } .tip-content p { margin: 0; font-size: 0.875rem; color: var(--gray-600); line-height: 1.5; } /* Requirements */ .requirements { background: white; border-radius: var(--radius-md); border: 1px solid var(--gray-200); padding: 1.5rem; margin-top: 1.5rem; } .requirements h4 { margin: 0 0 1rem 0; font-size: 1rem; font-weight: 600; color: var(--gray-800); } .requirements ul { margin: 0; padding-left: 1.25rem; } .requirements li { margin-bottom: 0.5rem; color: var(--gray-600); font-size: 0.875rem; } /* Main Content Area */ .main-content { flex: 1; padding: 2rem; } .step-group { background: white; border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 1.5rem; border: 1px solid var(--gray-200); } .step-group h3 { margin: 0 0 1.5rem 0; font-size: 1.25rem; font-weight: 600; color: var(--gray-900); } /* Form Elements */ .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--gray-700); font-size: 0.875rem; } input, textarea, select { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--gray-300); border-radius: var(--radius-md); font-family: 'Inter', sans-serif; font-size: 0.875rem; transition: all 0.2s ease; color: var(--gray-800); } input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); } input::placeholder, textarea::placeholder { color: var(--gray-400); } /* Button Styles */ button { font-family: 'Inter', sans-serif !important; font-weight: 500 !important; font-size: 0.875rem !important; padding: 0.75rem 1.5rem !important; border-radius: var(--radius-md) !important; transition: all 0.2s ease !important; border: 1px solid transparent !important; } button.primary { background: var(--primary-color) !important; color: white !important; border: none !important; } button.primary:hover { background: var(--primary-dark) !important; transform: translateY(-1px) !important; box-shadow: var(--shadow-md) !important; } button.secondary { background: white !important; color: var(--gray-700) !important; border: 1px solid var(--gray-300) !important; } button.secondary:hover { background: var(--gray-50) !important; border-color: var(--gray-400) !important; } /* Tabs */ .tab-nav { display: flex; border-bottom: 1px solid var(--gray-200); margin-bottom: 1.5rem; } .tab-nav button { padding: 0.75rem 1.5rem !important; background: none !important; border: none !important; border-bottom: 2px solid transparent !important; color: var(--gray-600) !important; border-radius: 0 !important; margin-bottom: -1px !important; } .tab-nav button.selected { color: var(--primary-color) !important; border-bottom-color: var(--primary-color) !important; font-weight: 600 !important; } /* File Inputs */ .file-input-container { border: 2px dashed var(--gray-300); border-radius: var(--radius-md); padding: 2rem; text-align: center; background: var(--gray-50); transition: all 0.2s ease; } .file-input-container:hover { border-color: var(--primary-color); background: var(--gray-100); } /* Code Editor */ .code-editor { font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace !important; font-size: 0.875rem !important; line-height: 1.6 !important; background: var(--gray-50) !important; border: 1px solid var(--gray-300) !important; border-radius: var(--radius-md) !important; padding: 1rem !important; } /* Status Messages */ .status-message { padding: 1rem; border-radius: var(--radius-md); margin: 1rem 0; border-left: 4px solid; background: var(--gray-50); font-size: 0.875rem; } .status-message.success { border-left-color: var(--success-color); background: #f0fdf4; } .status-message.error { border-left-color: var(--error-color); background: #fef2f2; } .status-message.warning { border-left-color: var(--warning-color); background: #fffbeb; } .status-message.info { border-left-color: var(--primary-color); background: #eff6ff; } /* File Downloads */ .file-download-item { display: flex; align-items: center; justify-content: space-between; padding: 1rem; border: 1px solid var(--gray-200); border-radius: var(--radius-md); margin-bottom: 0.75rem; background: var(--gray-50); } .file-download-item .file-info { display: flex; align-items: center; gap: 0.75rem; } .file-download-item .file-icon { color: var(--primary-color); font-size: 1.25rem; } .file-download-item .file-name { font-weight: 500; color: var(--gray-800); } .file-download-item .file-size { font-size: 0.75rem; color: var(--gray-500); } /* Accordion */ .accordion { border: 1px solid var(--gray-200); border-radius: var(--radius-md); margin: 1.5rem 0; } .accordion-header { padding: 1rem 1.5rem; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); font-weight: 600; color: var(--gray-800); cursor: pointer; display: flex; justify-content: space-between; align-items: center; } .accordion-content { padding: 1.5rem; background: white; } /* Radio and Checkbox */ .radio-group, .checkbox-group { display: flex; flex-direction: column; gap: 0.75rem; } .radio-item, .checkbox-item { display: flex; align-items: center; gap: 0.75rem; } .radio-item input[type="radio"], .checkbox-item input[type="checkbox"] { width: auto; margin: 0; } /* Divider */ .divider { height: 1px; background: var(--gray-200); margin: 1.5rem 0; } /* Responsive Design */ @media (max-width: 1024px) { .main-container { flex-direction: column; } .sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--gray-200); } .gradio-container { padding: 0.5rem !important; } } @media (max-width: 768px) { .header-content { flex-direction: column; text-align: center; gap: 1rem; } .logo-section { flex-direction: column; text-align: center; } .step-group { padding: 1.5rem; } .main-content { padding: 1rem; } } /* Loading Animation */ @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .loading-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--gray-300); border-top-color: var(--primary-color); border-radius: 50%; animation: spin 1s linear infinite; } /* Utility Classes */ .text-sm { font-size: 0.875rem; } .text-xs { font-size: 0.75rem; } .font-medium { font-weight: 500; } .font-semibold { font-weight: 600; } .text-gray-600 { color: var(--gray-600); } .text-gray-700 { color: var(--gray-700); } .mt-1 { margin-top: 0.25rem; } .mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 0.75rem; } .mt-4 { margin-top: 1rem; } .mb-1 { margin-bottom: 0.25rem; } .mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; } .ml-2 { margin-left: 0.5rem; } .mr-2 { margin-right: 0.5rem; }