        
        #addTaskModal {
            position: fixed;
            top: 0;
            left: -100%; 
            width: 400px; 
            height: 100vh;
            background: white;
            box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
            transition: left 0.3s ease-in-out;
            z-index: 1000;
        }

        #addTaskModal.open {
            left: 0; 
        }
        
        
        #overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            display: none;
        }

        #overlay.active {
            display: block;
        }
        #editTaskModal{
            position: fixed;
    top: 0;
    right: -100%; 
    width: 400px; 
    height: 100vh;
    background: white;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
        }
        #editTaskModal.open{
            right: 0;
        }
        #customAlert {
            display: flex;
            align-items: center;
            justify-content: space-between;
            animation: slideIn 0.5s ease-out;
        }
    
        /* Slide-in animation */
        @keyframes slideIn {
            from {
                transform: translateX(100%);
            }
            to {
                transform: translateX(0);
            }
        }
         
    
        #closeAlertBtn {
            cursor: pointer;
            font-size: 1.5rem;
            line-height: 1;
        }
    
        
        .hidden {
            display: none;
            visibility: hidden;
        }
        #deleteTaskModal {
    position: fixed;
    top: 0;
    right: -100%; 
    width: 400px; 
    height: 100vh;
    background: white;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}

#deleteTaskModal.open {
    right: 0; 
}
#taskListModal{
    position: fixed;
    top: 0;
    right: -100%; 
    width: 400px; 
    height: 100vh;
    background: white;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;

}
#taskListModal.open {
    right: 0; }
#tasksContainer{
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}
#filterTaskModal{
    position: fixed;
    top: 0;
    left: -100%; 
    width: 400px; 
    height: 100vh;
    background: white;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease-in-out;
    z-index: 1000;
}
#filterTaskModal.open{
    left: 0;
}
#filteredTasksContainer {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}
#filteredTasksModal.open {
    transform: translateX(0);
}
.dark {
        --bg-primary: #1a202c;
        --bg-secondary: #2d3748;
        --bg-tertiary: #4a5568;
        --text-primary: #f7fafc;
        --text-secondary: #e2e8f0;
    }
    
    .dark body {
        background-color: var(--bg-primary);
        color: var(--text-primary);
    }
    
    .dark .bg-white {
        background-color: var(--bg-secondary);
    }
    
    .dark .text-gray-800 {
        color: var(--text-primary);
    }