/* Design Tokens & CSS Variables */ :root { --bg-main: #090d16; --bg-gradient: linear-gradient(135deg, #090d16 0%, #111322 50%, #1a152e 100%); --card-bg: rgba(22, 28, 45, 0.6); --card-border: rgba(255, 255, 255, 0.06); --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); --text-primary: #f8fafc; --text-secondary: #94a3b8; --text-muted: #64748b; --primary: #6366f1; --primary-glow: rgba(99, 102, 241, 0.45); --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); --success: #10b981; --success-bg: rgba(16, 185, 129, 0.15); --warning: #f59e0b; --warning-bg: rgba(245, 158, 11, 0.15); --danger: #ef4444; --danger-bg: rgba(239, 68, 68, 0.15); --info: #0ea5e9; --info-bg: rgba(14, 165, 233, 0.15); --code-bg: #0b0f19; --border-radius-lg: 16px; --border-radius-md: 10px; --border-radius-sm: 6px; --transition-fast: 0.2s ease; --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1); } /* Base Styles */ * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background-color: var(--bg-main); background-image: var(--bg-gradient); color: var(--text-primary); min-height: 100vh; position: relative; overflow-x: hidden; line-height: 1.5; } /* Background Decor */ .background-decor { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; overflow: hidden; pointer-events: none; } .blur-circle { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.2; } .circle-1 { top: -10%; right: 10%; width: 45vw; height: 45vw; background: radial-gradient(circle, var(--primary) 0%, transparent 70%); animation: float-slow 20s infinite alternate; } .circle-2 { bottom: -10%; left: 5%; width: 40vw; height: 40vw; background: radial-gradient(circle, #8b5cf6 0%, transparent 70%); animation: float-slow 25s infinite alternate-reverse; } @keyframes float-slow { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(3%, 5%) scale(1.1); } } /* Layout Wrapper */ .app-container { max-width: 1300px; margin: 0 auto; padding: 24px 16px; display: flex; flex-direction: column; gap: 24px; } /* Header */ .app-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--border-radius-lg); box-shadow: var(--card-shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); } .brand { display: flex; align-items: center; gap: 16px; } .brand-icon { font-size: 2.2rem; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.4)); } .brand-text h1 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.5px; background: linear-gradient(120deg, #ffffff 40%, #e2e8f0 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .brand-text p { font-size: 0.85rem; color: var(--text-secondary); } .system-status { display: flex; gap: 12px; } .status-badge { display: flex; align-items: center; gap: 8px; background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(255, 255, 255, 0.05); padding: 8px 14px; border-radius: var(--border-radius-md); font-size: 0.85rem; font-weight: 500; } .status-badge .dot { width: 8px; height: 8px; border-radius: 50%; } .status-badge .dot.green { background-color: var(--success); box-shadow: 0 0 8px var(--success); animation: pulse 1.8s infinite; } .status-badge .dot.amber { background-color: var(--warning); box-shadow: 0 0 8px var(--warning); animation: pulse 1.8s infinite; } .status-badge .badge-number { background: var(--primary-gradient); color: white; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.75rem; font-weight: 700; } /* Animations */ @keyframes pulse { 0% { transform: scale(0.95); opacity: 0.8; } 50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px currentColor; } 100% { transform: scale(0.95); opacity: 0.8; } } .animate-pulse { animation: pulse 3s infinite; } /* Cards & Panels */ .card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--border-radius-lg); box-shadow: var(--card-shadow); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: var(--transition-smooth); } .panel { display: flex; flex-direction: column; padding: 24px; } .panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding-bottom: 14px; } .panel-header h2 { font-size: 1.25rem; font-weight: 600; display: flex; align-items: center; gap: 10px; } .panel-header h2 i { color: var(--primary); } .panel-subtitle { font-size: 0.8rem; color: var(--text-muted); } /* Main Grid Layout */ .app-main-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; } @media (max-width: 992px) { .app-main-layout { grid-template-columns: 1fr; } } /* Forms & Inputs */ .form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; } .form-group label { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; } .form-group label i { color: var(--primary); } input[type="text"] { background: rgba(15, 23, 42, 0.8); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-primary); padding: 12px 16px; border-radius: var(--border-radius-md); font-family: inherit; font-size: 0.95rem; outline: none; transition: var(--transition-fast); } input[type="text"]:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25); } .input-helper { font-size: 0.8rem; color: var(--text-muted); } .input-helper code { background: rgba(255, 255, 255, 0.05); padding: 2px 5px; border-radius: var(--border-radius-sm); color: #f43f5e; } /* Editor Style */ .editor-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; } .editor-container { position: relative; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--border-radius-md); overflow: hidden; } #code-editor { width: 100%; height: 320px; background: var(--code-bg); color: #e2e8f0; font-family: 'Fira Code', monospace; font-size: 0.85rem; padding: 16px; border: none; resize: vertical; outline: none; line-height: 1.6; tab-size: 4; } #code-editor:focus { box-shadow: inset 0 0 0 1px var(--primary); } /* Dropdown styling */ .templates-dropdown { position: relative; display: inline-block; } .dropdown-content { display: none; position: absolute; right: 0; top: calc(100% + 4px); background: #111625; min-width: 220px; box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--border-radius-md); z-index: 10; overflow: hidden; } .dropdown-content a { color: var(--text-secondary); padding: 10px 16px; text-decoration: none; display: flex; align-items: center; gap: 10px; font-size: 0.85rem; transition: var(--transition-fast); } .dropdown-content a:hover { background-color: rgba(99, 102, 241, 0.15); color: white; } .dropdown-content a i { width: 16px; text-align: center; color: var(--primary); } .templates-dropdown.active .dropdown-content { display: block; animation: fadeIn 0.15s ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } } /* Buttons */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: var(--border-radius-md); font-family: inherit; font-size: 0.95rem; font-weight: 500; cursor: pointer; border: none; transition: var(--transition-smooth); } .btn:active { transform: scale(0.98); } .btn-primary { background: var(--primary-gradient); color: white; box-shadow: 0 4px 14px 0 var(--primary-glow); } .btn-primary:hover { box-shadow: 0 6px 20px 0 var(--primary-glow); filter: brightness(1.1); } .btn-outline { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); color: var(--text-primary); } .btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); } .btn-secondary { background: rgba(148, 163, 184, 0.1); color: var(--text-secondary); } .btn-secondary:hover { background: rgba(148, 163, 184, 0.2); color: var(--text-primary); } .btn-danger { background: var(--danger-bg); border: 1px solid rgba(239, 68, 68, 0.2); color: var(--danger); } .btn-danger:hover { background: var(--danger); color: white; box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2); } .btn-sm { padding: 6px 12px; font-size: 0.8rem; border-radius: var(--border-radius-sm); } .btn-block { width: 100%; } .btn-icon-only { width: 32px; height: 32px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); color: var(--text-secondary); } .btn-icon-only:hover { background: rgba(255, 255, 255, 0.08); color: var(--text-primary); } /* Tasks list styling */ .tasks-container { display: flex; flex-direction: column; gap: 16px; overflow-y: auto; max-height: 520px; padding-right: 4px; } .tasks-container::-webkit-scrollbar { width: 6px; } .tasks-container::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; } .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 16px; text-align: center; color: var(--text-muted); gap: 12px; } .empty-state i { font-size: 2.5rem; } /* Task Card */ .task-item { background: rgba(15, 23, 42, 0.4); border: 1px solid rgba(255, 255, 255, 0.04); border-radius: var(--border-radius-md); padding: 16px; display: flex; flex-direction: column; gap: 12px; transition: var(--transition-smooth); } .task-item:hover { background: rgba(15, 23, 42, 0.6); border-color: rgba(99, 102, 241, 0.25); } .task-meta { display: flex; justify-content: space-between; align-items: flex-start; } .task-info-left { display: flex; flex-direction: column; gap: 4px; } .task-folder { font-weight: 600; font-size: 0.95rem; color: var(--text-primary); display: flex; align-items: center; gap: 6px; } .task-id { font-family: monospace; font-size: 0.75rem; color: var(--text-muted); } /* Status Badges */ .status-pill { padding: 4px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; } .status-pill.pending { background: rgba(148, 163, 184, 0.15); color: var(--text-secondary); } .status-pill.running { background: rgba(99, 102, 241, 0.15); color: var(--primary); animation: breathing 2s infinite; } .status-pill.completed { background: var(--success-bg); color: var(--success); } .status-pill.failed { background: var(--danger-bg); color: var(--danger); } .status-pill.cancelled { background: rgba(245, 158, 11, 0.15); color: var(--warning); } @keyframes breathing { 0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.3); } 70% { box-shadow: 0 0 0 6px rgba(99, 102, 241, 0); } 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); } } /* Progress Section */ .task-progress-box { display: flex; flex-direction: column; gap: 6px; } .progress-info { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-secondary); } .progress-bar-bg { height: 6px; background: rgba(255, 255, 255, 0.05); border-radius: 3px; overflow: hidden; } .progress-bar-fill { height: 100%; background: var(--primary-gradient); width: 0%; border-radius: 3px; transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .task-item.running .progress-bar-fill { position: relative; } .task-item.running .progress-bar-fill::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100-percent ); animation: shimmer 1.5s infinite; } @keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } .task-error { font-size: 0.8rem; color: var(--danger); background: rgba(239, 68, 68, 0.08); padding: 6px 10px; border-radius: var(--border-radius-sm); border-left: 3px solid var(--danger); word-break: break-all; } /* Actions */ .task-actions { display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid rgba(255, 255, 255, 0.03); padding-top: 10px; } /* File explorer */ .files-panel { margin-top: 8px; } .files-actions { display: flex; gap: 12px; } .files-table-container { overflow-x: auto; max-height: 400px; } .files-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.9rem; } .files-table th { background: rgba(15, 23, 42, 0.4); padding: 12px 16px; font-weight: 600; color: var(--text-secondary); border-bottom: 1px solid rgba(255, 255, 255, 0.08); } .files-table td { padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.03); color: var(--text-primary); vertical-align: middle; } .files-table tr:hover td { background: rgba(255, 255, 255, 0.02); } .file-name-cell { display: flex; align-items: center; gap: 10px; font-weight: 500; } .file-name-cell i { color: var(--info); font-size: 1.1rem; } .file-path { font-size: 0.8rem; color: var(--text-muted); font-family: monospace; } .table-empty { text-align: center; color: var(--text-muted); padding: 40px 16px !important; } .table-empty i { font-size: 2rem; display: block; margin-bottom: 10px; } /* Modal Drawer Styling */ .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity var(--transition-fast) ease; } .modal-overlay.active { display: flex; opacity: 1; } .modal-card { background: #0f1322; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--border-radius-lg); width: 100%; max-width: 800px; box-shadow: 0 20px 50px rgba(0,0,0,0.6); display: flex; flex-direction: column; max-height: 85vh; transform: scale(0.95); transition: transform var(--transition-fast) cubic-bezier(0.34, 1.56, 0.64, 1); } .modal-overlay.active .modal-card { transform: scale(1); } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); } .modal-title { display: flex; align-items: center; gap: 12px; } .modal-title i { color: var(--primary); font-size: 1.3rem; } .modal-title h3 { font-size: 1.15rem; font-weight: 600; } .modal-title span { font-family: monospace; font-size: 0.8rem; color: var(--text-muted); } .modal-close { background: transparent; border: none; color: var(--text-secondary); font-size: 1.8rem; cursor: pointer; line-height: 1; } .modal-close:hover { color: white; } .modal-body { padding: 20px 24px; overflow-y: auto; flex: 1; background: #07090e; } .console-logs { font-family: 'Fira Code', monospace; font-size: 0.8rem; line-height: 1.6; color: #38bdf8; white-space: pre-wrap; word-break: break-all; } .modal-footer { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-top: 1px solid rgba(255, 255, 255, 0.05); } .log-controls { display: flex; align-items: center; gap: 20px; } /* Custom Checkbox */ .checkbox-container { display: flex; align-items: center; position: relative; padding-left: 26px; cursor: pointer; font-size: 0.85rem; user-select: none; color: var(--text-secondary); } .checkbox-container input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; } .checkmark { position: absolute; top: 50%; transform: translateY(-50%); left: 0; height: 16px; width: 16px; background-color: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; transition: var(--transition-fast); } .checkbox-container:hover input ~ .checkmark { background-color: rgba(255,255,255,0.1); } .checkbox-container input:checked ~ .checkmark { background-color: var(--primary); border-color: var(--primary); } .checkmark:after { content: ""; position: absolute; display: none; } .checkbox-container input:checked ~ .checkmark:after { display: block; } .checkbox-container .checkmark:after { left: 5px; top: 2px; width: 4px; height: 8px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); } /* ============================================================ AUTH LOCK SCREEN ============================================================ */ /* Full-screen overlay — sits above everything else */ #auth-overlay { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: var(--bg-gradient); padding: 16px; transition: opacity 0.5s ease, visibility 0.5s ease; } #auth-overlay.hidden { display: none !important; pointer-events: none; } /* Decorative blobs behind the card */ .auth-blob { position: fixed; border-radius: 50%; filter: blur(100px); opacity: 0.25; pointer-events: none; z-index: 0; } .auth-blob-1 { width: 50vw; height: 50vw; top: -10%; right: -5%; background: radial-gradient(circle, #6366f1 0%, transparent 65%); animation: float-slow 18s infinite alternate; } .auth-blob-2 { width: 40vw; height: 40vw; bottom: -10%; left: -5%; background: radial-gradient(circle, #8b5cf6 0%, transparent 65%); animation: float-slow 22s infinite alternate-reverse; } /* The card itself */ .auth-card { position: relative; z-index: 1; width: 100%; max-width: 420px; background: rgba(15, 20, 40, 0.75); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; padding: 40px 36px 36px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(99,102,241,0.1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); animation: auth-card-enter 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; } @keyframes auth-card-enter { from { opacity: 0; transform: translateY(30px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } } /* Brand header inside the card */ .auth-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 32px; } .auth-brand-icon { font-size: 2.8rem; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 14px rgba(99, 102, 241, 0.5)); animation: pulse 3s infinite; } .auth-brand h2 { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.4px; background: linear-gradient(120deg, #ffffff 40%, #c4b5fd 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .auth-brand p { font-size: 0.82rem; color: var(--text-muted); text-align: center; } /* Password field wrapper */ .auth-input-wrap { position: relative; margin-bottom: 8px; } .auth-input-wrap input[type="password"], .auth-input-wrap input[type="text"] { width: 100%; background: rgba(8, 12, 28, 0.8); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-primary); padding: 13px 46px 13px 16px; border-radius: var(--border-radius-md); font-family: inherit; font-size: 0.95rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; letter-spacing: 0.05em; } .auth-input-wrap input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22); } /* Eye toggle button */ .auth-toggle-pw { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1rem; padding: 4px; line-height: 1; transition: color 0.2s; } .auth-toggle-pw:hover { color: var(--text-primary); } /* Login button */ #auth-login-btn { width: 100%; margin-top: 18px; padding: 13px 20px; font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; } /* Error message */ .auth-error { margin-top: 12px; font-size: 0.82rem; color: var(--danger); background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); border-radius: var(--border-radius-sm); padding: 8px 12px; display: none; align-items: center; gap: 8px; animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both; } .auth-error.visible { display: flex; } @keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-6px); } 40%, 60% { transform: translateX(6px); } } /* Lockout countdown */ .auth-lockout { margin-top: 12px; font-size: 0.82rem; color: var(--warning); background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.2); border-radius: var(--border-radius-sm); padding: 8px 12px; display: none; align-items: center; gap: 8px; } .auth-lockout.visible { display: flex; } /* Footer hint */ .auth-footer { margin-top: 20px; text-align: center; font-size: 0.75rem; color: var(--text-muted); line-height: 1.6; } /* Logout button in header */ #logout-btn { display: none; padding: 7px 14px; font-size: 0.8rem; gap: 6px; } /* Spinner inside login button */ @keyframes spin { to { transform: rotate(360deg); } } .fa-spin { animation: spin 0.8s linear infinite; }