Roony05 commited on
Commit
e7a9c39
·
verified ·
1 Parent(s): 5bba0e7

Upload style.css

Browse files

update for gui phone

Files changed (1) hide show
  1. style.css +825 -0
style.css ADDED
@@ -0,0 +1,825 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');
2
+
3
+ * {
4
+ font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
5
+ }
6
+
7
+ html {
8
+ background: radial-gradient(circle at top, #1e1b4b 0%, #0f172a 50%, #020617 100%) !important;
9
+ background-attachment: fixed !important;
10
+ }
11
+
12
+ body {
13
+ background: transparent !important;
14
+ }
15
+
16
+ #bg-spotlight {
17
+ position: fixed !important;
18
+ top: 0 !important;
19
+ left: 0 !important;
20
+ width: 100vw !important;
21
+ height: 100vh !important;
22
+ background: radial-gradient(
23
+ 600px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
24
+ rgba(167, 139, 250, 0.12) 0%, /* Soft global background spotlight */
25
+ transparent 80%
26
+ ) !important;
27
+ z-index: 1 !important; /* Set to 1 to sit above body background but behind panels */
28
+ pointer-events: none !important;
29
+ }
30
+
31
+ .gradio-container {
32
+ background: transparent !important;
33
+ border: none !important;
34
+ max-width: 1100px !important;
35
+ margin: 0 auto !important;
36
+ padding: 30px 15px !important;
37
+ }
38
+
39
+ .glass-panel, .prediction-card {
40
+ position: relative !important;
41
+ overflow: hidden !important;
42
+ backdrop-filter: blur(16px) !important;
43
+ -webkit-backdrop-filter: blur(16px) !important;
44
+ border: 1px solid transparent !important; /* Make border transparent so gradient shines through */
45
+ background:
46
+ linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.5)) padding-box,
47
+ radial-gradient(
48
+ 250px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
49
+ rgba(167, 139, 250, 0.3) 0%, /* Soft lavender border spotlight */
50
+ rgba(56, 189, 248, 0.12) 45%, /* Soft cyan accent */
51
+ rgba(255, 255, 255, 0.05) 80% /* Very subtle default border when mouse is away */
52
+ ) border-box !important;
53
+ border-radius: 16px !important;
54
+ box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6) !important;
55
+ padding: 24px !important;
56
+ margin-bottom: 20px !important;
57
+ transition: box-shadow 0.3s ease !important;
58
+ }
59
+
60
+ /* Subtle inner ambient glow inside cards on hover */
61
+ .glass-panel::before, .prediction-card::before {
62
+ content: "" !important;
63
+ position: absolute !important;
64
+ top: 0 !important;
65
+ left: 0 !important;
66
+ width: 100% !important;
67
+ height: 100% !important;
68
+ background: radial-gradient(
69
+ 250px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
70
+ rgba(139, 92, 246, 0.04), /* Very minimal inner glow */
71
+ transparent 80%
72
+ ) !important;
73
+ z-index: 0 !important;
74
+ pointer-events: none !important;
75
+ opacity: 0;
76
+ transition: opacity 0.5s ease !important;
77
+ }
78
+
79
+ .glass-panel:hover::before, .prediction-card:hover::before {
80
+ opacity: 1;
81
+ }
82
+
83
+ .glass-panel:hover, .prediction-card:hover {
84
+ box-shadow: 0 16px 45px -12px rgba(0, 0, 0, 0.85) !important; /* Premium deep shadow overlay on hover, no gaming neon */
85
+ }
86
+
87
+ /* Ensure all interactive layout panels sit above the background spotlight */
88
+ .glass-panel, .prediction-card, .header-banner, .tabs, .info-box {
89
+ position: relative !important;
90
+ z-index: 2 !important;
91
+ }
92
+
93
+ /* Ensure contents inside glass elements sit above their own pseudo elements and glows */
94
+ .glass-panel > *, .prediction-card > * {
95
+ position: relative !important;
96
+ z-index: 3 !important;
97
+ }
98
+
99
+ .primary-btn {
100
+ background: linear-gradient(135deg, #7c3aed, #4f46e5) !important;
101
+ color: #ffffff !important;
102
+ border: none !important;
103
+ border-radius: 12px !important;
104
+ font-weight: 600 !important;
105
+ font-size: 1rem !important;
106
+ padding: 10px 20px !important;
107
+ box-shadow: 0 4px 15px -3px rgba(124, 58, 237, 0.4) !important;
108
+ transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
109
+ cursor: pointer !important;
110
+ }
111
+
112
+ .primary-btn:hover {
113
+ transform: translateY(-2px) !important;
114
+ box-shadow: 0 8px 20px -3px rgba(124, 58, 237, 0.6) !important;
115
+ filter: brightness(1.1) !important;
116
+ }
117
+
118
+ .primary-btn:active {
119
+ transform: translateY(0) !important;
120
+ }
121
+
122
+ /* Customize Tabs */
123
+ .tabs {
124
+ border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
125
+ margin-bottom: 20px !important;
126
+ }
127
+
128
+ .tab-nav {
129
+ background: transparent !important;
130
+ border: none !important;
131
+ display: flex !important;
132
+ gap: 8px !important;
133
+ }
134
+
135
+ .tab-nav button {
136
+ color: #94a3b8 !important;
137
+ font-weight: 600 !important;
138
+ border: none !important;
139
+ border-radius: 8px !important;
140
+ padding: 10px 20px !important;
141
+ transition: all 0.2s ease !important;
142
+ background: transparent !important;
143
+ }
144
+
145
+ .tab-nav button.selected {
146
+ color: #ffffff !important;
147
+ background: rgba(124, 58, 237, 0.25) !important;
148
+ border: 1px solid rgba(124, 58, 237, 0.4) !important;
149
+ }
150
+
151
+ /* Audio Widget overrides */
152
+ .gradio-audio {
153
+ background: rgba(15, 23, 42, 0.3) !important;
154
+ border: 1px dashed rgba(255, 255, 255, 0.1) !important;
155
+ border-radius: 12px !important;
156
+ padding: 12px !important;
157
+ }
158
+
159
+ /* Animations */
160
+ @keyframes pulse {
161
+ 0% { transform: scale(1); opacity: 0.6; }
162
+ 50% { transform: scale(1.05); opacity: 1; }
163
+ 100% { transform: scale(1); opacity: 0.6; }
164
+ }
165
+
166
+
167
+
168
+ /* ============================================================
169
+ UI Header & Footer styles
170
+ ============================================================ */
171
+ .header-banner {
172
+ text-align: center;
173
+ padding: 32px 20px;
174
+ background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(79, 70, 229, 0.08)) !important;
175
+ border: 1px solid rgba(124, 58, 237, 0.15) !important;
176
+ border-radius: 16px !important;
177
+ margin-bottom: 24px !important;
178
+ position: relative !important;
179
+ overflow: hidden !important;
180
+ }
181
+
182
+ .header-glow-left {
183
+ position: absolute !important;
184
+ top: -50px !important;
185
+ left: -50px !important;
186
+ width: 150px !important;
187
+ height: 150px !important;
188
+ background: rgba(124, 58, 237, 0.15) !important;
189
+ filter: blur(50px) !important;
190
+ border-radius: 50% !important;
191
+ z-index: 1 !important;
192
+ }
193
+
194
+ .header-glow-right {
195
+ position: absolute !important;
196
+ bottom: -50px !important;
197
+ right: -50px !important;
198
+ width: 150px !important;
199
+ height: 150px !important;
200
+ background: rgba(56, 189, 248, 0.15) !important;
201
+ filter: blur(50px) !important;
202
+ border-radius: 50% !important;
203
+ z-index: 1 !important;
204
+ }
205
+
206
+ h1.header-title {
207
+ font-size: 2.8rem !important;
208
+ margin: 0 0 10px 0 !important;
209
+ font-weight: 900 !important;
210
+ letter-spacing: -0.03em !important;
211
+ position: relative !important;
212
+ z-index: 2 !important;
213
+ display: flex !important;
214
+ justify-content: center !important;
215
+ align-items: center !important;
216
+ gap: 16px !important;
217
+ }
218
+
219
+ .header-emoji {
220
+ font-size: 2.8rem !important;
221
+ display: inline-block !important;
222
+ animation: emojiPulse 3s ease-in-out infinite !important;
223
+ }
224
+
225
+ .header-text-animated {
226
+ display: inline-block !important;
227
+ background: linear-gradient(120deg, #a78bfa 0%, #818cf8 25%, #38bdf8 50%, #818cf8 75%, #a78bfa 100%) !important;
228
+ background-size: 200% 100% !important;
229
+ -webkit-background-clip: text !important;
230
+ background-clip: text !important;
231
+ -webkit-text-fill-color: transparent !important;
232
+ color: transparent !important;
233
+ animation: gradientShift 6s linear infinite !important;
234
+ will-change: background-position;
235
+ }
236
+
237
+ @keyframes emojiPulse {
238
+ 0%, 100% { transform: scale(1) rotate(0deg); }
239
+ 50% { transform: scale(1.12) rotate(8deg); }
240
+ }
241
+
242
+ @keyframes gradientShift {
243
+ 0% { background-position: 0% 50%; }
244
+ 100% { background-position: 200% 50%; }
245
+ }
246
+
247
+ .header-subtitle {
248
+ font-size: 1.1rem !important;
249
+ color: #cbd5e1 !important;
250
+ margin: 0 auto !important;
251
+ max-width: 650px !important;
252
+ font-weight: 500 !important;
253
+ line-height: 1.5 !important;
254
+ position: relative !important;
255
+ z-index: 2 !important;
256
+ }
257
+
258
+ .header-badges {
259
+ display: flex !important;
260
+ justify-content: center !important;
261
+ gap: 12px !important;
262
+ margin-top: 18px !important;
263
+ flex-wrap: wrap !important;
264
+ position: relative !important;
265
+ z-index: 2 !important;
266
+ }
267
+
268
+ .header-badge {
269
+ background: rgba(255, 255, 255, 0.04) !important;
270
+ border: 1px solid rgba(255, 255, 255, 0.08) !important;
271
+ padding: 5px 14px !important;
272
+ border-radius: 20px !important;
273
+ font-size: 0.8rem !important;
274
+ color: #cbd5e1 !important;
275
+ font-weight: 600 !important;
276
+ }
277
+
278
+ .footer-box {
279
+ text-align: center !important;
280
+ margin-top: 30px !important;
281
+ padding: 16px !important;
282
+ border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
283
+ font-size: 0.85rem !important;
284
+ color: #64748b !important;
285
+ }
286
+
287
+ /* ============================================================
288
+ Technical Info Box styles
289
+ ============================================================ */
290
+ .info-box {
291
+ background: rgba(15, 23, 42, 0.35) !important;
292
+ border-left: 4px solid #7c3aed !important;
293
+ padding: 16px !important;
294
+ border-radius: 0 12px 12px 0 !important;
295
+ margin-bottom: 24px !important;
296
+ font-size: 0.92rem !important;
297
+ line-height: 1.6 !important;
298
+ color: #94a3b8 !important;
299
+ border-top: 1px solid rgba(255, 255, 255, 0.03) !important;
300
+ border-right: 1px solid rgba(255, 255, 255, 0.03) !important;
301
+ border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
302
+ }
303
+
304
+ .info-box-title {
305
+ color: #f1f5f9 !important;
306
+ display: block !important;
307
+ margin-bottom: 6px !important;
308
+ font-size: 0.95rem !important;
309
+ }
310
+
311
+ .keyword-code {
312
+ color: #c084fc !important;
313
+ font-family: monospace !important;
314
+ background: rgba(192, 132, 252, 0.1) !important;
315
+ padding: 2px 6px !important;
316
+ border-radius: 4px !important;
317
+ font-weight: 600 !important;
318
+ font-size: 0.85rem !important;
319
+ margin: 2px !important;
320
+ display: inline-block !important;
321
+ }
322
+
323
+ .keyword-code.special {
324
+ color: #cbd5e1 !important;
325
+ background: rgba(255, 255, 255, 0.05) !important;
326
+ }
327
+
328
+ /* ============================================================
329
+ Empty State prediction card
330
+ ============================================================ */
331
+ .prediction-card.empty {
332
+ background: rgba(15, 23, 42, 0.45) !important;
333
+ border: 1px dashed rgba(255, 255, 255, 0.15) !important;
334
+ border-radius: 16px !important;
335
+ padding: 40px 24px !important;
336
+ text-align: center !important;
337
+ color: #94a3b8 !important;
338
+ margin-top: 10px !important;
339
+ }
340
+
341
+ .empty-emoji {
342
+ font-size: 3.5rem !important;
343
+ margin-bottom: 16px !important;
344
+ animation: pulse 2s infinite !important;
345
+ }
346
+
347
+ .empty-title {
348
+ font-size: 1.1rem !important;
349
+ font-weight: 600 !important;
350
+ color: #e2e8f0 !important;
351
+ margin: 0 0 8px 0 !important;
352
+ }
353
+
354
+ .empty-subtitle {
355
+ font-size: 0.85rem !important;
356
+ color: #64748b !important;
357
+ margin: 0 !important;
358
+ }
359
+
360
+ /* ============================================================
361
+ Confidence color modes for prediction card
362
+ ============================================================ */
363
+ .prediction-card {
364
+ background: rgba(15, 23, 42, 0.6) !important;
365
+ border: 1px solid transparent !important;
366
+ border-radius: 16px !important;
367
+ padding: 24px !important;
368
+ margin-top: 10px !important;
369
+ color: #f8fafc !important;
370
+ animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
371
+ }
372
+
373
+ /* High Confidence Mode (>70%) */
374
+ .prediction-card.conf-high {
375
+ border-color: rgba(16, 185, 129, 0.4) !important;
376
+ box-shadow: 0 8px 32px 0 rgba(16, 185, 129, 0.15) !important;
377
+ }
378
+
379
+ .prediction-card.conf-high .card-badge {
380
+ background: rgba(16, 185, 129, 0.2) !important;
381
+ color: #34d399 !important;
382
+ }
383
+
384
+ .prediction-card.conf-high .card-conf-value {
385
+ color: #34d399 !important;
386
+ }
387
+
388
+ /* Medium Confidence Mode (>30%) */
389
+ .prediction-card.conf-medium {
390
+ border-color: rgba(99, 102, 241, 0.4) !important;
391
+ box-shadow: 0 8px 32px 0 rgba(99, 102, 241, 0.15) !important;
392
+ }
393
+
394
+ .prediction-card.conf-medium .card-badge {
395
+ background: rgba(99, 102, 241, 0.2) !important;
396
+ color: #818cf8 !important;
397
+ }
398
+
399
+ .prediction-card.conf-medium .card-conf-value {
400
+ color: #818cf8 !important;
401
+ }
402
+
403
+ /* Low Confidence Mode (<=30%) */
404
+ .prediction-card.conf-low {
405
+ border-color: rgba(148, 163, 184, 0.3) !important;
406
+ box-shadow: 0 8px 32px 0 rgba(148, 163, 184, 0.1) !important;
407
+ }
408
+
409
+ .prediction-card.conf-low .card-badge {
410
+ background: rgba(148, 163, 184, 0.15) !important;
411
+ color: #cbd5e1 !important;
412
+ }
413
+
414
+ .prediction-card.conf-low .card-conf-value {
415
+ color: #cbd5e1 !important;
416
+ }
417
+
418
+ /* ============================================================
419
+ Prediction Card layout components
420
+ ============================================================ */
421
+ .card-header {
422
+ display: flex !important;
423
+ justify-content: space-between !important;
424
+ align-items: flex-start !important;
425
+ margin-bottom: 20px !important;
426
+ border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
427
+ padding-bottom: 16px !important;
428
+ }
429
+
430
+ .card-badge {
431
+ padding: 4px 10px !important;
432
+ border-radius: 20px !important;
433
+ font-size: 0.75rem !important;
434
+ font-weight: 700 !important;
435
+ letter-spacing: 0.05em !important;
436
+ text-transform: uppercase !important;
437
+ }
438
+
439
+ .card-title {
440
+ font-size: 2.6rem !important;
441
+ margin: 8px 0 0 0 !important;
442
+ font-weight: 800 !important;
443
+ letter-spacing: -0.03em !important;
444
+ display: flex !important;
445
+ align-items: center !important;
446
+ gap: 12px !important;
447
+ }
448
+
449
+ .card-title-emoji {
450
+ font-size: 2.3rem !important;
451
+ line-height: 1 !important;
452
+ }
453
+
454
+ .card-title-text {
455
+ background: linear-gradient(135deg, #ffffff, #94a3b8) !important;
456
+ -webkit-background-clip: text !important;
457
+ -webkit-text-fill-color: transparent !important;
458
+ text-transform: uppercase !important;
459
+ }
460
+
461
+ .card-conf-value {
462
+ font-size: 2.4rem !important;
463
+ font-weight: 900 !important;
464
+ font-family: monospace !important;
465
+ line-height: 1.1 !important;
466
+ }
467
+
468
+ .card-conf-label {
469
+ font-size: 0.8rem !important;
470
+ color: #94a3b8 !important;
471
+ font-weight: 500 !important;
472
+ margin-top: 4px !important;
473
+ }
474
+
475
+ .card-alts {
476
+ margin-bottom: 24px !important;
477
+ }
478
+
479
+ .card-alts-header {
480
+ font-size: 0.85rem !important;
481
+ color: #64748b !important;
482
+ font-weight: 700 !important;
483
+ text-transform: uppercase !important;
484
+ letter-spacing: 0.05em !important;
485
+ margin-bottom: 14px !important;
486
+ }
487
+
488
+ .alt-row {
489
+ margin-bottom: 14px !important;
490
+ display: flex !important;
491
+ align-items: center !important;
492
+ justify-content: space-between !important;
493
+ font-size: 0.95rem !important;
494
+ }
495
+
496
+ .alt-label {
497
+ width: 100px !important;
498
+ font-weight: 600 !important;
499
+ text-transform: uppercase !important;
500
+ color: #cbd5e1 !important;
501
+ display: flex !important;
502
+ align-items: center !important;
503
+ gap: 8px !important;
504
+ }
505
+
506
+ .alt-label-emoji {
507
+ font-size: 1.1rem !important;
508
+ line-height: 1 !important;
509
+ }
510
+
511
+ .alt-bar-outer {
512
+ flex-grow: 1 !important;
513
+ height: 10px !important;
514
+ background: rgba(255, 255, 255, 0.08) !important;
515
+ border-radius: 5px !important;
516
+ margin: 0 16px !important;
517
+ overflow: hidden !important;
518
+ }
519
+
520
+ .alt-bar-inner {
521
+ height: 100% !important;
522
+ border-radius: 5px !important;
523
+ transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
524
+ }
525
+
526
+ .bar-high {
527
+ background: linear-gradient(90deg, #10b981, #059669) !important;
528
+ }
529
+
530
+ .bar-med {
531
+ background: linear-gradient(90deg, #6366f1, #4f46e5) !important;
532
+ }
533
+
534
+ .bar-low {
535
+ background: linear-gradient(90deg, #6b7280, #4b5563) !important;
536
+ }
537
+
538
+ .alt-pct {
539
+ width: 55px !important;
540
+ text-align: right !important;
541
+ font-weight: 700 !important;
542
+ font-family: monospace !important;
543
+ color: #f1f5f9 !important;
544
+ }
545
+
546
+ .card-conf-container {
547
+ text-align: right !important;
548
+ }
549
+
550
+ .card-footer {
551
+ display: flex !important;
552
+ justify-content: space-between !important;
553
+ font-size: 0.8rem !important;
554
+ color: #64748b !important;
555
+ border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
556
+ padding-top: 12px !important;
557
+ }
558
+
559
+ .card-footer strong {
560
+ color: #94a3b8 !important;
561
+ }
562
+
563
+ @keyframes fadeIn {
564
+ from { opacity: 0; transform: translateY(10px); }
565
+ to { opacity: 1; transform: translateY(0); }
566
+ }
567
+
568
+ /* ============================================================
569
+ App Initialization Loader Overlay
570
+ ============================================================ */
571
+ .app-loader-overlay {
572
+ position: fixed !important;
573
+ top: 0 !important;
574
+ left: 0 !important;
575
+ width: 100vw !important;
576
+ height: 100vh !important;
577
+ background: radial-gradient(circle at top, #1e1b4b 0%, #020617 100%) !important;
578
+ z-index: 99999 !important; /* Extremely high z-index to cover all components */
579
+ display: flex !important;
580
+ justify-content: center !important;
581
+ align-items: center !important;
582
+ transition: opacity 0.5s ease, visibility 0.5s ease !important;
583
+ opacity: 1;
584
+ visibility: visible;
585
+ }
586
+
587
+ .loader-content {
588
+ text-align: center !important;
589
+ color: #ffffff !important;
590
+ padding: 20px !important;
591
+ }
592
+
593
+ .loader-spinner {
594
+ width: 60px !important;
595
+ height: 60px !important;
596
+ border: 4px solid rgba(255, 255, 255, 0.1) !important;
597
+ border-top: 4px solid #7c3aed !important;
598
+ border-radius: 50% !important;
599
+ margin: 0 auto 20px auto !important;
600
+ animation: spin 1s linear infinite !important;
601
+ }
602
+
603
+ .loader-title {
604
+ font-size: 1.8rem !important;
605
+ font-weight: 800 !important;
606
+ background: linear-gradient(135deg, #ffffff, #a78bfa) !important;
607
+ -webkit-background-clip: text !important;
608
+ -webkit-text-fill-color: transparent !important;
609
+ margin-bottom: 8px !important;
610
+ }
611
+
612
+ .loader-desc {
613
+ color: #94a3b8 !important;
614
+ font-size: 0.95rem !important;
615
+ margin-bottom: 16px !important;
616
+ }
617
+
618
+ .loader-countdown {
619
+ font-size: 1.1rem !important;
620
+ font-weight: 600 !important;
621
+ color: #818cf8 !important;
622
+ }
623
+
624
+ @keyframes spin {
625
+ 0% { transform: rotate(0deg); }
626
+ 100% { transform: rotate(360deg); }
627
+ }
628
+
629
+ /* ============================================================
630
+ Inference & Warmup Loading State styles
631
+ ============================================================ */
632
+ .loading-state {
633
+ border-color: rgba(99, 102, 241, 0.45) !important;
634
+ box-shadow: 0 8px 32px 0 rgba(99, 102, 241, 0.2) !important;
635
+ background: rgba(15, 23, 42, 0.75) !important;
636
+ }
637
+
638
+ .countdown-seconds {
639
+ font-size: 1.25rem !important;
640
+ font-weight: 800 !important;
641
+ font-family: monospace !important;
642
+ color: #f43f5e !important; /* Rose/Red accent for countdown */
643
+ text-shadow: 0 0 10px rgba(244, 63, 94, 0.3) !important;
644
+ margin: 0 4px !important;
645
+ }
646
+
647
+ /* ============================================================
648
+ Shooting Star Background Effect
649
+ ============================================================ */
650
+ .shooting-stars-container {
651
+ position: fixed !important;
652
+ top: 0 !important;
653
+ left: 0 !important;
654
+ width: 100vw !important;
655
+ height: 100vh !important;
656
+ pointer-events: none !important;
657
+ z-index: 1 !important; /* Behind glass panels, but in front of body background */
658
+ overflow: hidden !important;
659
+ }
660
+
661
+ .shooting-star {
662
+ position: absolute !important;
663
+ width: 150px !important;
664
+ height: 2px !important;
665
+ background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(167, 139, 250, 0.4), rgba(0, 0, 0, 0)) !important;
666
+ filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.8)) !important;
667
+ opacity: 0;
668
+ pointer-events: none !important;
669
+ }
670
+
671
+ @keyframes shoot1 {
672
+ 0% { transform: translate(-200px, -200px) rotate(35deg); opacity: 0; }
673
+ 2% { opacity: 1; }
674
+ 18% { transform: translate(1200px, 700px) rotate(35deg); opacity: 0; }
675
+ 100% { transform: translate(1200px, 700px) rotate(35deg); opacity: 0; }
676
+ }
677
+
678
+ @keyframes shoot2 {
679
+ 0% { transform: translate(-200px, -200px) rotate(30deg); opacity: 0; }
680
+ 2% { opacity: 1; }
681
+ 15% { transform: translate(1400px, 800px) rotate(30deg); opacity: 0; }
682
+ 100% { transform: translate(1400px, 800px) rotate(30deg); opacity: 0; }
683
+ }
684
+
685
+ .shooting-star-1 {
686
+ top: 5% !important;
687
+ left: 10% !important;
688
+ animation: shoot1 12s linear infinite !important;
689
+ animation-delay: 1s !important;
690
+ }
691
+
692
+ .shooting-star-2 {
693
+ top: 15% !important;
694
+ left: 35% !important;
695
+ animation: shoot2 15s linear infinite !important;
696
+ animation-delay: 4s !important;
697
+ }
698
+
699
+ .shooting-star-3 {
700
+ top: 0% !important;
701
+ left: 60% !important;
702
+ animation: shoot1 11s linear infinite !important;
703
+ animation-delay: 7s !important;
704
+ }
705
+
706
+ .shooting-star-4 {
707
+ top: 25% !important;
708
+ left: 2% !important;
709
+ animation: shoot2 18s linear infinite !important;
710
+ animation-delay: 10s !important;
711
+ }
712
+
713
+ /* ============================================================
714
+ Responsive Styles for Mobile Devices
715
+ ============================================================ */
716
+ @media (max-width: 768px) {
717
+ /* Reduce page container padding */
718
+ .gradio-container {
719
+ padding: 15px 10px !important;
720
+ }
721
+
722
+ /* Reduce card padding to save screen space */
723
+ .glass-panel, .prediction-card {
724
+ padding: 16px !important;
725
+ margin-bottom: 12px !important;
726
+ }
727
+
728
+ /* Adjust Header Banner for smaller viewports */
729
+ .header-banner {
730
+ padding: 20px 12px !important;
731
+ margin-bottom: 16px !important;
732
+ }
733
+
734
+ /* Scale down the title text sizes & allow wrapping */
735
+ h1.header-title {
736
+ font-size: 1.8rem !important;
737
+ gap: 10px !important;
738
+ flex-wrap: wrap !important;
739
+ }
740
+
741
+ .header-emoji {
742
+ font-size: 1.8rem !important;
743
+ }
744
+
745
+ .header-subtitle {
746
+ font-size: 0.95rem !important;
747
+ line-height: 1.4 !important;
748
+ }
749
+
750
+ /* Smaller badges with tighter gaps */
751
+ .header-badges {
752
+ gap: 8px !important;
753
+ margin-top: 12px !important;
754
+ }
755
+
756
+ .header-badge {
757
+ padding: 4px 10px !important;
758
+ font-size: 0.72rem !important;
759
+ }
760
+
761
+ /* Technical Info Box tweaks */
762
+ .info-box {
763
+ padding: 12px !important;
764
+ font-size: 0.85rem !important;
765
+ margin-bottom: 16px !important;
766
+ }
767
+
768
+ /* Reflow the prediction card header vertically to prevent overlap */
769
+ .card-header {
770
+ flex-direction: column !important;
771
+ align-items: flex-start !important;
772
+ gap: 12px !important;
773
+ padding-bottom: 12px !important;
774
+ }
775
+
776
+ .card-title {
777
+ font-size: 2.0rem !important;
778
+ gap: 8px !important;
779
+ }
780
+
781
+ .card-title-emoji {
782
+ font-size: 1.8rem !important;
783
+ }
784
+
785
+ .card-conf-container {
786
+ text-align: left !important;
787
+ width: 100% !important;
788
+ }
789
+
790
+ .card-conf-value {
791
+ font-size: 2.0rem !important;
792
+ }
793
+
794
+ .card-conf-label {
795
+ margin-top: 2px !important;
796
+ }
797
+
798
+ /* Detailed probability bars adjustment */
799
+ .alt-row {
800
+ font-size: 0.88rem !important;
801
+ margin-bottom: 10px !important;
802
+ }
803
+
804
+ .alt-label {
805
+ width: 80px !important;
806
+ font-size: 0.85rem !important;
807
+ }
808
+
809
+ .alt-bar-outer {
810
+ margin: 0 10px !important;
811
+ height: 8px !important;
812
+ }
813
+
814
+ .alt-pct {
815
+ width: 45px !important;
816
+ font-size: 0.88rem !important;
817
+ }
818
+
819
+ /* Footer text size */
820
+ .footer-box {
821
+ margin-top: 20px !important;
822
+ padding: 12px !important;
823
+ font-size: 0.78rem !important;
824
+ }
825
+ }