File size: 3,158 Bytes
8892a6c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
@tailwind base;
@tailwind components;
@tailwind utilities;

/* ── Global Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #09090b;
  color: #a1a1aa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

#root {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #18181b;
}

::-webkit-scrollbar-thumb {
  background: #3f3f46;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #52525b;
}

/* ── React Flow Dark Theme Overrides ── */
.react-flow__background {
  background-color: #09090b !important;
}

.react-flow__controls {
  background: #27272a !important;
  border: 1px solid #3f3f46 !important;
  border-radius: 8px !important;
  overflow: hidden;
}

.react-flow__controls-button {
  background: #27272a !important;
  border-bottom: 1px solid #3f3f46 !important;
  fill: #a1a1aa !important;
}

.react-flow__controls-button:hover {
  background: #3f3f46 !important;
}

.react-flow__edge-path {
  stroke: #3f3f46 !important;
  stroke-width: 2 !important;
}

.react-flow__edge.animated .react-flow__edge-path {
  stroke: #10b981 !important;
  stroke-dasharray: 5 !important;
  animation: dashdraw 0.5s linear infinite !important;
}

@keyframes dashdraw {
  from {
    stroke-dashoffset: 10;
  }
}

/* ── Utility Classes ── */
.panel-card {
  background-color: #18181b;
  border: 1px solid #27272a;
  border-radius: 0.5rem;
}

.terminal-embed {
  background-color: #0d0d0d;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  padding: 1rem;
  border-radius: 0.375rem;
  overflow-y: auto;
  overflow-x: hidden;
}

/* ── Status Dot Animations ── */
@keyframes status-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.status-dot-live {
  animation: status-pulse 2s ease-in-out infinite;
}

/* ── Gauge Warning Flash ── */
@keyframes flash-red {
  0%, 100% { border-color: #27272a; }
  50% { border-color: #ef4444; box-shadow: 0 0 12px rgba(239, 68, 68, 0.3); }
}

.gauge-warning {
  animation: flash-red 1s ease-in-out 3;
}

/* ── Recharts Dark Tooltip Override ── */
.recharts-tooltip-wrapper .recharts-default-tooltip {
  background-color: #18181b !important;
  border: 1px solid #27272a !important;
  border-radius: 6px !important;
  color: #e4e4e7 !important;
}

.recharts-tooltip-wrapper .recharts-tooltip-label {
  color: #a1a1aa !important;
}

.recharts-tooltip-wrapper .recharts-tooltip-item {
  color: #e4e4e7 !important;
}

/* ── Recharts Bar Hover β€” prevent white flash ── */
.recharts-bar-rectangle:hover {
  filter: brightness(1.2);
}

/* ── React Flow Edge Visibility ── */
.react-flow__edge-path {
  stroke-width: 2px !important;
}

.react-flow__edge.animated .react-flow__edge-path {
  stroke: #10b981 !important;
  stroke-dasharray: 5 !important;
  stroke-width: 2px !important;
}