Jagathratchagan commited on
Commit
08f6f8d
·
verified ·
1 Parent(s): d9c716c

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +1093 -19
index.html CHANGED
@@ -1,19 +1,1093 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>SecureID — Authentication System</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="preconnect" href="https://fonts.googleapis.com">
9
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
+ <link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
11
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
12
+
13
+ <script>
14
+ tailwind.config = {
15
+ theme: {
16
+ extend: {
17
+ fontFamily: {
18
+ sans: ['Inter', 'system-ui', 'sans-serif'],
19
+ display: ['Outfit', 'system-ui', 'sans-serif'],
20
+ mono: ['IBM Plex Mono', 'monospace'],
21
+ },
22
+ colors: {
23
+ ocean: {
24
+ 50: '#f0f9ff',
25
+ 100: '#e0f2fe',
26
+ 200: '#bae6fd',
27
+ 300: '#7dd3fc',
28
+ 400: '#38bdf8',
29
+ 500: '#0ea5e9',
30
+ 600: '#0284c7',
31
+ 700: '#0369a1',
32
+ 800: '#075985',
33
+ 900: '#0c4a6e',
34
+ 950: '#082f49',
35
+ }
36
+ },
37
+ animation: {
38
+ 'fade-in-up': 'fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards',
39
+ 'fade-in': 'fadeIn 0.5s ease-out forwards',
40
+ 'slide-in-right': 'slideInRight 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards',
41
+ 'slide-in-left': 'slideInLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards',
42
+ 'scale-in': 'scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards',
43
+ 'float': 'float 6s ease-in-out infinite',
44
+ 'pulse-glow': 'pulseGlow 2s ease-in-out infinite',
45
+ 'spin-slow': 'spin 20s linear infinite',
46
+ 'bounce-subtle': 'bounceSubtle 2s ease-in-out infinite',
47
+ 'bar-grow': 'barGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards',
48
+ 'type-cursor': 'typeCursor 0.8s step-end infinite',
49
+ 'shake': 'shake 0.5s cubic-bezier(.36,.07,.19,.97) both',
50
+ 'wave': 'wave 2s ease-in-out infinite',
51
+ },
52
+ keyframes: {
53
+ fadeInUp: {
54
+ '0%': { opacity: '0', transform: 'translateY(30px) scale(0.97)' },
55
+ '100%': { opacity: '1', transform: 'translateY(0) scale(1)' },
56
+ },
57
+ fadeIn: {
58
+ '0%': { opacity: '0' },
59
+ '100%': { opacity: '1' },
60
+ },
61
+ slideInRight: {
62
+ '0%': { opacity: '0', transform: 'translateX(40px)' },
63
+ '100%': { opacity: '1', transform: 'translateX(0)' },
64
+ },
65
+ slideInLeft: {
66
+ '0%': { opacity: '0', transform: 'translateX(-40px)' },
67
+ '100%': { opacity: '1', transform: 'translateX(0)' },
68
+ },
69
+ scaleIn: {
70
+ '0%': { opacity: '0', transform: 'scale(0.9)' },
71
+ '100%': { opacity: '1', transform: 'scale(1)' },
72
+ },
73
+ float: {
74
+ '0%, 100%': { transform: 'translateY(0px) rotate(0deg)' },
75
+ '33%': { transform: 'translateY(-12px) rotate(1deg)' },
76
+ '66%': { transform: 'translateY(6px) rotate(-1deg)' },
77
+ },
78
+ pulseGlow: {
79
+ '0%, 100%': { opacity: '0.4', transform: 'scale(1)' },
80
+ '50%': { opacity: '0.8', transform: 'scale(1.05)' },
81
+ },
82
+ bounceSubtle: {
83
+ '0%, 100%': { transform: 'translateY(0)' },
84
+ '50%': { transform: 'translateY(-4px)' },
85
+ },
86
+ barGrow: {
87
+ '0%': { width: '0%' },
88
+ },
89
+ shake: {
90
+ '10%, 90%': { transform: 'translate3d(-1px, 0, 0)' },
91
+ '20%, 80%': { transform: 'translate3d(2px, 0, 0)' },
92
+ '30%, 50%, 70%': { transform: 'translate3d(-4px, 0, 0)' },
93
+ '40%, 60%': { transform: 'translate3d(4px, 0, 0)' },
94
+ },
95
+ wave: {
96
+ '0%, 100%': { transform: 'scaleY(1)' },
97
+ '50%': { transform: 'scaleY(1.5)' },
98
+ },
99
+ }
100
+ }
101
+ }
102
+ }
103
+ </script>
104
+
105
+ <style>
106
+ :root {
107
+ --ocean-50: #f0f9ff;
108
+ --ocean-100: #e0f2fe;
109
+ --ocean-500: #0ea5e9;
110
+ --ocean-600: #0284c7;
111
+ --ocean-700: #0369a1;
112
+ --ocean-900: #0c4a6e;
113
+ --ocean-950: #082f49;
114
+ --success: #10b981;
115
+ --error: #ef4444;
116
+ --warning: #f59e0b;
117
+ }
118
+
119
+ * { margin: 0; padding: 0; box-sizing: border-box; }
120
+
121
+ html {
122
+ scroll-behavior: smooth;
123
+ -webkit-font-smoothing: antialiased;
124
+ -moz-osx-font-smoothing: grayscale;
125
+ }
126
+
127
+ body {
128
+ font-family: 'Inter', system-ui, sans-serif;
129
+ background: #f8fafc;
130
+ min-height: 100vh;
131
+ color: #0f172a;
132
+ overflow-x: hidden;
133
+ }
134
+
135
+ /* Custom scrollbar */
136
+ ::-webkit-scrollbar { width: 7px; height: 7px; }
137
+ ::-webkit-scrollbar-track { background: transparent; }
138
+ ::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 10px; }
139
+ ::-webkit-scrollbar-thumb:hover { background: #64748b; }
140
+
141
+ /* Login page mesh gradient background */
142
+ .auth-bg {
143
+ background:
144
+ radial-gradient(ellipse 80% 60% at 10% 20%, rgba(14,165,233,0.12) 0%, transparent 70%),
145
+ radial-gradient(ellipse 60% 50% at 80% 80%, rgba(99,102,241,0.08) 0%, transparent 70%),
146
+ radial-gradient(ellipse 40% 40% at 50% 10%, rgba(16,185,129,0.06) 0%, transparent 60%),
147
+ #f8fafc;
148
+ }
149
+
150
+ /* Glass morphism */
151
+ .glass {
152
+ background: rgba(255,255,255,0.72);
153
+ backdrop-filter: blur(24px) saturate(1.5);
154
+ -webkit-backdrop-filter: blur(24px) saturate(1.5);
155
+ border: 1px solid rgba(255,255,255,0.6);
156
+ box-shadow:
157
+ 0 1px 1px rgba(0,0,0,0.03),
158
+ 0 4px 16px rgba(0,0,0,0.04),
159
+ 0 8px 48px rgba(0,0,0,0.02);
160
+ }
161
+
162
+ .glass-strong {
163
+ background: rgba(255,255,255,0.88);
164
+ backdrop-filter: blur(32px) saturate(1.8);
165
+ -webkit-backdrop-filter: blur(32px) saturate(1.8);
166
+ border: 1px solid rgba(255,255,255,0.8);
167
+ box-shadow:
168
+ 0 1px 2px rgba(0,0,0,0.03),
169
+ 0 4px 24px rgba(0,0,0,0.05),
170
+ 0 12px 48px rgba(14,165,233,0.06);
171
+ }
172
+
173
+ .glass-dark {
174
+ background: rgba(8,47,73,0.92);
175
+ backdrop-filter: blur(32px) saturate(1.5);
176
+ -webkit-backdrop-filter: blur(32px) saturate(1.5);
177
+ border: 1px solid rgba(56,189,248,0.1);
178
+ }
179
+
180
+ /* Animated mesh on login */
181
+ .mesh-orb {
182
+ position: absolute;
183
+ border-radius: 50%;
184
+ filter: blur(80px);
185
+ opacity: 0.5;
186
+ pointer-events: none;
187
+ }
188
+
189
+ .mesh-orb-1 {
190
+ width: 500px; height: 500px;
191
+ background: radial-gradient(circle, rgba(14,165,233,0.25), transparent 70%);
192
+ top: -100px; left: -100px;
193
+ animation: orbFloat1 15s ease-in-out infinite;
194
+ }
195
+
196
+ .mesh-orb-2 {
197
+ width: 400px; height: 400px;
198
+ background: radial-gradient(circle, rgba(99,102,241,0.18), transparent 70%);
199
+ bottom: -50px; right: -80px;
200
+ animation: orbFloat2 18s ease-in-out infinite;
201
+ }
202
+
203
+ .mesh-orb-3 {
204
+ width: 300px; height: 300px;
205
+ background: radial-gradient(circle, rgba(16,185,129,0.12), transparent 70%);
206
+ top: 50%; left: 60%;
207
+ animation: orbFloat3 20s ease-in-out infinite;
208
+ }
209
+
210
+ @keyframes orbFloat1 {
211
+ 0%, 100% { transform: translate(0, 0) scale(1); }
212
+ 33% { transform: translate(40px, 60px) scale(1.1); }
213
+ 66% { transform: translate(-30px, -20px) scale(0.95); }
214
+ }
215
+
216
+ @keyframes orbFloat2 {
217
+ 0%, 100% { transform: translate(0, 0) scale(1); }
218
+ 33% { transform: translate(-50px, -40px) scale(1.08); }
219
+ 66% { transform: translate(30px, 30px) scale(0.92); }
220
+ }
221
+
222
+ @keyframes orbFloat3 {
223
+ 0%, 100% { transform: translate(0, 0) scale(1); }
224
+ 50% { transform: translate(-80px, 20px) scale(1.15); }
225
+ }
226
+
227
+ /* Input styling */
228
+ .form-input {
229
+ width: 100%;
230
+ padding: 14px 18px 14px 46px;
231
+ border: 1.5px solid #e2e8f0;
232
+ border-radius: 14px;
233
+ background: #fff;
234
+ font-size: 0.875rem;
235
+ font-family: 'Inter', sans-serif;
236
+ color: #0f172a;
237
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
238
+ outline: none;
239
+ }
240
+
241
+ .form-input::placeholder { color: #94a3b8; font-weight: 400; }
242
+ .form-input:hover { border-color: #cbd5e1; }
243
+ .form-input:focus {
244
+ border-color: #0ea5e9;
245
+ box-shadow: 0 0 0 4px rgba(14,165,233,0.1);
246
+ background: #fff;
247
+ }
248
+
249
+ .form-input.is-error {
250
+ border-color: var(--error);
251
+ box-shadow: 0 0 0 4px rgba(239,68,68,0.08);
252
+ animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
253
+ }
254
+
255
+ /* Button styles */
256
+ .btn-primary {
257
+ position: relative;
258
+ background: #0c4a6e;
259
+ color: #fff;
260
+ padding: 14px 28px;
261
+ border-radius: 14px;
262
+ font-weight: 600;
263
+ font-size: 0.875rem;
264
+ font-family: 'Inter', sans-serif;
265
+ letter-spacing: 0.01em;
266
+ border: none;
267
+ cursor: pointer;
268
+ overflow: hidden;
269
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
270
+ display: inline-flex;
271
+ align-items: center;
272
+ justify-content: center;
273
+ gap: 8px;
274
+ box-shadow: 0 1px 3px rgba(12,74,110,0.2), 0 4px 12px rgba(12,74,110,0.12);
275
+ }
276
+
277
+ .btn-primary:hover {
278
+ background: #075985;
279
+ box-shadow: 0 2px 6px rgba(12,74,110,0.25), 0 8px 24px rgba(12,74,110,0.18);
280
+ transform: translateY(-1px);
281
+ }
282
+
283
+ .btn-primary:active { transform: translateY(0) scale(0.98); }
284
+
285
+ .btn-primary::after {
286
+ content: '';
287
+ position: absolute;
288
+ top: 0; left: 0; right: 0; bottom: 0;
289
+ background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 50%);
290
+ pointer-events: none;
291
+ }
292
+
293
+ .btn-ghost {
294
+ background: transparent;
295
+ color: #475569;
296
+ padding: 10px 18px;
297
+ border-radius: 12px;
298
+ font-weight: 500;
299
+ font-size: 0.875rem;
300
+ font-family: 'Inter', sans-serif;
301
+ border: 1.5px solid #e2e8f0;
302
+ cursor: pointer;
303
+ transition: all 0.25s ease;
304
+ display: inline-flex;
305
+ align-items: center;
306
+ justify-content: center;
307
+ gap: 8px;
308
+ }
309
+
310
+ .btn-ghost:hover {
311
+ background: #f1f5f9;
312
+ border-color: #cbd5e1;
313
+ color: #0f172a;
314
+ transform: translateY(-1px);
315
+ }
316
+
317
+ .btn-oauth {
318
+ display: flex;
319
+ align-items: center;
320
+ justify-content: center;
321
+ gap: 10px;
322
+ width: 100%;
323
+ padding: 12px 18px;
324
+ border: 1.5px solid #e2e8f0;
325
+ border-radius: 12px;
326
+ background: #fff;
327
+ font-size: 0.8rem;
328
+ font-weight: 500;
329
+ color: #334155;
330
+ cursor: pointer;
331
+ transition: all 0.25s ease;
332
+ font-family: 'Inter', sans-serif;
333
+ }
334
+
335
+ .btn-oauth:hover {
336
+ border-color: #cbd5e1;
337
+ background: #f8fafc;
338
+ box-shadow: 0 2px 8px rgba(0,0,0,0.04);
339
+ transform: translateY(-1px);
340
+ }
341
+
342
+ /* Divider */
343
+ .divider {
344
+ display: flex;
345
+ align-items: center;
346
+ gap: 16px;
347
+ color: #94a3b8;
348
+ font-size: 0.75rem;
349
+ font-weight: 500;
350
+ letter-spacing: 0.05em;
351
+ text-transform: uppercase;
352
+ }
353
+
354
+ .divider::before, .divider::after {
355
+ content: '';
356
+ flex: 1;
357
+ height: 1px;
358
+ background: #e2e8f0;
359
+ }
360
+
361
+ /* Checkbox */
362
+ .custom-checkbox {
363
+ appearance: none;
364
+ width: 18px;
365
+ height: 18px;
366
+ border: 2px solid #cbd5e1;
367
+ border-radius: 6px;
368
+ cursor: pointer;
369
+ position: relative;
370
+ transition: all 0.2s ease;
371
+ flex-shrink: 0;
372
+ }
373
+
374
+ .custom-checkbox:checked {
375
+ background: #0ea5e9;
376
+ border-color: #0ea5e9;
377
+ }
378
+
379
+ .custom-checkbox:checked::after {
380
+ content: '';
381
+ position: absolute;
382
+ top: 1px;
383
+ left: 5px;
384
+ width: 5px;
385
+ height: 10px;
386
+ border: solid white;
387
+ border-width: 0 2px 2px 0;
388
+ transform: rotate(45deg);
389
+ }
390
+
391
+ /* Dashboard layout */
392
+ .app-container {
393
+ display: grid;
394
+ grid-template-columns: 280px 1fr;
395
+ min-height: 100vh;
396
+ background: #f1f5f9;
397
+ }
398
+
399
+ @media (max-width: 1024px) {
400
+ .app-container { grid-template-columns: 1fr; }
401
+ }
402
+
403
+ /* Sidebar */
404
+ .sidebar {
405
+ position: fixed;
406
+ top: 0; left: 0;
407
+ width: 280px;
408
+ height: 100vh;
409
+ z-index: 50;
410
+ background: #fff;
411
+ border-right: 1px solid #e2e8f0;
412
+ display: flex;
413
+ flex-direction: column;
414
+ transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
415
+ }
416
+
417
+ .sidebar-nav-item {
418
+ display: flex;
419
+ align-items: center;
420
+ gap: 12px;
421
+ padding: 10px 16px;
422
+ border-radius: 12px;
423
+ color: #64748b;
424
+ font-size: 0.875rem;
425
+ font-weight: 500;
426
+ cursor: pointer;
427
+ transition: all 0.25s ease;
428
+ border: none;
429
+ background: none;
430
+ width: 100%;
431
+ text-align: left;
432
+ font-family: 'Inter', sans-serif;
433
+ }
434
+
435
+ .sidebar-nav-item:hover {
436
+ background: #f0f9ff;
437
+ color: #0284c7;
438
+ }
439
+
440
+ .sidebar-nav-item.is-active {
441
+ background: #0c4a6e;
442
+ color: #fff;
443
+ font-weight: 600;
444
+ box-shadow: 0 2px 8px rgba(12,74,110,0.2);
445
+ }
446
+
447
+ /* Main area */
448
+ .main-area {
449
+ margin-left: 280px;
450
+ min-height: 100vh;
451
+ display: flex;
452
+ flex-direction: column;
453
+ }
454
+
455
+ @media (max-width: 1024px) {
456
+ .main-area { margin-left: 0; }
457
+ .sidebar {
458
+ transform: translateX(-100%);
459
+ }
460
+ .sidebar.is-open {
461
+ transform: translateX(0);
462
+ }
463
+ .sidebar-overlay {
464
+ display: none;
465
+ position: fixed;
466
+ inset: 0;
467
+ background: rgba(15,23,42,0.4);
468
+ backdrop-filter: blur(4px);
469
+ z-index: 40;
470
+ }
471
+ .sidebar-overlay.is-visible {
472
+ display: block;
473
+ }
474
+ }
475
+
476
+ /* Cards */
477
+ .dash-card {
478
+ background: #fff;
479
+ border-radius: 16px;
480
+ border: 1px solid #e2e8f0;
481
+ padding: 24px;
482
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
483
+ }
484
+
485
+ .dash-card:hover {
486
+ border-color: #cbd5e1;
487
+ box-shadow: 0 4px 16px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.03);
488
+ transform: translateY(-2px);
489
+ }
490
+
491
+ /* Stat cards with gradient backgrounds */
492
+ .stat-card {
493
+ border-radius: 16px;
494
+ padding: 24px;
495
+ position: relative;
496
+ overflow: hidden;
497
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
498
+ }
499
+
500
+ .stat-card::before {
501
+ content: '';
502
+ position: absolute;
503
+ top: 0; right: 0;
504
+ width: 120px; height: 120px;
505
+ background: rgba(255,255,255,0.06);
506
+ border-radius: 50%;
507
+ transform: translate(30%, -30%);
508
+ }
509
+
510
+ .stat-card:hover { transform: translateY(-3px); }
511
+
512
+ .stat-card-blue {
513
+ background: #0c4a6e;
514
+ color: #fff;
515
+ }
516
+
517
+ .stat-card-sky {
518
+ background: #0ea5e9;
519
+ color: #fff;
520
+ }
521
+
522
+ .stat-card-emerald {
523
+ background: #059669;
524
+ color: #fff;
525
+ }
526
+
527
+ .stat-card-violet {
528
+ background: #7c3aed;
529
+ color: #fff;
530
+ }
531
+
532
+ /* Status pills */
533
+ .pill {
534
+ display: inline-flex;
535
+ align-items: center;
536
+ gap: 6px;
537
+ padding: 5px 14px;
538
+ border-radius: 999px;
539
+ font-size: 0.75rem;
540
+ font-weight: 600;
541
+ font-family: 'Inter', sans-serif;
542
+ white-space: nowrap;
543
+ }
544
+
545
+ .pill-success { background: #d1fae5; color: #065f46; }
546
+ .pill-danger { background: #fee2e2; color: #991b1b; }
547
+ .pill-warning { background: #fef3c7; color: #92400e; }
548
+ .pill-info { background: #e0f2fe; color: #0c4a6e; }
549
+ .pill-neutral { background: #f1f5f9; color: #475569; }
550
+
551
+ /* Toast */
552
+ .toast-container {
553
+ position: fixed;
554
+ top: 24px;
555
+ right: 24px;
556
+ z-index: 9999;
557
+ display: flex;
558
+ flex-direction: column;
559
+ gap: 10px;
560
+ pointer-events: none;
561
+ }
562
+
563
+ .toast {
564
+ pointer-events: all;
565
+ background: #fff;
566
+ border: 1px solid #e2e8f0;
567
+ border-radius: 14px;
568
+ padding: 16px 20px;
569
+ min-width: 320px;
570
+ max-width: 400px;
571
+ display: flex;
572
+ align-items: center;
573
+ gap: 14px;
574
+ box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.05);
575
+ animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards, fadeOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) 3.6s forwards;
576
+ cursor: pointer;
577
+ overflow: hidden;
578
+ position: relative;
579
+ }
580
+
581
+ .toast::after {
582
+ content: '';
583
+ position: absolute;
584
+ bottom: 0; left: 0;
585
+ width: 100%; height: 3px;
586
+ background: #0ea5e9;
587
+ animation: toastProgress 3s linear forwards;
588
+ border-radius: 0 0 14px 14px;
589
+ }
590
+
591
+ .toast.is-success::after { background: var(--success); }
592
+ .toast.is-error::after { background: var(--error); }
593
+ .toast.is-warning::after { background: var(--warning); }
594
+
595
+ @keyframes fadeOut {
596
+ to { opacity: 0; transform: translateX(40px); }
597
+ }
598
+
599
+ @keyframes toastProgress {
600
+ from { width: 100%; }
601
+ to { width: 0%; }
602
+ }
603
+
604
+ /* Modal */
605
+ .modal-overlay {
606
+ position: fixed;
607
+ inset: 0;
608
+ z-index: 100;
609
+ background: rgba(15,23,42,0.5);
610
+ backdrop-filter: blur(6px);
611
+ display: flex;
612
+ align-items: center;
613
+ justify-content: center;
614
+ padding: 20px;
615
+ opacity: 0;
616
+ visibility: hidden;
617
+ transition: all 0.3s ease;
618
+ }
619
+
620
+ .modal-overlay.is-visible {
621
+ opacity: 1;
622
+ visibility: visible;
623
+ }
624
+
625
+ .modal-panel {
626
+ background: #fff;
627
+ border-radius: 20px;
628
+ width: 100%;
629
+ max-width: 480px;
630
+ max-height: 85vh;
631
+ overflow-y: auto;
632
+ box-shadow: 0 24px 80px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.08);
633
+ transform: scale(0.92) translateY(20px);
634
+ transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
635
+ }
636
+
637
+ .modal-overlay.is-visible .modal-panel {
638
+ transform: scale(1) translateY(0);
639
+ }
640
+
641
+ /* Loader */
642
+ .loader-ring {
643
+ width: 20px;
644
+ height: 20px;
645
+ border: 2.5px solid rgba(255,255,255,0.3);
646
+ border-top-color: #fff;
647
+ border-radius: 50%;
648
+ animation: spin 0.6s linear infinite;
649
+ }
650
+
651
+ @keyframes spin {
652
+ to { transform: rotate(360deg); }
653
+ }
654
+
655
+ /* Password strength meter */
656
+ .strength-meter {
657
+ display: flex;
658
+ gap: 4px;
659
+ height: 4px;
660
+ border-radius: 2px;
661
+ overflow: hidden;
662
+ margin-top: 8px;
663
+ }
664
+
665
+ .strength-segment {
666
+ flex: 1;
667
+ border-radius: 2px;
668
+ background: #e2e8f0;
669
+ transition: all 0.3s ease;
670
+ }
671
+
672
+ .strength-segment.weak { background: #ef4444; }
673
+ .strength-segment.fair { background: #f59e0b; }
674
+ .strength-segment.good { background: #3b82f6; }
675
+ .strength-segment.strong { background: #10b981; }
676
+
677
+ /* Progress bar for charts */
678
+ .progress-track {
679
+ background: #f1f5f9;
680
+ border-radius: 999px;
681
+ height: 8px;
682
+ overflow: hidden;
683
+ }
684
+
685
+ .progress-fill {
686
+ height: 100%;
687
+ border-radius: 999px;
688
+ transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
689
+ }
690
+
691
+ /* Animated bars */
692
+ .bar-chart {
693
+ display: flex;
694
+ align-items: flex-end;
695
+ gap: 8px;
696
+ height: 120px;
697
+ }
698
+
699
+ .bar-chart-bar {
700
+ flex: 1;
701
+ border-radius: 6px 6px 0 0;
702
+ background: #e2e8f0;
703
+ transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
704
+ position: relative;
705
+ }
706
+
707
+ .bar-chart-bar.is-active {
708
+ background: #0ea5e9;
709
+ }
710
+
711
+ .bar-chart-bar.is-active::after {
712
+ content: attr(data-value);
713
+ position: absolute;
714
+ top: -24px;
715
+ left: 50%;
716
+ transform: translateX(-50%);
717
+ font-size: 0.65rem;
718
+ font-weight: 600;
719
+ color: #64748b;
720
+ font-family: 'IBM Plex Mono', monospace;
721
+ }
722
+
723
+ /* Session row hover effect */
724
+ .session-row {
725
+ transition: all 0.2s ease;
726
+ border-radius: 10px;
727
+ }
728
+
729
+ .session-row:hover {
730
+ background: #f8fafc;
731
+ }
732
+
733
+ /* Mobile bottom nav */
734
+ @media (max-width: 1024px) {
735
+ .mobile-nav {
736
+ display: flex;
737
+ position: fixed;
738
+ bottom: 0; left: 0; right: 0;
739
+ background: #fff;
740
+ border-top: 1px solid #e2e8f0;
741
+ z-index: 40;
742
+ justify-content: space-around;
743
+ padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
744
+ }
745
+
746
+ .mobile-nav-item {
747
+ display: flex;
748
+ flex-direction: column;
749
+ align-items: center;
750
+ gap: 3px;
751
+ padding: 6px 12px;
752
+ border-radius: 12px;
753
+ color: #94a3b8;
754
+ font-size: 0.65rem;
755
+ font-weight: 500;
756
+ cursor: pointer;
757
+ transition: all 0.2s ease;
758
+ border: none;
759
+ background: none;
760
+ font-family: 'Inter', sans-serif;
761
+ }
762
+
763
+ .mobile-nav-item.is-active {
764
+ color: #0284c7;
765
+ }
766
+
767
+ .mobile-nav-item i {
768
+ font-size: 1.15rem;
769
+ }
770
+ }
771
+
772
+ @media (min-width: 1025px) {
773
+ .mobile-nav { display: none; }
774
+ }
775
+
776
+ /* Avatar ring */
777
+ .avatar-ring {
778
+ position: relative;
779
+ }
780
+
781
+ .avatar-ring::before {
782
+ content: '';
783
+ position: absolute;
784
+ inset: -3px;
785
+ border-radius: 50%;
786
+ border: 2px solid #0ea5e9;
787
+ opacity: 0.3;
788
+ }
789
+
790
+ /* Tag */
791
+ .tag {
792
+ display: inline-flex;
793
+ align-items: center;
794
+ gap: 4px;
795
+ padding: 3px 10px;
796
+ border-radius: 6px;
797
+ font-size: 0.7rem;
798
+ font-weight: 600;
799
+ font-family: 'Inter', sans-serif;
800
+ }
801
+
802
+ /* Spark line animation */
803
+ .spark-line {
804
+ fill: none;
805
+ stroke: #0ea5e9;
806
+ stroke-width: 2;
807
+ stroke-linecap: round;
808
+ stroke-dasharray: 300;
809
+ stroke-dashoffset: 300;
810
+ animation: drawLine 2s ease forwards;
811
+ }
812
+
813
+ @keyframes drawLine {
814
+ to { stroke-dashoffset: 0; }
815
+ }
816
+
817
+ /* Hide password toggle */
818
+ .password-toggle {
819
+ position: absolute;
820
+ right: 16px;
821
+ top: 50%;
822
+ transform: translateY(-50%);
823
+ color: #94a3b8;
824
+ cursor: pointer;
825
+ transition: color 0.2s;
826
+ font-size: 0.875rem;
827
+ border: none;
828
+ background: none;
829
+ padding: 4px;
830
+ z-index: 2;
831
+ }
832
+
833
+ .password-toggle:hover { color: #475569; }
834
+
835
+ /* Tooltip */
836
+ .has-tooltip { position: relative; }
837
+ .has-tooltip .tooltip-text {
838
+ position: absolute;
839
+ bottom: 100%;
840
+ left: 50%;
841
+ transform: translateX(-50%) translateY(-6px);
842
+ background: #0f172a;
843
+ color: #fff;
844
+ font-size: 0.7rem;
845
+ padding: 6px 12px;
846
+ border-radius: 8px;
847
+ white-space: nowrap;
848
+ opacity: 0;
849
+ pointer-events: none;
850
+ transition: all 0.25s ease;
851
+ z-index: 10;
852
+ }
853
+
854
+ .has-tooltip:hover .tooltip-text {
855
+ opacity: 1;
856
+ transform: translateX(-50%) translateY(-2px);
857
+ }
858
+
859
+ /* View switching */
860
+ .view-section {
861
+ display: none;
862
+ animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
863
+ }
864
+
865
+ .view-section.is-active {
866
+ display: block;
867
+ }
868
+
869
+ /* Responsive grid adjustments */
870
+ @media (max-width: 768px) {
871
+ .stat-grid {
872
+ grid-template-columns: 1fr 1fr !important;
873
+ }
874
+ }
875
+
876
+ @media (max-width: 480px) {
877
+ .stat-grid {
878
+ grid-template-columns: 1fr !important;
879
+ }
880
+ }
881
+
882
+ /* Subtle grid pattern */
883
+ .bg-grid {
884
+ background-image:
885
+ linear-gradient(rgba(148,163,184,0.08) 1px, transparent 1px),
886
+ linear-gradient(90deg, rgba(148,163,184,0.08) 1px, transparent 1px);
887
+ background-size: 40px 40px;
888
+ }
889
+
890
+ /* Account card special */
891
+ .account-card {
892
+ background: #fff;
893
+ border: 1.5px solid #e2e8f0;
894
+ border-radius: 16px;
895
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
896
+ position: relative;
897
+ overflow: hidden;
898
+ }
899
+
900
+ .account-card:hover {
901
+ border-color: #0ea5e9;
902
+ box-shadow: 0 8px 30px rgba(14,165,233,0.08);
903
+ }
904
+
905
+ /* Tab style */
906
+ .tab-btn {
907
+ padding: 8px 20px;
908
+ border-radius: 10px;
909
+ font-size: 0.8rem;
910
+ font-weight: 500;
911
+ color: #64748b;
912
+ cursor: pointer;
913
+ transition: all 0.2s ease;
914
+ border: none;
915
+ background: none;
916
+ font-family: 'Inter', sans-serif;
917
+ }
918
+
919
+ .tab-btn:hover { background: #f1f5f9; color: #334155; }
920
+ .tab-btn.is-active { background: #0c4a6e; color: #fff; font-weight: 600; }
921
+
922
+ /* Secure chip effect */
923
+ .secure-chip {
924
+ position: relative;
925
+ background: rgba(14,165,233,0.08);
926
+ border: 1px solid rgba(14,165,233,0.15);
927
+ border-radius: 12px;
928
+ padding: 16px;
929
+ }
930
+
931
+ .secure-chip::before {
932
+ content: '';
933
+ position: absolute;
934
+ top: 0; left: 0;
935
+ width: 3px;
936
+ height: 100%;
937
+ background: #0ea5e9;
938
+ border-radius: 0 0 0 12px;
939
+ opacity: 0.5;
940
+ }
941
+
942
+ /* Login illustration */
943
+ .login-illustration {
944
+ position: relative;
945
+ width: 100%;
946
+ height: 100%;
947
+ display: flex;
948
+ align-items: center;
949
+ justify-content: center;
950
+ overflow: hidden;
951
+ }
952
+
953
+ /* Rotating ring decoration */
954
+ .orbit-ring {
955
+ position: absolute;
956
+ border: 1px solid rgba(14,165,233,0.15);
957
+ border-radius: 50%;
958
+ animation: spin 30s linear infinite;
959
+ }
960
+
961
+ .orbit-dot {
962
+ position: absolute;
963
+ width: 8px;
964
+ height: 8px;
965
+ background: #0ea5e9;
966
+ border-radius: 50%;
967
+ box-shadow: 0 0 12px rgba(14,165,233,0.5);
968
+ }
969
+
970
+ /* Breathing card effect */
971
+ @keyframes breathe {
972
+ 0%, 100% { transform: translateY(0); }
973
+ 50% { transform: translateY(-8px); }
974
+ }
975
+
976
+ .breathe {
977
+ animation: breathe 4s ease-in-out infinite;
978
+ }
979
+ </style>
980
+ </head>
981
+ <body>
982
+
983
+ <!-- ========================================== -->
984
+ <!-- TOAST CONTAINER -->
985
+ <!-- ========================================== -->
986
+ <div class="toast-container" id="toastContainer"></div>
987
+
988
+ <!-- ========================================== -->
989
+ <!-- LOGIN PAGE -->
990
+ <!-- ========================================== -->
991
+ <div id="loginPage" class="auth-bg min-h-screen flex items-center justify-center relative overflow-hidden">
992
+ <!-- Animated mesh orbs -->
993
+ <div class="mesh-orb mesh-orb-1"></div>
994
+ <div class="mesh-orb mesh-orb-2"></div>
995
+ <div class="mesh-orb mesh-orb-3"></div>
996
+
997
+ <div class="relative z-10 w-full max-w-[1100px] mx-4 animate-fade-in-up">
998
+ <div class="glass-strong rounded-[24px] overflow-hidden shadow-2xl" style="box-shadow: 0 24px 80px rgba(12,74,110,0.08), 0 8px 24px rgba(0,0,0,0.04);">
999
+
1000
+ <div class="grid grid-cols-1 lg:grid-cols-2">
1001
+
1002
+ <!-- Left: Visual -->
1003
+ <div class="relative hidden lg:flex flex-col items-center justify-center p-12 bg-grid" style="background-color: #f8fafc;">
1004
+ <!-- Orbit rings -->
1005
+ <div class="absolute inset-0 flex items-center justify-center pointer-events-none">
1006
+ <div class="orbit-ring" style="width: 300px; height: 300px;"></div>
1007
+ <div class="orbit-ring" style="width: 220px; height: 220px; animation-direction: reverse; animation-duration: 20s;"></div>
1008
+ </div>
1009
+
1010
+ <!-- Central illustration -->
1011
+ <div class="relative z-10 breathe">
1012
+ <div class="relative w-48 h-48">
1013
+ <!-- Outer glow -->
1014
+ <div class="absolute inset-0 rounded-full bg-ocean-500/10 blur-xl"></div>
1015
+ <!-- Main circle -->
1016
+ <div class="absolute inset-4 rounded-full bg-white shadow-xl flex items-center justify-center border border-ocean-100">
1017
+ <i class="fa-solid fa-shield-halved text-5xl text-ocean-700"></i>
1018
+ </div>
1019
+ <!-- Orbiting dots -->
1020
+ <div class="absolute inset-0 animate-spin-slow">
1021
+ <div class="orbit-dot" style="top: -4px; left: 50%; transform: translateX(-50%);"></div>
1022
+ </div>
1023
+ <div class="absolute inset-0 animate-spin-slow" style="animation-direction: reverse; animation-duration: 15s;">
1024
+ <div class="orbit-dot" style="bottom: -4px; left: 50%; transform: translateX(-50%); background: #6366f1; box-shadow: 0 0 12px rgba(99,102,241,0.5);"></div>
1025
+ </div>
1026
+ </div>
1027
+ </div>
1028
+
1029
+ <div class="mt-8 text-center z-10">
1030
+ <p class="font-display font-bold text-2xl text-slate-800 mb-2">SecureID</p>
1031
+ <p class="text-sm text-slate-500 max-w-[240px] leading-relaxed">Enterprise-grade authentication with biometric-ready security architecture.</p>
1032
+ </div>
1033
+
1034
+ <!-- Feature tags -->
1035
+ <div class="mt-6 flex flex-wrap gap-2 justify-center z-10">
1036
+ <span class="tag pill-info"><i class="fa-solid fa-fingerprint text-[10px]"></i> Biometric</span>
1037
+ <span class="tag pill-success"><i class="fa-solid fa-lock text-[10px]"></i> AES-256</span>
1038
+ <span class="tag pill-warning"><i class="fa-solid fa-clock text-[10px]"></i> MFA</span>
1039
+ </div>
1040
+
1041
+ <!-- Bottom attribution -->
1042
+ <div class="absolute bottom-6 left-6 text-[11px] text-slate-400">
1043
+ <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" class="hover:text-ocean-600 transition-colors">
1044
+ Built with <span class="font-medium text-ocean-600">anycoder</span>
1045
+ </a>
1046
+ </div>
1047
+ </div>
1048
+
1049
+ <!-- Right: Form -->
1050
+ <div class="p-8 lg:p-12 flex flex-col justify-center">
1051
+
1052
+ <!-- Mobile header -->
1053
+ <div class="lg:hidden mb-6 text-center">
1054
+ <div class="w-14 h-14 rounded-2xl bg-ocean-900 flex items-center justify-center mx-auto mb-3 shadow-lg">
1055
+ <i class="fa-solid fa-shield-halved text-xl text-white"></i>
1056
+ </div>
1057
+ <h2 class="font-display font-bold text-xl text-slate-800">SecureID</h2>
1058
+ <p class="text-xs text-slate-400 mt-1">Authentication Portal</p>
1059
+ </div>
1060
+
1061
+ <!-- Desktop header -->
1062
+ <div class="hidden lg:block mb-8">
1063
+ <h2 class="font-display font-bold text-3xl text-slate-900 mb-2 tracking-tight">Welcome back</h2>
1064
+ <p class="text-sm text-slate-500">Enter your credentials to access the dashboard.</p>
1065
+ </div>
1066
+
1067
+ <!-- Login Form -->
1068
+ <form id="loginForm" autocomplete="on">
1069
+ <div class="space-y-5">
1070
+
1071
+ <!-- Email -->
1072
+ <div class="group">
1073
+ <label class="block text-xs font-semibold text-slate-700 mb-2 tracking-wide uppercase">Email Address</label>
1074
+ <div class="relative">
1075
+ <i class="fa-regular fa-envelope absolute left-4 top-1/2 -translate-y-1/2 text-slate-400 text-sm pointer-events-none transition-colors group-focus-within:text-ocean-600"></i>
1076
+ <input
1077
+ type="email"
1078
+ id="emailInput"
1079
+ class="form-input"
1080
+ placeholder="you@company.com"
1081
+ autocomplete="email"
1082
+ value="demo@secureid.io"
1083
+ >
1084
+ </div>
1085
+ <p id="emailError" class="text-xs text-red-500 mt-1.5 hidden font-medium"></p>
1086
+ </div>
1087
+
1088
+ <!-- Password -->
1089
+ <div class="group">
1090
+ <label class="block text-xs font-semibold text-slate-700 mb-2 tracking-wide uppercase">Password</label>
1091
+ <div class="relative">
1092
+ <i class="fa-solid fa-lock absolute left-4 top-1/2 -translate-y-1/2 text-slate-400 text-sm pointer-events-none transition-colors group-focus-within:text-ocean-600"></i>
1093
+ <input