veltrixcode commited on
Commit
6130181
·
verified ·
1 Parent(s): e4ef746

Delete public/styles.css

Browse files
Files changed (1) hide show
  1. public/styles.css +0 -587
public/styles.css DELETED
@@ -1,587 +0,0 @@
1
- /* Modern CSS Reset */
2
- *, *::before, *::after {
3
- box-sizing: border-box;
4
- margin: 0;
5
- padding: 0;
6
- }
7
-
8
- :root {
9
- --primary-color: #4F46E5;
10
- --primary-hover: #4338CA;
11
- --success-color: #10B981;
12
- --danger-color: #EF4444;
13
- --warning-color: #F59E0B;
14
- --text-primary: #1F2937;
15
- --text-secondary: #6B7280;
16
- --bg-primary: #F9FAFB;
17
- --bg-secondary: #FFFFFF;
18
- --border-color: #E5E7EB;
19
- --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
20
- --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
21
- --radius-sm: 0.375rem;
22
- --radius-md: 0.5rem;
23
- --radius-lg: 0.75rem;
24
- }
25
-
26
- body {
27
- font-family: 'Inter', sans-serif;
28
- line-height: 1.5;
29
- color: var(--text-primary);
30
- background-color: var(--bg-primary);
31
- min-height: 100vh;
32
- }
33
-
34
- .container {
35
- max-width: 1200px;
36
- margin: 0 auto;
37
- padding: 2rem;
38
- }
39
-
40
- /* Auth Section */
41
- .auth-section {
42
- max-width: 400px;
43
- margin: 2rem auto;
44
- padding: 2rem;
45
- background: var(--bg-secondary);
46
- border-radius: var(--radius-lg);
47
- box-shadow: var(--shadow-md);
48
- }
49
-
50
- .form-group {
51
- margin-bottom: 2rem;
52
- }
53
-
54
- .form-group h2 {
55
- color: var(--text-primary);
56
- font-size: 1.5rem;
57
- margin-bottom: 1.5rem;
58
- font-weight: 600;
59
- }
60
-
61
- input {
62
- width: 100%;
63
- padding: 0.75rem 1rem;
64
- margin-bottom: 1rem;
65
- border: 1px solid var(--border-color);
66
- border-radius: var(--radius-sm);
67
- font-size: 1rem;
68
- transition: all 0.2s ease;
69
- }
70
-
71
- input:focus {
72
- outline: none;
73
- border-color: var(--primary-color);
74
- box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
75
- }
76
-
77
- /* Buttons */
78
- button,
79
- .btn {
80
- display: inline-flex;
81
- align-items: center;
82
- justify-content: center;
83
- padding: 0.75rem 1.5rem;
84
- background-color: var(--primary-color);
85
- color: white;
86
- border: none;
87
- border-radius: var(--radius-sm);
88
- font-size: 1rem;
89
- font-weight: 500;
90
- cursor: pointer;
91
- transition: all 0.2s ease;
92
- width: 100%;
93
- gap: 0.5rem;
94
- text-decoration: none; /* Ensure no underline if used on links */
95
- -webkit-appearance: none; /* Remove default browser styling */
96
- -moz-appearance: none;
97
- appearance: none;
98
- }
99
-
100
- button:hover,
101
- .btn:hover {
102
- background-color: var(--primary-hover);
103
- transform: translateY(-1px);
104
- }
105
-
106
- button:active,
107
- .btn:active {
108
- transform: translateY(0);
109
- }
110
-
111
- .btn i {
112
- font-size: 1.1rem;
113
- }
114
-
115
- /* Dashboard */
116
- .dashboard-header {
117
- display: flex;
118
- justify-content: space-between;
119
- align-items: center;
120
- margin-bottom: 2rem;
121
- padding-bottom: 1rem;
122
- border-bottom: 1px solid var(--border-color);
123
- }
124
-
125
- .dashboard-header h2 {
126
- font-size: 1.75rem;
127
- font-weight: 600;
128
- color: var(--text-primary);
129
- }
130
-
131
- /* Stats Container */
132
- .stats-container {
133
- display: grid;
134
- grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
135
- gap: 1.5rem;
136
- margin-bottom: 2rem;
137
- }
138
-
139
- .stat-card {
140
- background: var(--bg-secondary);
141
- padding: 1.5rem;
142
- border-radius: var(--radius-md);
143
- box-shadow: var(--shadow-sm);
144
- transition: transform 0.2s ease;
145
- }
146
-
147
- .stat-card:hover {
148
- transform: translateY(-2px);
149
- box-shadow: var(--shadow-md);
150
- }
151
-
152
- .stat-card h3 {
153
- color: var(--text-secondary);
154
- font-size: 0.875rem;
155
- font-weight: 500;
156
- margin-bottom: 0.5rem;
157
- }
158
-
159
- .stat-card p {
160
- color: var(--text-primary);
161
- font-size: 1.5rem;
162
- font-weight: 600;
163
- }
164
-
165
- /* Submissions Grid */
166
- .submissions-grid {
167
- display: grid;
168
- grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
169
- gap: 1.5rem;
170
- margin-top: 1.5rem;
171
- }
172
-
173
- .submission-card {
174
- background: var(--bg-secondary);
175
- border-radius: var(--radius-md);
176
- padding: 1.5rem;
177
- box-shadow: var(--shadow-sm);
178
- transition: all 0.2s ease;
179
- }
180
-
181
- .submission-card:hover {
182
- transform: translateY(-2px);
183
- box-shadow: var(--shadow-md);
184
- }
185
-
186
- .submission-header {
187
- display: flex;
188
- justify-content: space-between;
189
- align-items: center;
190
- margin-bottom: 1rem;
191
- padding-bottom: 0.5rem;
192
- border-bottom: 1px solid var(--border-color);
193
- }
194
-
195
- .submission-id {
196
- font-weight: 600;
197
- color: var(--text-primary);
198
- }
199
-
200
- .submission-status {
201
- padding: 0.25rem 0.75rem;
202
- border-radius: 9999px;
203
- font-size: 0.875rem;
204
- font-weight: 500;
205
- }
206
-
207
- .status-pending {
208
- background-color: #FEF3C7;
209
- color: #92400E;
210
- }
211
-
212
- .status-approved {
213
- background-color: #D1FAE5;
214
- color: #065F46;
215
- }
216
-
217
- .status-paid {
218
- background-color: #DBEAFE;
219
- color: #1E40AF;
220
- }
221
-
222
- .status-rejected {
223
- background-color: #FEE2E2;
224
- color: #991B1B;
225
- }
226
-
227
- .submission-details {
228
- margin-bottom: 1rem;
229
- }
230
-
231
- .detail-row {
232
- display: flex;
233
- justify-content: space-between;
234
- margin-bottom: 0.5rem;
235
- }
236
-
237
- .detail-label {
238
- color: var(--text-secondary);
239
- font-size: 0.875rem;
240
- }
241
-
242
- .detail-value {
243
- font-weight: 500;
244
- color: var(--text-primary);
245
- }
246
-
247
- .submission-actions {
248
- display: flex;
249
- gap: 0.5rem;
250
- flex-wrap: wrap;
251
- }
252
-
253
- .action-btn {
254
- padding: 0.5rem 1rem;
255
- border-radius: var(--radius-sm);
256
- font-size: 0.875rem;
257
- font-weight: 500;
258
- cursor: pointer;
259
- transition: all 0.2s ease;
260
- border: none;
261
- display: inline-flex;
262
- align-items: center;
263
- gap: 0.25rem;
264
- -webkit-appearance: none; /* Remove default browser styling */
265
- -moz-appearance: none;
266
- appearance: none;
267
- }
268
-
269
- .action-btn:hover {
270
- transform: translateY(-1px);
271
- }
272
-
273
- .action-btn:active {
274
- transform: translateY(0);
275
- }
276
-
277
- .view-btn {
278
- background-color: #E0E7FF;
279
- color: var(--primary-color);
280
- }
281
-
282
- .view-btn:hover {
283
- background-color: #C7D2FE;
284
- }
285
-
286
- .approve-btn {
287
- background-color: var(--success-color);
288
- color: white;
289
- }
290
-
291
- .approve-btn:hover {
292
- background-color: #059669;
293
- }
294
-
295
- .reject-btn {
296
- background-color: var(--danger-color);
297
- color: white;
298
- }
299
-
300
- .reject-btn:hover {
301
- background-color: #DC2626;
302
- }
303
-
304
- .pay-btn {
305
- background-color: var(--primary-color);
306
- color: white;
307
- }
308
-
309
- .pay-btn:hover {
310
- background-color: var(--primary-hover);
311
- }
312
-
313
- /* Modals */
314
- .modal {
315
- display: none;
316
- position: fixed;
317
- top: 0;
318
- left: 0;
319
- width: 100%;
320
- height: 100%;
321
- background-color: rgba(0, 0, 0, 0.5);
322
- z-index: 1000;
323
- opacity: 0;
324
- transition: opacity 0.3s ease;
325
- }
326
-
327
- .modal.show {
328
- opacity: 1;
329
- }
330
-
331
- .modal-content {
332
- position: relative;
333
- background-color: var(--bg-secondary);
334
- margin: 2rem auto;
335
- padding: 2rem;
336
- border-radius: var(--radius-lg);
337
- max-width: 600px;
338
- width: 90%;
339
- transform: translateY(-20px);
340
- transition: transform 0.3s ease;
341
- }
342
-
343
- .modal.show .modal-content {
344
- transform: translateY(0);
345
- }
346
-
347
- /* Chat Modal */
348
- .chat-modal-content {
349
- display: flex;
350
- flex-direction: column;
351
- height: 80vh;
352
- max-height: 600px;
353
- }
354
-
355
- .chat-header {
356
- padding-bottom: 1rem;
357
- margin-bottom: 1rem;
358
- border-bottom: 1px solid var(--border-color);
359
- }
360
-
361
- .chat-messages {
362
- flex: 1;
363
- overflow-y: auto;
364
- padding: 1rem;
365
- background-color: #F3F4F6;
366
- border-radius: var(--radius-sm);
367
- margin-bottom: 1rem;
368
- }
369
-
370
- .message {
371
- margin-bottom: 0.75rem;
372
- padding: 0.75rem 1rem;
373
- border-radius: var(--radius-sm);
374
- max-width: 80%;
375
- }
376
-
377
- .message.user {
378
- background-color: #E0E7FF;
379
- color: var(--primary-color);
380
- margin-left: auto;
381
- }
382
-
383
- .message.admin {
384
- background-color: var(--bg-secondary);
385
- color: var(--text-primary);
386
- margin-right: auto;
387
- }
388
-
389
- .chat-form {
390
- display: flex;
391
- gap: 0.5rem;
392
- }
393
-
394
- .chat-form input {
395
- flex: 1;
396
- margin-bottom: 0;
397
- }
398
-
399
- /* Loading Overlay */
400
- .loading-overlay {
401
- position: fixed;
402
- top: 0;
403
- left: 0;
404
- width: 100%;
405
- height: 100%;
406
- background-color: rgba(255, 255, 255, 0.9);
407
- display: flex;
408
- justify-content: center;
409
- align-items: center;
410
- z-index: 2000;
411
- opacity: 0;
412
- visibility: hidden;
413
- transition: all 0.3s ease;
414
- }
415
-
416
- .loading-overlay.show {
417
- opacity: 1;
418
- visibility: visible;
419
- }
420
-
421
- .loading-content {
422
- text-align: center;
423
- }
424
-
425
- .loading-spinner {
426
- width: 40px;
427
- height: 40px;
428
- border: 3px solid var(--border-color);
429
- border-top-color: var(--primary-color);
430
- border-radius: 50%;
431
- animation: spin 1s linear infinite;
432
- margin: 0 auto 1rem;
433
- }
434
-
435
- .loading-text {
436
- color: var(--text-primary);
437
- font-weight: 500;
438
- }
439
-
440
- @keyframes spin {
441
- to {
442
- transform: rotate(360deg);
443
- }
444
- }
445
-
446
- /* Confirmation Modal */
447
- .confirmation-modal {
448
- display: none;
449
- position: fixed;
450
- top: 0;
451
- left: 0;
452
- width: 100%;
453
- height: 100%;
454
- background-color: rgba(0, 0, 0, 0.5);
455
- z-index: 1000;
456
- opacity: 0;
457
- transition: opacity 0.3s ease;
458
- }
459
-
460
- .confirmation-modal.show {
461
- opacity: 1;
462
- }
463
-
464
- .confirmation-content {
465
- position: relative;
466
- background-color: var(--bg-secondary);
467
- margin: 2rem auto;
468
- padding: 2rem;
469
- border-radius: var(--radius-lg);
470
- max-width: 500px;
471
- width: 90%;
472
- transform: translateY(-20px);
473
- transition: transform 0.3s ease;
474
- }
475
-
476
- .confirmation-modal.show .confirmation-content {
477
- transform: translateY(0);
478
- }
479
-
480
- .confirmation-title {
481
- font-size: 1.25rem;
482
- font-weight: 600;
483
- margin-bottom: 1rem;
484
- color: var(--text-primary);
485
- }
486
-
487
- .confirmation-message {
488
- color: var(--text-secondary);
489
- margin-bottom: 1.5rem;
490
- }
491
-
492
- .confirmation-actions {
493
- display: flex;
494
- justify-content: flex-end;
495
- gap: 1rem;
496
- }
497
-
498
- .cancel-btn {
499
- padding: 0.75rem 1.5rem;
500
- background-color: #F3F4F6;
501
- color: var(--text-primary);
502
- border: none;
503
- border-radius: var(--radius-sm);
504
- font-size: 1rem;
505
- font-weight: 500;
506
- cursor: pointer;
507
- transition: all 0.2s ease;
508
- -webkit-appearance: none; /* Remove default browser styling */
509
- -moz-appearance: none;
510
- appearance: none;
511
- }
512
-
513
- .cancel-btn:hover {
514
- background-color: #E5E7EB;
515
- }
516
-
517
- .confirm-btn {
518
- padding: 0.75rem 1.5rem;
519
- background-color: var(--danger-color);
520
- color: white;
521
- border: none;
522
- border-radius: var(--radius-sm);
523
- font-size: 1rem;
524
- font-weight: 500;
525
- cursor: pointer;
526
- transition: all 0.2s ease;
527
- -webkit-appearance: none; /* Remove default browser styling */
528
- -moz-appearance: none;
529
- appearance: none;
530
- }
531
-
532
- .confirm-btn:hover {
533
- background-color: #DC2626;
534
- }
535
-
536
- /* Admin Dashboard Specific Styles */
537
- .header-actions .logout-btn,
538
- .header-actions .refresh-btn,
539
- .header-actions .reset-btn {
540
- width: auto; /* Override width: 100% from .btn */
541
- padding: 0.5rem 1rem; /* Adjust padding for smaller buttons */
542
- }
543
-
544
- /* Responsive Design */
545
- @media (max-width: 768px) {
546
- .container {
547
- padding: 1rem;
548
- }
549
-
550
- .stats-container {
551
- grid-template-columns: repeat(2, 1fr);
552
- }
553
-
554
- .submissions-grid {
555
- grid-template-columns: 1fr;
556
- }
557
-
558
- .dashboard-header {
559
- flex-direction: column;
560
- gap: 1rem;
561
- align-items: flex-start;
562
- }
563
-
564
- .header-actions {
565
- display: flex;
566
- gap: 0.5rem;
567
- width: 100%;
568
- }
569
-
570
- .header-actions button {
571
- flex: 1;
572
- }
573
- }
574
-
575
- @media (max-width: 480px) {
576
- .stats-container {
577
- grid-template-columns: 1fr;
578
- }
579
-
580
- .submission-actions {
581
- flex-direction: column;
582
- }
583
-
584
- .action-btn {
585
- width: 100%;
586
- }
587
- }