HyperMehfin commited on
Commit
7ee4a9e
·
verified ·
1 Parent(s): 3075a1b

Upload 2 files

Browse files
Files changed (2) hide show
  1. static/admin.css +227 -0
  2. static/index.css +618 -0
static/admin.css ADDED
@@ -0,0 +1,227 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Admin Dashboard Styles */
2
+ .container {
3
+ max-width: 1200px;
4
+ margin: 0 auto;
5
+ padding: 1rem;
6
+ }
7
+
8
+ .bg-gray-50 {
9
+ background-color: #f9fafb;
10
+ }
11
+
12
+ .bg-white {
13
+ background-color: #ffffff;
14
+ }
15
+
16
+ .text-3xl {
17
+ font-size: 1.875rem;
18
+ line-height: 2.25rem;
19
+ }
20
+
21
+ .text-xl {
22
+ font-size: 1.25rem;
23
+ line-height: 1.75rem;
24
+ }
25
+
26
+ .font-bold {
27
+ font-weight: 700;
28
+ }
29
+
30
+ .font-semibold {
31
+ font-weight: 600;
32
+ }
33
+
34
+ .text-gray-900 {
35
+ color: #111827;
36
+ }
37
+
38
+ .text-gray-800 {
39
+ color: #1f2937;
40
+ }
41
+
42
+ .text-gray-600 {
43
+ color: #4b5563;
44
+ }
45
+
46
+ .text-gray-500 {
47
+ color: #6b7280;
48
+ }
49
+
50
+ .mt-2 {
51
+ margin-top: 0.5rem;
52
+ }
53
+
54
+ .mb-8 {
55
+ margin-bottom: 2rem;
56
+ }
57
+
58
+ .mb-4 {
59
+ margin-bottom: 1rem;
60
+ }
61
+
62
+ .p-6 {
63
+ padding: 1.5rem;
64
+ }
65
+
66
+ .px-4 {
67
+ padding-left: 1rem;
68
+ padding-right: 1rem;
69
+ }
70
+
71
+ .py-8 {
72
+ padding-top: 2rem;
73
+ padding-bottom: 2rem;
74
+ }
75
+
76
+ .rounded-lg {
77
+ border-radius: 0.5rem;
78
+ }
79
+
80
+ .shadow-md {
81
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
82
+ }
83
+
84
+ .space-y-4 > * + * {
85
+ margin-top: 1rem;
86
+ }
87
+
88
+ .hidden {
89
+ display: none;
90
+ }
91
+
92
+ .flex {
93
+ display: flex;
94
+ }
95
+
96
+ .justify-between {
97
+ justify-content: space-between;
98
+ }
99
+
100
+ .items-center {
101
+ align-items: center;
102
+ }
103
+
104
+ .justify-end {
105
+ justify-content: flex-end;
106
+ }
107
+
108
+ .space-x-2 > * + * {
109
+ margin-left: 0.5rem;
110
+ }
111
+
112
+ /* Button Styles */
113
+ .bg-blue-600 {
114
+ background-color: #2563eb;
115
+ }
116
+
117
+ .hover\:bg-blue-700:hover {
118
+ background-color: #1d4ed8;
119
+ }
120
+
121
+ .text-white {
122
+ color: #ffffff;
123
+ }
124
+
125
+ .px-4 {
126
+ padding-left: 1rem;
127
+ padding-right: 1rem;
128
+ }
129
+
130
+ .py-2 {
131
+ padding-top: 0.5rem;
132
+ padding-bottom: 0.5rem;
133
+ }
134
+
135
+ .rounded-md {
136
+ border-radius: 0.375rem;
137
+ }
138
+
139
+ .transition-colors {
140
+ transition-property: background-color, border-color, color, fill, stroke;
141
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
142
+ transition-duration: 150ms;
143
+ }
144
+
145
+ /* Upload Area Styles */
146
+ .upload-area {
147
+ border: 2px dashed #4a5568;
148
+ border-radius: 0.5rem;
149
+ padding: 2rem;
150
+ text-align: center;
151
+ cursor: pointer;
152
+ transition: all 0.3s ease;
153
+ }
154
+
155
+ .upload-area:hover {
156
+ border-color: #2d3748;
157
+ background-color: #f7fafc;
158
+ }
159
+
160
+ /* Progress Bar Styles */
161
+ .progress-bar {
162
+ width: 100%;
163
+ background-color: #edf2f7;
164
+ border-radius: 9999px;
165
+ overflow: hidden;
166
+ }
167
+
168
+ .progress-bar-fill {
169
+ height: 0.5rem;
170
+ background-color: #4299e1;
171
+ transition: width 0.3s ease;
172
+ }
173
+
174
+ /* Dataset Item Styles */
175
+ .dataset-item {
176
+ border: 1px solid #e2e8f0;
177
+ border-radius: 0.375rem;
178
+ padding: 1rem;
179
+ margin-bottom: 1rem;
180
+ transition: all 0.2s ease;
181
+ }
182
+
183
+ .dataset-item:hover {
184
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
185
+ }
186
+
187
+ /* Text Styles */
188
+ .text-sm {
189
+ font-size: 0.875rem;
190
+ line-height: 1.25rem;
191
+ }
192
+
193
+ .text-xs {
194
+ font-size: 0.75rem;
195
+ line-height: 1rem;
196
+ }
197
+
198
+ .text-blue-600 {
199
+ color: #2563eb;
200
+ }
201
+
202
+ .hover\:text-blue-800:hover {
203
+ color: #1e40af;
204
+ }
205
+
206
+ .text-red-600 {
207
+ color: #dc2626;
208
+ }
209
+
210
+ .hover\:text-red-800:hover {
211
+ color: #991b1b;
212
+ }
213
+
214
+ /* Responsive Design */
215
+ @media (max-width: 640px) {
216
+ .container {
217
+ padding: 0.5rem;
218
+ }
219
+
220
+ .text-3xl {
221
+ font-size: 1.5rem;
222
+ }
223
+
224
+ .p-6 {
225
+ padding: 1rem;
226
+ }
227
+ }
static/index.css ADDED
@@ -0,0 +1,618 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body {
2
+ margin: 0;
3
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
4
+ 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
5
+ sans-serif;
6
+ -webkit-font-smoothing: antialiased;
7
+ -moz-osx-font-smoothing: grayscale;
8
+ /* background: linear-gradient(135deg, #0a192f 0%, #1e293b 100%); */
9
+ background: linear-gradient(135deg, #111d40 0%, #0a0d30 100%);
10
+ color: white;
11
+ min-height: 100vh;
12
+ }
13
+
14
+ code {
15
+ font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
16
+ monospace;
17
+ }
18
+
19
+ #root {
20
+ min-height: 100vh;
21
+ display: flex;
22
+ flex-direction: column;
23
+ }
24
+
25
+ /* Navigation */
26
+ .navbar {
27
+ background: rgba(26, 26, 26, 0.95);
28
+ padding: 1rem;
29
+ display: flex;
30
+ justify-content: space-between;
31
+ align-items: center;
32
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
33
+ position: sticky;
34
+ top: 0;
35
+ z-index: 1000;
36
+ backdrop-filter: blur(10px);
37
+ -webkit-backdrop-filter: blur(10px);
38
+ border-bottom: 1px solid rgba(100, 255, 218, 0.1);
39
+ }
40
+
41
+ .navbar-brand {
42
+ color: #64ffda;
43
+ font-size: 1.5rem;
44
+ font-weight: bold;
45
+ text-decoration: none;
46
+ transition: color 0.3s ease;
47
+ }
48
+
49
+ .navbar-brand:hover {
50
+ color: #4cd6b3;
51
+ }
52
+
53
+ .navbar-nav {
54
+ display: flex;
55
+ gap: 1rem;
56
+ align-items: center;
57
+ }
58
+
59
+ .nav-link {
60
+ color: #fff;
61
+ text-decoration: none;
62
+ padding: 0.5rem 1rem;
63
+ border-radius: 4px;
64
+ transition: all 0.3s ease;
65
+ }
66
+
67
+ .nav-link:hover {
68
+ background: rgba(100, 255, 218, 0.1);
69
+ color: #64ffda;
70
+ }
71
+
72
+ .nav-link.active {
73
+ background: rgba(100, 255, 218, 0.1);
74
+ color: #64ffda;
75
+ }
76
+
77
+ .nav-link.highlight {
78
+ background: #64ffda;
79
+ color: #1a1a1a;
80
+ }
81
+
82
+ .nav-link.highlight:hover {
83
+ background: #4cd6b3;
84
+ }
85
+
86
+ /* Content */
87
+ .content {
88
+ padding: 2rem;
89
+ max-width: 1200px;
90
+ margin: 0 auto;
91
+ animation: fadeIn 0.5s ease-in-out;
92
+ }
93
+
94
+ @keyframes fadeIn {
95
+ from {
96
+ opacity: 0;
97
+ transform: translateY(20px);
98
+ }
99
+ to {
100
+ opacity: 1;
101
+ transform: translateY(0);
102
+ }
103
+ }
104
+
105
+ .heading {
106
+ color: #64ffda;
107
+ font-size: clamp(2rem, 4vw, 3.5rem);
108
+ text-align: center;
109
+ margin-bottom: 2rem;
110
+ text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
111
+ }
112
+
113
+ .para {
114
+ color: #8892b0;
115
+ font-size: clamp(1rem, 1.5vw, 1.25rem);
116
+ line-height: 1.6;
117
+ text-align: center;
118
+ max-width: 800px;
119
+ margin: 0 auto 3rem;
120
+ }
121
+
122
+ /* Upload Section */
123
+ .upload-section {
124
+ margin: 2rem 0;
125
+ background: rgba(17, 34, 64, 0.3);
126
+ border-radius: 12px;
127
+ border: 1px solid rgba(100, 255, 218, 0.1);
128
+ padding: 2rem;
129
+ }
130
+
131
+ .upload-container {
132
+ display: flex;
133
+ flex-direction: column;
134
+ align-items: center;
135
+ gap: 2rem;
136
+ padding: 2rem;
137
+ }
138
+
139
+ .file-input-wrapper {
140
+ position: relative;
141
+ width: 100%;
142
+ max-width: 400px;
143
+ }
144
+
145
+ .file-input-wrapper input[type="file"] {
146
+ position: absolute;
147
+ left: 0;
148
+ top: 0;
149
+ opacity: 0;
150
+ width: 100%;
151
+ height: 100%;
152
+ cursor: pointer;
153
+ }
154
+
155
+ .file-label {
156
+ display: block;
157
+ padding: 1.5rem 2.5rem;
158
+ background: rgba(100, 255, 218, 0.1);
159
+ border: 2px dashed #64ffda;
160
+ border-radius: 12px;
161
+ text-align: center;
162
+ color: #64ffda;
163
+ cursor: pointer;
164
+ transition: all 0.3s ease;
165
+ font-weight: 500;
166
+ }
167
+
168
+ .file-label:hover {
169
+ background: rgba(100, 255, 218, 0.2);
170
+ transform: translateY(-2px);
171
+ box-shadow: 0 4px 12px rgba(100, 255, 218, 0.2);
172
+ }
173
+
174
+ .upload-info {
175
+ text-align: center;
176
+ color: #8892b0;
177
+ font-size: 0.9rem;
178
+ margin-top: 1rem;
179
+ padding: 0.5rem 1rem;
180
+ background: rgba(17, 34, 64, 0.3);
181
+ border-radius: 4px;
182
+ }
183
+
184
+ /* Results Section */
185
+ .result-container {
186
+ background: rgba(17, 34, 64, 0.5);
187
+ border: 1px solid rgba(100, 255, 218, 0.1);
188
+ border-radius: 12px;
189
+ padding: 3rem;
190
+ margin: 3rem 0;
191
+ text-align: center;
192
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
193
+ }
194
+
195
+ .result-content {
196
+ display: grid;
197
+ grid-template-columns: 1fr 1fr;
198
+ gap: 3rem;
199
+ align-items: center;
200
+ max-width: 1000px;
201
+ margin: 0 auto;
202
+ }
203
+
204
+ .result-text-container {
205
+ display: flex;
206
+ flex-direction: column;
207
+ align-items: center;
208
+ justify-content: center;
209
+ padding: 2rem;
210
+ background: rgba(17, 34, 64, 0.7);
211
+ border-radius: 12px;
212
+ border: 1px solid rgba(100, 255, 218, 0.1);
213
+ }
214
+
215
+ .result-heading {
216
+ color: #64ffda;
217
+ font-size: 2rem;
218
+ margin-bottom: 2rem;
219
+ text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
220
+ }
221
+
222
+ .result-text {
223
+ font-size: 4rem;
224
+ font-weight: bold;
225
+ margin: 1rem 0;
226
+ transition: all 0.3s ease;
227
+ text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
228
+ letter-spacing: 2px;
229
+ }
230
+
231
+ .result-text.fake {
232
+ color: #ff4d4d;
233
+ text-shadow: 0 0 20px rgba(255, 77, 77, 0.3);
234
+ }
235
+
236
+ .result-text.real {
237
+ color: #4dff4d;
238
+ text-shadow: 0 0 20px rgba(77, 255, 77, 0.3);
239
+ }
240
+
241
+ .confidence-text {
242
+ color: #8892b0;
243
+ font-size: 1.5rem;
244
+ margin-top: 1rem;
245
+ font-weight: 500;
246
+ }
247
+
248
+ .analysis-graph {
249
+ width: 100%;
250
+ height: 100%;
251
+ min-height: 300px;
252
+ display: flex;
253
+ align-items: center;
254
+ justify-content: center;
255
+ background: rgba(17, 34, 64, 0.3);
256
+ border-radius: 12px;
257
+ padding: .5rem;
258
+ border: 1px solid rgba(100, 255, 218, 0.1);
259
+ }
260
+
261
+ .analysis-graph img {
262
+ width: 100%;
263
+ height: auto;
264
+ max-height: 400px;
265
+ object-fit: contain;
266
+ border-radius: 8px;
267
+ }
268
+
269
+ /* Comparison Section */
270
+ .comparison-section {
271
+ margin: 3rem 0;
272
+ padding: 2rem;
273
+ background: rgba(17, 34, 64, 0.3);
274
+ border-radius: 12px;
275
+ border: 1px solid rgba(100, 255, 218, 0.1);
276
+ }
277
+
278
+ .comparison-description {
279
+ color: #8892b0;
280
+ text-align: center;
281
+ margin: 1rem 0 2rem;
282
+ font-size: 1.1rem;
283
+ }
284
+
285
+ .comparison-graph {
286
+ width: 100%;
287
+ max-width: 800px;
288
+ margin: 0 auto;
289
+ background: rgba(17, 34, 64, 0.3);
290
+ border-radius: 12px;
291
+ padding: 1.5rem;
292
+ border: 1px solid rgba(100, 255, 218, 0.1);
293
+ }
294
+
295
+ .comparison-graph img {
296
+ width: 100%;
297
+ height: auto;
298
+ border-radius: 8px;
299
+ }
300
+
301
+ /* Analysis Details */
302
+ .analysis-details {
303
+ margin: 3rem 0;
304
+ padding: 2rem;
305
+ background: rgba(17, 34, 64, 0.3);
306
+ border-radius: 12px;
307
+ border: 1px solid rgba(100, 255, 218, 0.1);
308
+ }
309
+
310
+ .details-grid {
311
+ display: grid;
312
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
313
+ gap: 2rem;
314
+ margin-top: 2rem;
315
+ }
316
+
317
+ .detail-item {
318
+ background: rgba(17, 34, 64, 0.5);
319
+ border: 1px solid rgba(100, 255, 218, 0.1);
320
+ border-radius: 12px;
321
+ padding: 2rem;
322
+ text-align: center;
323
+ transition: all 0.3s ease;
324
+ }
325
+
326
+ .detail-item:hover {
327
+ transform: translateY(-5px);
328
+ box-shadow: 0 8px 24px rgba(100, 255, 218, 0.1);
329
+ border-color: rgba(100, 255, 218, 0.3);
330
+ }
331
+
332
+ .detail-label {
333
+ display: block;
334
+ color: #64ffda;
335
+ font-size: 1rem;
336
+ margin-bottom: 1rem;
337
+ text-transform: uppercase;
338
+ letter-spacing: 1px;
339
+ }
340
+
341
+ .detail-value {
342
+ font-size: 2rem;
343
+ font-weight: 700;
344
+ color: #fff;
345
+ text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
346
+ }
347
+
348
+ /* Frames Grid */
349
+ .frames-section {
350
+ margin: 3rem 0;
351
+ }
352
+
353
+ .section-heading {
354
+ color: #64ffda;
355
+ font-size: 2rem;
356
+ margin-bottom: 1rem;
357
+ text-align: center;
358
+ text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
359
+ }
360
+
361
+ .frames-description {
362
+ color: #8892b0;
363
+ text-align: center;
364
+ margin-bottom: 2rem;
365
+ font-size: 1.1rem;
366
+ }
367
+
368
+ .frames-container {
369
+ display: grid;
370
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
371
+ gap: 2rem;
372
+ padding: 1rem;
373
+ }
374
+
375
+ .frame-item {
376
+ position: relative;
377
+ background: rgba(17, 34, 64, 0.5);
378
+ border: 1px solid rgba(100, 255, 218, 0.1);
379
+ border-radius: 12px;
380
+ overflow: hidden;
381
+ transition: all 0.3s ease;
382
+ cursor: pointer;
383
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
384
+ }
385
+
386
+ .frame-item:hover {
387
+ transform: scale(1.03);
388
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
389
+ border-color: rgba(100, 255, 218, 0.3);
390
+ }
391
+
392
+ .frame-item img {
393
+ width: 100%;
394
+ height: 250px;
395
+ object-fit: cover;
396
+ display: block;
397
+ transition: all 0.3s ease;
398
+ }
399
+
400
+ .frame-info {
401
+ position: absolute;
402
+ bottom: 0;
403
+ left: 0;
404
+ right: 0;
405
+ padding: 1rem;
406
+ background: rgba(17, 34, 64, 0.9);
407
+ backdrop-filter: blur(4px);
408
+ transform: translateY(100%);
409
+ transition: transform 0.3s ease;
410
+ }
411
+
412
+ .frame-item:hover .frame-info {
413
+ transform: translateY(0);
414
+ }
415
+
416
+ .frame-number {
417
+ color: #64ffda;
418
+ font-weight: 600;
419
+ margin: 0;
420
+ font-size: 1rem;
421
+ }
422
+
423
+ /* Footer */
424
+ .footer {
425
+ margin-top: auto;
426
+ padding: 3rem 0;
427
+ background: rgba(10, 25, 47, 0.95);
428
+ border-top: 1px solid rgba(100, 255, 218, 0.1);
429
+ }
430
+
431
+ .footer-content {
432
+ max-width: 1200px;
433
+ margin: 0 auto;
434
+ padding: 0 2rem;
435
+ display: flex;
436
+ justify-content: space-between;
437
+ gap: 3rem;
438
+ }
439
+
440
+ .footer-section {
441
+ flex: 1;
442
+ }
443
+
444
+ .footer-section h3 {
445
+ color: #64ffda;
446
+ margin-bottom: 1.5rem;
447
+ font-size: 1.25rem;
448
+ }
449
+
450
+ .footer-section p {
451
+ color: #8892b0;
452
+ line-height: 1.6;
453
+ }
454
+
455
+ .footer-link {
456
+ color: #8892b0;
457
+ text-decoration: none;
458
+ display: block;
459
+ margin: 0.75rem 0;
460
+ transition: all 0.3s ease;
461
+ padding: 0.5rem 0;
462
+ }
463
+
464
+ .footer-link:hover {
465
+ color: #64ffda;
466
+ transform: translateX(5px);
467
+ }
468
+
469
+ /* Loading States */
470
+ .loading-container {
471
+ display: none;
472
+ flex-direction: column;
473
+ align-items: center;
474
+ gap: 1.5rem;
475
+ margin: 2rem 0;
476
+ }
477
+
478
+ .loading-spinner {
479
+ width: 50px;
480
+ height: 50px;
481
+ border: 3px solid rgba(100, 255, 218, 0.1);
482
+ border-top: 3px solid #64ffda;
483
+ border-radius: 50%;
484
+ animation: spin 1s linear infinite;
485
+ }
486
+
487
+ .loading-text {
488
+ color: #64ffda;
489
+ font-size: 1rem;
490
+ font-weight: 500;
491
+ }
492
+
493
+ @keyframes spin {
494
+ 0% { transform: rotate(0deg); }
495
+ 100% { transform: rotate(360deg); }
496
+ }
497
+
498
+ /* Error Message */
499
+ .error-message {
500
+ color: #ff4d4d;
501
+ background: rgba(255, 77, 77, 0.1);
502
+ border: 1px solid #ff4d4d;
503
+ padding: 1rem;
504
+ border-radius: 8px;
505
+ margin: 1rem 0;
506
+ text-align: center;
507
+ font-weight: 500;
508
+ }
509
+
510
+ /* Buttons */
511
+ .cta-button {
512
+ display: inline-block;
513
+ padding: 1rem 2.5rem;
514
+ background: #64ffda;
515
+ color: #1a1a1a;
516
+ text-decoration: none;
517
+ border-radius: 8px;
518
+ font-weight: 600;
519
+ font-size: 1.1rem;
520
+ transition: all 0.3s ease;
521
+ border: none;
522
+ cursor: pointer;
523
+ box-shadow: 0 4px 12px rgba(100, 255, 218, 0.2);
524
+ }
525
+
526
+ .cta-button:hover {
527
+ background: #4cd6b3;
528
+ transform: translateY(-2px);
529
+ box-shadow: 0 6px 16px rgba(100, 255, 218, 0.3);
530
+ }
531
+
532
+ .cta-button:disabled {
533
+ background: #4a5568;
534
+ cursor: not-allowed;
535
+ transform: none;
536
+ box-shadow: none;
537
+ }
538
+
539
+ /* Responsive Design */
540
+ @media (max-width: 768px) {
541
+ .navbar {
542
+ flex-direction: column;
543
+ padding: 1rem;
544
+ }
545
+
546
+ .navbar-nav {
547
+ flex-direction: column;
548
+ width: 100%;
549
+ gap: 0.75rem;
550
+ margin-top: 1rem;
551
+ }
552
+
553
+ .nav-link {
554
+ width: 100%;
555
+ text-align: center;
556
+ }
557
+
558
+ .content {
559
+ padding: 1rem;
560
+ }
561
+
562
+ .result-content {
563
+ grid-template-columns: 1fr;
564
+ gap: 2rem;
565
+ }
566
+
567
+ .result-text {
568
+ font-size: 3rem;
569
+ }
570
+
571
+ .confidence-text {
572
+ font-size: 1.25rem;
573
+ }
574
+
575
+ .analysis-graph {
576
+ min-height: 250px;
577
+ }
578
+
579
+ .footer-content {
580
+ flex-direction: column;
581
+ text-align: center;
582
+ gap: 2rem;
583
+ }
584
+
585
+ .frames-container {
586
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
587
+ gap: 1.5rem;
588
+ }
589
+
590
+ .frame-item img {
591
+ height: 200px;
592
+ }
593
+
594
+ .upload-container {
595
+ padding: 1rem;
596
+ }
597
+
598
+ .file-input-wrapper {
599
+ max-width: 100%;
600
+ }
601
+
602
+ .details-grid {
603
+ grid-template-columns: 1fr;
604
+ gap: 1.5rem;
605
+ }
606
+ }
607
+
608
+ /* Utility Classes */
609
+ .visually-hidden {
610
+ position: absolute;
611
+ width: 1px;
612
+ height: 1px;
613
+ padding: 0;
614
+ margin: -1px;
615
+ overflow: hidden;
616
+ clip: rect(0, 0, 0, 0);
617
+ border: 0;
618
+ }