:root { --bg: #0b0f14; --card: #131a22; --text: #e6edf3; --muted: #9aa7b2; --accent: #7dd3fc; --accent-2: #22d3ee; --success: #22c55e; --warning: #f59e0b; --error: #ef4444; --border: #1f2a37; } * { box-sizing: border-box; } body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji"; background: linear-gradient(180deg, var(--bg), #0f1720); color: var(--text); min-height: 100vh; } /* Loading Screen */ .loading-screen { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; } .loading-spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top: 3px solid var(--accent); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 1rem; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Auth Forms */ .auth-container { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 2rem; } .auth-card { background: linear-gradient(180deg, var(--card), #0f1620); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; width: 100%; max-width: 400px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); } .auth-card h1 { text-align: center; margin-bottom: 0.5rem; font-size: 2rem; } .auth-card p { text-align: center; color: var(--muted); margin-bottom: 2rem; } .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; } .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 1rem; } .form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.1); } .form-group textarea { min-height: 80px; resize: vertical; } .btn { padding: 0.75rem 1.5rem; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block; text-align: center; } .btn-primary { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: var(--bg); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(125, 211, 252, 0.3); } .btn-secondary { background: var(--border); color: var(--text); } .btn-secondary:hover { background: var(--muted); } .btn:active { transform: translateY(0); } .auth-toggle { text-align: center; margin-top: 2rem; } .auth-toggle a { color: var(--accent); text-decoration: none; } .auth-toggle a:hover { text-decoration: underline; } .demo-credentials { background: rgba(125, 211, 252, 0.1); border: 1px solid var(--accent); border-radius: 8px; padding: 1rem; margin-top: 2rem; text-align: center; font-size: 0.9rem; } /* Dashboard Layout */ .dashboard-header { background: var(--card); border-bottom: 1px solid var(--border); padding: 1rem 0; } .header-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 2rem; } .header-content h1 { margin: 0; font-size: 1.5rem; } .header-actions { display: flex; align-items: center; gap: 1rem; } .dashboard-nav { background: var(--bg); border-bottom: 1px solid var(--border); padding: 0; display: flex; max-width: 1200px; margin: 0 auto; overflow-x: auto; } .nav-item { padding: 1rem 1.5rem; text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; transition: all 0.2s; white-space: nowrap; } .nav-item:hover, .nav-item.active { color: var(--accent); border-bottom-color: var(--accent); } .dashboard-main { max-width: 1200px; margin: 0 auto; padding: 2rem; } .section { display: none; } .section.active { display: block; } .section h2 { margin-bottom: 2rem; font-size: 1.75rem; } /* Stats Grid */ .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; } .stat-card { background: linear-gradient(180deg, var(--card), #0f1620); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; text-align: center; } .stat-number { font-size: 2.5rem; font-weight: 700; color: var(--accent); margin-bottom: 0.5rem; } .stat-label { color: var(--muted); font-size: 0.9rem; } /* Welcome Section */ .welcome-section { background: linear-gradient(135deg, rgba(125, 211, 252, 0.1), rgba(34, 211, 238, 0.1)); border: 1px solid var(--accent); border-radius: 16px; padding: 2rem; margin-bottom: 2rem; } .welcome-section h3 { margin-top: 0; color: var(--accent); } .action-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2rem; } .action-card { background: rgba(19, 26, 34, 0.8); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; } .action-card h4 { margin-top: 0; color: var(--text); } .action-card p { color: var(--muted); margin-bottom: 1.5rem; } /* Templates Grid */ .templates-filters { display: flex; gap: 1rem; margin-bottom: 2rem; align-items: center; } .templates-filters select { padding: 0.5rem; background: var(--card); border: 1px solid var(--border); border-radius: 6px; color: var(--text); } .templates-filters label { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); } .templates-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; } .template-card { background: linear-gradient(180deg, var(--card), #0f1620); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; transition: transform 0.2s; } .template-card:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); } .template-header { display: flex; justify-content: between; align-items: flex-start; margin-bottom: 1rem; } .template-title { font-size: 1.1rem; font-weight: 600; margin: 0; flex: 1; } .template-badge { background: var(--accent); color: var(--bg); padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.75rem; margin-left: 1rem; } .template-description { color: var(--muted); margin-bottom: 1rem; font-size: 0.9rem; } .template-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: 0.8rem; color: var(--muted); } .template-actions { display: flex; gap: 0.5rem; } .btn-small { padding: 0.5rem 1rem; font-size: 0.85rem; } /* Section Header */ .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; } /* Lists */ .workflows-list, .credentials-list { display: grid; gap: 1rem; } .list-item { background: linear-gradient(180deg, var(--card), #0f1620); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; } .list-item-content { flex: 1; } .list-item-title { font-weight: 600; margin-bottom: 0.25rem; } .list-item-meta { color: var(--muted); font-size: 0.9rem; } .list-item-actions { display: flex; gap: 0.5rem; } .list-empty { text-align: center; padding: 3rem; color: var(--muted); } /* Instructions */ .instructions-content { display: grid; gap: 2rem; } .instruction-card { background: linear-gradient(180deg, var(--card), #0f1620); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; } .instruction-card h3 { color: var(--accent); margin-top: 0; } .instruction-card ol { padding-left: 1.5rem; } .instruction-card li { margin-bottom: 0.75rem; line-height: 1.6; } .instruction-card code { background: var(--bg); padding: 0.25rem 0.5rem; border-radius: 4px; border: 1px solid var(--border); font-family: 'Fira Code', 'Consolas', monospace; font-size: 0.9rem; } .instruction-card a { color: var(--accent); text-decoration: none; } .instruction-card a:hover { text-decoration: underline; } /* Modal */ .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.8); } .modal-content { background: linear-gradient(180deg, var(--card), #0f1620); margin: 5% auto; padding: 2rem; border: 1px solid var(--border); border-radius: 16px; width: 90%; max-width: 500px; position: relative; } .close { color: var(--muted); float: right; font-size: 28px; font-weight: bold; cursor: pointer; line-height: 1; } .close:hover { color: var(--text); } .modal-actions { display: flex; gap: 1rem; justify-content: flex-end; margin-top: 2rem; } /* Responsive */ @media (max-width: 768px) { .header-content { padding: 0 1rem; flex-direction: column; gap: 1rem; text-align: center; } .dashboard-main { padding: 1rem; } .stats-grid { grid-template-columns: 1fr; } .action-cards { grid-template-columns: 1fr; } .templates-grid { grid-template-columns: 1fr; } .modal-content { margin: 10% 1rem; width: auto; } } /* Success/Error Messages */ .message { padding: 1rem; border-radius: 8px; margin-bottom: 1rem; } .message.success { background: rgba(34, 197, 94, 0.1); border: 1px solid var(--success); color: var(--success); } .message.error { background: rgba(239, 68, 68, 0.1); border: 1px solid var(--error); color: var(--error); } /* Utility Classes */ .text-center { text-align: center; } .text-muted { color: var(--muted); } .mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mt-2 { margin-top: 1rem; }