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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
2
+
3
+ :root {
4
+ --bg: #0d0f14;
5
+ --surface: #161b25;
6
+ --surface2: #1e2533;
7
+ --border: #2a3347;
8
+ --accent: #00c4cc;
9
+ --accent-dk: #009ba1;
10
+ --text: #e2e8f0;
11
+ --muted: #8896ab;
12
+ --error: #ff5f6d;
13
+ --success: #4ade80;
14
+ --warning: #facc15;
15
+ --radius: 12px;
16
+ --radius-sm: 8px;
17
+ --font-mono: 'Cascadia Code', 'Fira Code', 'Courier New', Courier, monospace;
18
+ }
19
+
20
+ html, body {
21
+ height: 100%;
22
+ background: var(--bg);
23
+ color: var(--text);
24
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
25
+ font-size: 15px;
26
+ line-height: 1.6;
27
+ -webkit-font-smoothing: antialiased;
28
+ }
29
+
30
+ .page { min-height: 100vh; }
31
+ .hidden { display: none !important; }
32
+
33
+ #login-page {
34
+ display: flex;
35
+ align-items: center;
36
+ justify-content: center;
37
+ padding: 24px;
38
+ background:
39
+ radial-gradient(ellipse at 20% 60%, rgba(0,196,204,.08) 0%, transparent 60%),
40
+ radial-gradient(ellipse at 80% 20%, rgba(0,196,204,.05) 0%, transparent 50%),
41
+ var(--bg);
42
+ }
43
+
44
+ .login-card {
45
+ background: var(--surface);
46
+ border: 1px solid var(--border);
47
+ border-radius: var(--radius);
48
+ padding: 40px 36px;
49
+ width: 100%;
50
+ max-width: 400px;
51
+ box-shadow: 0 24px 64px rgba(0,0,0,.5);
52
+ }
53
+
54
+ .brand {
55
+ display: flex;
56
+ align-items: center;
57
+ gap: 12px;
58
+ margin-bottom: 8px;
59
+ }
60
+
61
+ .brand h1 {
62
+ font-size: 24px;
63
+ font-weight: 700;
64
+ letter-spacing: -0.5px;
65
+ }
66
+
67
+ .brand-icon {
68
+ width: 40px;
69
+ height: 40px;
70
+ border-radius: 10px;
71
+ flex-shrink: 0;
72
+ }
73
+ .brand-icon.small { width: 28px; height: 28px; border-radius: 7px; }
74
+
75
+ .tagline {
76
+ color: var(--muted);
77
+ font-size: 13.5px;
78
+ margin-bottom: 28px;
79
+ }
80
+
81
+ .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
82
+
83
+ .field label {
84
+ font-size: 13px;
85
+ font-weight: 500;
86
+ color: var(--muted);
87
+ letter-spacing: .4px;
88
+ text-transform: uppercase;
89
+ }
90
+
91
+ .input-wrap { position: relative; display: flex; }
92
+
93
+ .input-wrap input {
94
+ width: 100%;
95
+ background: var(--surface2);
96
+ border: 1px solid var(--border);
97
+ border-radius: var(--radius-sm);
98
+ color: var(--text);
99
+ font-size: 15px;
100
+ padding: 11px 44px 11px 14px;
101
+ outline: none;
102
+ transition: border-color .15s, box-shadow .15s;
103
+ }
104
+
105
+ .input-wrap input:focus {
106
+ border-color: var(--accent);
107
+ box-shadow: 0 0 0 3px rgba(0,196,204,.15);
108
+ }
109
+
110
+ .input-wrap input::placeholder { color: var(--muted); opacity: .6; }
111
+
112
+ .eye-btn {
113
+ position: absolute;
114
+ right: 10px;
115
+ top: 50%;
116
+ transform: translateY(-50%);
117
+ background: none;
118
+ border: none;
119
+ cursor: pointer;
120
+ color: var(--muted);
121
+ display: flex;
122
+ align-items: center;
123
+ padding: 4px;
124
+ border-radius: 4px;
125
+ transition: color .15s;
126
+ }
127
+ .eye-btn:hover { color: var(--text); }
128
+ .eye-btn svg { width: 18px; height: 18px; }
129
+
130
+ .btn {
131
+ display: inline-flex;
132
+ align-items: center;
133
+ justify-content: center;
134
+ gap: 6px;
135
+ border: none;
136
+ border-radius: var(--radius-sm);
137
+ cursor: pointer;
138
+ font-size: 14px;
139
+ font-weight: 600;
140
+ padding: 10px 18px;
141
+ transition: background .15s, opacity .15s, transform .1s;
142
+ white-space: nowrap;
143
+ text-decoration: none;
144
+ }
145
+ .btn:active { transform: scale(.97); }
146
+ .btn:disabled { opacity: .5; cursor: not-allowed; }
147
+
148
+ .btn-primary, #login-btn {
149
+ background: var(--accent);
150
+ color: #0d0f14;
151
+ width: 100%;
152
+ padding: 12px;
153
+ font-size: 15px;
154
+ margin-top: 8px;
155
+ border: none;
156
+ border-radius: var(--radius-sm);
157
+ cursor: pointer;
158
+ font-weight: 700;
159
+ transition: background .15s, transform .1s;
160
+ display: flex;
161
+ align-items: center;
162
+ justify-content: center;
163
+ gap: 8px;
164
+ }
165
+ .btn-primary:hover, #login-btn:hover { background: var(--accent-dk); }
166
+ .btn-primary:active, #login-btn:active { transform: scale(.98); }
167
+ .btn-primary:disabled, #login-btn:disabled { opacity: .5; cursor: not-allowed; }
168
+
169
+ .btn-secondary {
170
+ background: var(--surface2);
171
+ color: var(--text);
172
+ border: 1px solid var(--border);
173
+ }
174
+ .btn-secondary:hover { background: var(--border); }
175
+
176
+ .btn-ghost {
177
+ background: transparent;
178
+ color: var(--muted);
179
+ border: none;
180
+ padding: 8px 12px;
181
+ }
182
+ .btn-ghost:hover { color: var(--text); background: var(--surface2); }
183
+ .btn-ghost.small { font-size: 12px; padding: 4px 10px; }
184
+
185
+ .error-msg {
186
+ color: var(--error);
187
+ font-size: 13px;
188
+ margin-top: 10px;
189
+ text-align: center;
190
+ min-height: 20px;
191
+ }
192
+
193
+ .spinner {
194
+ width: 16px;
195
+ height: 16px;
196
+ border: 2px solid rgba(0,0,0,.25);
197
+ border-top-color: #0d0f14;
198
+ border-radius: 50%;
199
+ animation: spin .7s linear infinite;
200
+ flex-shrink: 0;
201
+ }
202
+ @keyframes spin { to { transform: rotate(360deg); } }
203
+
204
+ .topbar {
205
+ display: flex;
206
+ align-items: center;
207
+ justify-content: space-between;
208
+ padding: 14px 24px;
209
+ background: var(--surface);
210
+ border-bottom: 1px solid var(--border);
211
+ position: sticky;
212
+ top: 0;
213
+ z-index: 10;
214
+ }
215
+
216
+ .topbar-brand {
217
+ display: flex;
218
+ align-items: center;
219
+ gap: 10px;
220
+ font-weight: 700;
221
+ font-size: 16px;
222
+ letter-spacing: -0.3px;
223
+ }
224
+
225
+ .topbar-actions { display: flex; align-items: center; gap: 10px; }
226
+
227
+ .badge {
228
+ font-size: 12px;
229
+ font-weight: 600;
230
+ padding: 3px 10px;
231
+ border-radius: 20px;
232
+ letter-spacing: .3px;
233
+ text-transform: uppercase;
234
+ }
235
+ .badge-running { background: rgba(74,222,128,.15); color: var(--success); }
236
+ .badge-starting { background: rgba(250,204,21,.15); color: var(--warning); }
237
+ .badge-retrying { background: rgba(250,204,21,.15); color: var(--warning); }
238
+ .badge-stopped { background: rgba(255,95,109,.12); color: var(--error); }
239
+ .badge-error { background: rgba(255,95,109,.12); color: var(--error); }
240
+
241
+ .dashboard {
242
+ display: grid;
243
+ grid-template-columns: 1fr 1fr;
244
+ gap: 20px;
245
+ padding: 24px;
246
+ max-width: 1100px;
247
+ margin: 0 auto;
248
+ }
249
+
250
+ @media (max-width: 720px) {
251
+ .dashboard { grid-template-columns: 1fr; }
252
+ }
253
+
254
+ .setup-card { grid-column: 1 / -1; }
255
+
256
+ .card {
257
+ background: var(--surface);
258
+ border: 1px solid var(--border);
259
+ border-radius: var(--radius);
260
+ overflow: hidden;
261
+ display: flex;
262
+ flex-direction: column;
263
+ }
264
+
265
+ .card-header {
266
+ display: flex;
267
+ align-items: baseline;
268
+ justify-content: space-between;
269
+ padding: 18px 20px 12px;
270
+ border-bottom: 1px solid var(--border);
271
+ }
272
+
273
+ .card-header h2 {
274
+ font-size: 16px;
275
+ font-weight: 700;
276
+ }
277
+
278
+ .card-header p {
279
+ font-size: 13px;
280
+ color: var(--muted);
281
+ margin-top: 2px;
282
+ }
283
+
284
+ .qr-area {
285
+ flex: 1;
286
+ display: flex;
287
+ align-items: center;
288
+ justify-content: center;
289
+ padding: 28px 20px;
290
+ min-height: 300px;
291
+ }
292
+
293
+ .qr-state {
294
+ display: flex;
295
+ flex-direction: column;
296
+ align-items: center;
297
+ gap: 14px;
298
+ text-align: center;
299
+ }
300
+
301
+ .qr-state p { color: var(--muted); font-size: 14px; }
302
+
303
+ .loader {
304
+ width: 44px;
305
+ height: 44px;
306
+ border: 3px solid var(--border);
307
+ border-top-color: var(--accent);
308
+ border-radius: 50%;
309
+ animation: spin .9s linear infinite;
310
+ }
311
+
312
+ .qr-frame {
313
+ background: #ffffff;
314
+ border-radius: 10px;
315
+ padding: 16px;
316
+ box-shadow: 0 0 0 4px rgba(255,255,255,.06);
317
+ display: inline-block;
318
+ }
319
+
320
+ #qr-pre {
321
+ font-family: var(--font-mono);
322
+ font-size: 7px;
323
+ line-height: 1;
324
+ color: #000000;
325
+ background: transparent;
326
+ white-space: pre;
327
+ display: block;
328
+ letter-spacing: 0;
329
+ }
330
+
331
+ .qr-hint {
332
+ font-size: 12px !important;
333
+ color: var(--muted) !important;
334
+ }
335
+
336
+ .error-icon {
337
+ font-size: 36px;
338
+ color: var(--error) !important;
339
+ }
340
+
341
+ .manual-card { grid-column: 1 / -1; border-color: rgba(250,204,21,.3); }
342
+
343
+ .manual-body { padding: 16px 20px 22px; display: flex; flex-direction: column; gap: 18px; }
344
+
345
+ .manual-intro { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
346
+
347
+ .manual-step {
348
+ display: flex;
349
+ gap: 14px;
350
+ align-items: flex-start;
351
+ }
352
+ .manual-step > div { display: flex; flex-direction: column; gap: 8px; flex: 1; }
353
+ .manual-step p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
354
+
355
+ .step-num {
356
+ width: 26px; height: 26px;
357
+ border-radius: 50%;
358
+ background: var(--accent);
359
+ color: #0d0f14;
360
+ font-size: 13px;
361
+ font-weight: 700;
362
+ display: flex;
363
+ align-items: center;
364
+ justify-content: center;
365
+ flex-shrink: 0;
366
+ margin-top: 2px;
367
+ }
368
+
369
+ .code-block {
370
+ display: flex;
371
+ align-items: center;
372
+ gap: 10px;
373
+ background: var(--bg);
374
+ border: 1px solid var(--border);
375
+ border-radius: var(--radius-sm);
376
+ padding: 10px 14px;
377
+ flex-wrap: wrap;
378
+ }
379
+ .code-block code {
380
+ font-family: var(--font-mono);
381
+ font-size: 12px;
382
+ color: var(--text);
383
+ flex: 1;
384
+ word-break: break-all;
385
+ }
386
+
387
+ .inline-code {
388
+ font-family: var(--font-mono);
389
+ font-size: 12px;
390
+ background: var(--surface2);
391
+ border: 1px solid var(--border);
392
+ border-radius: 4px;
393
+ padding: 1px 5px;
394
+ }
395
+
396
+ .manual-input-row {
397
+ display: flex;
398
+ gap: 10px;
399
+ align-items: center;
400
+ flex-wrap: wrap;
401
+ }
402
+ .manual-input-row input {
403
+ flex: 1;
404
+ min-width: 180px;
405
+ background: var(--surface2);
406
+ border: 1px solid var(--border);
407
+ border-radius: var(--radius-sm);
408
+ color: var(--text);
409
+ font-family: var(--font-mono);
410
+ font-size: 14px;
411
+ padding: 9px 12px;
412
+ outline: none;
413
+ transition: border-color .15s;
414
+ }
415
+ .manual-input-row input:focus { border-color: var(--accent); }
416
+ .manual-btn { padding: 9px 20px; }
417
+
418
+ .setup-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
419
+
420
+ .setup-intro { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
421
+
422
+ .setup-link { color: var(--accent); text-decoration: none; }
423
+ .setup-link:hover { text-decoration: underline; }
424
+
425
+ .secret-row {
426
+ display: flex;
427
+ align-items: center;
428
+ gap: 10px;
429
+ background: var(--bg);
430
+ border: 1px solid var(--border);
431
+ border-radius: var(--radius-sm);
432
+ padding: 10px 14px;
433
+ flex-wrap: wrap;
434
+ }
435
+
436
+ .secret-name {
437
+ font-family: var(--font-mono);
438
+ font-size: 12px;
439
+ color: var(--accent);
440
+ min-width: 200px;
441
+ font-weight: 600;
442
+ }
443
+
444
+ .secret-val {
445
+ font-family: var(--font-mono);
446
+ font-size: 12px;
447
+ color: var(--text);
448
+ flex: 1;
449
+ word-break: break-all;
450
+ min-width: 0;
451
+ }
452
+
453
+ .btn-copy {
454
+ background: var(--surface2);
455
+ border: 1px solid var(--border);
456
+ border-radius: 6px;
457
+ color: var(--muted);
458
+ cursor: pointer;
459
+ font-size: 12px;
460
+ font-weight: 600;
461
+ padding: 4px 12px;
462
+ white-space: nowrap;
463
+ transition: background .15s, color .15s;
464
+ flex-shrink: 0;
465
+ }
466
+ .btn-copy:hover { background: var(--border); color: var(--text); }
467
+ .btn-copy.copied { color: var(--success); border-color: var(--success); }
468
+
469
+ .setup-note { font-size: 12px; color: var(--muted); font-style: italic; }
470
+
471
+ .log-card { min-height: 300px; }
472
+
473
+ .log-pre {
474
+ flex: 1;
475
+ font-family: var(--font-mono);
476
+ font-size: 12px;
477
+ color: var(--muted);
478
+ background: var(--bg);
479
+ padding: 16px;
480
+ overflow-y: auto;
481
+ max-height: 480px;
482
+ white-space: pre-wrap;
483
+ word-break: break-word;
484
+ line-height: 1.5;
485
+ }
486
+
487
+ .log-pre::-webkit-scrollbar { width: 6px; }
488
+ .log-pre::-webkit-scrollbar-track { background: transparent; }
489
+ .log-pre::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }