File size: 25,980 Bytes
07992ae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9631523
 
 
 
 
07992ae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>TaskFlow Nexus - Team Task Management</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <link rel="stylesheet" href="style.css">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script>
        tailwind.config = {
            darkMode: 'class',
            theme: {
                extend: {
                    colors: {
                        primary: {
                            50: '#f0f9ff',
                            100: '#e0f2fe',
                            200: '#bae6fd',
                            300: '#7dd3fc',
                            400: '#38bdf8',
                            500: '#0ea5e9',
                            600: '#0284c7',
                            700: '#0369a1',
                            800: '#075985',
                            900: '#0c4a6e',
                            950: '#082f49',
                        },
                        secondary: {
                            50: '#fdf4ff',
                            100: '#fae8ff',
                            200: '#f5d0fe',
                            300: '#f0abfc',
                            400: '#e879f9',
                            500: '#d946ef',
                            600: '#c026d3',
                            700: '#a21caf',
                            800: '#86198f',
                            900: '#701a75',
                            950: '#4a044e',
                        },
                        dark: {
                            50: '#f8fafc',
                            100: '#f1f5f9',
                            200: '#e2e8f0',
                            300: '#cbd5e1',
                            400: '#94a3b8',
                            500: '#64748b',
                            600: '#475569',
                            700: '#334155',
                            800: '#1e293b',
                            900: '#0f172a',
                            950: '#020617',
                        }
                    },
                    animation: {
                        'fade-in': 'fadeIn 0.3s ease-out',
                        'slide-up': 'slideUp 0.4s ease-out',
                        'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
                        'bounce-slow': 'bounce 2s infinite',
                    },
                    keyframes: {
                        fadeIn: {
                            '0%': { opacity: '0' },
                            '100%': { opacity: '1' },
                        },
                        slideUp: {
                            '0%': { transform: 'translateY(20px)', opacity: '0' },
                            '100%': { transform: 'translateY(0)', opacity: '1' },
                        }
                    }
                }
            }
        }
    </script>
</head>
<body class="bg-dark-950 text-dark-100 min-h-screen font-sans antialiased">
    <!-- Navigation -->
    <nav-bar></nav-bar>

    <!-- Main Content -->
    <main id="mainContent" class="pt-20 pb-8 px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
        <!-- Hero Section -->
        <section id="heroSection" class="mb-8 animate-fade-in">
            <div class="relative overflow-hidden rounded-2xl bg-gradient-to-br from-primary-900/50 to-secondary-900/50 border border-primary-700/30 p-8 md:p-12">
                <div class="absolute inset-0 bg-[url('data:image/svg+xml,%3Csvg width=\"60\" height=\"60\" viewBox=\"0 0 60 60\" xmlns=\"http://www.w3.org/2000/svg\"%3E%3Cg fill=\"none\" fill-rule=\"evenodd\"%3E%3Cg fill=\"%230ea5e9\" fill-opacity=\"0.05\"%3E%3Cpath d=\"M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z\"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E')]"></div>
                <div class="relative z-10">
                    <div class="flex flex-col md:flex-row md:items-center md:justify-between gap-6">
                        <div>
                            <h1 class="text-4xl md:text-5xl font-bold bg-gradient-to-r from-primary-400 to-secondary-400 bg-clip-text text-transparent mb-4">
                                TaskFlow Nexus
                            </h1>
                            <p class="text-dark-300 text-lg max-w-2xl">
                                Streamline your team's workflow with intelligent task management. 
                                Collaborate seamlessly, track progress effortlessly, and achieve goals together.
                            </p>
                        </div>
                        <div class="flex flex-col sm:flex-row gap-3">
                            <button id="viewTasksBtn" class="px-6 py-3 bg-primary-600 hover:bg-primary-500 text-white rounded-xl font-semibold transition-all duration-300 flex items-center justify-center gap-2 shadow-lg shadow-primary-600/25 hover:shadow-primary-600/40">
                                <i data-feather="grid" class="w-5 h-5"></i>
                                View All Tasks
                            </button>
                        <button id="loginPromptBtn" class="px-6 py-3 bg-dark-800 hover:bg-dark-700 text-dark-100 rounded-xl font-semibold transition-all duration-300 flex items-center justify-center gap-2 border border-dark-600">
                            <i data-feather="log-in" class="w-5 h-5"></i>
                            Sign In to Manage
                        </button>
