Spaces:
Running
Running
| :root { | |
| --bg-main: #0a0c16; | |
| --card-bg: rgba(22, 27, 46, 0.65); | |
| --card-border: rgba(255, 255, 255, 0.08); | |
| --primary: #8a2be2; | |
| --primary-glow: rgba(138, 43, 226, 0.5); | |
| --secondary: #00d2ff; | |
| --accent: #ff007f; | |
| --text-main: #ffffff; | |
| --text-muted: #94a3b8; | |
| --success: #10b981; | |
| --warning: #f59e0b; | |
| --danger: #ef4444; | |
| } | |
| * { | |
| box-sizing: border-box; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| body { | |
| font-family: 'Plus Jakarta Sans', sans-serif; | |
| background-color: var(--bg-main); | |
| color: var(--text-main); | |
| min-height: 100vh; | |
| overflow-x: hidden; | |
| position: relative; | |
| } | |
| /* Background Glowing Orbs */ | |
| .bg-glow { | |
| position: fixed; | |
| width: 600px; | |
| height: 600px; | |
| border-radius: 50%; | |
| filter: blur(140px); | |
| z-index: -1; | |
| opacity: 0.35; | |
| animation: float 20s ease-in-out infinite alternate; | |
| } | |
| .bg-glow-1 { | |
| top: -100px; | |
| left: -100px; | |
| background: radial-gradient(circle, var(--primary), transparent 70%); | |
| } | |
| .bg-glow-2 { | |
| bottom: -150px; | |
| right: -100px; | |
| background: radial-gradient(circle, var(--secondary), transparent 70%); | |
| animation-delay: -10s; | |
| } | |
| @keyframes float { | |
| 0% { transform: translate(0, 0) scale(1); } | |
| 100% { transform: translate(80px, 50px) scale(1.15); } | |
| } | |
| .app-container { | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| padding: 2rem; | |
| } | |
| /* Header */ | |
| .header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 2.5rem; | |
| padding-bottom: 1.5rem; | |
| border-bottom: 1px solid var(--card-border); | |
| } | |
| .logo-area { | |
| display: flex; | |
| align-items: center; | |
| gap: 1rem; | |
| } | |
| .logo-icon { | |
| font-size: 2.8rem; | |
| filter: drop-shadow(0 0 15px var(--primary-glow)); | |
| animation: pulse 3s infinite; | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { transform: scale(1); } | |
| 50% { transform: scale(1.08); } | |
| } | |
| h1 { | |
| font-family: 'Outfit', sans-serif; | |
| font-size: 2.2rem; | |
| font-weight: 800; | |
| background: linear-gradient(135deg, #fff 0%, var(--secondary) 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| .subtitle { | |
| color: var(--text-muted); | |
| font-size: 0.95rem; | |
| margin-top: 0.2rem; | |
| } | |
| .status-badge { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.6rem; | |
| background: rgba(16, 185, 129, 0.15); | |
| border: 1px solid rgba(16, 185, 129, 0.3); | |
| padding: 0.5rem 1.2rem; | |
| border-radius: 9999px; | |
| font-size: 0.85rem; | |
| font-weight: 600; | |
| color: #34d399; | |
| box-shadow: 0 0 20px rgba(16, 185, 129, 0.2); | |
| } | |
| .status-dot { | |
| width: 8px; | |
| height: 8px; | |
| background-color: #34d399; | |
| border-radius: 50%; | |
| box-shadow: 0 0 10px #34d399; | |
| animation: blink 1.5s infinite; | |
| } | |
| @keyframes blink { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0.3; } | |
| } | |
| /* Grid Layout */ | |
| .grid-layout { | |
| display: grid; | |
| grid-template-columns: 1.25fr 1fr; | |
| gap: 2rem; | |
| align-items: start; | |
| } | |
| @media (max-width: 1024px) { | |
| .grid-layout { grid-template-columns: 1fr; } | |
| } | |
| /* Glassmorphism Cards */ | |
| .glass-card { | |
| background: var(--card-bg); | |
| backdrop-filter: blur(20px); | |
| -webkit-backdrop-filter: blur(20px); | |
| border: 1px solid var(--card-border); | |
| border-radius: 24px; | |
| padding: 2rem; | |
| box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); | |
| } | |
| h2 { | |
| font-family: 'Outfit', sans-serif; | |
| font-size: 1.5rem; | |
| margin-bottom: 0.5rem; | |
| color: #fff; | |
| } | |
| .section-desc { | |
| color: var(--text-muted); | |
| font-size: 0.9rem; | |
| margin-bottom: 1.8rem; | |
| line-height: 1.5; | |
| } | |
| /* Forms */ | |
| .form-group { | |
| margin-bottom: 1.5rem; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .form-row { | |
| display: flex; | |
| gap: 1.5rem; | |
| } | |
| @media (max-width: 640px) { | |
| .form-row { flex-direction: column; gap: 0; } | |
| } | |
| .flex-1 { flex: 1; } | |
| label { | |
| font-weight: 600; | |
| font-size: 0.9rem; | |
| margin-bottom: 0.5rem; | |
| color: #e2e8f0; | |
| } | |
| .hint { | |
| font-size: 0.8rem; | |
| color: var(--text-muted); | |
| margin-top: 0.4rem; | |
| } | |
| textarea, input[type="text"], input[type="password"], select { | |
| background: rgba(15, 23, 42, 0.6); | |
| border: 1px solid rgba(255, 255, 255, 0.12); | |
| border-radius: 12px; | |
| padding: 0.8rem 1rem; | |
| color: #fff; | |
| font-family: inherit; | |
| font-size: 0.95rem; | |
| transition: all 0.3s ease; | |
| } | |
| textarea:focus, input:focus, select:focus { | |
| outline: none; | |
| border-color: var(--secondary); | |
| box-shadow: 0 0 15px rgba(0, 210, 255, 0.25); | |
| background: rgba(15, 23, 42, 0.9); | |
| } | |
| select { cursor: pointer; } | |
| select option { background: #0f172a; color: #fff; } | |
| .select-row { | |
| display: flex; | |
| gap: 0.8rem; | |
| } | |
| .select-row select { flex: 1; } | |
| /* File Upload Box */ | |
| .file-upload-box { | |
| position: relative; | |
| border: 2px dashed rgba(255, 255, 255, 0.2); | |
| border-radius: 16px; | |
| padding: 1.5rem; | |
| text-align: center; | |
| cursor: pointer; | |
| background: rgba(15, 23, 42, 0.4); | |
| transition: all 0.3s ease; | |
| height: 100%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .file-upload-box:hover { | |
| border-color: var(--primary); | |
| background: rgba(138, 43, 226, 0.1); | |
| } | |
| .file-upload-box input[type="file"] { | |
| position: absolute; | |
| top: 0; left: 0; width: 100%; height: 100%; | |
| opacity: 0; | |
| cursor: pointer; | |
| } | |
| .upload-content { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 0.4rem; | |
| } | |
| .upload-icon { font-size: 2rem; } | |
| .upload-text { font-weight: 600; font-size: 0.9rem; color: #cbd5e1; } | |
| .file-name { font-size: 0.8rem; color: var(--secondary); word-break: break-all; } | |
| /* Credentials Box */ | |
| .credentials-box { | |
| background: rgba(0, 0, 0, 0.25); | |
| border: 1px solid rgba(255, 255, 255, 0.08); | |
| border-radius: 14px; | |
| padding: 1rem 1.2rem; | |
| margin-bottom: 2rem; | |
| } | |
| .credentials-box summary { | |
| font-weight: 600; | |
| font-size: 0.9rem; | |
| cursor: pointer; | |
| color: #cbd5e1; | |
| list-style: none; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| } | |
| .credentials-box summary::after { | |
| content: "▼"; | |
| font-size: 0.7rem; | |
| transition: transform 0.3s; | |
| } | |
| .credentials-box[open] summary::after { transform: rotate(180deg); } | |
| .creds-content { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.05); } | |
| /* Run Button */ | |
| .run-btn { | |
| width: 100%; | |
| background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); | |
| border: none; | |
| border-radius: 16px; | |
| padding: 1.2rem; | |
| color: #fff; | |
| font-family: 'Outfit', sans-serif; | |
| font-size: 1.1rem; | |
| font-weight: 700; | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 0.8rem; | |
| box-shadow: 0 10px 30px rgba(255, 0, 127, 0.3); | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .run-btn:hover { | |
| transform: translateY(-3px); | |
| box-shadow: 0 15px 40px rgba(255, 0, 127, 0.5); | |
| } | |
| .run-btn:active { transform: translateY(0); } | |
| .run-btn:disabled { | |
| opacity: 0.6; | |
| cursor: not-allowed; | |
| transform: none; | |
| } | |
| /* Jobs Section */ | |
| .jobs-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 0.5rem; | |
| } | |
| .refresh-btn { | |
| background: rgba(255, 255, 255, 0.1); | |
| border: 1px solid rgba(255, 255, 255, 0.15); | |
| color: #fff; | |
| padding: 0.5rem 1rem; | |
| border-radius: 10px; | |
| font-weight: 600; | |
| font-size: 0.85rem; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| } | |
| .refresh-btn:hover { background: rgba(255, 255, 255, 0.2); } | |
| .jobs-list { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1.2rem; | |
| max-height: 650px; | |
| overflow-y: auto; | |
| padding-right: 0.5rem; | |
| } | |
| /* Custom Scrollbar */ | |
| .jobs-list::-webkit-scrollbar { width: 6px; } | |
| .jobs-list::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); } | |
| .jobs-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; } | |
| /* Job Card */ | |
| .job-card { | |
| background: rgba(15, 23, 42, 0.7); | |
| border: 1px solid rgba(255, 255, 255, 0.08); | |
| border-radius: 16px; | |
| padding: 1.4rem; | |
| transition: transform 0.2s; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .job-card:hover { border-color: rgba(255,255,255,0.2); } | |
| .job-top { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: flex-start; | |
| margin-bottom: 0.8rem; | |
| } | |
| .job-id { font-weight: 700; font-size: 1rem; color: #fff; } | |
| .job-time { font-size: 0.75rem; color: var(--text-muted); } | |
| .job-status { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 0.4rem; | |
| padding: 0.3rem 0.8rem; | |
| border-radius: 999px; | |
| font-size: 0.75rem; | |
| font-weight: 700; | |
| text-transform: uppercase; | |
| } | |
| .status-running { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); } | |
| .status-completed { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); } | |
| .status-failed { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); } | |
| .job-preview { | |
| font-size: 0.85rem; | |
| color: #cbd5e1; | |
| background: rgba(0,0,0,0.3); | |
| padding: 0.8rem; | |
| border-radius: 10px; | |
| margin-bottom: 1.2rem; | |
| font-style: italic; | |
| border-left: 3px solid var(--primary); | |
| } | |
| .download-btn { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 0.5rem; | |
| width: 100%; | |
| background: linear-gradient(135deg, #10b981 0%, #059669 100%); | |
| color: #fff; | |
| text-decoration: none; | |
| padding: 0.8rem; | |
| border-radius: 12px; | |
| font-weight: 700; | |
| font-size: 0.9rem; | |
| box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); | |
| transition: all 0.2s; | |
| } | |
| .download-btn:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5); | |
| } | |
| .empty-state { | |
| text-align: center; | |
| padding: 3rem 1rem; | |
| color: var(--text-muted); | |
| } | |
| .empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; } | |