File size: 41,096 Bytes
de85840
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Kanban CRM System</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        .kanban-column {
            min-height: 500px;
            transition: all 0.3s ease;
        }
        .kanban-card {
            transition: all 0.2s ease;
        }
        .kanban-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }
        .dragging {
            opacity: 0.5;
            transform: scale(1.02);
        }
        .kanban-column.highlight {
            background-color: rgba(219, 234, 254, 0.5);
        }
        .progress-bar {
            height: 6px;
            transition: width 0.3s ease;
        }
        .dropdown-content {
            display: none;
            transition: all 0.3s ease;
        }
        .dropdown:hover .dropdown-content {
            display: block;
        }
        .sidebar {
            transition: all 0.3s ease;
        }
        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
            }
            .sidebar.active {
                transform: translateX(0);
            }
        }
    </style>
</head>
<body class="bg-gray-50 font-sans">
    <!-- Mobile Menu Button -->
    <button id="menuToggle" class="md:hidden fixed top-4 left-4 z-50 bg-blue-600 text-white p-2 rounded-lg shadow-lg">
        <i class="fas fa-bars"></i>
    </button>

    <!-- Sidebar -->
    <div id="sidebar" class="sidebar fixed inset-y-0 left-0 w-64 bg-gray-800 text-white p-4 shadow-lg z-40">
        <div class="flex items-center mb-8">
            <i class="fas fa-chart-line text-blue-400 text-2xl mr-2"></i>
            <h1 class="text-xl font-bold">Kanban CRM</h1>
        </div>
        
        <div class="mb-8">
            <div class="flex items-center mb-4 p-2 rounded-lg bg-gray-700">
                <div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center mr-2">
                    <span class="text-sm font-bold">AD</span>
                </div>
                <div>
                    <p class="font-medium">Admin User</p>
                    <p class="text-xs text-gray-400">admin@example.com</p>
                </div>
            </div>
        </div>
        
        <nav>
            <ul class="space-y-2">
                <li>
                    <a href="#" class="flex items-center p-2 rounded-lg bg-gray-700 text-blue-400">
                        <i class="fas fa-tachometer-alt mr-3"></i>
                        Dashboard
                    </a>
                </li>
                <li>
                    <a href="#" class="flex items-center p-2 rounded-lg hover:bg-gray-700">
                        <i class="fas fa-users mr-3"></i>
                        Clients
                    </a>
                </li>
                <li>
                    <a href="#" class="flex items-center p-2 rounded-lg hover:bg-gray-700">
                        <i class="fas fa-bullseye mr-3"></i>
                        Leads
                    </a>
                </li>
                <li>
                    <a href="#" class="flex items-center p-2 rounded-lg hover:bg-gray-700">
                        <i class="fas fa-address-book mr-3"></i>
                        Contacts
                    </a>
                </li>
                <li>
                    <a href="#" class="flex items-center p-2 rounded-lg hover:bg-gray-700">
                        <i class="fas fa-handshake mr-3"></i>
                        Deals
                    </a>
                </li>
                <li>
                    <a href="#" class="flex items-center p-2 rounded-lg hover:bg-gray-700">
                        <i class="fas fa-chart-pie mr-3"></i>
                        Reports
                    </a>
                </li>
                <li>
                    <a href="#" class="flex items-center p-2 rounded-lg hover:bg-gray-700">
                        <i class="fas fa-cog mr-3"></i>
                        Settings
                    </a>
                </li>
            </ul>
        </nav>
        
        <div class="absolute bottom-4 left-4 right-4">
            <button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-lg flex items-center justify-center">
                <i class="fas fa-plus mr-2"></i> New Deal
            </button>
        </div>
    </div>

    <!-- Main Content -->
    <div class="md:ml-64 p-4">
        <!-- Header -->
        <header class="bg-white rounded-lg shadow-sm p-4 mb-6">
            <div class="flex justify-between items-center">
                <h1 class="text-2xl font-bold text-gray-800">Deal Pipeline</h1>
                <div class="flex items-center space-x-4">
                    <div class="relative">
                        <input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
                        <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
                    </div>
                    <button class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-lg flex items-center">
                        <i class="fas fa-filter mr-2"></i> Filter
                    </button>
                </div>
            </div>
        </header>
        
        <!-- Stats Cards -->
        <div class="grid grid-cols-1 md:grid-cols-4 gap-4 mb-6">
            <div class="bg-white rounded-lg shadow-sm p-4">
                <div class="flex justify-between items-start">
                    <div>
                        <p class="text-gray-500 text-sm">Total Deals</p>
                        <p class="text-2xl font-bold">124</p>
                    </div>
                    <div class="bg-blue-100 text-blue-600 p-2 rounded-lg">
                        <i class="fas fa-handshake"></i>
                    </div>
                </div>
                <div class="mt-2 text-sm text-green-500">
                    <i class="fas fa-arrow-up mr-1"></i> 12% from last month
                </div>
            </div>
            
            <div class="bg-white rounded-lg shadow-sm p-4">
                <div class="flex justify-between items-start">
                    <div>
                        <p class="text-gray-500 text-sm">Active Leads</p>
                        <p class="text-2xl font-bold">56</p>
                    </div>
                    <div class="bg-purple-100 text-purple-600 p-2 rounded-lg">
                        <i class="fas fa-bullseye"></i>
                    </div>
                </div>
                <div class="mt-2 text-sm text-green-500">
                    <i class="fas fa-arrow-up mr-1"></i> 8% from last month
                </div>
            </div>
            
            <div class="bg-white rounded-lg shadow-sm p-4">
                <div class="flex justify-between items-start">
                    <div>
                        <p class="text-gray-500 text-sm">New Clients</p>
                        <p class="text-2xl font-bold">24</p>
                    </div>
                    <div class="bg-green-100 text-green-600 p-2 rounded-lg">
                        <i class="fas fa-users"></i>
                    </div>
                </div>
                <div class="mt-2 text-sm text-red-500">
                    <i class="fas fa-arrow-down mr-1"></i> 5% from last month
                </div>
            </div>
            
            <div class="bg-white rounded-lg shadow-sm p-4">
                <div class="flex justify-between items-start">
                    <div>
                        <p class="text-gray-500 text-sm">Revenue</p>
                        <p class="text-2xl font-bold">$124,560</p>
                    </div>
                    <div class="bg-yellow-100 text-yellow-600 p-2 rounded-lg">
                        <i class="fas fa-dollar-sign"></i>
                    </div>
                </div>
                <div class="mt-2 text-sm text-green-500">
                    <i class="fas fa-arrow-up mr-1"></i> 18% from last month
                </div>
            </div>
        </div>
        
        <!-- Kanban Board -->
        <div class="grid grid-cols-1 md:grid-cols-5 gap-4 mb-6">
            <!-- Column 1: New Leads -->
            <div class="kanban-column bg-gray-100 rounded-lg p-4">
                <div class="flex justify-between items-center mb-4">
                    <h2 class="font-bold text-gray-700">New Leads (24)</h2>
                    <button class="text-gray-500 hover:text-gray-700">
                        <i class="fas fa-ellipsis-h"></i>
                    </button>
                </div>
                
                <div class="space-y-3">
                    <!-- Card 1 -->
                    <div class="kanban-card bg-white rounded-lg shadow p-4 border-l-4 border-blue-500 draggable" draggable="true">
                        <div class="flex justify-between items-start mb-2">
                            <h3 class="font-medium">TechCorp Inc.</h3>
                            <div class="dropdown relative">
                                <button class="text-gray-400 hover:text-gray-600">
                                    <i class="fas fa-ellipsis-v"></i>
                                </button>
                                <div class="dropdown-content absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg z-10 py-1 hidden">
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Edit</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Convert to Client</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-100">Delete</a>
                                </div>
                            </div>
                        </div>
                        <p class="text-sm text-gray-500 mb-3">Enterprise software solutions</p>
                        <div class="flex items-center text-xs text-gray-500 mb-3">
                            <i class="fas fa-user mr-1"></i>
                            <span>John Smith</span>
                            <i class="fas fa-phone ml-3 mr-1"></i>
                            <span>(555) 123-4567</span>
                        </div>
                        <div class="flex justify-between items-center text-xs">
                            <span class="text-gray-500">Added: 2 days ago</span>
                            <span class="bg-blue-100 text-blue-800 px-2 py-1 rounded">Hot</span>
                        </div>
                    </div>
                    
                    <!-- Card 2 -->
                    <div class="kanban-card bg-white rounded-lg shadow p-4 border-l-4 border-green-500 draggable" draggable="true">
                        <div class="flex justify-between items-start mb-2">
                            <h3 class="font-medium">Green Energy LLC</h3>
                            <div class="dropdown relative">
                                <button class="text-gray-400 hover:text-gray-600">
                                    <i class="fas fa-ellipsis-v"></i>
                                </button>
                                <div class="dropdown-content absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg z-10 py-1 hidden">
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Edit</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Convert to Client</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-100">Delete</a>
                                </div>
                            </div>
                        </div>
                        <p class="text-sm text-gray-500 mb-3">Renewable energy consulting</p>
                        <div class="flex items-center text-xs text-gray-500 mb-3">
                            <i class="fas fa-user mr-1"></i>
                            <span>Sarah Johnson</span>
                            <i class="fas fa-envelope ml-3 mr-1"></i>
                            <span>sarah@greenenergy.com</span>
                        </div>
                        <div class="flex justify-between items-center text-xs">
                            <span class="text-gray-500">Added: 1 week ago</span>
                            <span class="bg-green-100 text-green-800 px-2 py-1 rounded">Warm</span>
                        </div>
                    </div>
                </div>
                
                <button class="w-full mt-4 py-2 text-gray-500 hover:text-gray-700 hover:bg-gray-200 rounded-lg">
                    <i class="fas fa-plus mr-1"></i> Add Lead
                </button>
            </div>
            
            <!-- Column 2: Contacted -->
            <div class="kanban-column bg-gray-100 rounded-lg p-4">
                <div class="flex justify-between items-center mb-4">
                    <h2 class="font-bold text-gray-700">Contacted (18)</h2>
                    <button class="text-gray-500 hover:text-gray-700">
                        <i class="fas fa-ellipsis-h"></i>
                    </button>
                </div>
                
                <div class="space-y-3">
                    <!-- Card 1 -->
                    <div class="kanban-card bg-white rounded-lg shadow p-4 border-l-4 border-purple-500 draggable" draggable="true">
                        <div class="flex justify-between items-start mb-2">
                            <h3 class="font-medium">Digital Marketing Pros</h3>
                            <div class="dropdown relative">
                                <button class="text-gray-400 hover:text-gray-600">
                                    <i class="fas fa-ellipsis-v"></i>
                                </button>
                                <div class="dropdown-content absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg z-10 py-1 hidden">
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Edit</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Convert to Client</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-100">Delete</a>
                                </div>
                            </div>
                        </div>
                        <p class="text-sm text-gray-500 mb-3">Full-service digital marketing</p>
                        <div class="flex items-center text-xs text-gray-500 mb-3">
                            <i class="fas fa-user mr-1"></i>
                            <span>Michael Brown</span>
                            <i class="fas fa-phone ml-3 mr-1"></i>
                            <span>(555) 987-6543</span>
                        </div>
                        <div class="flex justify-between items-center text-xs">
                            <span class="text-gray-500">Last contact: Today</span>
                            <span class="bg-purple-100 text-purple-800 px-2 py-1 rounded">Follow-up</span>
                        </div>
                    </div>
                    
                    <!-- Card 2 -->
                    <div class="kanban-card bg-white rounded-lg shadow p-4 border-l-4 border-yellow-500 draggable" draggable="true">
                        <div class="flex justify-between items-start mb-2">
                            <h3 class="font-medium">HealthPlus Clinics</h3>
                            <div class="dropdown relative">
                                <button class="text-gray-400 hover:text-gray-600">
                                    <i class="fas fa-ellipsis-v"></i>
                                </button>
                                <div class="dropdown-content absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg z-10 py-1 hidden">
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Edit</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Convert to Client</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-100">Delete</a>
                                </div>
                            </div>
                        </div>
                        <p class="text-sm text-gray-500 mb-3">Healthcare management system</p>
                        <div class="flex items-center text-xs text-gray-500 mb-3">
                            <i class="fas fa-user mr-1"></i>
                            <span>Dr. Lisa Wong</span>
                            <i class="fas fa-envelope ml-3 mr-1"></i>
                            <span>lisa@healthplus.com</span>
                        </div>
                        <div class="flex justify-between items-center text-xs">
                            <span class="text-gray-500">Last contact: 2 days ago</span>
                            <span class="bg-yellow-100 text-yellow-800 px-2 py-1 rounded">Pending</span>
                        </div>
                    </div>
                </div>
                
                <button class="w-full mt-4 py-2 text-gray-500 hover:text-gray-700 hover:bg-gray-200 rounded-lg">
                    <i class="fas fa-plus mr-1"></i> Add Contact
                </button>
            </div>
            
            <!-- Column 3: Proposal Sent -->
            <div class="kanban-column bg-gray-100 rounded-lg p-4">
                <div class="flex justify-between items-center mb-4">
                    <h2 class="font-bold text-gray-700">Proposal Sent (15)</h2>
                    <button class="text-gray-500 hover:text-gray-700">
                        <i class="fas fa-ellipsis-h"></i>
                    </button>
                </div>
                
                <div class="space-y-3">
                    <!-- Card 1 -->
                    <div class="kanban-card bg-white rounded-lg shadow p-4 border-l-4 border-indigo-500 draggable" draggable="true">
                        <div class="flex justify-between items-start mb-2">
                            <h3 class="font-medium">Global Logistics</h3>
                            <div class="dropdown relative">
                                <button class="text-gray-400 hover:text-gray-600">
                                    <i class="fas fa-ellipsis-v"></i>
                                </button>
                                <div class="dropdown-content absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg z-10 py-1 hidden">
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Edit</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Convert to Client</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-100">Delete</a>
                                </div>
                            </div>
                        </div>
                        <p class="text-sm text-gray-500 mb-3">Supply chain optimization</p>
                        <div class="flex items-center text-xs text-gray-500 mb-3">
                            <i class="fas fa-user mr-1"></i>
                            <span>Robert Chen</span>
                            <i class="fas fa-phone ml-3 mr-1"></i>
                            <span>(555) 456-7890</span>
                        </div>
                        <div class="mb-2">
                            <p class="text-xs text-gray-500">Proposal Value: <span class="font-medium">$45,000</span></p>
                        </div>
                        <div class="flex justify-between items-center text-xs">
                            <span class="text-gray-500">Sent: 3 days ago</span>
                            <span class="bg-indigo-100 text-indigo-800 px-2 py-1 rounded">Reviewing</span>
                        </div>
                    </div>
                    
                    <!-- Card 2 -->
                    <div class="kanban-card bg-white rounded-lg shadow p-4 border-l-4 border-red-500 draggable" draggable="true">
                        <div class="flex justify-between items-start mb-2">
                            <h3 class="font-medium">EduTech Solutions</h3>
                            <div class="dropdown relative">
                                <button class="text-gray-400 hover:text-gray-600">
                                    <i class="fas fa-ellipsis-v"></i>
                                </button>
                                <div class="dropdown-content absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg z-10 py-1 hidden">
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Edit</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Convert to Client</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-100">Delete</a>
                                </div>
                            </div>
                        </div>
                        <p class="text-sm text-gray-500 mb-3">Learning management platform</p>
                        <div class="flex items-center text-xs text-gray-500 mb-3">
                            <i class="fas fa-user mr-1"></i>
                            <span>David Wilson</span>
                            <i class="fas fa-envelope ml-3 mr-1"></i>
                            <span>david@edutech.com</span>
                        </div>
                        <div class="mb-2">
                            <p class="text-xs text-gray-500">Proposal Value: <span class="font-medium">$28,500</span></p>
                        </div>
                        <div class="flex justify-between items-center text-xs">
                            <span class="text-gray-500">Sent: 1 week ago</span>
                            <span class="bg-red-100 text-red-800 px-2 py-1 rounded">Urgent</span>
                        </div>
                    </div>
                </div>
                
                <button class="w-full mt-4 py-2 text-gray-500 hover:text-gray-700 hover:bg-gray-200 rounded-lg">
                    <i class="fas fa-plus mr-1"></i> Add Proposal
                </button>
            </div>
            
            <!-- Column 4: Negotiation -->
            <div class="kanban-column bg-gray-100 rounded-lg p-4">
                <div class="flex justify-between items-center mb-4">
                    <h2 class="font-bold text-gray-700">Negotiation (8)</h2>
                    <button class="text-gray-500 hover:text-gray-700">
                        <i class="fas fa-ellipsis-h"></i>
                    </button>
                </div>
                
                <div class="space-y-3">
                    <!-- Card 1 -->
                    <div class="kanban-card bg-white rounded-lg shadow p-4 border-l-4 border-pink-500 draggable" draggable="true">
                        <div class="flex justify-between items-start mb-2">
                            <h3 class="font-medium">FinTech Innovations</h3>
                            <div class="dropdown relative">
                                <button class="text-gray-400 hover:text-gray-600">
                                    <i class="fas fa-ellipsis-v"></i>
                                </button>
                                <div class="dropdown-content absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg z-10 py-1 hidden">
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Edit</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Convert to Client</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-100">Delete</a>
                                </div>
                            </div>
                        </div>
                        <p class="text-sm text-gray-500 mb-3">Mobile banking solution</p>
                        <div class="flex items-center text-xs text-gray-500 mb-3">
                            <i class="fas fa-user mr-1"></i>
                            <span>Emma Rodriguez</span>
                            <i class="fas fa-phone ml-3 mr-1"></i>
                            <span>(555) 789-0123</span>
                        </div>
                        <div class="mb-2">
                            <p class="text-xs text-gray-500">Deal Size: <span class="font-medium">$62,000</span></p>
                            <div class="w-full bg-gray-200 rounded-full h-1.5 mt-1">
                                <div class="bg-pink-500 h-1.5 rounded-full progress-bar" style="width: 75%"></div>
                            </div>
                        </div>
                        <div class="flex justify-between items-center text-xs">
                            <span class="text-gray-500">Last update: Yesterday</span>
                            <span class="bg-pink-100 text-pink-800 px-2 py-1 rounded">Finalizing</span>
                        </div>
                    </div>
                    
                    <!-- Card 2 -->
                    <div class="kanban-card bg-white rounded-lg shadow p-4 border-l-4 border-teal-500 draggable" draggable="true">
                        <div class="flex justify-between items-start mb-2">
                            <h3 class="font-medium">Retail Chain Co.</h3>
                            <div class="dropdown relative">
                                <button class="text-gray-400 hover:text-gray-600">
                                    <i class="fas fa-ellipsis-v"></i>
                                </button>
                                <div class="dropdown-content absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg z-10 py-1 hidden">
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Edit</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Convert to Client</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-100">Delete</a>
                                </div>
                            </div>
                        </div>
                        <p class="text-sm text-gray-500 mb-3">Inventory management system</p>
                        <div class="flex items-center text-xs text-gray-500 mb-3">
                            <i class="fas fa-user mr-1"></i>
                            <span>James Peterson</span>
                            <i class="fas fa-envelope ml-3 mr-1"></i>
                            <span>james@retailchain.com</span>
                        </div>
                        <div class="mb-2">
                            <p class="text-xs text-gray-500">Deal Size: <span class="font-medium">$38,500</span></p>
                            <div class="w-full bg-gray-200 rounded-full h-1.5 mt-1">
                                <div class="bg-teal-500 h-1.5 rounded-full progress-bar" style="width: 50%"></div>
                            </div>
                        </div>
                        <div class="flex justify-between items-center text-xs">
                            <span class="text-gray-500">Last update: 3 days ago</span>
                            <span class="bg-teal-100 text-teal-800 px-2 py-1 rounded">Mid-stage</span>
                        </div>
                    </div>
                </div>
                
                <button class="w-full mt-4 py-2 text-gray-500 hover:text-gray-700 hover:bg-gray-200 rounded-lg">
                    <i class="fas fa-plus mr-1"></i> Add Negotiation
                </button>
            </div>
            
            <!-- Column 5: Closed Won/Lost -->
            <div class="kanban-column bg-gray-100 rounded-lg p-4">
                <div class="flex justify-between items-center mb-4">
                    <h2 class="font-bold text-gray-700">Closed (12)</h2>
                    <button class="text-gray-500 hover:text-gray-700">
                        <i class="fas fa-ellipsis-h"></i>
                    </button>
                </div>
                
                <div class="space-y-3">
                    <!-- Card 1 - Won -->
                    <div class="kanban-card bg-white rounded-lg shadow p-4 border-l-4 border-green-500 draggable" draggable="true">
                        <div class="flex justify-between items-start mb-2">
                            <h3 class="font-medium">Cloud Services Ltd.</h3>
                            <div class="dropdown relative">
                                <button class="text-gray-400 hover:text-gray-600">
                                    <i class="fas fa-ellipsis-v"></i>
                                </button>
                                <div class="dropdown-content absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg z-10 py-1 hidden">
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Edit</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Convert to Client</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-100">Delete</a>
                                </div>
                            </div>
                        </div>
                        <p class="text-sm text-gray-500 mb-3">Cloud migration services</p>
                        <div class="flex items-center text-xs text-gray-500 mb-3">
                            <i class="fas fa-user mr-1"></i>
                            <span>Thomas Wright</span>
                            <i class="fas fa-phone ml-3 mr-1"></i>
                            <span>(555) 234-5678</span>
                        </div>
                        <div class="mb-2">
                            <p class="text-xs text-gray-500">Deal Value: <span class="font-medium text-green-600">$85,000</span></p>
                        </div>
                        <div class="flex justify-between items-center text-xs">
                            <span class="text-gray-500">Closed: 2 days ago</span>
                            <span class="bg-green-100 text-green-800 px-2 py-1 rounded">Won</span>
                        </div>
                    </div>
                    
                    <!-- Card 2 - Lost -->
                    <div class="kanban-card bg-white rounded-lg shadow p-4 border-l-4 border-red-500 draggable" draggable="true">
                        <div class="flex justify-between items-start mb-2">
                            <h3 class="font-medium">AutoParts Distributors</h3>
                            <div class="dropdown relative">
                                <button class="text-gray-400 hover:text-gray-600">
                                    <i class="fas fa-ellipsis-v"></i>
                                </button>
                                <div class="dropdown-content absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg z-10 py-1 hidden">
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Edit</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Convert to Client</a>
                                    <a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-100">Delete</a>
                                </div>
                            </div>
                        </div>
                        <p class="text-sm text-gray-500 mb-3">Inventory tracking system</p>
                        <div class="flex items-center text-xs text-gray-500 mb-3">
                            <i class="fas fa-user mr-1"></i>
                            <span>Karen Miller</span>
                            <i class="fas fa-envelope ml-3 mr-1"></i>
                            <span>karen@autoparts.com</span>
                        </div>
                        <div class="mb-2">
                            <p class="text-xs text-gray-500">Potential Value: <span class="font-medium text-red-600">$42,000</span></p>
                        </div>
                        <div class="flex justify-between items-center text-xs">
                            <span class="text-gray-500">Closed: 1 week ago</span>
                            <span class="bg-red-100 text-red-800 px-2 py-1 rounded">Lost</span>
                        </div>
                    </div>
                </div>
                
                <button class="w-full mt-4 py-2 text-gray-500 hover:text-gray-700 hover:bg-gray-200 rounded-lg">
                    <i class="fas fa-plus mr-1"></i> Add Closed Deal
                </button>
            </div>
        </div>
        
        <!-- Recent Activity -->
        <div class="bg-white rounded-lg shadow-sm p-4 mb-6">
            <div class="flex justify-between items-center mb-4">
                <h2 class="text-xl font-bold text-gray-800">Recent Activity</h2>
                <button class="text-blue-600 hover:text-blue-800">View All</button>
            </div>
            
            <div class="space-y-4">
                <!-- Activity 1 -->
                <div class="flex items-start">
                    <div class="w-8 h-8 rounded-full bg-blue-100 text-blue-600 flex items-center justify-center mr-3 mt-1">
                        <i class="fas fa-handshake"></i>
                    </div>
                    <div class="flex-1">
                        <p class="text-sm">
                            <span class="font-medium">You</span> closed a deal with <span class="font-medium">Cloud Services Ltd.</span> for <span class="font-medium text-green-600">$85,000</span>
                        </p>
                        <p class="text-xs text-gray-500 mt-1">2 hours ago</p>
                    </div>
                </div>
                
                <!-- Activity 2 -->
                <div class="flex items-start">
                    <div class="w-8 h-8 rounded-full bg-purple-100 text-purple-600 flex items-center justify-center mr-3 mt-1">
                        <i class="fas fa-file-contract"></i>
                    </div>
                    <div class="flex-1">
                        <p class="text-sm">
                            <span class="font-medium">Sarah Johnson</span> from <span class="font-medium">Green Energy LLC</span> viewed your proposal
                        </p>
                        <p class="text-xs text-gray-500 mt-1">5 hours ago</p>
                    </div>
                </div>
                
                <!-- Activity 3 -->
                <div class="flex items-start">
                    <div class="w-8 h-8 rounded-full bg-yellow-100 text-yellow-600 flex items-center justify-center mr-3 mt-1">
                        <i class="fas fa-phone"></i>
                    </div>
                    <div class="flex-1">
                        <p class="text-sm">
                            <span class="font-medium">You</span> had a call with <span class="font-medium">Robert Chen</span> about the negotiation
                        </p>
                        <p class="text-xs text-gray-500 mt-1">Yesterday</p>
                    </div>
                </div>
                
                <!-- Activity 4 -->
                <div class="flex items-start">
                    <div class="w-8 h-8 rounded-full bg-red-100 text-red-600 flex items-center justify-center mr-3 mt-1">
                        <i class="fas fa-times-circle"></i>
                    </div>
                    <div class="flex-1">
                        <p class="text-sm">
                            Deal with <span class="font-medium">AutoParts Distributors</span> was marked as <span class="font-medium text-red-600">Lost</span>
                        </p>
                        <p class="text-xs text-gray-500 mt-1">2 days ago</p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        // Mobile menu toggle
        document.getElementById('menuToggle').addEventListener('click', function() {
            document.getElementById('sidebar').classList.toggle('active');
        });

        // Drag and drop functionality
        document.addEventListener('DOMContentLoaded', function() {
            const draggables = document.querySelectorAll('.draggable');
            const kanbanColumns = document.querySelectorAll('.kanban-column');

            draggables.forEach(draggable => {
                draggable.addEventListener('dragstart', () => {
                    draggable.classList.add('dragging');
                });

                draggable.addEventListener('dragend', () => {
                    draggable.classList.remove('dragging');
                });
            });

            kanbanColumns.forEach(column => {
                column.addEventListener('dragover', e => {
                    e.preventDefault();
                    const dragging = document.querySelector('.dragging');
                    column.classList.add('highlight');
                    
                    const afterElement = getDragAfterElement(column, e.clientY);
                    if (afterElement) {
                        column.insertBefore(dragging, afterElement);
                    } else {
                        column.appendChild(dragging);
                    }
                });

                column.addEventListener('dragleave', () => {
                    column.classList.remove('highlight');
                });

                column.addEventListener('drop', () => {
                    column.classList.remove('highlight');
                });
            });

            function getDragAfterElement(column, y) {
                const draggableElements = [...column.querySelectorAll('.draggable:not(.dragging)')];
                
                return draggableElements.reduce((closest, child) => {
                    const box = child.getBoundingClientRect();
                    const offset = y - box.top - box.height / 2;
                    
                    if (offset < 0 && offset > closest.offset) {
                        return { offset: offset, element: child };
                    } else {
                        return closest;
                    }
                }, { offset: Number.NEGATIVE_INFINITY }).element;
            }
        });

        // Dropdown functionality
        document.querySelectorAll('.dropdown').forEach(dropdown => {
            const button = dropdown.querySelector('button');
            const content = dropdown.querySelector('.dropdown-content');
            
            button.addEventListener('click', (e) => {
                e.stopPropagation();
                content.style.display = content.style.display === 'block' ? 'none' : 'block';
            });
        });

        // Close dropdowns when clicking elsewhere
        document.addEventListener('click', function() {
            document.querySelectorAll('.dropdown-content').forEach(content => {
                content.style.display = 'none';
            });
        });
    </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=FirstEngineer/crm" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>