.todo-list::-webkit-scrollbar {
    width: 6px;
}

.todo-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.todo-list::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 10px;
}

.todo-list::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.7);
}

.todo-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.todo-item:hover {
    background: #f3f4f6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.todo-item.completed {
    opacity: 0.7;
    background: #f0fdf4;
    border-color: #86efac;
}

.todo-item.completed .todo-text {
    text-decoration: line-through;
    color: #999;
}

.todo-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #2563eb;
}

.todo-text {
    flex: 1;
    color: #374151;
    word-break: break-word;
}

.todo-date {
    font-size: 0.75rem;
    color: #9ca3af;
    white-space: nowrap;
}

.todo-delete {
    px-3 py-1;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0.375rem 0.75rem;
}

.todo-delete:hover {
    background: #dc2626;
}

.filter-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.filter-modal.active {
    display: flex;
}

.filter-modal-content {
    background: white;
    border-radius: 0.5rem;
    padding: 2rem;
    width: 90%;
    max-width: 300px;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

