| |
| |
| |
| |
|
|
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap'); |
|
|
| |
|
|
| :root { |
| |
| --bg-primary: #0a0e17; |
| --bg-secondary: #111827; |
| --bg-tertiary: #1a2236; |
| --bg-card: rgba(17, 24, 39, 0.7); |
| --bg-glass: rgba(17, 24, 39, 0.5); |
|
|
| |
| --accent-primary: #6366f1; |
| --accent-secondary: #818cf8; |
| --accent-glow: rgba(99, 102, 241, 0.3); |
| --accent-success: #34d399; |
| --accent-warning: #fbbf24; |
| --accent-danger: #f87171; |
| --accent-info: #38bdf8; |
|
|
| |
| --gradient-brand: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%); |
| --gradient-card: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(168,85,247,0.05) 100%); |
| --gradient-glow: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99,102,241,0.06), transparent 40%); |
|
|
| |
| --text-primary: #f1f5f9; |
| --text-secondary: #94a3b8; |
| --text-muted: #64748b; |
| --text-on-accent: #ffffff; |
|
|
| |
| --border-primary: rgba(148, 163, 184, 0.1); |
| --border-secondary: rgba(148, 163, 184, 0.06); |
| --border-accent: rgba(99, 102, 241, 0.3); |
|
|
| |
| --sidebar-width: 260px; |
| --header-height: 64px; |
| --radius-sm: 6px; |
| --radius-md: 10px; |
| --radius-lg: 16px; |
| --radius-xl: 20px; |
|
|
| |
| --shadow-sm: 0 1px 2px rgba(0,0,0,0.3); |
| --shadow-md: 0 4px 12px rgba(0,0,0,0.3); |
| --shadow-lg: 0 8px 30px rgba(0,0,0,0.4); |
| --shadow-glow: 0 0 20px var(--accent-glow); |
|
|
| |
| --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1); |
| --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1); |
| --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1); |
|
|
| |
| --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; |
| --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace; |
| } |
|
|
|
|
| |
|
|
| *, *::before, *::after { |
| box-sizing: border-box; |
| margin: 0; |
| padding: 0; |
| } |
|
|
| html { |
| font-size: 16px; |
| scroll-behavior: smooth; |
| -webkit-font-smoothing: antialiased; |
| -moz-osx-font-smoothing: grayscale; |
| } |
|
|
| body { |
| font-family: var(--font-sans); |
| background: var(--bg-primary); |
| color: var(--text-primary); |
| line-height: 1.6; |
| min-height: 100vh; |
| overflow-x: hidden; |
| } |
|
|
| a { |
| color: var(--accent-secondary); |
| text-decoration: none; |
| transition: color var(--transition-fast); |
| } |
|
|
| a:hover { |
| color: var(--accent-primary); |
| } |
|
|
| button { |
| font-family: inherit; |
| cursor: pointer; |
| } |
|
|
| input, textarea, select { |
| font-family: inherit; |
| } |
|
|
|
|
| |
|
|
| .bg-mesh { |
| position: fixed; |
| inset: 0; |
| z-index: -1; |
| background: var(--bg-primary); |
| overflow: hidden; |
| } |
|
|
| .bg-mesh::before { |
| content: ''; |
| position: absolute; |
| top: -50%; |
| left: -50%; |
| width: 200%; |
| height: 200%; |
| background: |
| radial-gradient(ellipse 600px 600px at 20% 30%, rgba(99,102,241,0.08) 0%, transparent 70%), |
| radial-gradient(ellipse 500px 500px at 80% 20%, rgba(168,85,247,0.06) 0%, transparent 70%), |
| radial-gradient(ellipse 400px 400px at 60% 80%, rgba(236,72,153,0.04) 0%, transparent 70%); |
| animation: meshFloat 20s ease-in-out infinite; |
| } |
|
|
| @keyframes meshFloat { |
| 0%, 100% { transform: translate(0, 0) rotate(0deg); } |
| 33% { transform: translate(2%, -2%) rotate(1deg); } |
| 66% { transform: translate(-1%, 1%) rotate(-0.5deg); } |
| } |
|
|
|
|
| |
|
|
| .login-container { |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| min-height: 100vh; |
| padding: 2rem; |
| } |
|
|
| .login-card { |
| width: 100%; |
| max-width: 420px; |
| background: var(--bg-card); |
| backdrop-filter: blur(20px); |
| -webkit-backdrop-filter: blur(20px); |
| border: 1px solid var(--border-primary); |
| border-radius: var(--radius-xl); |
| padding: 2.5rem; |
| box-shadow: var(--shadow-lg); |
| animation: cardAppear 0.6s var(--transition-slow) both; |
| } |
|
|
| @keyframes cardAppear { |
| from { |
| opacity: 0; |
| transform: translateY(20px) scale(0.97); |
| } |
| to { |
| opacity: 1; |
| transform: translateY(0) scale(1); |
| } |
| } |
|
|
| .login-logo { |
| text-align: center; |
| margin-bottom: 2rem; |
| } |
|
|
| .login-logo h1 { |
| font-size: 1.75rem; |
| font-weight: 700; |
| background: var(--gradient-brand); |
| -webkit-background-clip: text; |
| -webkit-text-fill-color: transparent; |
| background-clip: text; |
| letter-spacing: -0.5px; |
| } |
|
|
| .login-logo p { |
| color: var(--text-muted); |
| font-size: 0.875rem; |
| margin-top: 0.25rem; |
| } |
|
|
| .login-tabs { |
| display: flex; |
| gap: 0; |
| margin-bottom: 1.5rem; |
| border-radius: var(--radius-md); |
| overflow: hidden; |
| border: 1px solid var(--border-primary); |
| } |
|
|
| .login-tab { |
| flex: 1; |
| padding: 0.625rem; |
| background: transparent; |
| border: none; |
| color: var(--text-muted); |
| font-size: 0.875rem; |
| font-weight: 500; |
| transition: all var(--transition-fast); |
| } |
|
|
| .login-tab.active { |
| background: var(--accent-primary); |
| color: var(--text-on-accent); |
| } |
|
|
| .login-tab:hover:not(.active) { |
| color: var(--text-primary); |
| background: var(--bg-tertiary); |
| } |
|
|
|
|
| |
|
|
| .form-group { |
| margin-bottom: 1.25rem; |
| } |
|
|
| .form-label { |
| display: block; |
| font-size: 0.8125rem; |
| font-weight: 500; |
| color: var(--text-secondary); |
| margin-bottom: 0.375rem; |
| letter-spacing: 0.02em; |
| } |
|
|
| .form-input { |
| width: 100%; |
| padding: 0.75rem 1rem; |
| background: var(--bg-tertiary); |
| border: 1px solid var(--border-primary); |
| border-radius: var(--radius-md); |
| color: var(--text-primary); |
| font-size: 0.9375rem; |
| transition: all var(--transition-fast); |
| outline: none; |
| } |
|
|
| .form-input::placeholder { |
| color: var(--text-muted); |
| } |
|
|
| .form-input:focus { |
| border-color: var(--accent-primary); |
| box-shadow: 0 0 0 3px var(--accent-glow); |
| } |
|
|
| .form-input:hover:not(:focus) { |
| border-color: rgba(148, 163, 184, 0.2); |
| } |
|
|
| .form-error { |
| display: none; |
| margin-top: 1rem; |
| padding: 0.75rem 1rem; |
| background: rgba(248, 113, 113, 0.1); |
| border: 1px solid rgba(248, 113, 113, 0.2); |
| border-radius: var(--radius-sm); |
| color: var(--accent-danger); |
| font-size: 0.8125rem; |
| animation: shake 0.3s ease-in-out; |
| } |
|
|
| .form-error.visible { |
| display: block; |
| } |
|
|
| @keyframes shake { |
| 0%, 100% { transform: translateX(0); } |
| 25% { transform: translateX(-4px); } |
| 75% { transform: translateX(4px); } |
| } |
|
|
|
|
| |
|
|
| .btn { |
| display: inline-flex; |
| align-items: center; |
| justify-content: center; |
| gap: 0.5rem; |
| padding: 0.75rem 1.5rem; |
| border: none; |
| border-radius: var(--radius-md); |
| font-size: 0.9375rem; |
| font-weight: 600; |
| transition: all var(--transition-fast); |
| position: relative; |
| overflow: hidden; |
| } |
|
|
| .btn::after { |
| content: ''; |
| position: absolute; |
| inset: 0; |
| background: rgba(255,255,255,0); |
| transition: background var(--transition-fast); |
| } |
|
|
| .btn:hover::after { |
| background: rgba(255,255,255,0.06); |
| } |
|
|
| .btn:active { |
| transform: scale(0.97); |
| } |
|
|
| .btn-primary { |
| background: var(--gradient-brand); |
| color: var(--text-on-accent); |
| box-shadow: var(--shadow-glow); |
| } |
|
|
| .btn-primary:hover { |
| box-shadow: 0 0 30px var(--accent-glow); |
| } |
|
|
| .btn-primary:disabled { |
| opacity: 0.5; |
| cursor: not-allowed; |
| box-shadow: none; |
| } |
|
|
| .btn-secondary { |
| background: var(--bg-tertiary); |
| color: var(--text-primary); |
| border: 1px solid var(--border-primary); |
| } |
|
|
| .btn-secondary:hover { |
| border-color: var(--border-accent); |
| } |
|
|
| .btn-block { |
| width: 100%; |
| } |
|
|
| .btn-sm { |
| padding: 0.5rem 1rem; |
| font-size: 0.8125rem; |
| } |
|
|
|
|
| |
|
|
| .app-layout { |
| display: flex; |
| min-height: 100vh; |
| } |
|
|
| .sidebar { |
| position: fixed; |
| top: 0; |
| left: 0; |
| width: var(--sidebar-width); |
| height: 100vh; |
| background: var(--bg-card); |
| backdrop-filter: blur(20px); |
| -webkit-backdrop-filter: blur(20px); |
| border-right: 1px solid var(--border-primary); |
| display: flex; |
| flex-direction: column; |
| z-index: 100; |
| transition: transform var(--transition-normal); |
| } |
|
|
| .sidebar-header { |
| padding: 1.5rem; |
| border-bottom: 1px solid var(--border-primary); |
| } |
|
|
| .sidebar-brand { |
| font-size: 1.25rem; |
| font-weight: 700; |
| background: var(--gradient-brand); |
| -webkit-background-clip: text; |
| -webkit-text-fill-color: transparent; |
| background-clip: text; |
| } |
|
|
| .sidebar-subtitle { |
| font-size: 0.75rem; |
| color: var(--text-muted); |
| margin-top: 0.125rem; |
| } |
|
|
| .sidebar-nav { |
| flex: 1; |
| padding: 1rem 0.75rem; |
| display: flex; |
| flex-direction: column; |
| gap: 0.25rem; |
| } |
|
|
| .nav-link { |
| display: flex; |
| align-items: center; |
| gap: 0.75rem; |
| padding: 0.75rem 1rem; |
| border-radius: var(--radius-md); |
| color: var(--text-secondary); |
| font-size: 0.875rem; |
| font-weight: 500; |
| transition: all var(--transition-fast); |
| text-decoration: none; |
| position: relative; |
| } |
|
|
| .nav-link:hover { |
| background: var(--bg-tertiary); |
| color: var(--text-primary); |
| } |
|
|
| .nav-link.active { |
| background: rgba(99, 102, 241, 0.12); |
| color: var(--accent-secondary); |
| } |
|
|
| .nav-link.active::before { |
| content: ''; |
| position: absolute; |
| left: 0; |
| top: 50%; |
| transform: translateY(-50%); |
| width: 3px; |
| height: 60%; |
| background: var(--accent-primary); |
| border-radius: 0 2px 2px 0; |
| } |
|
|
| .nav-icon { |
| font-size: 1.125rem; |
| width: 1.25rem; |
| text-align: center; |
| } |
|
|
| .sidebar-footer { |
| padding: 1rem 0.75rem; |
| border-top: 1px solid var(--border-primary); |
| } |
|
|
| .user-badge { |
| display: flex; |
| align-items: center; |
| gap: 0.75rem; |
| padding: 0.625rem 0.75rem; |
| border-radius: var(--radius-md); |
| transition: background var(--transition-fast); |
| cursor: pointer; |
| } |
|
|
| .user-badge:hover { |
| background: var(--bg-tertiary); |
| } |
|
|
| .user-avatar { |
| width: 36px; |
| height: 36px; |
| border-radius: 50%; |
| background: var(--gradient-brand); |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| font-weight: 600; |
| font-size: 0.875rem; |
| color: var(--text-on-accent); |
| flex-shrink: 0; |
| } |
|
|
| .user-info { |
| overflow: hidden; |
| } |
|
|
| .user-name { |
| font-size: 0.8125rem; |
| font-weight: 600; |
| color: var(--text-primary); |
| white-space: nowrap; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| } |
|
|
| .user-role { |
| font-size: 0.6875rem; |
| color: var(--text-muted); |
| } |
|
|
|
|
| |
|
|
| .main-content { |
| flex: 1; |
| margin-left: var(--sidebar-width); |
| min-height: 100vh; |
| } |
|
|
| .page-header { |
| padding: 2rem 2.5rem 1.5rem; |
| border-bottom: 1px solid var(--border-secondary); |
| } |
|
|
| .page-title { |
| font-size: 1.5rem; |
| font-weight: 700; |
| letter-spacing: -0.5px; |
| } |
|
|
| .page-subtitle { |
| font-size: 0.875rem; |
| color: var(--text-muted); |
| margin-top: 0.25rem; |
| } |
|
|
| .page-body { |
| padding: 2rem 2.5rem; |
| } |
|
|
|
|
| |
|
|
| .card { |
| background: var(--bg-card); |
| backdrop-filter: blur(12px); |
| border: 1px solid var(--border-primary); |
| border-radius: var(--radius-lg); |
| padding: 1.5rem; |
| transition: all var(--transition-normal); |
| } |
|
|
| .card:hover { |
| border-color: var(--border-accent); |
| box-shadow: var(--shadow-glow); |
| } |
|
|
| .card-header { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| margin-bottom: 1rem; |
| } |
|
|
| .card-title { |
| font-size: 1rem; |
| font-weight: 600; |
| } |
|
|
|
|
| |
|
|
| .stats-grid { |
| display: grid; |
| grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); |
| gap: 1.25rem; |
| margin-bottom: 2rem; |
| } |
|
|
| .stat-card { |
| background: var(--gradient-card); |
| border: 1px solid var(--border-primary); |
| border-radius: var(--radius-lg); |
| padding: 1.25rem 1.5rem; |
| transition: all var(--transition-normal); |
| } |
|
|
| .stat-card:hover { |
| border-color: var(--border-accent); |
| transform: translateY(-2px); |
| box-shadow: var(--shadow-glow); |
| } |
|
|
| .stat-label { |
| font-size: 0.75rem; |
| font-weight: 500; |
| color: var(--text-muted); |
| text-transform: uppercase; |
| letter-spacing: 0.06em; |
| } |
|
|
| .stat-value { |
| font-size: 2rem; |
| font-weight: 700; |
| margin-top: 0.25rem; |
| background: var(--gradient-brand); |
| -webkit-background-clip: text; |
| -webkit-text-fill-color: transparent; |
| background-clip: text; |
| } |
|
|
| .stat-change { |
| font-size: 0.75rem; |
| color: var(--accent-success); |
| margin-top: 0.25rem; |
| } |
|
|
|
|
| |
|
|
| .workflow-list { |
| display: flex; |
| flex-direction: column; |
| gap: 0.75rem; |
| } |
|
|
| .workflow-item { |
| display: flex; |
| align-items: center; |
| gap: 1rem; |
| padding: 1rem 1.25rem; |
| background: var(--bg-card); |
| border: 1px solid var(--border-primary); |
| border-radius: var(--radius-md); |
| transition: all var(--transition-fast); |
| cursor: pointer; |
| } |
|
|
| .workflow-item:hover { |
| border-color: var(--border-accent); |
| background: var(--bg-tertiary); |
| } |
|
|
| .workflow-status { |
| width: 10px; |
| height: 10px; |
| border-radius: 50%; |
| flex-shrink: 0; |
| } |
|
|
| .workflow-status.pending { background: var(--accent-warning); box-shadow: 0 0 8px rgba(251,191,36,0.4); } |
| .workflow-status.running { background: var(--accent-info); box-shadow: 0 0 8px rgba(56,189,248,0.4); animation: pulse 2s infinite; } |
| .workflow-status.success { background: var(--accent-success); box-shadow: 0 0 8px rgba(52,211,153,0.4); } |
| .workflow-status.failed { background: var(--accent-danger); box-shadow: 0 0 8px rgba(248,113,113,0.4); } |
|
|
| @keyframes pulse { |
| 0%, 100% { opacity: 1; } |
| 50% { opacity: 0.4; } |
| } |
|
|
| .workflow-details { |
| flex: 1; |
| min-width: 0; |
| } |
|
|
| .workflow-prompt { |
| font-size: 0.875rem; |
| font-weight: 500; |
| white-space: nowrap; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| } |
|
|
| .workflow-meta { |
| font-size: 0.75rem; |
| color: var(--text-muted); |
| margin-top: 0.125rem; |
| } |
|
|
| .workflow-arrow { |
| color: var(--text-muted); |
| transition: transform var(--transition-fast); |
| } |
|
|
| .workflow-item:hover .workflow-arrow { |
| transform: translateX(4px); |
| color: var(--accent-secondary); |
| } |
|
|
|
|
| |
|
|
| .create-section { |
| margin-bottom: 2rem; |
| } |
|
|
| .prompt-input { |
| width: 100%; |
| min-height: 120px; |
| padding: 1rem; |
| background: var(--bg-tertiary); |
| border: 1px solid var(--border-primary); |
| border-radius: var(--radius-md); |
| color: var(--text-primary); |
| font-family: var(--font-mono); |
| font-size: 0.875rem; |
| resize: vertical; |
| transition: all var(--transition-fast); |
| outline: none; |
| } |
|
|
| .prompt-input::placeholder { |
| color: var(--text-muted); |
| } |
|
|
| .prompt-input:focus { |
| border-color: var(--accent-primary); |
| box-shadow: 0 0 0 3px var(--accent-glow); |
| } |
|
|
| .create-actions { |
| display: flex; |
| justify-content: flex-end; |
| margin-top: 1rem; |
| } |
|
|
|
|
| |
|
|
| .empty-state { |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| justify-content: center; |
| padding: 3rem; |
| text-align: center; |
| } |
|
|
| .empty-icon { |
| font-size: 3rem; |
| margin-bottom: 1rem; |
| opacity: 0.3; |
| } |
|
|
| .empty-title { |
| font-size: 1.125rem; |
| font-weight: 600; |
| margin-bottom: 0.5rem; |
| } |
|
|
| .empty-text { |
| font-size: 0.875rem; |
| color: var(--text-muted); |
| max-width: 360px; |
| } |
|
|
|
|
| |
|
|
| .badge { |
| display: inline-flex; |
| align-items: center; |
| padding: 0.25rem 0.625rem; |
| border-radius: 100px; |
| font-size: 0.6875rem; |
| font-weight: 600; |
| text-transform: uppercase; |
| letter-spacing: 0.04em; |
| } |
|
|
| .badge-pending { background: rgba(251,191,36,0.15); color: var(--accent-warning); } |
| .badge-running { background: rgba(56,189,248,0.15); color: var(--accent-info); } |
| .badge-success { background: rgba(52,211,153,0.15); color: var(--accent-success); } |
| .badge-failed { background: rgba(248,113,113,0.15); color: var(--accent-danger); } |
|
|
|
|
| |
|
|
| .spinner { |
| width: 20px; |
| height: 20px; |
| border: 2px solid rgba(255,255,255,0.1); |
| border-top-color: var(--accent-primary); |
| border-radius: 50%; |
| animation: spin 0.6s linear infinite; |
| } |
|
|
| @keyframes spin { |
| to { transform: rotate(360deg); } |
| } |
|
|
|
|
| |
|
|
| @media (max-width: 768px) { |
| .sidebar { |
| transform: translateX(-100%); |
| } |
|
|
| .sidebar.open { |
| transform: translateX(0); |
| } |
|
|
| .main-content { |
| margin-left: 0; |
| } |
|
|
| .page-header, |
| .page-body { |
| padding-left: 1.25rem; |
| padding-right: 1.25rem; |
| } |
|
|
| .stats-grid { |
| grid-template-columns: 1fr; |
| } |
| } |
|
|
|
|
| |
|
|
| ::-webkit-scrollbar { |
| width: 6px; |
| height: 6px; |
| } |
|
|
| ::-webkit-scrollbar-track { |
| background: transparent; |
| } |
|
|
| ::-webkit-scrollbar-thumb { |
| background: var(--border-primary); |
| border-radius: 3px; |
| } |
|
|
| ::-webkit-scrollbar-thumb:hover { |
| background: var(--text-muted); |
| } |
|
|
|
|
| |
|
|
| .toast-container { |
| position: fixed; |
| top: 1.5rem; |
| right: 1.5rem; |
| z-index: 9999; |
| display: flex; |
| flex-direction: column; |
| gap: 0.75rem; |
| } |
|
|
| .toast { |
| padding: 0.875rem 1.25rem; |
| background: var(--bg-card); |
| backdrop-filter: blur(20px); |
| border: 1px solid var(--border-primary); |
| border-radius: var(--radius-md); |
| box-shadow: var(--shadow-lg); |
| font-size: 0.875rem; |
| animation: toastIn 0.3s ease-out; |
| max-width: 380px; |
| } |
|
|
| .toast.success { border-left: 3px solid var(--accent-success); } |
| .toast.error { border-left: 3px solid var(--accent-danger); } |
| .toast.info { border-left: 3px solid var(--accent-info); } |
|
|
| @keyframes toastIn { |
| from { opacity: 0; transform: translateX(20px); } |
| to { opacity: 1; transform: translateX(0); } |
| } |
|
|
| .toast-exit { |
| animation: toastOut 0.2s ease-in forwards; |
| } |
|
|
| @keyframes toastOut { |
| to { opacity: 0; transform: translateX(20px); } |
| } |
|
|
|
|
| |
|
|
| .page-section { |
| display: none; |
| } |
|
|
| .page-section.active { |
| display: block; |
| animation: fadeIn 0.3s ease-out; |
| } |
|
|
| @keyframes fadeIn { |
| from { opacity: 0; transform: translateY(8px); } |
| to { opacity: 1; transform: translateY(0); } |
| } |
|
|