</div>
                    </div>
                    
                    <!-- Quick Stats -->
                    <div class="grid grid-cols-2 md:grid-cols-4 gap-4 mt-8">
                        <div class="bg-dark-900/50 backdrop-blur rounded-xl p-4 border border-dark-700/50">
                            <div class="flex items-center gap-3">
                                <div class="w-10 h-10 rounded-lg bg-primary-500/20 flex items-center justify-center">
                                    <i data-feather="list" class="w-5 h-5 text-primary-400"></i>
                                </div>
                                <div>
                                    <p class="text-2xl font-bold text-primary-400" id="totalTasksCount">0</p>
                                    <p class="text-xs text-dark-400 uppercase tracking-wider">Total Tasks</p>
                                </div>
                            </div>
                        </div>
                        <div class="bg-dark-900/50 backdrop-blur rounded-xl p-4 border border-dark-700/50">
                            <div class="flex items-center gap-3">
                                <div class="w-10 h-10 rounded-lg bg-yellow-500/20 flex items-center justify-center">
                                    <i data-feather="clock" class="w-5 h-5 text-yellow-400"></i>
                                </div>
                                <div>
                                    <p class="text-2xl font-bold text-yellow-400" id="pendingTasksCount">0</p>
                                    <p class="text-xs text-dark-400 uppercase tracking-wider">Pending</p>
                                </div>
                            </div>
                        </div>
                        <div class="bg-dark-900/50 backdrop-blur rounded-xl p-4 border border-dark-700/50">
                            <div class="flex items-center gap-3">
                                <div class="w-10 h-10 rounded-lg bg-blue-500/20 flex items-center justify-center">
                                    <i data-feather="loader" class="w-5 h-5 text-blue-400"></i>
                                </div>
                                <div>
                                    <p class="text-2xl font-bold text-blue-400" id="inProgressCount">0</p>
                                    <p class="text-xs text-dark-400 uppercase tracking-wider">In Progress</p>
                                </div>
                            </div>
                        </div>
                        <div class="bg-dark-900/50 backdrop-blur rounded-xl p-4 border border-dark-700/50">
                            <div class="flex items-center gap-3">
                                <div class="w-10 h-10 rounded-lg bg-green-500/20 flex items-center justify-center">
                                    <i data-feather="check-circle" class="w-5 h-5 text-green-400"></i>
                                </div>
                                <div>
                                    <p class="text-2xl font-bold text-green-400" id="completedCount">0</p>
                                    <p class="text-xs text-dark-400 uppercase tracking-wider">Completed</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- Filters & Search -->
        <section id="filtersSection" class="mb-6 animate-slide-up">
            <div class="bg-dark-900/80 backdrop-blur rounded-xl p-4 border border-dark-700/50">
                <div class="flex flex-col lg:flex-row gap-4">
                    <!-- Search -->
                    <div class="flex-1 relative">
                        <i data-feather="search" class="absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-dark-400"></i>
                        <input type="text" id="searchInput" placeholder="Search tasks by title, description, or assignee..." 
                            class="w-full pl-10 pr-4 py-2.5 bg-dark-800 border border-dark-600 rounded-lg text-dark-100 placeholder-dark-400 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent transition-all">
                    </div>
                    
                    <!-- Filter Dropdowns -->
                    <div class="flex flex-wrap gap-3">
                        <select id="statusFilter" class="px-4 py-2.5 bg-dark-800 border border-dark-600 rounded-lg text-dark-100 focus:outline-none focus:ring-2 focus:ring-primary-500">
                            <option value="">All Status</option>
                            <option value="pending">Pending</option>
                            <option value="in-progress">In Progress</option>
                            <option value="completed">Completed</option>
                            <option value="overdue">Overdue</option>
                        </select>
                        
                        <select id="priorityFilter" class="px-4 py-2.5 bg-dark-800 border border-dark-600 rounded-lg text-dark-100 focus:outline-none focus:ring-2 focus:ring-primary-500">
                            <option value="">All Priorities</option>
                            <option value="high">High Priority</option>
                            <option value="medium">Medium Priority</option>
                            <option value="low">Low Priority</option>
                        </select>
                        
                        <select id="assigneeFilter" class="px-4 py-2.5 bg-dark-800 border border-dark-600 rounded-lg text-dark-100 focus:outline-none focus:ring-2 focus:ring-primary-500">
                            <option value="">All Members</option>
                        </select>
                        
                        <button id="resetFilters" class="px-4 py-2.5 bg-dark-700 hover:bg-dark-600 text-dark-200 rounded-lg transition-colors flex items-center gap-2">
                            <i data-feather="refresh-cw" class="w-4 h-4"></i>
                            Reset
                        </button>
                    </div>
                </div>
            </div>
        </section>

        <!-- Tasks Grid -->
        <section id="tasksSection" class="animate-slide-up">
            <div class="flex items-center justify-between mb-4">
                <h2 class="text-xl font-semibold text-dark-100 flex items-center gap-2">
                    <i data-feather="layers" class="w-5 h-5 text-primary-400"></i>
                    All Tasks
                </h2>
                <div class="flex items-center gap-2">
                    <span class="text-sm text-dark-400" id="tasksShowing">Showing all tasks</span>
                    <div class="flex bg-dark-800 rounded-lg p-1">
                        <button id="gridView" class="p-2 rounded-md bg-dark-700 text-primary-400 transition-all">
                            <i data-feather="grid" class="w-4 h-4"></i>
                        </button>
                        <button id="listView" class="p-2 rounded-md text-dark-400 hover:text-dark-200 transition-all">
                            <i data-feather="list" class="w-4 h-4"></i>
                        </button>
                    </div>
                </div>
            </div>
            
            <div id="tasksGrid" class="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-4">
                <!-- Tasks will be dynamically inserted here -->
            </div>
            
            <!-- Empty State -->
            <div id="emptyState" class="hidden text-center py-16">
                <div class="w-24 h-24 mx-auto mb-4 rounded-full bg-dark-800 flex items-center justify-center">
                    <i data-feather="inbox" class="w-12 h-12 text-dark-500"></i>
                </div>
                <h3 class="text-lg font-semibold text-dark-300 mb-2">No tasks found</h3>
                <p class="text-dark-500">Try adjusting your filters or search criteria</p>
            </div>
        </section>
    </main>

    <!-- Login Modal -->
    <div id="loginModal" class="fixed inset-0 z-50 hidden">
        <div class="absolute inset-0 bg-dark-950/80 backdrop-blur-sm" id="loginModalOverlay"></div>
        <div class="relative z-10 flex items-center justify-center min-h-screen p-4">
            <div class="bg-dark-900 rounded-2xl border border-dark-700 shadow-2xl w-full max-w-md overflow-hidden animate-slide-up">
                <div class="p-6 border-b border-dark-700">
                    <div class="flex items-center justify-between">
                        <h2 class="text-xl font-bold text-dark-100">Sign In</h2>
                        <button id="closeLoginModal" class="text-dark-400 hover:text-dark-200 transition-colors">
                            <i data-feather="x" class="w-5 h-5"></i>
                        </button>
                    </div>
                    <p class="text-dark-400 text-sm mt-1">Access your tasks and team workspace</p>
                </div>
                
                <form id="loginForm" class="p-6 space-y-4">
                    <div>
                        <label class="block text-sm font-medium text-dark-300 mb-1">User ID</label>
                        <div class="relative">
                            <i data-feather="user" class="absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-dark-400"></i>
                            <input type="text" id="loginUserId" required
                                class="w-full pl-10 pr-4 py-2.5 bg-dark-800 border border-dark-600 rounded-lg text-dark-100 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent"
                                placeholder="Enter your user ID">
                        </div>
                    </div>
                    
                    <div>
                        <label class="block text-sm font-medium text-dark-300 mb-1">Password</label>
                        <div class="relative">
                            <i data-feather="lock" class="absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-dark-400"></i>
                            <input type="password" id="loginPassword" required
                                class="w-full pl-10 pr-4 py-2.5 bg-dark-800 border border-dark-600 rounded-lg text-dark-100 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent"
                                placeholder="Enter your password">
                        </div>
                    </div>
                    
                    <div id="loginError" class="hidden p-3 bg-red-500/10 border border-red-500/30 rounded-lg text-red-400 text-sm">
                        Invalid credentials. Please try again.
                    </div>
                    
                    <button type="submit" class="w-full py-2.5 bg-primary-600 hover:bg-primary-500 text-white rounded-lg font-semibold transition-all duration-300 flex items-center justify-center gap-2">
                        <i data-feather="log-in" class="w-5 h-5"></i>
                        Sign In
                    </button>
                </form>
                
                <div class="px-6 pb-6">
                    <div class="text-center text-sm text-dark-400">
                        <p>Demo accounts:</p>
                        <p class="mt-1"><span class="text-primary-400">admin</span> / <span class="text-secondary-400">admin123</span> (Admin)</p>
                        <p><span class="text-primary-400">member1</span> / <span class="text-secondary-400">pass123</span> (Member)</p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Task Detail Modal (Read-only for guests) -->
    <div id="taskDetailModal" class="fixed inset-0 z-50 hidden">
        <div class="absolute inset-0 bg-dark-950/80 backdrop-blur-sm" id="taskDetailOverlay"></div>
        <div class="relative z-10 flex items-center justify-center min-h-screen p-4">
            <div class="bg-dark-900 rounded-2xl border border-dark-700 shadow-2xl w-full max-w-2xl max-h-[90vh] overflow-hidden animate-slide-up">
                <div class="p-6 border-b border-dark-700 flex items-center justify-between">
                    <div class="flex items-center gap-3">
                        <span id="taskDetailPriority" class="px-2.5 py-1 rounded-full text-xs font-semibold uppercase tracking-wide"></span>
                        <span id="taskDetailStatus" class="px-2.5 py-1 rounded-full text-xs font-semibold uppercase tracking-wide"></span>
                    </div>
                    <button id="closeTaskDetail" class="text-dark-400 hover:text-dark-200 transition-colors">
                        <i data-feather="x" class="w-5 h-5"></i>
                    </button>
                </div>
                
                <div class="p-6 overflow-y-auto max-h-[60vh]">
                    <h2 id="taskDetailTitle" class="text-2xl font-bold text-dark-100 mb-4"></h2>
                    
                    <div class="grid grid-cols-2 gap-4 mb-6">
                        <div class="bg-dark-800 rounded-lg p-3">
                            <p class="text-xs text-dark-400 uppercase tracking-wider mb-1">Start Date</p>
                            <p id="taskDetailStartDate" class="text-dark-200 font-medium flex items-center gap-2">
                                <i data-feather="calendar" class="w-4 h-4 text-primary-400"></i>
                            </p>
                        </div>
                        <div class="bg-dark-800 rounded-lg p-3">
                            <p class="text-xs text-dark-400 uppercase tracking-wider mb-1">Due Date</p>
                            <p id="taskDetailDueDate" class="text-dark-200 font-medium flex items-center gap-2">
                                <i data-feather="clock" class="w-4 h-4 text-secondary-400"></i>
                            </p>
                        </div>
                        <div class="bg-dark-800 rounded-lg p-3">
                            <p class="text-xs text-dark-400 uppercase tracking-wider mb-1">Assigned To</p>
                            <p id="taskDetailAssignee" class="text-dark-200 font-medium flex items-center gap-2">
                                <i data-feather="user" class="w-4 h-4 text-primary-400"></i>
                            </p>
                        </div>
                        <div class="bg-dark-800 rounded-lg p-3">
                            <p class="text-xs text-dark-400 uppercase tracking-wider mb-1">Progress</p>
                            <div class="flex items-center gap-2">
                                <div class="flex-1 h-2 bg-dark-600 rounded-full overflow-hidden">
                                    <div id="taskDetailProgressBar" class="h-full bg-primary-500 rounded-full transition-all"></div>
                                </div>
                                <span id="taskDetailProgressText" class="text-sm text-dark-300"></span>
                            </div>
                        </div>
                    </div>
                    
                    <div>
                        <p class="text-xs text-dark-400 uppercase tracking-wider mb-2">Description</p>
                        <p id="taskDetailDescription" class="text-dark-300 leading-relaxed"></p>
                    </div>
                </div>
                
                <div id="taskDetailActions" class="p-6 border-t border-dark-700 bg-dark-800/50">
                    <!-- Actions will be shown based on user role -->
                </div>
            </div>
        </div>
    </div>

    <!-- Daily Alert Modal -->
    <div id="dailyAlertModal" class="fixed inset-0 z-50 hidden">
        <div class="absolute inset-0 bg-dark-950/90 backdrop-blur-sm"></div>
        <div class="relative z-10 flex items-center justify-center min-h-screen p-4">
            <div class="bg-dark-900 rounded-2xl border border-primary-500/30 shadow-2xl shadow-primary-500/20 w-full max-w-lg overflow-hidden animate-slide-up">
                <div class="p-6 border-b border-dark-700 bg-gradient-to-r from-primary-900/30 to-secondary-900/30">
                    <div class="flex items-center gap-3">
                        <div class="w-12 h-12 rounded-full bg-primary-500/20 flex items-center justify-center animate-pulse-slow">
                            <i data-feather="bell" class="w-6 h-6 text-primary-400"></i>
                        </div>
                        <div>
                            <h2 class="text-xl font-bold text-dark-100">Daily Task Alert</h2>
                            <p class="text-dark-400 text-sm" id="alertDateTime"></p>
                        </div>
                    </div>
                </div>
                
                <div class="p-6 space-y-4">
                    <div id="alertOverdue" class="hidden">
                        <div class="flex items-center gap-2 mb-2">
                            <i data-feather="alert-triangle" class="w-5 h-5 text-red-400"></i>
                            <span class="font-semibold text-red-400">Overdue Tasks</span>
                            <span id="overdueCount" class="px-2 py-0.5 bg-red-500/20 text-red-400 rounded-full text-xs">0</span>
                        </div>
                        <ul id="overdueList" class="space-y-2 ml-7"></ul>
                    </div>
                    
                    <div id="alertDueToday" class="hidden">
                        <div class="flex items-center gap-2 mb-2">
                            <i data-feather="clock" class="w-5 h-5 text-yellow-400"></i>
                            <span class="font-semibold text-yellow-400">Due Today</span>
                            <span id="dueTodayCount" class="px-2 py-0.5 bg-yellow-500/20 text-yellow-400 rounded-full text-xs">0</span>
                        </div>
                        <ul id="dueTodayList" class="space-y-2 ml-7"></ul>
                    </div>
                    
                    <div id="alertPending" class="hidden">
                        <div class="flex items-center gap-2 mb-2">
                            <i data-feather="loader" class="w-5 h-5 text-blue-400"></i>
                            <span class="font-semibold text-blue-400">Pending Tasks</span>
                            <span id="pendingCount" class="px-2 py-0.5 bg-blue-500/20 text-blue-400 rounded-full text-xs">0</span>
                        </div>
                        <ul id="pendingList" class="space-y-2 ml-7"></ul>
                    </div>
                    
                    <div id="alertNoTasks" class="hidden text-center py-8">
                        <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-green-500/20 flex items-center justify-center">
                            <i data-feather="check-circle" class="w-8 h-8 text-green-400"></i>
                        </div>
                        <h3 class="text-lg font-semibold text-green-400">All Caught Up!</h3>
                        <p class="text-dark-400">No pending or overdue tasks for today.</p>
                    </div>
                </div>
                
                <div class="p-6 border-t border-dark-700 flex gap-3">
                    <button id="dismissAlert" class="flex-1 py-2.5 bg-dark-700 hover:bg-dark-600 text-dark-200 rounded-lg font-medium transition-colors">
                        Dismiss
                    </button>
                    <button id="viewTasksFromAlert" class="flex-1 py-2.5 bg-primary-600 hover:bg-primary-500 text-white rounded-lg font-medium transition-colors">
                        View Tasks
                    </button>
                </div>
            </div>
        </div>
    </div>

    <!-- Toast Notifications -->
    <div id="toastContainer" class="fixed bottom-4 right-4 z-50 space-y-2"></div>
    <script src="components/nav-bar.js"></script>
    <script src="script.js"></script>
    <script>feather.replace();</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>