:root { --bg-color: #0f172a; --text-main: #f8fafc; --text-muted: #94a3b8; --accent: #3b82f6; --accent-hover: #2563eb; --glass-bg: rgba(30, 41, 59, 0.7); --glass-border: rgba(255, 255, 255, 0.1); /* Chart Colors */ --color-running: rgba(16, 185, 129, 0.8); --color-pending: rgba(245, 158, 11, 0.8); --color-failed: rgba(239, 68, 68, 0.8); --color-unused: rgba(148, 163, 184, 0.15); --color-node: rgba(30, 41, 59, 0.9); } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', sans-serif; background-color: var(--bg-color); color: var(--text-main); min-height: 100vh; overflow: hidden; background-image: radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.15) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.15) 0px, transparent 50%); } .app-container { display: flex; flex-direction: column; height: 100vh; padding: 1.5rem; gap: 1.5rem; } .glass-panel { background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 1rem; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.1); } .header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; } .logo { display: flex; align-items: center; gap: 0.75rem; color: var(--accent); } .logo h1 { font-size: 1.25rem; font-weight: 700; color: var(--text-main); letter-spacing: -0.025em; } .toggle-container { display: flex; background: rgba(15, 23, 42, 0.6); padding: 0.25rem; border-radius: 0.5rem; border: 1px solid var(--glass-border); } .toggle-btn { background: transparent; border: none; color: var(--text-muted); padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600; border-radius: 0.375rem; cursor: pointer; transition: all 0.2s ease; } .toggle-btn.active { background: var(--accent); color: white; box-shadow: 0 2px 4px rgba(0,0,0,0.2); } .main-content { flex: 1; position: relative; display: flex; justify-content: center; align-items: center; border-radius: 1rem; overflow: hidden; } .loading { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 3rem; z-index: 10; transition: opacity 0.3s ease; } .loading.hidden { opacity: 0; pointer-events: none; } .spinner { width: 3rem; height: 3rem; border: 3px solid rgba(255,255,255,0.1); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .chart-container { width: 100%; height: 100%; } .node-group { transition: all 0.3s ease; } .node-rect { fill: var(--color-node); stroke: var(--glass-border); stroke-width: 1px; rx: 8; ry: 8; } .pod-rect { stroke: rgba(0,0,0,0.3); stroke-width: 1px; rx: 4; ry: 4; transition: fill 0.3s ease, opacity 0.3s ease, stroke 0.3s ease; cursor: pointer; } .pod-rect:hover { opacity: 0.9; stroke: white; } .node-label { fill: var(--text-main); font-size: 0.875rem; font-weight: 600; pointer-events: none; } .pod-label { fill: white; font-size: 0.7rem; pointer-events: none; text-shadow: 0 1px 2px rgba(0,0,0,0.8); } .tooltip { position: absolute; padding: 1rem; pointer-events: none; z-index: 100; font-size: 0.875rem; transition: opacity 0.2s ease, transform 0.1s ease; min-width: 240px; } .tooltip.hidden { opacity: 0; } .tooltip-title { font-weight: 700; margin-bottom: 0.5rem; border-bottom: 1px solid var(--glass-border); padding-bottom: 0.5rem; word-break: break-all; } .tooltip-row { display: flex; justify-content: space-between; margin-bottom: 0.25rem; gap: 1rem; } .tooltip-label { color: var(--text-muted); } .tooltip-value { font-weight: 600; }