:root { /* Adastra-inspired Theme: Deep Navy & Clean White/Cyan */ --bg-body: #020b1c; /* Very dark navy */ --bg-sidebar: #051635; /* Lighter navy */ --bg-card: #0a1f49; /* Card background blue */ --bg-hover: #122b5f; /* Hover state */ --accent-primary: #00b4d8; /* Bright Cyan/Blue */ --accent-secondary: #0077b6; /* Ocean Blue */ --accent-glow: rgba(0, 180, 216, 0.4); --text-main: #f0f9ff; --text-muted: #94a3b8; --border-color: #1e3a6e; --success: #00e676; --warning: #ffb74d; --danger: #ef5350; --font-main: 'Plus Jakarta Sans', sans-serif; --sidebar-width: 260px; --header-height: 70px; --card-radius: 8px; /* Slightly squarer for corporate look */ --transition: all 0.2s ease-in-out; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: var(--font-main); background-color: var(--bg-body); color: var(--text-main); height: 100vh; overflow: hidden; -webkit-font-smoothing: antialiased; } .app-container { display: flex; height: 100vh; } /* Sidebar */ .sidebar { width: var(--sidebar-width); background-color: var(--bg-sidebar); border-right: 1px solid var(--border-color); display: flex; flex-direction: column; padding: 1.5rem; transition: width 0.3s ease; } .logo-area { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 3rem; padding: 0 0.5rem; } .logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); } .logo-area h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; } .logo-area .highlight { color: var(--accent-primary); } .main-nav { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; } .nav-item { display: flex; align-items: center; gap: 1rem; padding: 0.85rem 1rem; color: var(--text-muted); text-decoration: none; border-radius: 12px; transition: var(--transition); font-weight: 500; } .nav-item i { font-size: 1.25rem; } .nav-item:hover { background-color: var(--bg-hover); color: var(--text-main); } .nav-item.active { background-color: rgba(0, 180, 216, 0.1); color: var(--accent-primary); box-shadow: 0 0 12px var(--accent-glow); border: 1px solid rgba(0, 180, 216, 0.2); } .user-profile { display: flex; align-items: center; gap: 1rem; padding: 1rem; background-color: var(--bg-card); border-radius: 12px; margin-top: auto; border: 1px solid var(--border-color); } .avatar img { width: 40px; height: 40px; border-radius: 50%; } .user-info { display: flex; flex-direction: column; } .user-info .name { font-weight: 600; font-size: 0.9rem; } .user-info .role { font-size: 0.75rem; color: var(--text-muted); } /* Main Content */ .main-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; } .top-bar { height: var(--header-height); display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; border-bottom: 1px solid var(--border-color); background-color: rgba(15, 17, 26, 0.8); backdrop-filter: blur(10px); z-index: 10; } .breadcrumbs .current-page { font-size: 1.25rem; font-weight: 700; } .actions { display: flex; gap: 1rem; } .icon-btn { background: transparent; border: none; color: var(--text-muted); font-size: 1.25rem; cursor: pointer; padding: 0.5rem; border-radius: 50%; transition: var(--transition); } .icon-btn:hover { background-color: var(--bg-card); color: var(--text-main); } .content-area { flex: 1; overflow-y: auto; padding: 2rem; } /* Common UI Elements */ .card { background-color: var(--bg-card); border-radius: var(--card-radius); padding: 1.5rem; border: 1px solid var(--border-color); } .btn { padding: 0.6rem 1.2rem; border-radius: 8px; font-weight: 500; cursor: pointer; border: none; transition: var(--transition); } .btn-primary { background-color: var(--accent-primary); color: white; } .btn-primary:hover { background-color: #5558e0; } /* Dashboard Grid */ .dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; } .stat-card { display: flex; flex-direction: column; gap: 0.5rem; } .stat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; } .stat-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; } .stat-value { font-size: 2rem; font-weight: 700; } .stat-label { color: var(--text-muted); font-size: 0.9rem; } .stat-trend { font-size: 0.85rem; display: flex; align-items: center; gap: 0.25rem; } .trend-up { color: var(--success); } .trend-down { color: var(--danger); } /* Jobs Table */ .table-container { overflow-x: auto; } table { width: 100%; border-collapse: separate; border-spacing: 0; } th { text-align: left; padding: 1rem; color: var(--text-muted); font-weight: 500; border-bottom: 1px solid var(--border-color); } td { padding: 1rem; border-bottom: 1px solid var(--border-color); color: var(--text-main); } tr:last-child td { border-bottom: none; } .status-badge { padding: 0.25rem 0.75rem; border-radius: 100px; font-size: 0.8rem; font-weight: 600; display: inline-block; } .status-success { background-color: rgba(16, 185, 129, 0.1); color: var(--success); } .status-error { background-color: rgba(239, 68, 68, 0.1); color: var(--danger); } .status-running { background-color: rgba(99, 102, 241, 0.1); color: var(--accent-primary); } /* Animations */ @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .animate-fade-in { animation: fadeIn 0.4s ease forwards; } .loading-state { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: var(--text-muted); gap: 1rem; } .spinner { width: 40px; height: 40px; border: 3px solid rgba(99, 102, 241, 0.3); border-radius: 50%; border-top-color: var(--accent-primary); animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }